Re: Tomcats stops on Apache restart

2009-04-06 Thread Rainer Jung
On 07.04.2009 08:21, Leon Brouwers wrote: > Hello Rainer, > > Our scripts doesn't guess the pid. One of the script in question has > the following lines: > > PID_FILE=/vol/www/server/logs/httpd.pid ... > > # Restart the httpd to build new logfiles kill -HUP `cat $PID_FILE` > > This file only co

RE: Tomcats stops on Apache restart

2009-04-06 Thread Leon Brouwers
Hello Rainer, Our scripts doesn't guess the pid. One of the script in question has the following lines: PID_FILE=/vol/www/server/logs/httpd.pid ... # Restart the httpd to build new logfiles kill -HUP `cat $PID_FILE` This file only contains one pid which is het

Re: [Bulk] RE: advantages using tomcat + mod_jk

2009-04-06 Thread Tomas Rodriguez
gt; Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAknadrYACgkQ9CaO5/Lv0PDeyQCeKmvIe/PCN4xVo6RcanQHrlw+ > AY0AoKoScVuourkKk6wgK2ivwL+JypyZ > =hW1J > -END PGP SIGNATURE- > > - > To unsubscribe, e-ma

RE: Cannot access Tomcat from Host Machine PLZ Help

2009-04-06 Thread Caldarale, Charles R
> From: timmy_ [mailto:afd...@yahoo.com] > Subject: Cannot access Tomcat from Host Machine PLZ Help > > However I may not access them through http://{ipAddres}:8080/{appName} What exact error message are you seeing? What IP address are you using in your URL? What IP addresses do you have config

RE: advantages using tomcat + mod_jk

2009-04-06 Thread Caldarale, Charles R
> From: Tomas Rodriguez [mailto:admhards...@yahoo.ca] > Subject: Re: advantages using tomcat + mod_jk > > I want to have a different directory for my examples of > java, or web pages, wherever, but I will don't like to > have the default directory for my examples. You've hijacked your own thre

RE: advantages using tomcat + mod_jk

2009-04-06 Thread Martin Gainty
--- > > Version: GnuPG v1.4.9 (MingW32) > > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > > > iEYEARECAAYFAknadrYACgkQ9CaO5/Lv0PDeyQCeKmvIe/PCN4xVo6RcanQHrlw+ > > AY0AoKoScVuourkKk6wgK2ivwL+JypyZ > > =hW1J > > -END PGP SIGNATURE--

Re: advantages using tomcat + mod_jk

2009-04-06 Thread Tomas Rodriguez
unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org __ NOD32 3990 (20090406) Information __ This message was checked by NOD32 antivirus system. http://www.eset.com - To u

Re: Sun Webserver connector problem - nsapi_redirector

2009-04-06 Thread dmitriz
No, it did not help. NameTrans does not seem to work here. WebServer still looks for subfolder examples under its docroot. Rainer Jung-3 wrote: > > On 02.04.2009 21:47, dmitriz wrote: >> I'm attaching log and config files here. Thanks. > > I compared with my test setup. I'm not sure whether th

Re: ajp_read_header: ajp_ilink_receive failed

2009-04-06 Thread Rainer Jung
On 07.04.2009 01:01, John Oliver wrote: > On Tue, Apr 07, 2009 at 12:40:42AM +0200, Rainer Jung wrote: >>> [Sun Mar 29 04:05:33 2009] [error] ajp_read_header: ajp_ilink_receive >>> failed >>> [Sun Mar 29 04:05:33 2009] [error] (120006)APR does not understand this >>> error code: proxy: read respons

Re: Sun Webserver connector problem - nsapi_redirector

2009-04-06 Thread Rainer Jung
On 02.04.2009 21:47, dmitriz wrote: > I'm attaching log and config files here. Thanks. I compared with my test setup. I'm not sure whether the following changes are relevant, but you can try: - magnus.conf: I have the two Init lines related to jk as the first Init lines, directly after the Temp

Re: ajp_read_header: ajp_ilink_receive failed

2009-04-06 Thread John Oliver
On Tue, Apr 07, 2009 at 12:40:42AM +0200, Rainer Jung wrote: > > [Sun Mar 29 04:05:33 2009] [error] ajp_read_header: ajp_ilink_receive > > failed > > [Sun Mar 29 04:05:33 2009] [error] (120006)APR does not understand this > > error code: proxy: read response failed from (null) (localhost) > > > 1

