> From: Ken Bowen [mailto:kbo...@als.com]
> Subject: ROOT options
>
> I'm wondering if I could get some pointers to reading about
> what these options are.
You can place a element in server.xml, but that is strongly
discouraged these days, and we will likely yell at you if you do so.
You can
> From: mdunford [mailto:martin.dunf...@gmail.com]
> Subject: RE: Tomcat 6.0.18 examples recompile ok but dont work!!
> I go and recompile HelloWorldExample
> javac HelloWorldExample.java
That's not sufficient to compile a servlet. You will also need a -cp argument
to inform the compiler where
I've been utilizing the device of renaming myapp.war to ROOT.war in
order make myapp perform as the default application at http://mydomain.com
.
However, I thought that earlier this week (maybe last week?), Chuck
made a comment that this was "the easiest of the options".
I'm wondering if I cou
> From: Dan Armbrust [mailto:daniel.armbrust.l...@gmail.com]
> Subject: And even further into the black magic of logging configuration
> within tomcat...
>
> So, why didn't log4j try to find the log4j.properties
> file for the second webapp?
Verify that you have separate log4j.properties files i
So, after my long thread to figure out the missing stack traces from a
bad listener configuration, I _thought_ I knew what I needed to
correct.
It seemed that Tomcat was trying to use log4j shipped with my webapp,
before my webapp had configured log4j.
Supplying a log4.properties file in the WEB-I
Are your logs Apache logs? Mod_jk logs?
If it is Apache, the question would probably better answer in the Apache
mailing list.
Anyway, What does your LogFormat string looks like?
I bet what you see in the logs is the concatenation of the session ID
and the worker name. I doubt two servers would
> From: dmitriz [mailto:dmit...@mycfo.com]
> Subject: RE: Sun Webserver connector problem - nsapi_redirector
>
> I'm required to run the application over secured socket. Tomcat's
> SSL implementation is not optimal. The application performs well
> over http, but when certificate is installed in
Caldarale, Charles R wrote:
Whatever you're doing is attempting multiple stops of your webapp.
I observe almost identical exceptions when I redeploy webapplication
that uses quartz scheduler. It looks like after webapp's instance has
been undeployed, background quartz thread wants to do somethi
>> What would I need to do to make log4j within my webapp
>> have a temporary configuration which would log to the
>> console until the point when my webapp executes it's
>> dynamic configuration?
>
> Create a log4j.xml or log4j.properties file in WEB-INF/classes.
>
Bingo. That makes my log4j war
I tried the following Chuck,
but it tells me that the script cannot be found
On Thu, Apr 2, 2009 at 2:21 PM, Caldarale, Charles R <
chuck.caldar...@unisys.com> wrote:
> > From: Mighty Tornado [mailto:mighty.torn...@gmail.com]
> > Subject: Restarting Tomcat from Ant
> >
> > Is there
Not to be too obvious, but what about the instructions at the bottom?
- Original Message -
From:
To:
Sent: Thursday, April 02, 2009 3:47 PM
Subject: SOMEONE REMOVE ME FROM THIS LIST
-
To unsubscribe, e
The recompiled class is in the examples/WEB_INF/classes dir, same as before,
I cd there
before recompiling
Caldarale, Charles R wrote:
>
>> From: mdunford [mailto:martin.dunf...@gmail.com]
>> Subject: Tomcat 6.0.18 examples recompile ok but dont work!!
>>
>> But when I reload in my brow
Thanks for your help. I haven't been doing Java in a while so bear with me.
Tomcat is entirely new to me.
java -version
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06-153)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_07-b06-57, mixed mode)
Output from log really
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
I'm attaching log and config files here. Thanks.
dmitriz wrote:
>
> I would like to front Tomcat 6.0.14 with Sun WebServer 6.1 SP8. I have
> followed to a tee the instructions from
> http://tomcat.apache.org/connectors-doc/webserver_howto/nes.html
> Unfortunately, it seems like the directive:
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: Tomcat error: It is not available the ServletAction
>
> I think the reason Xerces works within the application's ClassLoader is
> because of the backward way that webapp ClassLoaders work (load local
> before parent).
I'm required to run the application over secured socket. Tomcat's SSL
implementation is not optimal. The application performs well over http, but
when certificate is installed in Tomcat it runs extremely slow over https. I
would like to install certificate on Sun Webserver and see if performance
o
> From: dmitriz [mailto:dmit...@mycfo.com]
> Subject: Sun Webserver connector problem - nsapi_redirector
>
> I would like to front Tomcat 6.0.14 with Sun WebServer 6.1 SP8.
I can't answer your question, but why would you want to do that?
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND
> From: Dan Armbrust [mailto:daniel.armbrust.l...@gmail.com]
> Subject: Re: How to debug Error: listenerStart?
>
> my webapp dynamically configures log4j with a pattern like this:
>
> LogManager.resetConfiguration();
> PropertyConfigurator.configure(properties);
I think that's too late - the log
I would like to front Tomcat 6.0.14 with Sun WebServer 6.1 SP8. I have
followed to a tee the instructions from
http://tomcat.apache.org/connectors-doc/webserver_howto/nes.html
Unfortunately, it seems like the directive:
NameTrans fn="assign-name" from="/examples(|/*)" name="jknsapi"
is being c
On Thu, Apr 2, 2009 at 1:00 PM, Caldarale, Charles R
wrote:
>> From: Dan Armbrust [mailto:daniel.armbrust.l...@gmail.com]
>> Subject: Re: How to debug Error: listenerStart?
>>
>> There is obviously some interaction going on between my webapp
>> and tomcat's logging system that I don't know about.
> From: Mighty Tornado [mailto:mighty.torn...@gmail.com]
> Subject: Restarting Tomcat from Ant
>
> Is there a way to also restart the server
> from Ant?
Why don't you just use the startup and shutdown scripts that come with Tomcat?
If you want to call them from within an ant script, use the ta
try sshexec task
http://ant.apache.org/manual/OptionalTasks/sshexec.html
On Thu, Apr 2, 2009 at 6:23 PM, Mighty Tornado wrote:
> Hi,
> I currently copy the Application files to CATALINA_HOME/webapps from Ant,
> and then run shutdown and startup. Is there a way to also restart the
> server
> from
> From: Dan Armbrust [mailto:daniel.armbrust.l...@gmail.com]
> Subject: Re: How to debug Error: listenerStart?
>
> There is obviously some interaction going on between my webapp
> and tomcat's logging system that I don't know about.
Many Tomcat components associated with a specific webapp will us
On Thu, Apr 2, 2009 at 7:30 PM, Dan Armbrust
wrote:
>
> What would be doing this? Something in my app is preventing this
> severe error from being passed up to tomcat to be logged - but then my
> app doesn't log it either - probably because it is stopped before it
> ever finishes deploying.
Your
On Thu, Apr 2, 2009 at 7:30 PM, Je suis la poubelle wrote:
> On Fri, Mar 27, 2009 at 5:34 PM, Christopher Schultz <
> ch...@christopherschultz.net> wrote:
>
>
> Setting charset/encoding is to specify computerized information. It's
> not just a matter of language. If setting charset in META tag d
What Tomcat, Java and OS versions were they?
-Original Message-
>From: Pid
>Sent: Apr 2, 2009 1:14 PM
>To: Tomcat Users List
>Subject: Re: CPU 100% and restart...
>
>Laura Bartolomé wrote:
>> Hi again
>>
>> A few minutes ago we have these problems in our server:
>>
>> The CPU usage was
I got a brand new copy of tomcat 5.5.25, and tested it. Some of the
provided apps, such as balancer - create entries in the localhost log
file. I used kdiff to compare the entire tomcat folder hierarchy to
my tomcat distribution, and I can't find any significant difference
that could cause my mis
On Fri, Mar 27, 2009 at 5:34 PM, Christopher Schultz <
ch...@christopherschultz.net> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Oscar,
>
> On 3/27/2009 10:35 AM, Je suis la poubelle wrote:
> > 1. In those mentioned web pages, I noticed that none of them explicitly
> > specified t
Hi,
I currently copy the Application files to CATALINA_HOME/webapps from Ant,
and then run shutdown and startup. Is there a way to also restart the server
from Ant?
Thanks,
Laura Bartolomé wrote:
> Hi again
>
> A few minutes ago we have these problems in our server:
>
> The CPU usage was increased up to 100% and we have to restart the server
> cause it didn't respond.
>
> Now we are looking for some information in stdout and we find the next
> just at time the serv
> From: Dan Armbrust [mailto:daniel.armbrust.l...@gmail.com]
> Subject: Re: How to debug Error: listenerStart?
>
> Both of these variables are hard coded into the top of the catalina.sh
> script. The rest is untouched from stock.
As a side note, you can do this with a separate setenv.sh script t
> From: mdunford [mailto:martin.dunf...@gmail.com]
> Subject: Tomcat 6.0.18 examples recompile ok but dont work!!
>
> But when I reload in my browser I get
>
> HTTP Status 404. The requested resource is not available.
>
> I restarted Tomcat. No joy either...
Are you running Tomcat with a 1.6 JR
I installed Tomcat 6.0.18 on Mac OS X 10.5.6 (brand new iMac)
Examples all worked fine. E.g the HelloWorldExample displays
"Hello World" in my browser window.
So I then recompile it just to check that this works using:
javac HelloWorldExample.java
It compiles fine. (My javac version is a
The multicast address is in the element. The 10x address in the
element is actually a 10x network.
From: Jorge Medina
To: Tomcat Users List
Sent: Thursday, April 2, 2009 4:31:06 PM
Subject: RE: tomcat 6 session replication issues
What is your multicast ad
Can you tell me where in Apache I would configure the number of AJP
connections? I'm using Apache 2.2.10 to load balance tomcat using
mod_proxy.
On Thu, Apr 2, 2009 at 11:27 AM, Christopher Schultz <
ch...@christopherschultz.net> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Jim,
Since I can't get my development team to NOT log to catalina.out I just
script it:
cp -a $logdir/catalina.out $logdir/catalina.out-`date +%Y-%m-%d`
> $logdir/catalina.out
On Tue, Mar 17, 2009 at 9:16 AM, Mark Thomas wrote:
> André Warnier wrote:
> > Ghufran wrote:
> >> I am using tomcat 6.0.18
What is your multicast address and port used by Tomcat to discover
members of the cluster?
Your sever.xml has a note [10.x.x.x]. This does not look like a
multicast address.
http://tldp.org/HOWTO/Multicast-HOWTO-2.html
From: Jimmy Phillips [mailto:jimmy
> What are you using on the command line to start Tomcat? In particular, what
> is the value of the following system properties?
>
> java.util.logging.manager
> java.util.logging.config.file
>
> The default values are org.apache.juli.ClassLoaderLogManager and
> ${catalina.base}/conf/logging.prop
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jim,
On 4/2/2009 11:08 AM, Jim Goodspeed wrote:
> Does the acceptCount setting that is part of the AJP connector in the
> server.xml file still exist in Tomcat 5.x and Tomcat 6.x?
It does not appear to be available at these levels.
> I see a lot of
Hello,
Recently I started to develop a web application
that is based on the Comet Architecture. After a lot of research, I realize
that there is a lack of documentation and tutorials about how to build simple
Comet
applications on Tomcat. The tomcat Advanced IO documentation previews the way
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dan,
On 4/2/2009 11:02 AM, Dan Armbrust wrote:
Yup, although Chuck's example is a missing filter, not a
missing listener.
>>> The OP's original problem *was* a missing filter:
>>> http://marc.info/?l=tomcat-user&m=123862274508212&w=2
>> I tr
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 4/2/2009 10:30 AM, Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
>> Subject: Re: Tomcat error: It is not available the ServletAction
>>
>> Apache Cocoon, for instance, ships with xercesImpl-2.
Thanks all for your help and explanations.
So we will try to find the best value >0 for connectionTimeout in our
application.
Best regards,
Yann
Rémy Maucherat a écrit :
On Tue, Mar 31, 2009 at 2:40 PM, yann grostete
wrote:
-with connectionTimeout="0", the process tomcat uses a huge perc
Does the acceptCount setting that is part of the AJP connector in the
server.xml file still exist in Tomcat 5.x and Tomcat 6.x?
I see a lot of references to it in Tomcat 4.x, but I have not run across it
in 5 or 6. We have this setting defined in our tomcat 6 installation, but I
think it is a rel
>>> Yup, although Chuck's example is a missing filter, not a
>>> missing listener.
>>
>> The OP's original problem *was* a missing filter:
>> http://marc.info/?l=tomcat-user&m=123862274508212&w=2
>
> I trust error messages more than I trust posters' assertions:
>
>> SEVERE: Error listenerStart
>
>
Hello all,
I've built a very simple 2-member Tomcat cluster for testing, but I am
unable to get the session replication quite right. The problem is when
I fail one member of the cluster. The behavior I was expecting is that
the other cluster member would take over the session ids for the fa
> From: Dan Armbrust [mailto:daniel.armbrust.l...@gmail.com]
> Subject: Re: How to debug Error: listenerStart?
>
> Add sample modjk2 scripts.
The mod_jk2 package was deprecated many years ago; you should not be using it.
> Log4j _is_ present in the war files that I deploy, however.
The log4j me
> From: Dan Armbrust [mailto:daniel.armbrust.l...@gmail.com]
> Subject: Re: How to debug Error: listenerStart?
>
> My logging.properties file is exactly what came with tomcat 5.5.25.
What are you using on the command line to start Tomcat? In particular, what is
the value of the following system
On Tue, Mar 31, 2009 at 2:40 PM, yann grostete
wrote:
> -with connectionTimeout="0", the process tomcat uses a huge percentage
> of CPU, even if there is no traffic.
> but we doesn't observe any problem and the response time is good.
Please use a timeout value > 0. Allowing 0 is a (minor) bug, as
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: How to debug Error: listenerStart?
>
> > SEVERE: Error listenerStart
>
> That's definitely a listener that won't start, not a filter.
The OP has just posted a second retraction...
- Chuck
THIS COMMUNICATION MAY
>> log4j:WARN No appenders could be found for logger
>> (org.apache.catalina.startup.TldConfig).
>> log4j:WARN Please initialize the log4j system properly.
>
> This indicates that you /have/ made changes to Tomcat's default logging
> configuration. Tomcat doesn't use log4j by default. Do you have
>
Dan Armbrust wrote:
[...]
Actually, it's not. The stack trace is not present in _any_ log file
that Tomcat is creating, in my instance of Tomcat. So, I seem to have
a secondary problem that is messing up Tomcats logging configuration.
Any idea what I should check, to figure out why I don't
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: Tomcat error: It is not available the ServletAction
>
> Apache Cocoon, for instance, ships with xercesImpl-2.9.1.jar
> (actual Xerces) along with xml-apis-1.3.04.jar (the org.w3c.*,
> org.xml.* and javax.xml.* interfa
> From: joeweder [mailto:joewe...@gmail.com]
> Subject: Re: How2 Disable PUT response in OPTIONS method
>
> The idea of using a ServletFilter is a good one but
> will not work because the application does not have
> a single entry point (dispatch/front-controller)
??? I'm confused; filters are
Here is the non-commented out bits of my server.xml:
My logging.properties file is exactly what came with tomcat 5.5.25.
-
To unsubscribe,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dan,
On 4/2/2009 10:21 AM, Dan Armbrust wrote:
> I haven't made any changes to Tomcats default logging configuration.
>
> Tomcat does print this to the console as it starts up:
>
> log4j:WARN No appenders could be found for logger
> (org.apache.cata
joeweder wrote:
> Thanks markt-2. The idea of using a ServletFilter is a good one but will not
> work because the application (we've inherited) does not have a single entry
> point (dispatch/front-controller) yuck. So I'd have to patch it several
> places.
You can map filters to /*
Mark
>
> Wha
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 4/2/2009 10:03 AM, Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
>> Subject: Re: How to debug Error: listenerStart?
>>
>> Yup, although Chuck's example is a missing filter, not a
>> missing listene
How are you running Tomcat? IDEs (e.g. Eclipse) often reset the
logging if you start Tomcat inside the IDE; For me, using the
MyEclipse plugin in Eclipse completely suppresses everything but
catalina.out. If I need the other logs, I start Tomcat from its ~bin/
startup.sh (I have a vanilla
Thanks markt-2. The idea of using a ServletFilter is a good one but will not
work because the application (we've inherited) does not have a single entry
point (dispatch/front-controller) yuck. So I'd have to patch it several
places.
What I wound up doing was making a little custom valve (HttpMeth
>
> Any idea what I should check, to figure out why I don't have a log
> file?
>
Correction. I have a log file - but it is always blank. Size
0. I tried the starting it up with a missing filter, and a missing
listener, and neither case gives me anything in the log file.
I haven't made any
> From: Dan Armbrust [mailto:daniel.armbrust.l...@gmail.com]
> Subject: Re: How to debug Error: listenerStart?
>
> Actually, it's not.
Very odd. Sorry for the comment.
> Any idea what I should check, to figure out why I don't
> have a log file?
Have you added elements to your server.xml?
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: How to debug Error: listenerStart?
>
> Yup, although Chuck's example is a missing filter, not a
> missing listener.
The OP's original problem *was* a missing filter:
http://marc.info/?l=tomcat-user&m=123862274508212
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 4/2/2009 9:08 AM, Caldarale, Charles R wrote:
>> From: bladu [mailto:ego...@hotmail.com]
>> Subject: Re: Tomcat error: It is not available the ServletAction
>
> When you send the same message four times, you become extremely annoying -
> d
On Wed, Apr 1, 2009 at 5:02 PM, Caldarale, Charles R
wrote:
>> From: Dan Armbrust [mailto:daniel.armbrust.l...@gmail.com]
>> Subject: Re: How to debug Error: listenerStart?
>>
>> Why doesn't tomcat log a stack trace
>
> It does, in the log associated with the of interest:
>
>
>> Any thoughts on i
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Siva,
On 4/2/2009 9:34 AM, SivaKumarl wrote:
> I am developing java mobile application using XHTML-MP,i generate a
> key store file and configured in Tomcat Server.xml it is working fine
> in browsers but while accessing through mobile i am getting er
> From: Taylan Develioglu [mailto:tdevelio...@ebuddy.com]
> Subject: Re: CPU usage with APR and connectionTimeout impact
>
> I think a seperate overview of attributes per connector would be
> clearer.
Strongly agree with that. Patches?
> The HTTP connectionTimeout description states:
>
> - The
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Bladu,
On 4/2/2009 2:42 AM, bladu wrote:
> Version of Java --->jdk1.5.0_17
Okay.
> Do you have xerces.jar in your webapp's lib directory? --->Yes, int he
> application deployed and also in the WAR I have xerces-1.2.3.jar
OMG that version is like 10
On Thu, Apr 2, 2009 at 3:37 PM, Taylan Develioglu
wrote:
>
> I think a seperate overview of attributes per connector would be clearer.
>
+1
Somebody got some time to change it in the TC trunk and cis able to
reate a bugzilla-RFE with a patch?
Any volunteers welcome ;)
Rgds
Gregor
--
just beca
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 4/1/2009 6:02 PM, Caldarale, Charles R wrote:
>> From: Dan Armbrust [mailto:daniel.armbrust.l...@gmail.com]
>> Subject: Re: How to debug Error: listenerStart?
>>
>> Why doesn't tomcat log a stack trace
>
> It does, in the log associated wit
You're right. I missed it. APR has the same attributes as the HTTP
connector.
I think a seperate overview of attributes per connector would be clearer.
The HTTP connectionTimeout description states:
- The number of milliseconds this *Connector* will wait, after accepting
a connection, for the re
Hi Friends
I am developing java mobile application using XHTML-MP,i
generate a key store file and configured in Tomcat Server.xml it is working
fine in browsers but while accessing through mobile i am getting error
screen "Security error:Untrusted Server certificate" . I checked with
r
> From: bladu [mailto:ego...@hotmail.com]
> Subject: Re: Tomcat error: It is not available the ServletAction
When you send the same message four times, you become extremely annoying -
don't do that.
> Do you have xerces.jar in your webapp's lib directory? --->Yes, int he
> application deployed a
> From: SivaKumarl [mailto:sivakum...@naradaproducts.com]
> Subject: How to configure SSL for particular application
>
> i need to access only application through https and remaining
> through http protocol
Read section 12 of the servlet spec. Configure a of
CONFIDENTIAL in the WEB-INF/web.xm
Hello,
The parameters connectionTimeout and keepAliveTimeout are not on the APR
side. They are attributes of AJP and HTTP connectors.
Setting the value to 0 means no timeout (according to some mail exchange
I found in tomcat mailing list).
No timeout is default value of this attribute.
My que
> From: Taylan Develioglu [mailto:tdevelio...@ebuddy.com]
> Subject: Re: CPU usage with APR and connectionTimeout impact
>
> according to the documentation there exists no connectionTimeout
> attribute for the apr connector.
Which documentation is that? Note that the HTTP connector attributes ap
Thnx for the help it is now working. The cause was either fixed by correcting
improper JSF syntax or rebooting. Cheers
Caldarale, Charles R wrote:
>
>> From: Paulchwd [mailto:paulc...@sympatico.ca]
>> Subject: RE: Illegal access: this web application instance has
>> beenstoppedalready
>>
>> An
Funny,
according to the documentation there exists no connectionTimeout
attribute for the apr connector.
Setting the value to '0' could mean all sorts of behavior, no way to
know for sure short of checking the code. (it could mean the connector
will not wait for the uri line at all)
I can't co
Hi,
How do we configure tomcat on IPv6 machine? What changes need to be done?
What are the exact changes in server.xml file? (where and in which format
the ipv6 ip should be specified?)
we are using tomcat 6.0.18
Thanks,
Tomcat user !
Hi Friends,
I configured SSL(https) in server.xml , and i have three
applications in my tomcat and now my problem is i need to access only
application through https and remaining through http protocol,but here three
application are accessible by https protocol. So please help me how
81 matches
Mail list logo