• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

server.xml

 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Server.xml will not unpack wars. Can someone point me to resources for this.
Thanks,
Keith
 
Keith Lockey
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
if i take the context out the server.xml with unpack the war. Then I can put the context in and it will work for the application. Otherwise, the Host will not unpack the war file.
here is the log file exception:

2003-11-11 16:53:21 StandardContext[/paws]: Error initializing resources: Document base C:\Program Files\Apache Tomcat 4.0\webapps\paws does not exist or is not a readable directory
2003-11-11 16:53:21 StandardContext[/paws]: Context startup failed due to previous errors
2003-11-11 16:53:21 StandardContext[/paws]: Exception during cleanup after start failed
LifecycleException: Container StandardContext[/paws] has not been started
at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1147)
at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3495)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3434)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)
at org.apache.catalina.core.StandardService.start(StandardService.java:388)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:506)
at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
<!-- Tomcat paws Context -->
<Context debug="0" docBase="paws" path="/paws">
<Logger className="org.apache.catalina.logger.FileLogger" prefix="paws_log." suffix=".txt" timestamp="true"/>
<Resource name="jdbc/accessdb" auth="Container" type="javax.sql.DataSource" />
<ResourceParams name="jdbc/accessdb">
<parameter><name>factory</name><value>org.apache.commons.dbcp.BasicDataSourceFactory</value></parameter>
<parameter><name>maxActive</name><value>100</value></parameter>
<parameter><name>maxIdle</name><value>30000</value></parameter>
<parameter><name>maxWait</name><value>100</value></parameter>
<parameter><name>username</name><value></value></parameter>
<parameter><name>password</name><value></value></parameter>
<parameter><name>driverClassName</name><value>sun.jdbc.odbc.JdbcOdbcDriver</value></parameter>
<parameter><name>url</name><value>jdbc dbc awsTest</value></parameter>
</ResourceParams>
</Context>
[ November 11, 2003: Message edited by: Keith Lockey ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic