Try this:
Open the tomcat console for widows (Start->ALL Programs -->Apache
Tomcat 5.X--> Monitor Tomcat).
click on JAVA tab (the fourth one)
Add the parameter in JAVA Options:
*-Djavaagent:%INFRARED_HOME%\aspectjweaver-1.5.0.jar *
now you can access the above property in your code
Thanks
Ashi
Folks;
yesterday I dealt with the tomcat clustering feature for the first
time, getting things basically set up and working in quite a short time
(thanks to the documentation which is rather good), and even made my
application distributable / the session attributes serializable really
fast. Howev
You should launch tomcat with this java option -Djavax.net.debug=ssl,
you will have probably more details about the problem
-Message d'origine-
De : Blake Smith [mailto:[EMAIL PROTECTED]
Envoye : vendredi 23 fevrier 2007 03:34
A : users@tomcat.apache.org
Objet : Please Help: Tomcat 5.5.17
--- Blake Smith <[EMAIL PROTECTED]> wrote:
> I have uncommented the
> section within server.xml
> and pointed it to the location of the keystore, and
> it's password. I even
> changed the port from 8443 to 443 and the
> corresponding forwarding value for
> 8080.
Is Tomcat listening on port 443?
Scott Danforth wrote:
I'm trying to use jk1.2.20 mod_jk with Apache 1.3 for load balancing two
tomcat services and sticky sessions aren't working.
get_most_suitable_worker::jk_lb_worker.c (733): searching worker for
partial sessionid B4FE8293E8E81F8071F39EDD1E594BEC
[Thu Feb 22 19:08:13 2007]
Hi,
I am running a Red Hat Enterprise 4 Linux Server. I have Tomcat installed
under port 8080. I have setup "iptables" to redirect all request for port
80 to 8080. I also have Java JDK 1.5.0_10 installed. The $CATALINA_HOME
and $JAVA_HOME variables have been set inside /etc/profile. Tomca
Hi,
Was anybody able to embed Tomcat, and a WebApp as an OSGi plugin? I
was able to embed Tomcat, but I am unable to make Tomcat find my web
app using the classloader (or any form of VFS.)
Regards,
LG
-
To start a new topic, e
Hi
The first java web project I did was without using an IDE and old version that
came with the book in the class. It was simple. I thought I had learned Tomcat
- stick it all in webapps and create web.xml ect. Then I upgraded, I am using
the latest net beans 5.5 bundled with apache Tomcat (do
Hello
I decided to use javascript and AJAX to realize my application
but when the sheet cells are drawed by DIV, the DIV's size can be decided by
style type, when I drag the DIV eage, how can I change the DIV style type?
Could anbody tell me or give me other ideas. Thanks at advance.
Wang suy
I'm trying to use jk1.2.20 mod_jk with Apache 1.3 for load balancing two
tomcat services and sticky sessions aren't working.
My application requires authentication, and displays a login on a new
session. When I kill one of the tomcats, the application works fine
(i.e., the authenticated sessio
Hello Propes
But as I know Swing is client side, how can I write a code
use Swing and run in server side? And I will use database,too.
Thank you very much.
Wang suya
Propes, Barry L [GCG-NAOT] さんは書きました:
>sounds like a lot of Swing to me...is it not?
>
>-Original Message-
>From: wang s
another oddity about this (maybe not).
The error occurs/ed when I tried it thru the IP address of the box.
In trying it thru the domain name, I don't get that error.
-Original Message-
From: Propes, Barry L [GCG-NAOT]
Sent: Thursday, February 22, 2007 5:49 PM
To: Tomcat Users List
Sub
sounds like a lot of Swing to me...is it not?
-Original Message-
From: wang suya [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 22, 2007 5:48 PM
To: Tomcat Users List
Subject: Re: How can I realize server side GUI??
Hello Peter
You are right. I want to make a graphical interface
Hello Peter
You are right. I want to make a graphical interface served form Web
server to a Web browser. It displays a sheet with serveral rectangle cells like
execl sheet and when I drag one cell the size of cell can change.
Thank you very much. Hope you can help me.
Wang suya
Peter Crowt
David Smith wrote:
I think I see what's happening here. You've told the database pool to
continually test connections every hour. The validation query itself
validationQuery="select 1" testWhileIdle="true"
timeBetweenEvictionRunsMillis="6"
minEvictableIdleTimeMillis="600
I have a requirement to create persitant custom mbeans in tomcat (read from a
servlet filter).
I have created a MBean and added the descriptor to server.xml -
MbeanDescriptor -
Any suggestions/ideas would be appreciated.
Ravi
--
View this message in context:
http:
> From: legolas [mailto:[EMAIL PROTECTED]
> Subject: how to pass a parameter to tomcat startup in windows?
>
> I need to pass a parameter like :
> -javaagent:%INFRARED_HOME%\aspectjweaver-1.5.0.jar to tomcat startup.
>
> the tutorial talks about a bat file that we can add this
> parameter to it
Hi
Thank you for reading my post.
I need to pass a parameter like :
-javaagent:%INFRARED_HOME%\aspectjweaver-1.5.0.jar to tomcat startup.
the tutorial talks about a bat file that we can add this parameter to it but
Tomcat 5.5.17 for windows does not has any +batch file.
It just has two executable
thanks, Chuck, I think that was itI had admin before "service," and it
didn't like that at all. I guess that violates the hierarchical structure.
Barry
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 21, 2007 5:35 PM
To: Tomcat Users
can't you force something like that in the welcome page attribute of the
web.xml file in the conf folder?
i.e.
index.html
index.htm
index.jsp
change_ctrl.htm
how are they getting to the URL in the first place?
-Original Message-
From: Bhandari
At my company we have Tomcat 5.5 instances running lots of webapps, and
problems with those apps interfering with each other's log files --
especially in instances of libraries like hibernate.
I've read and understand the principles of using log4j respositories,
such as Ceki Gülcü's document h
Jim Goodspeed wrote:
> I would like to run tomcat as an unprivileged user for security
> reasons, but
> when my war file is created through Ant it loses all of the
> permissions (as
> it says it will in the Ant manual). Does anyone know of a way to run
> tomcat
> as an unprivileged user and still
> From: Bio Jazz [mailto:[EMAIL PROTECTED]
> Subject: Restarting Webapplication From Command Line
>
> However, I have a need to restart a single application from
> the command line without restarting the entire Tomcat service
> (ie without affecting the other deployed applications).
Check the d
I tried the -statis-libgcc in the Makefile and it compiled and ldd produces
no output, which I am assuming means no dependencies. So when i fire up the
sunone server now I get a different error.
failure: CORE3170: Configuration initialization failed: Error running init
function load-modules: dlo
Hi,
If you set the host "autoDeploy" property to "true". You can redeploy doing a
touch /WEB-INF/web.xml
if not, you need the client deployed.
Regards,
LG
On 2/22/07, Bio Jazz <[EMAIL PROTECTED]> wrote:
I understand how to restart the entire Tomcat service from the command line.
However, I h
I would like to run tomcat as an unprivileged user for security reasons, but
when my war file is created through Ant it loses all of the permissions (as
it says it will in the Ant manual). Does anyone know of a way to run tomcat
as an unprivileged user and still use a war file which when it is cr
Look at lambda probe (an amdinistration webapp for tomcat), it has a
menu to compile JSPs. If it does not fit your needs, i suppose you can
still rip this code part and reuse it in a listener :)
[EMAIL PROTECTED] a écrit :
> All,
>
> Is there a known way to have Tomcat Compile JSP pages upon st
I understand how to restart the entire Tomcat service from the command line.
However, I have a need to restart a single application from the command line
without restarting the entire Tomcat service (ie without affecting the other
deployed applications).
Is there a way to restart a single web
All,
Is there a known way to have Tomcat Compile JSP pages upon startup
instead of pre-compiling and or waiting for the first page access?
Resin has a facility like this using JspPrecompileListener. I see
nothing like this in Tomcat.Has anyone ever attempted this? If not
where would the en
I'm wondering if there is some kind of easy solution to this problem
that won't require a customization to work around it.
The problem occurs when the machine name matches the servlet name (e.g.
http://foo/foo). The problem is that the isapi_redirect is processing
all traffic going to the site an
> -Original Message-
> From: Andre Prasetya [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 22, 2007 12:39 AM
> To: Tomcat Users List; jug-indonesia@yahoogroups.com
> Subject: strange log4j behaviour
>
> Hi,
>
> I m using tomcat 5.5 and we're hosting 5 application. The problem is tha
> -Original Message-
> From: Jacob Rhoden [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 22, 2007 8:44 AM
> To: Tomcat Users List
> Subject: Re: Mysql timouts...
>
> I will have to read the documents to find out why having the connection
> automatically reconnected if there was a pr
I think I see what's happening here. You've told the database pool to
continually test connections every hour. The validation query itself
most likely acts as a keep alive on the connection so it never actually
hits the 8 hour default time out of mysql. Open connections will most
likely never go
It's me again, we have not yet solved our problems, but now we have
turned one of the IIS servers to IIS 5 compability mode which made us
get som logs from the tomcat connector.
Short Review of setup:
Tomcat 5.5.12
APR 1.1.0-dev
ispi_redirect.dll 1.2.20
between the iis and tomcat we have a firewa
Thanks for your reply, I have read through that document and the one on
the mysql website, and discovered these other parameters, so I added
this as well. It didnt make any difference. The mysqladmin program still
reports the connections going untouched for hours.
validationQuery="select
Steffen Heil schrieb:
Hi
That's the way You should go:
http://www.linux.org.mt/article/tomcat-ports
I totally disagree.
First, it would surely be best to update to 6.0 and run it using jsvc
However, let's look at the solution in the link above.
1. "The Apache solution". (Which s
If you read through
http://tomcat.apache.org/tomcat-5.5-doc/jndi-resources-howto.html,
you'll find the validationQuery attribute is used to test connections
before they are borrowed from the pool. The query can be as simple as
"select 1".
As a side note, drop the autoReconnect=true from your data
Hi Tim, list;
[Tim Funk <[EMAIL PROTECTED]> @ Thu, 22 Feb 2007 07:30:23 -0500]
> A few problems:
> 0) Try page='/pages/<%= request.getParameter("site")%>' (Notice the
> use of single quotes - jasper is getting confused by the extra use of
> double quotes
This doesn't work, it seems using single
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pranathi,
Pranathi wrote:
> I am a new user of tomcat. I have successfully downloaded tomcat 4.1.34
> and installed it.
If you are a new user of Tomcat, you should dump the 4.1 version and
upgrade to at least 5.5. This probably isn't going to solve y
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Martin,
Bill Barker wrote:
> <[EMAIL PROTECTED]> wrote in message
>> However, when I try to deploy this webapp to Websphere 6.0.x, even after
>> defining a custom property for 'region' in the server profile, I get a:
>>
>> java.io.FileNotFoundExcepti
A few problems:
0) Try page='/pages/<%= request.getParameter("site")%>' (Notice the use
of single quotes - jasper is getting confused by the extra use of double
quotes
1) If you are not including JSP params (jsp:param) you should use
2) Try validating <%= request.getParameter("site")%> first i
Please give us the full stacktrace, including nested exceptions. (caused
by...) if any.
En l'instant précis du 02/22/07 12:58, Kristian Rink s'exprimait en ces
termes:
> Folks;
>
> currently I am playing around with something like that in my JSP
> pages...
>
>flush="true"
> page="/p
Folks;
currently I am playing around with something like that in my JSP
pages...
">
... which, as I understand the JSP reference, should be possible.
However, it doesn't seem to work right. It actually _does_ work and
include the page referred to this way, but it just works _sometimes_,
in any
Jacob Rhoden wrote:
I am having the seemingly common "Broken pipe" to mysql problem with
tomcat.
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost:3306/blah?autoReconnect=true&useUnicode=true&characterEncoding=utf8"/>
I have installed a most up to date version of t
That doesn't really sound like a Tomcat question.
This list is best at responding to questions about the Tomcat server,
rather than open ended development questions.
You'll probably have more luck in the Sun Java Forums, if indeed Java is
the language that you intend to use.
In most cases (
> From: wang suya [mailto:[EMAIL PROTECTED]
> I want to make a server side GUI application that draw
> senveral Rectanges and when mouse drag the bottom of
> Rectange, the rectange
> extends. Do anybody know how I can realize this appication.
I assume by "server-side GUI" you mean "a graphic
46 matches
Mail list logo