Re: ajp_read_header: ajp_ilink_receive failed

2009-04-06 Thread John Oliver
On Mon, Apr 06, 2009 at 05:30:49PM -0500, Caldarale, Charles R wrote: > > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > > Subject: Re: ajp_read_header: ajp_ilink_receive failed > > > > > [r...@mda-services ~]# rpm -qa | grep java > > > java-1.4.2-gcj-compat-devel-1.4.2.0-40jpp.

Re: ajp_read_header: ajp_ilink_receive failed

2009-04-06 Thread John Oliver
On Mon, Apr 06, 2009 at 06:08:54PM -0400, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > John, > > On 4/6/2009 5:51 PM, John Oliver wrote: > > RHEL 5.2, httpd-2.2.3-11.el5_1.3, tomcat5-5.5.23-0jpp.7.el5_2.1 > > 2.2.3 is pretty old... any chance of upgrading to 2

Re: nsapi_redirector with Sun Java System Web Server 7.0?

2009-04-06 Thread Rainer Jung
On 03.04.2009 21:01, Andy Wang wrote: > Has anyone used the nsapi redirectory to connect SJSWS 7.0 with Tomcat? > I noted that the documentation all still refers to 6.0, but the README > on the binaries page is somewhat encouraging: > > # nsapi_redirector-1.2.28-sjsws6.1sp11.so is for Sun Java Sy

Cannot access Tomcat from Host Machine PLZ Help

2009-04-06 Thread timmy_
Hey all, I have an xp host with a CentOS 5.3 installed with vmware. I installed tomcat 6.0.18 and I may access my applications from localhost. However I may not access them through http://{ipAddres}:8080/{appName} I have port 8080 open, the address attribute on the connector tag is not set so i

Re: ajp_read_header: ajp_ilink_receive failed

2009-04-06 Thread Rainer Jung
On 07.04.2009 00:08, Christopher Schultz wrote: > On 4/6/2009 5:51 PM, John Oliver wrote: >> RHEL 5.2, httpd-2.2.3-11.el5_1.3, tomcat5-5.5.23-0jpp.7.el5_2.1 > > 2.2.3 is pretty old... any chance of upgrading to 2.2.11? You're nearly > 3 years out of sync with the state-of-the-art. ++1 mod_proxy_

RE: ajp_read_header: ajp_ilink_receive failed

2009-04-06 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: ajp_read_header: ajp_ilink_receive failed > > > [r...@mda-services ~]# rpm -qa | grep java > > java-1.4.2-gcj-compat-devel-1.4.2.0-40jpp.115 > > gcc-java-4.1.2-42.el5 > > java-1.4.2-gcj-compat-1.4.2.0-40jpp.115 > > H

RE: Help with a Tomcat issue???

2009-04-06 Thread Jason Smith
Solved. You gave me a clue that helped solve it, though Tomcat could handle this better (not put '0 POST' in for the method name in the first place). Sun's implementation of HttpURLConnector apparently creates a new ChunkedOutputStream every time you call .getOutputStream(). In other words,

Re: Tomcats stops on Apache restart

2009-04-06 Thread Rainer Jung
On 01.04.2009 09:46, Leon Brouwers wrote: > Hello, > > We have a large number of tomcats (5.5.26) on serveral servers. These > tomcats communicate with a apache httpd on the same server using > mod_jk (1.2.26). They all work fine until I restart apache httpd. > Then randomly and certainly not all

Re: ajp_read_header: ajp_ilink_receive failed

2009-04-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John, On 4/6/2009 5:51 PM, John Oliver wrote: > RHEL 5.2, httpd-2.2.3-11.el5_1.3, tomcat5-5.5.23-0jpp.7.el5_2.1 2.2.3 is pretty old... any chance of upgrading to 2.2.11? You're nearly 3 years out of sync with the state-of-the-art. > There is no fire

Re: And even further into the black magic of logging configuration within tomcat...

2009-04-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dan, On 4/6/2009 5:42 PM, Dan Armbrust wrote: > System.setProperty("log4j.defaultInitOverride", "true"); > > And also, since this is a global JVM variable, one webapp setting this > property would affect the behaviour of other webapps - but again, it

Re: ajp_read_header: ajp_ilink_receive failed

