RE: hot-deploy problems
> From: david owens [mailto:ym...@yahoo.com] > Subject: RE: hot-deploy problems > > Java 1.6.0_01 For security and stability, you really should update the JVM. > OS winXPPro Windows has serious file locking issues; you will likely need to set the antiJARLocking and antiResourceLocking attributes for the relevant elements. These can be set in the global conf/context.xml element, but since they do increase startup time, it's better to do it selectively in the webapps you actually might update on the fly. Since you don't currently have a context.xml file, create a META-INF/context.xml file inside each .war that needs it, containing just the following: - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: hot-deploy problems
> From: Hassan Schroeder [mailto:hassan.schroe...@gmail.com] > Subject: Re: hot-deploy problems > > On Fri, May 1, 2009 at 7:52 AM, david owens wrote: > > > I don't currently specify a config.xml and it seems to > > have something to do with that (docbase and appbase being > > the same?). > > Are you saying you have docBase == appBase? If there's no context.xml (or element), then docBase cannot equal appBase. Just to be sure, the OP should post his server.xml for evaluation. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: hot-deploy problems
On Fri, May 1, 2009 at 7:52 AM, david owens wrote: > I don't currently specify a config.xml and it seems to > have something to do with that (docbase and appbase being > the same?). Are you saying you have docBase == appBase? If so, don't :-) -- Hassan Schroeder hassan.schroe...@gmail.com - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: hot-deploy problems
Hello Tomcat 6.0.18 Java 1.6.0_01 OS winXPPro I really like the flexability of just dropping a war file in the webapp directory (as opposed to having individual deploy directories on the server for each webapp). Do you know any way around these occational deploy problems? Thanks again, -- David --- On Fri, 5/1/09, Peter Crowther wrote: > From: Peter Crowther > Subject: RE: hot-deploy problems > To: "'Tomcat Users List'" > Date: Friday, May 1, 2009, 10:55 AM > Tomcat version? > Java version? > OS? > > > -Original Message- > > From: david owens [mailto:ym...@yahoo.com] > > Sent: 01 May 2009 15:52 > > To: users@tomcat.apache.org > > Subject: hot-deploy problems > > > > > > I hope you folks are not sick to death of this > question, but > > I have still not found a satisfactory answer. > > > > I used to hot-deploy war files with no problems, and > about > > half the time I get "ZipException: error in > opening zip > > file", or "Illegal access: this web > application > > instance has been stopped already." errors. > > > > I don't currently specify a config.xml and it > seems to > > have something to do with that (docbase and appbase > being > > the same?). > > > > But I hate to add app configurations that are not > contained > > in the war files themselves. Is there a way to solve > this > > with the META-INF/config.xml? If so, can someone > please > > provide an example? If not, what is the best > solution? (I > > have no spaces or other unusual characters in my jar > or war > > file names, and half the time things work fine). > > > > Thank you much, > > -- David D. > > > > > > > > > > > > > - > > To unsubscribe, e-mail: > users-unsubscr...@tomcat.apache.org > > For additional commands, e-mail: > users-h...@tomcat.apache.org > > > > > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: > users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: hot-deploy problems
yes. I prefer to keep things that simple if possible. But I do need to find a way around the errors --- On Fri, 5/1/09, Pid wrote: > From: Pid > Subject: Re: hot-deploy problems > To: "Tomcat Users List" > Date: Friday, May 1, 2009, 11:39 AM > Umm, are you uploading war files directly to the webapps > directory? > > p > > > > Peter Crowther wrote: > > Tomcat version? > > Java version? > > OS? > > > >> -Original Message- > >> From: david owens [mailto:ym...@yahoo.com] > >> Sent: 01 May 2009 15:52 > >> To: users@tomcat.apache.org > >> Subject: hot-deploy problems > >> > >> > >> I hope you folks are not sick to death of this > question, but > >> I have still not found a satisfactory answer. > >> > >> I used to hot-deploy war files with no problems, > and about > >> half the time I get "ZipException: error in > opening zip > >> file", or "Illegal access: this web > application > >> instance has been stopped already." errors. > >> > >> I don't currently specify a config.xml and it > seems to > >> have something to do with that (docbase and > appbase being > >> the same?). > >> > >> But I hate to add app configurations that are not > contained > >> in the war files themselves. Is there a way to > solve this > >> with the META-INF/config.xml? If so, can someone > please > >> provide an example? If not, what is the best > solution? (I > >> have no spaces or other unusual characters in my > jar or war > >> file names, and half the time things work fine). > >> > >> Thank you much, > >> -- David D. > >> > >> > >> > >> > >> > >> > - > >> To unsubscribe, e-mail: > users-unsubscr...@tomcat.apache.org > >> For additional commands, e-mail: > users-h...@tomcat.apache.org > >> > >> > > > > > - > > To unsubscribe, e-mail: > users-unsubscr...@tomcat.apache.org > > For additional commands, e-mail: > users-h...@tomcat.apache.org > > > > > > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: > users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: hot-deploy problems
Umm, are you uploading war files directly to the webapps directory? p Peter Crowther wrote: > Tomcat version? > Java version? > OS? > >> -Original Message- >> From: david owens [mailto:ym...@yahoo.com] >> Sent: 01 May 2009 15:52 >> To: users@tomcat.apache.org >> Subject: hot-deploy problems >> >> >> I hope you folks are not sick to death of this question, but >> I have still not found a satisfactory answer. >> >> I used to hot-deploy war files with no problems, and about >> half the time I get "ZipException: error in opening zip >> file", or "Illegal access: this web application >> instance has been stopped already." errors. >> >> I don't currently specify a config.xml and it seems to >> have something to do with that (docbase and appbase being >> the same?). >> >> But I hate to add app configurations that are not contained >> in the war files themselves. Is there a way to solve this >> with the META-INF/config.xml? If so, can someone please >> provide an example? If not, what is the best solution? (I >> have no spaces or other unusual characters in my jar or war >> file names, and half the time things work fine). >> >> Thank you much, >> -- David D. >> >> >> >> >> >> - >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> >> > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: hot-deploy problems
Tomcat version? Java version? OS? > -Original Message- > From: david owens [mailto:ym...@yahoo.com] > Sent: 01 May 2009 15:52 > To: users@tomcat.apache.org > Subject: hot-deploy problems > > > I hope you folks are not sick to death of this question, but > I have still not found a satisfactory answer. > > I used to hot-deploy war files with no problems, and about > half the time I get "ZipException: error in opening zip > file", or "Illegal access: this web application > instance has been stopped already." errors. > > I don't currently specify a config.xml and it seems to > have something to do with that (docbase and appbase being > the same?). > > But I hate to add app configurations that are not contained > in the war files themselves. Is there a way to solve this > with the META-INF/config.xml? If so, can someone please > provide an example? If not, what is the best solution? (I > have no spaces or other unusual characters in my jar or war > file names, and half the time things work fine). > > Thank you much, > -- David D. > > > > > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
hot-deploy problems
I hope you folks are not sick to death of this question, but I have still not found a satisfactory answer. I used to hot-deploy war files with no problems, and about half the time I get "ZipException: error in opening zip file", or "Illegal access: this web application instance has been stopped already." errors. I don't currently specify a config.xml and it seems to have something to do with that (docbase and appbase being the same?). But I hate to add app configurations that are not contained in the war files themselves. Is there a way to solve this with the META-INF/config.xml? If so, can someone please provide an example? If not, what is the best solution? (I have no spaces or other unusual characters in my jar or war file names, and half the time things work fine). Thank you much, -- David D. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org