Re: jvm exits without trace

2010-03-26 Thread David Kerber
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 Windows event viewer had the singularly un-useful "The Tomcat5 service termi

RE: Connecting to a Database

2010-03-26 Thread Leo Donahue - PLANDEVX
You are correct. I stumbled across that info while reading the 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 [mailto:chuck.cal

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 not

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, Bar

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 no

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,

RE: Connecting to a Database

2010-03-26 Thread Propes, Barry L
Wow! 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, but my DataSource realm wouldn't hit the DB for authentication at ALL until I just did this. As you said, PROBLEM SOLVED!! Going home f

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 yo

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 sun.reflect.NativeConstructorAccesso

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 JvmRouteBi

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

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 cycl

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 a

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 the

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 p

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: 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 mind-boggling

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 to

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: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 5

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, bu

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 t

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 [mailto:ma

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 t

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 f

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: 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 java.

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,

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 wrote: > From: Christopher Schultz > Subject: Re: tomcat PUT not working > To: "Tomcat Users List" > Date: Friday, March 26, 2010, 10:33 AM > -BEGIN PGP SIGNED MESS

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.

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

2010-03-26 Thread SM
I used eclipse Gamypede to generate webservices in the past with tomcat 6. Was using the service archive and the code generator wizard.  However the loading of axis2 fails with the following error on a new version of eclipse Galileo 3.5SR2.  Tomcat version 6.0 is being used.  The same instance

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 a

Proposal : port mod_expires in java as ExpiresFilter Servlet Filter

2010-03-26 Thread Cyrille Le Clerc
Dear all, I have proposed with bugzilla 48998 a port of Apache mod_expires in Java as ExpiresFilter Servlet Filter. I detailed a standalone version of this filter on http://code.google.com/p/xebia-france/wiki/ExpiresFilter . Moreover, I tried my best to provide very detailed javadocs and docs (in

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: > Note that you never define the host "localhost" which is why you are getting those warning messages in your log file. > unpackWARs="true" autoDeploy="true" >xmlValidation="false"

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 th

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 >> mor

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 ho

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 AN

Re: Tomcat 6.0.26 pulled from mirrors?

2010-03-26 Thread Konstantin Kolinko
2010/3/26 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/tom

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: > http://www.apache.o

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 problem,

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 redeploy

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 >> >

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 so

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

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)

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: 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

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 e

Re: tomcat maven plugin datasource

2010-03-26 Thread Timo Meinen
Is the 'initialize' phase of maven executed? Timo 2010/3/26 Pid : > On 26/03/2010 02:01, fachhoch wrote: >> >> I am having trouble  setting datasource >> >> here is my configration  for datasource >> >> >> >>   > type="javax.sql.DataSource" >>                username="username" password="passwor

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 and here my pom configration Perhaps you meant to include the server.xml? Rather than a POM, which doesn't tell me anything about what Tomcat is actually using.

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 whic

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 mysql-d

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 app

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 sta

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: 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: [

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 ValidationException

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

how to add subdomains dynamically, virtual hosts config

2010-03-26 Thread Logan Scott
hello, My current configuration is working perfectly: tomcat 6.0 apache 2.0.55 jk connector virtual hosts My web server has multiple websites, something like this: www.mydom1.com www.mydom2.com www.mydom3.com Now I would like to add the ability to issue subdomains in large numbers, for a