2009-04-06 Thread John Oliver
On Mon, Apr 06, 2009 at 05:42:21PM -0400, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > John, > > On 4/6/2009 5:15 PM, John Oliver wrote: > > [Sun Mar 29 04:05:33 2009] [error] ajp_read_header: ajp_ilink_receive > > failed > > [Sun Mar 29 04:05:33 2009] [error]

RE: JasperException and ClassNotFoundException when Tomcat is restarted

2009-04-06 Thread Caldarale, Charles R
> From: Jonathan Abrams [mailto:jonathanabr...@gmail.com] > Subject: JasperException and ClassNotFoundException when Tomcat is > restarted > > Thank you if you have any idea what is causing this or how to get > Tomcat to wait until it is ready before responding to HTTP requests. No thoughts on ho

Re: How to debug Error: listenerStart?

2009-04-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 4/6/2009 5:45 PM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Re: How to debug Error: listenerStart? > > >> In my webapp, I have a defined first that does this: >> >> >> >

RE: How to debug Error: listenerStart?

2009-04-06 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: How to debug Error: listenerStart? > In my webapp, I have a defined first that does this: > > > > This appears to load my configuration correctly, but I don't see any > Tomcat messages in my log4j.log file. What v

Re: ajp_read_header: ajp_ilink_receive failed

