RE: UndeclaredThrowableException as a result of false ClassLoading

2010-03-26 Thread Mikasch, Fares (EXT-IBM - DE/Berlin)
Hi Chuck, Thanks for your response. You are right, the webapp does the RMI call, and as I am debugging I got unsure if this is a tomcat issue or a jbossall-client(.jar) issue. Of course it is the Java runtime that wraps exceptions with the UTE when the (non Runtime-) Exception does not meet the

RE: UndeclaredThrowableException as a result of false ClassLoading

2010-03-26 Thread Mikasch, Fares (EXT-IBM - DE/Berlin)
Hi chris, Thanks for you support. There are no ClassLoader references stored in the ValidationExceptions (VE) and I doublechecked serialization - all ValidationExceptions are identical. The VE class only exists in one jar which is deployed in several wars. INFO [...] - Not a

RE: UndeclaredThrowableException as a result of false ClassLoading

2010-03-26 Thread Mikasch, Fares (EXT-IBM - DE/Berlin)
Hi Chris, Apparently I mixed up some lines regarding the traces during copy and paste. So here comes the correct trace: INFO [...] - Thread ClassLoader: [...@org.apache.catalina.loader.webappclassloader@785...@cid:1d38...@] INFO [...] - BusinessDelegate ClassLoader:

Shutdown hook for correctly unloading drivers

2010-03-26 Thread Timo Meinen
Hi, I would like to know, if there is a shutdown-hook for Tomcat available. Or what the prefered way is, to correctly unload drivers like JDBC drivers. Unloading the drivers seems to be important for us, because after redeploying the web appliction to often during continuous integration leads to

Re: Project : SPDY connector for Tomcat

2010-03-26 Thread Mark Thomas
On 26/03/2010 01:12, Nouhoun KANE wrote: Thank you Mark, now i understood the idea, but i think it's would be better if you give us more details and explanations about this idea to let us know more about this idea and to let us show you our proposal. I didn't uderstand the idea from the start,

Re: Shutdown hook for correctly unloading drivers

2010-03-26 Thread Mark Thomas
On 26/03/2010 11:52, Timo Meinen wrote: Hi, I would like to know, if there is a shutdown-hook for Tomcat available. Or what the prefered way is, to correctly unload drivers like JDBC drivers. Unloading the drivers seems to be important for us, because after redeploying the web appliction

Re: Shutdown hook for correctly unloading drivers

2010-03-26 Thread Timo Meinen
Hi Mark, thank you for the answer. I do have a YourKit license for our open source framework, so I will profile my webapp. Tomcat has unloaded the driver. That won't be causing your memory leak. Does this mean, that the additional memory which is allocated after a redeploy cannot be the

Re: Shutdown hook for correctly unloading drivers

2010-03-26 Thread Mark Thomas
On 26/03/2010 12:35, Timo Meinen wrote: Hi Mark, thank you for the answer. I do have a YourKit license for our open source framework, so I will profile my webapp. Tomcat has unloaded the driver. That won't be causing your memory leak. Does this mean, that the additional memory which is

Re: tomcat maven plugin datasource

2010-03-26 Thread Pid
On 26/03/2010 02:01, fachhoch wrote: I am having trouble setting datasource here is my configration for datasource Context Resource name=jdbc/artmsDataSource auth=Container type=javax.sql.DataSource username=username password=password

Re: tomcat maven plugin datasource

2010-03-26 Thread Timo Meinen
Is the 'initialize' phase of maven executed? Timo 2010/3/26 Pid p...@pidster.com: On 26/03/2010 02:01, fachhoch wrote: I am having trouble  setting datasource here is my configration  for datasource Context   Resource name=jdbc/artmsDataSource auth=Container type=javax.sql.DataSource  

Re: Configuring a database connection pool by source

2010-03-26 Thread Pid
On 24/03/2010 18:39, David Calavera wrote: Hi, I'm working in an application that uses an embedded tomcat and I'd like to add a feature to add a connection pool by source but when I run the server I'm getting this error: javax.naming.NoInitialContextException: Need to specify class name in

