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 Stephen Nelson <st...@artmachine.com> on 2001/02/06 21:10:20 UTC

Setup... something I'm missing

Okay, I'm back at it, this time with the following configuration:

Windows 2000
Tomcat 3.2.1 in standalone mode
Soap 2.1
JDK 1.3

First question: how do I alter the tomcat.bat file for Tomcat 3.2.1 to add
Xerces to the CLASSPATH before any other libraries? The setup instructions
give directions for Tomcat 3.1, and the tomcat.bat file seems different.
I've compromised by copying xerces.jar into the tomcat lib directory, and
renaming it 'aaxerces.jar'.

Second question: When I start up tomcat, I get the following error:

2001-02-06 11:59:18 - Ctx( /soap ): XmlReader - init  /soap null
2001-02-06 11:59:18 - 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:219)
        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:136)
        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)
2001-02-06 11:59:18 - PoolTcpConnector: Starting HttpConnectionHandler on
8080
2001-02-06 11:59:18 - PoolTcpConnector: Starting Ajp12ConnectionHandler on
8007

My classpath looks like so:

Using CLASSPATH:
C:\jakarta-tomcat-3.2.1\classes;C:\jakarta-tomcat-3.2.1\lib\aax
erces.jar;C:\jakarta-tomcat-3.2.1\lib\ant.jar;C:\jakarta-tomcat-3.2.1\lib\ja
sper
.jar;C:\jakarta-tomcat-3.2.1\lib\jaxp.jar;C:\jakarta-tomcat-3.2.1\lib\parser
.jar
;C:\jakarta-tomcat-3.2.1\lib\servlet.jar;C:\jakarta-tomcat-3.2.1\lib\soap.ja
r;C:
\jakarta-tomcat-3.2.1\lib\webserver.jar;C:\xerces-1_3_0\xerces.jar;C:\xerces
-1_3
_0\xerces.jar;C:\xerces-1_3_0\xerces.jar;;C:\jdk1.3\lib\tools.jar

And I've set up my soap context like so:

 <Context path="/soap"
          docbase="C:\soap-2_1\webapps\soap"
   debug="1"
   reloadable="true">
 </Context>

***

What am I doing wrong?




Re: Setup... something I'm missing

Posted by Stephen Nelson <st...@artmachine.com>.
Thanks... that solves the first problem.

Cause of second problem was a typo. Oops.

----- Original Message ----- 
From: "fumitada" <fu...@earthlink.net>
To: <so...@xml.apache.org>
Sent: Tuesday, February 06, 2001 12:14 PM
Subject: Re: Setup... something I'm missing


> Hi,
> 
> Have you edit \jakarta-tomcat-3.2.1\bin\tomcat.bat like below ?
> 
> replace the line: 
> set CP=%CP%;%CLASSPATH%
> with the line: 
> set CP=%CLASSPATH%;%CP%
> 
> Good Luck.
> 
> Fumitada Hattori.
> 
> 
> 


Re: Setup... something I'm missing

Posted by Stephen Nelson <st...@artmachine.com>.
Thanks... that solves the first problem.

Cause of second problem was a typo. Oops.

----- Original Message ----- 
From: "fumitada" <fu...@earthlink.net>
To: <so...@xml.apache.org>
Sent: Tuesday, February 06, 2001 12:14 PM
Subject: Re: Setup... something I'm missing


> Hi,
> 
> Have you edit \jakarta-tomcat-3.2.1\bin\tomcat.bat like below ?
> 
> replace the line: 
> set CP=%CP%;%CLASSPATH%
> with the line: 
> set CP=%CLASSPATH%;%CP%
> 
> Good Luck.
> 
> Fumitada Hattori.
> 
> 
> 


Re: Setup... something I'm missing

Posted by fumitada <fu...@earthlink.net>.
Hi,

Have you edit \jakarta-tomcat-3.2.1\bin\tomcat.bat like below ?

replace the line: 
set CP=%CP%;%CLASSPATH%
with the line: 
set CP=%CLASSPATH%;%CP%

Good Luck.

Fumitada Hattori.



Re: Setup... something I'm missing

Posted by fumitada <fu...@earthlink.net>.
Hi,

Have you edit \jakarta-tomcat-3.2.1\bin\tomcat.bat like below ?

replace the line: 
set CP=%CP%;%CLASSPATH%
with the line: 
set CP=%CLASSPATH%;%CP%

Good Luck.

Fumitada Hattori.