| Author |
Context in server.xml
|
Keith Lockey
Ranch Hand
Joined: Oct 05, 2001
Posts: 48
|
|
|
I try putting a context for database pooling in the server.xml, it works on my jbuilder and then when I switch over to the tomcat standalone, the war file will not unpack unless i take the context out. Not sure what to do?
|
Thanks,<br />Keith
|
 |
Ken Krebs
Ranch Hand
Joined: Nov 27, 2002
Posts: 451
|
|
Keith, I found the same thing and I'm not sure why it works this way. BTW, You can also define a context in a separate whatever.xml file deployed in the webapps directory. I find this more maintainable and is especially useful if you aren't allowed access to server.xml. It still won't auto-unpack the war though. A cursory check of the Tomcat website and docs revealed nothing. I just live with it and unpack it manually. You could try posting the Tomcat site if nobody here knows. kktec SCJP, SCWCD, SCJD
|
kktec<br />SCJP, SCWCD, SCJD<br />"What we observe is not nature itself, but nature exposed to our method of questioning." - Werner Heisenberg
|
 |
Mike Curwen
Ranch Hand
Joined: Feb 20, 2001
Posts: 3695
|
|
This has been around for a while, and it still annoys me. http://www.coderanch.com/t/81715/Tomcat/Tomcat-unpacking-wars
|
 |
 |
|
|
subject: Context in server.xml
|
|
|