AW: Shutdown hook for correctly unloading drivers

2010-03-26 Thread Steffen Heil
Hi I would like to know, if there is a shutdown-hook for Tomcat available. Or what the prefered way is, to correctly unload drivers like JDBC drivers. Tomcat has unloaded the driver. That won't be causing your memory leak. How does tomcat unload classes? Some (especially some pool

AW: Why is tomcat taking so long to start?

2010-03-26 Thread Steffen Heil
While this may be an unsupported version of Tomcat, version support is not an issue for us here. Support is not an issue for you, still you are asking for support? smime.p7s Description: S/MIME cryptographic signature

AW: Is it possible to set the port for tomcat manager to 8080 and root port 80???

2010-03-26 Thread Steffen Heil
That's another discussion, but it could really make sense, if you use a connector bound to a non-public interface (or even localhost) just for administration. Which is what the RemoteAddrValve is for. Yes, I know. Still some people might prefer complete separation (instead of hiding) and

RE: Shutdown hook for correctly unloading drivers

2010-03-26 Thread Caldarale, Charles R
From: Steffen Heil [mailto:li...@steffen-heil.de] Subject: AW: Shutdown hook for correctly unloading drivers How does tomcat unload classes? It doesn't, at least not directly. Tomcat simply eliminates all references to the classes; the actual unloading is done by GC at some point in the

RE: Why is tomcat taking so long to start?

2010-03-26 Thread Caldarale, Charles R
From: Steffen Heil [mailto:li...@steffen-heil.de] Subject: AW: Why is tomcat taking so long to start? While this may be an unsupported version of Tomcat, version support is not an issue for us here. Support is not an issue for you, still you are asking for support? Good that someone

Re: tomcat maven plugin datasource

2010-03-26 Thread fachhoch
the pom is sent is maven plugin for embedded tomcat. I run my application for testing using embedded tomcat.I am not able to configure datasource for this embedded maven tomcat plugin. Pid Ster wrote: On 26/03/2010 02:01, fachhoch wrote: I am having trouble setting datasource here is

Tomcat 6.0.26 pulled from mirrors?

2010-03-26 Thread Martin Gerdes
Why don't many mirrors carry 6.0.26 anymore? Instead they say that 6.0.24 is the current release!? This site doesn't carry 6.0.26 anymore: http://apache.mirror.digionline.de/tomcat/tomcat-6/ This site does carry 6.0.26: http://www.apache.org/dist/tomcat/tomcat-6/ Is 6.0.26 just getting

Re: tomcat maven plugin datasource

2010-03-26 Thread Pid
On 26/03/2010 13:52, fachhoch wrote: the pom is sent is maven plugin for embedded tomcat. I run my application for testing using embedded tomcat.I am not able to configure datasource for this embedded maven tomcat plugin. If the plugin can't configure a datasource, then that's your

Re: Tomcat 6.0.26 pulled from mirrors?

2010-03-26 Thread Mark Thomas
On 26/03/2010 14:09, Martin Gerdes wrote: Why don't many mirrors carry 6.0.26 anymore? Instead they say that 6.0.24 is the current release!? This site doesn't carry 6.0.26 anymore: http://apache.mirror.digionline.de/tomcat/tomcat-6/ This site does carry 6.0.26:

Re: Tomcat 6.0.26 pulled from mirrors?

2010-03-26 Thread Konstantin Kolinko
2010/3/26 Martin Gerdes marting...@googlemail.com: Why don't many mirrors carry 6.0.26 anymore? Instead they say that 6.0.24 is the current release!? This site doesn't carry 6.0.26 anymore: http://apache.mirror.digionline.de/tomcat/tomcat-6/ This site does carry 6.0.26:

RE: Tomcat 6.0.26 pulled from mirrors?