2009-04-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John, On 4/6/2009 5:15 PM, John Oliver wrote: > [Sun Mar 29 04:05:33 2009] [error] ajp_read_header: ajp_ilink_receive > failed > [Sun Mar 29 04:05:33 2009] [error] (120006)APR does not understand this > error code: proxy: read response failed from (nu

Re: And even further into the black magic of logging configuration within tomcat...

2009-04-06 Thread Dan Armbrust
> If you deploy more than one > webapp, log4j doesn't attempt to self-configure in the second or any > subsequent webapps. > Just to close out this thread - no big surprise here - I found the bug in a library that I was deploying in one of my webapps that caused this behaviour. Some code was exec

Re: advantages using tomcat + mod_jk

2009-04-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tomas, On 4/6/2009 4:12 PM, Tomas Rodriguez wrote: > I wanna know what advantage can I have if I'll install tomcat with > the mod_jk for work with Apache http?. There are a number of advantages to using Apache httpd + mod_jk instead of just Tomcat s

Re: Having variable session timeouts

2009-04-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Siddhartha, On 4/6/2009 1:50 PM, Siddhartha Purkayastha wrote: > Looks like this should solve my problem - > HttpSession.setMaxInactiveInterval() ? That sounds like a good start. > Are there any implications of using this method? Yes: the session

Re: javax.naming.NamingException: Cannot create resource instance

2009-04-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, On 4/6/2009 2:17 PM, Martin Gainty wrote: > /WEB-INF/web.xml: > > jdbc/jpetstore > javax.sql.DataSource > Container > > >--looks for jdbc/jpetstore and finds it here in dataAccess-context.xml-- *sigh* T

Re: Cannot read httpservlet's inputstream

2009-04-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrey, On 4/6/2009 11:47 AM, Andrey Razumovsky wrote: > if (connect.getResponseCode() != HttpURLConnection.HTTP_OK) { > logObj.warn("file " + pack.getPath() + " was not transfered - > response code " + > connec

ajp_read_header: ajp_ilink_receive failed

2009-04-06 Thread John Oliver
[Sun Mar 29 04:05:33 2009] [error] ajp_read_header: ajp_ilink_receive failed [Sun Mar 29 04:05:33 2009] [error] (120006)APR does not understand this error code: proxy: read response failed from (null) (localhost) I get these messages a *lot* in my ssl_error_log Google isn't helping, and I've had

Re: How to debug Error: listenerStart?

2009-04-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 4/2/2009 3:03 PM, Caldarale, Charles R wrote: >> 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: >> >> LogMa

JasperException and ClassNotFoundException when Tomcat is restarted

2009-04-06 Thread Jonathan Abrams
Hi all, does anyone else ever see weird compile and IO errors when Tomcat is restarted under load, in response to HTTP requests from robots? We have a JSP/Servlet based site running multiple Apache Tomcat 5.5 servers on Linux. We set reloadable to false in our server.xml, and when we update our c

advantages using tomcat + mod_jk

2009-04-06 Thread Tomas Rodriguez
Hi. for everyone I wanna know what advantage can I have if I'll install tomcat with the mod_jk for work with apache http?. It will be more easy to configurate the tomcat with the virtual directory ?, because I wanna have in other directory my owner examples and until now I can't doing that. b

Re: Tomcat 5 and UTF-8

2009-04-06 Thread Joseph Millet
Not as much unrelated to the topic that my interventoion was - sorry didn't see it had already been addressed. On Mon, Apr 6, 2009 at 10:00 PM, Chris Lenart wrote: > I am using Tomcat 6.0.18 with Eclipse. It says the port is being used. > Where do I change? > > >

RE: Tomcat 5 and UTF-8

2009-04-06 Thread Chris Lenart
I am using Tomcat 6.0.18 with Eclipse. It says the port is being used. Where do I change? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

RE: Help with a Tomcat issue???

2009-04-06 Thread Jason Smith
I'll see if I can set up a working example. And I didn't mean to say "proxy," not that there is one. We aren't using JK connector. :-) -Original Message- From: Jason Smith [mailto:jsm...@infotrustgroup.com] Sent: Monday, April 06, 2009 1:28 PM To: Tomcat Users List Subject: RE: Help with

Re: Help with a Tomcat issue???

2009-04-06 Thread Mark Thomas
Jason Smith wrote: > Just Tomcat, no proxy. > > And I agree, that isn't the way you'd want to fix it ultimately, but I was > experimenting to find out what worked. You'd ultimately like to not see the > '0' at the beginning of the buffer. I found the place where it was getting > copied to t

RE: Help with a Tomcat issue???

2009-04-06 Thread Jason Smith
Just Tomcat, no proxy. And I agree, that isn't the way you'd want to fix it ultimately, but I was experimenting to find out what worked. You'd ultimately like to not see the '0' at the beginning of the buffer. I found the place where it was getting copied to the beginning of the buffer, but

Re: Help with a Tomcat issue???

2009-04-06 Thread Mark Thomas
Jason Smith wrote: > I have intercepted the socket InputStream (in Http11BaseProtocol) and looked > at the data coming in. It is what I expect ('POST .'). Yes, let me repeat > that, the data coming in from the socket is good. I've visually inspected > it, and it matches the spec. It isn't ju

Re: Tomcat 5 and UTF-8

2009-04-06 Thread Joseph Millet
Something more to consider relating to specifying charsets in meta tags : It's of course ok that a server sends http headers specifying in what charset the page is encoded but when the user comes to saving that web page on local drive there's nothing left that meta tags to inform browsers the page

Re: Tomcat 5 and UTF-8

2009-04-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 4/3/2009 6:43 PM, André Warnier wrote: > 4) the HTML specs are distinct from the HTTP specs. [...] It also > seems to be superfluous and confusing considering (1) and (2) above. > (Like, what if (1) and (4) specify different charsets/encod

Help with a Tomcat issue???

2009-04-06 Thread Jason Smith
Sorry for the spam if you are on both newsgroups.  I have been asked to move this to the user's group rather than the developers group.  I still think it's a developer issue, but I am more interested in actually finding answers than arguing the point. I am using a standard UrlHttpConnection to

RE: javax.naming.NamingException: Cannot create resource instance

2009-04-06 Thread Martin Gainty
/WEB-INF/web.xml: jdbc/jpetstore javax.sql.DataSource Container --looks for jdbc/jpetstore and finds it here in dataAccess-context.xml-- WEB-INF/dataAccess-context.xml --looks for dataSource and finds it here in dataAccessContext-local

Re: Having variable session timeouts

2009-04-06 Thread Siddhartha Purkayastha
Looks like this should solve my problem - HttpSession.setMaxInactiveInterval() ? Are there any implications of using this method? 2009/4/6 Siddhartha Purkayastha > Hello All - > > How is it possible to implement variable session timeouts? > My use case is: for a set of users with certain proper

Re: javax.naming.NamingException: Cannot create resource instance

2009-04-06 Thread Pid
Mighty Tornado wrote: > I added the same entry to context.xml under $CATALINA/conf and it did work. > Could there be something else wrong? Did you remove it before trying to add it here? p > On Mon, Apr 6, 2009 at 12:30 PM, Pid wrote: > >> Mighty Tornado wrote: >>> JVM: 1.5.0_16Tomcat: 6.0.1

Re: javax.naming.NamingException: Cannot create resource instance

2009-04-06 Thread Mighty Tornado
I added the same entry to context.xml under $CATALINA/conf and it did work. Could there be something else wrong? On Mon, Apr 6, 2009 at 12:30 PM, Pid wrote: > Mighty Tornado wrote: > > JVM: 1.5.0_16Tomcat: 6.0.16 2 > > OS: Mac OS X Leopard > > > > Hi, > > > > I defined the following context.xml

Having variable session timeouts

2009-04-06 Thread Siddhartha Purkayastha
Hello All - How is it possible to implement variable session timeouts? My use case is: for a set of users with certain properties (which in turn will be stored in the session, say x = 10), I want to have a time out of 30 mins. For others (say with property x = 15), I want to have a timeout of 1 hr

Re: javax.naming.NamingException: Cannot create resource instance

2009-04-06 Thread Pid
Mighty Tornado wrote: > JVM: 1.5.0_16Tomcat: 6.0.16 2 > OS: Mac OS X Leopard > > Hi, > > I defined the following context.xml under META-INF: > > > > crossContext="true"> > > > auth="Container" > > description="DB Connection" > > name="jdbc/vhousehold" > > type="javax.sql

javax.naming.NamingException: Cannot create resource instance

2009-04-06 Thread Mighty Tornado
JVM: 1.5.0_16Tomcat: 6.0.16 2 OS: Mac OS X Leopard Hi, I defined the following context.xml under META-INF: In web.xml I have the following: Connection Pool jdbc/vhousehold javax.sql.Datasource Container I try to get this data source in my a

Cannot read httpservlet's inputstream

2009-04-06 Thread Andrey Razumovsky
Hi list, I'm pretty sure I'm missing something obvious, but I just can't understand what the root of problem is. I try to send file from java to Tomcat6's http servlet. I need to send file alone (and probably some parameters in request), so I don't wanna mess with multipart libraries (commons-file

Re: [OT] Tomcat 5.5 embedded vs Tomcat 6.0.18 embedded

2009-04-06 Thread János Löbb
On Apr 6, 2009, at 4:10 AM, André Warnier wrote: Caldarale, Charles R wrote: [...] The metaphysical implications of existing without a trace are rather intriguing... I am surprised that you would not have heard of stealth technology. What do they call a stealthy Tomcat ? a Raptor ? No t

Re: Session Replication in Cluster

2009-04-06 Thread János Löbb
To stick with the analogy: Your session's baby part is: FEBA6A8127A69079C79B7A641158CE20 and that remains the same if with daddy or mommy. Your session's daddy part is: itchy and Your session's mommy part is: scratchy Enjoy them :) János On Apr 3, 2009, at 5:32 PM, Roy McMorran wrote: J

Re: How to debug Error: listenerStart?

2009-04-06 Thread Dan Armbrust
On Sat, Apr 4, 2009 at 9:08 PM, Caldarale, Charles R wrote: > I think I figured out what's going on.  Tomcat 5.5 uses an unmodified > LogFactory from commons-logging, which pokes around for logging mechanisms - > and finds your log4j.jar inside your webapp.  Tomcat 6.0, on the other hand, > us

RE: CPU 100% and restart...

2009-04-06 Thread Caldarale, Charles R
> From: Laura Bartolomé [mailto:la...@secways.com] > Subject: Re: CPU 100% and restart... > > How can I take a thread dump??? On a Windows box, jstack is probably the easiest thing to use. http://java.sun.com/j2se/1.5.0/docs/tooldocs/share/jstack.html - Chuck THIS COMMUNICATION MAY CONTAIN C

RE: [OT] Tomcat 5.5 embedded vs Tomcat 6.0.18 embedded

2009-04-06 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: [OT] Tomcat 5.5 embedded vs Tomcat 6.0.18 embedded > > I am surprised that you would not have heard of stealth technology. > What do they call a stealthy Tomcat ? a Raptor ? I think it will be the Lightning II; the US Navy passed on th

Re: webapp stopped default to a 404 not to a 503 ?

2009-04-06 Thread André Warnier
killbulle wrote: Hi i'am actually fighting with a modjk/tomcat 404 issue if a webapps is stopped it returns a 404 not a 503 so i ihave to configure 404 as a KO error for the modjk but 404 is a current code for some stupid css ressource or html page miss so i ask myself why not a 503 web the weba

Re: webapp stopped default to a 404 not to a 503 ?

2009-04-06 Thread Pid
killbulle wrote: > Hi > i'am actually fighting with a modjk/tomcat 404 issue > if a webapps is stopped it returns a 404 not a 503 so i ihave to configure > 404 as a KO error for the modjk > but 404 is a current code for some stupid css ressource or html page miss > so i ask myself why not a 503 we

Re: CPU 100% and restart...

2009-04-06 Thread Laura Bartolomé
Hi, How can I take a thread dump??? Thanks Laura Mark Thomas escribió: > Laura Bartolomé wrote: > >> ps! sorry... >> >> it's a Windows 2003 Server with Tomcat 6 and java 1.5.7 >> >> I don't think the application was delivering a big file but I'll take a >> look on this >> > > When

webapp stopped default to a 404 not to a 503 ?

2009-04-06 Thread killbulle
Hi i'am actually fighting with a modjk/tomcat 404 issue if a webapps is stopped it returns a 404 not a 503 so i ihave to configure 404 as a KO error for the modjk but 404 is a current code for some stupid css ressource or html page miss so i ask myself why not a 503 web the webapps is stopped Re

Re: mod_jk log levels documentation

2009-04-06 Thread Mark Thomas
André Warnier wrote: > Hi. > > In this page : > http://tomcat.apache.org/connectors-doc/reference/apache.html > it says > > JkLogLevel set the log level between : > > * info log will contain standard mod_jk activity (default). > * warn log will contain non fatal error reports. > * er

mod_jk log levels documentation

2009-04-06 Thread André Warnier
Hi. In this page : http://tomcat.apache.org/connectors-doc/reference/apache.html it says JkLogLevel set the log level between : * info log will contain standard mod_jk activity (default). * warn log will contain non fatal error reports. * error log will contain also error reports.

Re: ServletContext.java version in the Tomcat 6.0.16 or 6.0.18 source code

2009-04-06 Thread Mark Thomas
Laurent SAUVEL wrote: > Hello all, > > I'd like to know why the ServletContext.java file found in the Tomcat > 6.0.16 or 6.0.18 source code seems to belong to the Servlet 2.4 > specifications whereas Tomcat 6.0.x supports the Servlet 2.5 > specifications: > > In this file, we can read: > > /

ServletContext.java version in the Tomcat 6.0.16 or 6.0.18 source code

2009-04-06 Thread Laurent SAUVEL
Hello all, I'd like to know why the ServletContext.java file found in the Tomcat 6.0.16 or 6.0.18 source code seems to belong to the Servlet 2.4 specifications whereas Tomcat 6.0.x supports the Servlet 2.5 specifications: In this file, we can read: /** * Returns the major version of the

Re: apache-tomcat-jdbc-1.0.20-beta Abandoned Issue

2009-04-06 Thread Filip Hanik - Dev Lists
hi Roger, DBCP works the abandonment slightly different. It doesn't 'abandon' connections unless all connections are in use. This means you wont get notified of abandoned connections until you are actually using all, or all are abandoned. So if you used DBCP, you still might experience the error

Re: Catalina.log - repeating errors

2009-04-06 Thread Filip Hanik - Dev Lists
This would happen if the application has been shutdown and a new request happens concurrently. Are you hot redeploying the application? most likely you are, since the other scenario would be restarting tomcat. Filip Don Millhofer wrote: Hi, we have an application that was developed using NetB

Re: [OT] Tomcat 5.5 embedded vs Tomcat 6.0.18 embedded

2009-04-06 Thread André Warnier
Caldarale, Charles R wrote: [...] The metaphysical implications of existing without a trace are rather intriguing... I am surprised that you would not have heard of stealth technology. What do they call a stealthy Tomcat ? a Raptor ? --

Re: Session Replication in Cluster

2009-04-06 Thread Filip Hanik - Dev Lists
what you're seeing is correct. the server did fail over, and by changing the session id, it ensures that it does not do "fail back" Filip Roy McMorran wrote: 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.

Re: tomcat 6 session replication issues

2009-04-06 Thread Filip Hanik - Dev Lists
Apr 1, 2009 3:28:42 AM org.apache.catalina.tribes.transport.nio.NioReceiver socketTimeouts WARNING: Channel key is registered, but has had no interest ops for the last 3000 ms. this is a sign of a thread being stuck, and its confirmed by the session transfer timing out. Do a thread dump on the

Re:

2009-04-06 Thread Pid
Mighty Tornado wrote: > Hi, > I have an index.jsp page with 3 links to other JSP's. > These links don't seem to work. I get the 404 error. > > Do I have to register the JSP's somewhere similarly to how I create servlet > mappings? > > in the href attribute I tried passing along both relative path