You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by "Keen, Andy" <Ak...@Cayenta.com> on 2000/12/28 17:50:48 UTC

Tomcat configuration question

I am attempting to get Tomcat v3.1 operational with SOAP Version 2.0.  I
have added the following <Context> element to conf/server.xml, as described
in the Tomcat v3.1 installation instructions:

<Context path="/soap"
         docbase="D://dev/ApacheSOAPv1.1/jakarta-tomcat-3.2.1/webapps/soap"
         debug="1"
         reloadable="true" />

Now each time I run Tomcat, I get the following:

"C:\jdk1.2.2\bin\java"
-Dtomcat.home="D:\dev\ApacheSOAPv1.1\jakarta-tomcat-3.2.1"
org.apache.tomcat.startup.Tomcat
2000-12-27 03:31:48 - ContextManager: Adding context Ctx( /examples )
2000-12-27 03:31:48 - ContextManager: Adding context Ctx( /admin )
2000-12-27 03:31:48 - Ctx( /soap ): Set debug to 1
2000-12-27 03:31:48 - ContextManager: Adding context Ctx( /soap )
Starting tomcat. Check logs/tomcat.log for error messages
2000-12-27 03:31:48 - ContextManager: Adding context Ctx(  )
2000-12-27 03:31:48 - ContextManager: Adding context Ctx( /test )
2000-12-27 03:31:49 - Ctx( /soap ): XmlReader - init  /soap null
2000-12-27 03:31:49 - Ctx( /soap ): Loading -2147483646 jsp
Error generating automatic apache configuration
java.lang.NullPointerException:

java.lang.NullPointerException:
        at org.apache.tomcat.util.FileUtil.isAbsolute(FileUtil.java:289)
        at org.apache.tomcat.task.ApacheConfig.execute(ApacheConfig.java,
Compiled Code)
        at
org.apache.tomcat.startup.Tomcat.generateServerConfig(Tomcat.java:217)
        at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:200)
        at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
Error generating automatic Netscape configuration
java.lang.NullPointerException:
java.lang.NullPointerException:
        at org.apache.tomcat.util.FileUtil.isAbsolute(FileUtil.java:289)
        at org.apache.tomcat.task.NSConfig.execute(NSConfig.java, Compiled
Code)
        at
org.apache.tomcat.startup.Tomcat.generateServerConfig(Tomcat.java:229)
        at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:200)
        at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
2000-12-27 03:31:49 - PoolTcpConnector: Starting HttpConnectionHandler on
8080
2000-12-27 03:31:49 - PoolTcpConnector: Starting Ajp12ConnectionHandler on
8007


If I do not add the <Context> element to conf/server.xml, I do not get any
errors at all, so clearly I am causing them.  But unless Tomcat is correctly
configured, I cannot deploy a service.

Any suggestions of what I should be doing differently here?

Andy Keen