2010-03-26 Thread Caldarale, Charles R
From: Martin Gerdes [mailto:marting...@googlemail.com] Subject: Tomcat 6.0.26 pulled from mirrors? Why don't many mirrors carry 6.0.26 anymore? Many, or one? All the mirrors I've spot-checked on this side of the pond have 6.0.26. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL

Re: Why is tomcat taking so long to start?

2010-03-26 Thread Juha Laiho
On 26.3.2010 2:30, Mon Cab wrote: Tomcat is taking 3 mins to start up, while it used to start up in a matter of seconds. We have 2 containers set up with 7-9 hosts configured, each with its own docbase directory. Looking at the working directory, it seems that there is a directory for each

Re: Any way to pre-compile JSPs in Tomcat

2010-03-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 3/25/2010 4:33 PM, Mark Thomas wrote: On 25/03/2010 19:41, Christopher Schultz wrote: Do you mean that you'll need to use a matching version in order to enjoy all the benefits and features of that version, or is there something more

Re: tomcat PUT not working

2010-03-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kumar, On 3/25/2010 4:34 PM, Kumar Kadiyala wrote: I have REST based web services some of which use the PUT method. The PUT method can contain a request body. The web service works fine with Websphere and is out in the field. We are in the

Re: Why is tomcat taking so long to start?

2010-03-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mon, On 3/25/2010 8:30 PM, Mon Cab wrote: Engine name=Catalina defaultHost=localhost debug=0 Note that you never define the host localhost which is why you are getting those warning messages in your log file. Host name=www.domain.com

Re: tomcat maven plugin datasource

2010-03-26 Thread fachhoch
I am asking why plugin is not creating datasource ?, I did as per the plugin instructions , what am i missing ? Pid Ster wrote: On 26/03/2010 13:52, fachhoch wrote: the pom is sent is maven plugin for embedded tomcat. I run my application for testing using embedded tomcat.I am not

Re: Re: jvm exits without trace

2010-03-26 Thread David kerber
It looks like we may have had one of these this AM, but under somewhat different conditions: Windows server 2008, JVM 1.6.0_17 64-bit Server VM, TC 5.5.28. No tracks in any of the TC logs, and the Windows event viewer had the singularly un-useful The Tomcat5 service terminated unexpectedly.

Re: tomcat PUT not working

2010-03-26 Thread Kumar Kadiyala
Chris, I see the content when I read the InputStream. Thanks for your help. Kumar --- On Fri, 3/26/10, Christopher Schultz ch...@christopherschultz.net wrote: From: Christopher Schultz ch...@christopherschultz.net Subject: Re: tomcat PUT not working To: Tomcat Users List

RE: tomcat maven plugin datasource

2010-03-26 Thread Caldarale, Charles R
From: fachhoch [mailto:fachh...@gmail.com] Subject: Re: tomcat maven plugin datasource I did as per the plugin instructions , what am i missing ? Telling us what plugin you're referring to. Where did you get it? I don't recall seeing any such plugin as part of any Tomcat distribution, but

RE: When starting tomcat 6 from eclipse Galelio 2.5SR2-- error org.apache.axis2.transport.http.AxisAdminServlet java.lang.ClassNotFoundException

2010-03-26 Thread Muralidhar Yaragalla
Where are u placing the axis jar files? -Original Message- From: SM [mailto:moni_spar...@yahoo.com] Sent: Friday, March 26, 2010 11:10 PM To: users@tomcat.apache.org Subject: When starting tomcat 6 from eclipse Galelio 2.5SR2-- error org.apache.axis2.transport.http.AxisAdminServlet

RE: When starting tomcat 6 from eclipse Galelio 2.5SR2-- error org.apache.axis2.transport.http.AxisAdminServlet java.lang.ClassNotFoundException

2010-03-26 Thread SM
Deployed axis2 war on Apache TOmcat 6.0.  Have gone into Windows -- Preferences -- Axis2 Preference and have specified the Axis2 runtime location to the place where I have my axis2 distribution unbundled at.  Do I need to do anything else in terms of setup.  Please let me know. Thanks,Monisha

