reloading, 5.0, context.xml

2004-12-03 Thread Christoph Kukulies
I'm running a 5.0 of some vintage. I'm currently in a developing phase where I need reloading. It is cumbersome to restart the server for every little source change. I've read through the archived messages and find that reloading = false is the default in 5.x. And that one had to set

RE: reloading, 5.0, context.xml

2004-12-03 Thread Allistair Crossley
. -Original Message- From: Christoph Kukulies [mailto:[EMAIL PROTECTED] Sent: 03 December 2004 11:21 To: [EMAIL PROTECTED] Subject: reloading, 5.0, context.xml I'm running a 5.0 of some vintage. I'm currently in a developing phase where I need reloading. It is cumbersome to restart

Re: reloading, 5.0, context.xml

2004-12-03 Thread Christoph P. Kukulies
On Fri, Dec 03, 2004 at 11:29:00AM -, Allistair Crossley wrote: You should do this ... Create a file called mywebapp.xml (matching your webapp's name of course) and whack it in tomcat/conf/Catalina/localhost In that file Context path= docBase=/mywebapp reloadable=true / Note

RE: reloading, 5.0, context.xml

2004-12-03 Thread Shapira, Yoav
a leading slash. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Christoph P. Kukulies [mailto:[EMAIL PROTECTED] Sent: Friday, December 03, 2004 11:29 AM To: Tomcat Users List Subject: Re: reloading, 5.0, context.xml On Fri, Dec 03, 2004 at 11:29:00AM -, Allistair Crossley

Re: reloading, 5.0, context.xml

2004-12-03 Thread Ben Souther
docBase=/servlets You're telling Tomcat to look in the root directory of your file system for the servlets directory. try: docBase=servlets On Fri, 2004-12-03 at 11:29, Christoph P. Kukulies wrote: On Fri, Dec 03, 2004 at 11:29:00AM -, Allistair Crossley wrote: You should do this

Re: reloading, 5.0, context.xml

2004-12-03 Thread Christoph P. Kukulies
On Fri, Dec 03, 2004 at 11:30:47AM -0500, Shapira, Yoav wrote: Hi, Unfortunately the leading / on docBase is misleading and not likely what you want: it implies an absolute path, i.e. /servlets on your file system. You probably want just servlets relative to your appBase, i.e.

Re: reloading, 5.0, context.xml

2004-12-03 Thread Ben Souther
What does the empty path= mean? It means it's the default app. http://localhost:8080; will bring that app up. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: reloading, 5.0, context.xml

2004-12-03 Thread Christoph P. Kukulies
On Fri, Dec 03, 2004 at 11:30:47AM -0500, Shapira, Yoav wrote: Thanks for all the hellp. At least the server now starts up again without error: INFO: Processing Context configuration file URL file:/usr/local/jakarta-tomcat5.0/conf/Catalina/localhost/servlets.xml Now, when I formerly restarted