RE: Tomcat startup error!

2011-05-13 Thread Caldarale, Charles R
> From: red phoenix [mailto:rodphoe...@gmail.com] > Subject: Tomcat startup error! > Warn: Failed to scan JAR [jndi:/localhost/examples/WEB-INF/lib/standard.jar] > from WEB-INF/lib > java.io.FileNotFoundException: > c:\apache-tomcat-7.0.12\temp\jar_cache1803949900871975219.tmp (Another > program

Tomcat startup error!

2011-05-13 Thread red phoenix
I use tomcat 7.0.12 with hibernate 3,when I startup first,it can work well and no errors.then I shutdown tomcat,and startup again,it raise following warning information: Warn: Failed to scan JAR [jndi:/localhost/examples/WEB-INF/lib/standard.jar] from WEB-INF/lib java.io.FileNotFoundException: c:\a

Re: High Availability in Tomcat?

2011-05-13 Thread Brian Braun
Hi Konstantin, I have just read the manual regarding the parallel deployment and tested it. IT IS A WONDERFUL FEATURE! And so easy to do! At last my site won't stop every time I redeploy! Thanks a lot for your advice, I wouldn't have noticed this new feature if you hadn't told me to check it.

Re: multiple Loadbalancer workers - found each other webapps?

2011-05-13 Thread Mark Eggers
> >From: Alexander Diedler >To: "users@tomcat.apache.org" >Sent: Friday, May 13, 2011 5:40 AM >Subject: multiple Loadbalancer workers - found each other webapps? > > >Hello, >Why see one tomcat the apps of another tomcat? >We have two servers with two installed Apa

RE: Multiple context paths for single deployment

2011-05-13 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Multiple context paths for single deployment > Now, one might still be able to use this technique if > you deploy to ROOT and alias /both/ URI prefixes you > want to use, like this: > path="ROOT" aliases="/foo=pat

Re: [OT] storing images

2011-05-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alexis, On 5/13/2011 11:14 AM, alexis wrote: > upon new data, what i only build new are the series, then i get the > object on the servletcontext and set the new data inside this object > (if exists, if not, the whole chart object is created) That's

Re: Multiple context paths for single deployment

2011-05-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 5/13/2011 10:36 AM, Caldarale, Charles R wrote: > " > This attribute provides a list of external locations from which to > load resources for this context. The list of aliases should be of the > form "/aliasPath1=docBase1,/aliasPath2=docBase

Re: Multiple context paths for single deployment

2011-05-13 Thread André Warnier
JanAa wrote: Thanks for replying. I was under the impression that the difference between HttpServletRequest.getContextPath and ServletContext.getContextPath() was exactly that the first returned the context path used in the request while the second returned the context path used when processing

Re: [OT] storing images

2011-05-13 Thread alexis
On May 13, 2011, at 11:47 AM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Alexis, > > Marking off-topic because this has nothing whatsoever to do with Tomcat. > > On 5/11/2011 5:06 PM, alexis wrote: >> For real time purposes, im building images > > I get i

Re: multiple Loadbalancer workers - found each other webapps?

2011-05-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alexander, On 5/13/2011 8:40 AM, Alexander Diedler wrote: > Why see one tomcat the apps of another tomcat? Are you asking: "why does one Tomcat see the webapps deployed on another Tomcat?" > We have two servers with two installed Apache Tomcats 6.0.

Re: 6.0.x Windows XP

2011-05-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Abhay, On 5/13/2011 2:39 AM, Abhay Adgurwar wrote: > *Problem :- * Tomcat service stops automatically and gives the following > errors in log files when try to start it > > SEVERE: Begin event threw exception > java.lang.ClassNotFoundException: >

Re: [OT] storing images

2011-05-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alexis, Marking off-topic because this has nothing whatsoever to do with Tomcat. On 5/11/2011 5:06 PM, alexis wrote: > For real time purposes, im building images I get it. > We'll going to images, what i store in servletcontext is NOT > practically

RE: Multiple context paths for single deployment

2011-05-13 Thread Caldarale, Charles R
> From: JanAa [mailto:jan.aage...@norse-solutions.com] > Subject: RE: Multiple context paths for single deployment > What I want is an alias for the context so that more than > one url can be used for the same application and that the > url used is reflected in HttpServletRequest.getContextPath(

RE: Multiple context paths for single deployment

2011-05-13 Thread JanAa
Thanks for replying. I was under the impression that the difference between HttpServletRequest.getContextPath and ServletContext.getContextPath() was exactly that the first returned the context path used in the request while the second returned the context path used when processing (http://downlo

RE: Multiple context paths for single deployment

2011-05-13 Thread Caldarale, Charles R
> From: Jess Holle [mailto:je...@ptc.com] > Subject: Re: Multiple context paths for single deployment > In Tomcat versions up through 6.0, I have cases where I have 1 expanded > WAR directory (outside Tomcat's webapps, etc) and then numerous > disparate Context XML files under Tomcat/conf, each

Re: Multiple context paths for single deployment

2011-05-13 Thread Jess Holle
Hmm In Tomcat versions up through 6.0, I have cases where I have 1 expanded WAR directory (outside Tomcat's webapps, etc) and then numerous disparate Context XML files under Tomcat/conf, each with their own overrides to the original web.xml (e.g. each getting their own data sources, JNDI

RE: Multiple context paths for single deployment

2011-05-13 Thread Caldarale, Charles R
> From: JanAa [mailto:jan.aage...@norse-solutions.com] > Subject: Re: Multiple context paths for single deployment > What I want is an alias for the context so that more than > one url can be used for the same application and that the > url used is reflected in HttpServletRequest.getContextPath(

Re: Cannot find daemon loader org/apache/commons/daemon/support/DaemonLoader

2011-05-13 Thread sebb
On 13 May 2011 13:56, Jim Seymour wrote: > On Wed, 11 May 2011 18:04:15 -0400 > Jim Seymour wrote: > >> On Thu, 12 May 2011 01:16:43 +0400 >> Konstantin Kolinko wrote: >> >> > 1) jsvc is not developed within Apache Tomcat project but within >> > the Apache Commons - it belongs to Apache Commons

Re: Deploying with JMX (but not with manager app) when autodeploy is disabled

2011-05-13 Thread Luca Gervasi
On 05/13/2011 12:28 PM, Mark Thomas wrote: > On 13/05/2011 11:25, Luca Gervasi wrote: >> Hello, >> >> I have this bit of information from the server.xml >> >> > name="${host.defaulthost}" >> appBase="${host.appbase}" >> unpackWARs="false"

Re: Cannot find daemon loader org/apache/commons/daemon/support/DaemonLoader

2011-05-13 Thread Jim Seymour
On Wed, 11 May 2011 18:04:15 -0400 Jim Seymour wrote: > On Thu, 12 May 2011 01:16:43 +0400 > Konstantin Kolinko wrote: > > > 1) jsvc is not developed within Apache Tomcat project but within > > the Apache Commons - it belongs to Apache Commons Daemon, -- your > > question belongs there > > http

Re: Possible Servlet 3.0 AsyncContext bug in Tomcat 7.0.x

2011-05-13 Thread Dan Checkoway
https://issues.apache.org/bugzilla/show_bug.cgi?id=51197 Thanks Mark! On Fri, May 13, 2011 at 8:33 AM, wrote: > Dan Checkoway wrote: > > >Mark, > > > >I wanted to let you know that 7.0.14 (I dl'd the official release this > >morning) changed the behavior slightly, but it didn't fix the bug. T

multiple Loadbalancer workers - found each other webapps?

2011-05-13 Thread Alexander Diedler
Hello, Why see one tomcat the apps of another tomcat? We have two servers with two installed Apache Tomcats 6.0.32 and one Apache Webserver 2.2.14. Server A: Tomcat1 hosts App1 and App2 Tomcat2 hosts App3 Server B: Tomcat1 hosts App1 and App2 Tomcat2 hosts App3 In the worker.proper

Re: Possible Servlet 3.0 AsyncContext bug in Tomcat 7.0.x

2011-05-13 Thread markt
Dan Checkoway wrote: >Mark, > >I wanted to let you know that 7.0.14 (I dl'd the official release this >morning) changed the behavior slightly, but it didn't fix the bug. The >behavior I'm seeing now is: > >response.sendError - seems to close the connection immediately (doesn't >wait >to time out

Re: Possible Servlet 3.0 AsyncContext bug in Tomcat 7.0.x

2011-05-13 Thread Dan Checkoway
Mark, I wanted to let you know that 7.0.14 (I dl'd the official release this morning) changed the behavior slightly, but it didn't fix the bug. The behavior I'm seeing now is: response.sendError - seems to close the connection immediately (doesn't wait to time out like 7.0.12 did), but you get n

Re: Deploying with JMX (but not with manager app) when autodeploy is disabled

2011-05-13 Thread Mark Thomas
On 13/05/2011 11:25, Luca Gervasi wrote: > Hello, > > I have this bit of information from the server.xml > > name="${host.defaulthost}" > appBase="${host.appbase}" > unpackWARs="false" > autoDeploy="false" >

Deploying with JMX (but not with manager app) when autodeploy is disabled

2011-05-13 Thread Luca Gervasi
Hello, I have this bit of information from the server.xml I haven't manager, host-manager, psi-probe or similar webapps. Is it possible, using ONLY JVisualVM/JConsole, deploying and start an application i already copied in the webapps dir? Thanks Luca

Re: Multiple context paths for single deployment

2011-05-13 Thread JanAa
Hi, thanks for replying. What I want is an alias for the context so that more than one url can be used for the same application and that the url used is reflected in HttpServletRequest.getContextPath(). Currently I get two deployments, then getContextPath() returns those two values as expected

Re: Multiple context paths for single deployment

2011-05-13 Thread Pid
On 12/05/2011 11:28, JanAa wrote: > > Hi, > > I want to have more than one context path for a single deployment in Tomcat > 5.5.28. Whatever I do I seem to get multiple deployments. > In server.xml I have: > unpackWARs="true" autoDeploy="false" deployIgnore="alternative" >xm

Re: 6.0.x Windows XP

2011-05-13 Thread André Warnier
Abhay Adgurwar wrote: *Problem :- * Tomcat service stops automatically and gives the following errors in log files when try to start it Step #1 : use an XML-aware editor, and verify that all the .xml files in the "conf" directory of Tomcat are correct, XML-wise. Step #2 : as downloaded from

[ANN] Apache Tomcat 7.0.14 released

2011-05-13 Thread markt
The Apache Tomcat team announces the immediate availability of Apache Tomcat 7.0.14. Apache Tomcat 7.0.14 includes bug fixes and the following new features compared to version 7.0.12: - new StuckThreadDetectionValve to identify long running requests - JAAS authentication support for the JMXRemoteL