RE: Configuring a database connection pool by source

2010-03-26 Thread Muralidhar Yaragalla
Hi basically this happens when you don't provide InitialContexFactory to the Initialcontext when creating an InitialContext object. If your code resides inside tomcat you don't need to do this because it knows where its directory service is located. But if you want to connect to directory service

Re: jvm exits without trace

2010-03-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 3/26/2010 1:40 PM, David kerber wrote: It looks like we may have had one of these this AM, but under somewhat different conditions: Windows server 2008, JVM 1.6.0_17 64-bit Server VM, TC 5.5.28. No tracks in any of the TC logs, and the

RE: DB connection error -Tomcat 6 config

2010-03-26 Thread Propes, Barry L
Mark -- looked for that and got this message: Your search query TimerThread didn't return any results. Please change some terms and refer to HelpOnSearching for more information. I'll see about downloading and implementing the profiler. -Original Message- From: Mark Thomas

Re: DB connection error -Tomcat 6 config

2010-03-26 Thread Mark Thomas
On 26/03/2010 19:22, Propes, Barry L wrote: Mark -- looked for that and got this message: Your search query TimerThread didn't return any results. Please change some terms and refer to HelpOnSearching for more information. Sorry - should have been clearer - just look for that text on the

RE: jvm exits without trace

2010-03-26 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: jvm exits without trace Yikes: whenever I see jdbcodbc I cringe! As everyone should. Looks like whatever ntdll.dll is. That doesn't sound like a JDBC driver cause to me. It's not the JDBC driver per se, but the

Re: jvm exits without trace

2010-03-26 Thread David kerber
On 3/26/2010 3:19 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 3/26/2010 1:40 PM, David kerber wrote: It looks like we may have had one of these this AM, but under somewhat different conditions: Windows server 2008, JVM 1.6.0_17 64-bit Server VM, TC

RE: jvm exits without trace

2010-03-26 Thread Caldarale, Charles R
From: David kerber [mailto:dcker...@verizon.net] Subject: Re: jvm exits without trace What alternative is there, without going to a java database? *Every* real database that I'm aware of supplies type 4 JDBC drivers; none use the mind-bogglingly bad JDBC-ODBC bridge. Choose your poison:

Re: jvm exits without trace

2010-03-26 Thread David kerber
On 3/26/2010 3:27 PM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: jvm exits without trace Yikes: whenever I see jdbcodbc I cringe! As everyone should. Looks like whatever ntdll.dll is. That doesn't sound like a JDBC driver cause

Re: jvm exits without trace

2010-03-26 Thread David kerber
On 3/26/2010 3:39 PM, Caldarale, Charles R wrote: From: David kerber [mailto:dcker...@verizon.net] Subject: Re: jvm exits without trace What alternative is there, without going to a java database? *Every* real database that I'm aware of supplies type 4 JDBC drivers; none use the

RE: how to add subdomains dynamically, virtual hosts config

2010-03-26 Thread Caldarale, Charles R
From: Logan Scott [mailto:lo...@sqlist.com] Subject: how to add subdomains dynamically, virtual hosts config tomcat 6.0 Tomcat 6.0.? apache 2.0.55 That's getting a bit long in the tooth... jk connector Version? Now I would like to add the ability to issue subdomains in large

RE: DB connection error -Tomcat 6 config

2010-03-26 Thread Propes, Barry L
Ok -- FWIW, I'm also going to attach a small snippet from the logs to see if that sheds any light on the situation.. I'm also having an issue with a child directory and contents being seen. Getting 404 errors from this, even though the contents are unequivocally there. Not certain that the two

RE: configuration to serve 500 users

2010-03-26 Thread Muralidhar Yaragalla
Thank you. -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Thursday, March 25, 2010 9:07 PM To: Tomcat Users List Subject: Re: configuration to serve 500 users -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Muralidhar, Welcome to the list. In

RE: DB connection error -Tomcat 6 config

2010-03-26 Thread Caldarale, Charles R
From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Subject: RE: DB connection error -Tomcat 6 config I'm also having an issue with a child directory and contents being seen. Getting 404 errors from this, even though the contents are unequivocally there. Note that client requests are

Free Memory Dropping At Idle

2010-03-26 Thread Randall Smith
I suspect a memory leak in an application I'm running on Tomcat 6.0.26 and Sun Java 1.6.0_12. After a file is posted, the application responds ('your file is uploaded blah blah'), then processes the file in a thread. After the processing is complete, the free memory as reported by Tomcat

RE: Free Memory Dropping At Idle

2010-03-26 Thread Caldarale, Charles R
From: Randall Smith [mailto:rand...@tnr.cc] Subject: Free Memory Dropping At Idle After the processing is complete, the free memory as reported by Tomcat cycles down, each time having a lower peak and valley until it almost reaches 0. Then when it's about to hit 0 M, it's all freed up.

sticky session failover

2010-03-26 Thread Len Takeuchi
Hello, I have apache load balancing a number of tomcat instances using mod_jk using sticky session. This is all working with the session id having the jvmRoute appended. I am storing the session using persistent manager using jdbc. I want to have failover for session as supported by

Tomcat 6.0.24 from eclipse causes addressing-1.5.1.mar module, which is not valid, caused null java.lang.ExceptionInInitializerError

2010-03-26 Thread SM
 When I start up tomcat 6.0.24 I get the following exception.  Any tips on resolving this will be helpful:[INFO] Clustering has been disabled[ERROR] The addressing-1.5.1.mar module, which is not valid, caused nulljava.lang.ExceptionInInitializerError at

RE: Tomcat 6.0.24 from eclipse causes addressing-1.5.1.mar module, which is not valid, caused null java.lang.ExceptionInInitializerError

2010-03-26 Thread Caldarale, Charles R
From: SM [mailto:moni_spar...@yahoo.com] Subject: Tomcat 6.0.24 from eclipse causes addressing-1.5.1.mar module, which is not valid, caused null java.lang.ExceptionInInitializerError  When I start up tomcat 6.0.24 I get the following exception. You need a new e-mail program - whatever you're

RE: Connecting to a Database

2010-03-26 Thread Caldarale, Charles R
From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Subject: RE: Connecting to a Database Thanks, Leo! I've not seen instructions in the How-To (maybe I overlooked it) on the localDataSource=true attrib to the Realm in the context.xml file Unfortunately, it's not in the How-To, just

Debug on Server tomcat for a simple webservice gives http 404 error

2010-03-26 Thread SM
Hi all:  I have created a simple web service using eclipse and tomcat 6.0.24, however when I try to test this webservice using Debug on Server I get the following error:HTTP Status 404 - /Axis2WSTest/type Status reportmessage /Axis2WSTest/description The requested resource (/Axis2WSTest/) is

RE: Connecting to a Database

2010-03-26 Thread Propes, Barry L
Thanks, Chuck. I'll take a look again at this to see what else I might have overlooked! -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Friday, March 26, 2010 4:56 PM To: Tomcat Users List Subject: RE: Connecting to a Database From: Propes,

Deploying a simple webservice for testing on tomcat gives HTTP 404

2010-03-26 Thread SM
Hi all, I developed a simple web service and deployed it on Tomcat 6.0.24 and when I debug on server it gives me http 404.  There are no errors in the tomcat log.   HTTP Status 404 - /Axis2WSTest/ type Status report message /Axis2WSTest/ description The requested resource (/Axis2WSTest/) is

RE: Connecting to a Database

2010-03-26 Thread Leo Donahue - PLANDEVX
You are correct. I stumbled across that info while reading the Realm config in the DataSource Database Realm section but I wasn't looking for that when I saw it the first n times. I was looking for info about the userRoleTable. -Original Message- From: Caldarale, Charles R