You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@xml.apache.org by graham glass <gr...@mindspring.com> on 2001/02/14 09:16:23 UTC

can anyone help with this bug??

hi guys,

i've been using apache soap 2.0 successfully for several months,
and then today it stopped working! it seems to be some kind of
CLASSPATH problem. i spent the last hour trying to figure it out,
and then finally decided to post here in desparation.

as you can see, when i run tomcat, the C:\soap-2_0\lib\soap.jar
is in the CLASSPATH, no problem. i've checked that it's on the
disk, and examined its contents with winzip, and there doesn't
seem to be any kind of corruption.

when i go to http://localhost:8080/soap and select the admin
page, then click on the DEPLOY page, tomcat attempts to compile
the .jsp. unfortunately, it can't find any of the apache soap packages
and i get a runtime error from the compiler.

i am at a loss. any help is much appreciated!

cheers,
graham

====================================================================

C:\>tomcat run
Including all jars in C:\jakarta-tomcat-3.2\lib in your CLASSPATH.

Using CLASSPATH: C:\xerces-1_2_3\xerces.jar; C:\soap-2_0\lib\soap.jar;
C:\jdk1.3
\lib\ext\jcert.jar;
C:\jdk1.3\lib\ext\jsse.jar;C:\jdk1.3\lib\ext\jnet.jar;C:\jdk
1.3\lib\servlet.jar;C:\jakarta-tomcat-3.2\classes;C:\jakarta-tomcat-3.2\lib\
ant.
jar;C:\jakarta-tomcat-3.2\lib\jasper.jar;C:\jakarta-tomcat-3.2\lib\jaxp.jar;
C:\j
akarta-tomcat-3.2\lib\parser.jar;C:\jakarta-tomcat-3.2\lib\servlet.jar;C:\ja
kart
a-tomcat-3.2\lib\webserver.jar;C:\JDK1.3\lib\tools.jar

2001-02-14 02:08:58 - ContextManager: Adding context Ctx( /examples )
2001-02-14 02:08:58 - ContextManager: Adding context Ctx( /admin )
2001-02-14 02:08:58 - ContextManager: Adding context Ctx( /soap )
Starting tomcat. Check logs/tomcat.log for error messages
2001-02-14 02:08:58 - ContextManager: Adding context Ctx(  )
2001-02-14 02:08:58 - ContextManager: Adding context Ctx( /test )
2001-02-14 02:08:59 - PoolTcpConnector: Starting HttpConnectionHandler on
8080
2001-02-14 02:08:59 - PoolTcpConnector: Starting Ajp12ConnectionHandler on
8007
2001-02-14 02:09:19 - Ctx( /soap ): 404 R( /soap + /servlet/rpcrouter +
null) nu
ll
2001-02-14 02:09:39 - Ctx( /soap ): IOException in: R( /soap +
/admin/soapadmin.
gif + null) Connection aborted by peer: socket write error
2001-02-14 02:09:52 - Ctx( /soap ): JasperException: R( /soap +
/admin/deploy.js
p + null) Unable to compile class for
JSPC:\jakarta-tomcat-3.2\work\localhost_80
80%2Fsoap\_0002fadmin_0002fdeploy_0002ejspdeploy_jsp_0.java:18: Package
org.apac
he.soap.util not found in import.
import org.apache.soap.util.*;
       ^
C:\jakarta-tomcat-3.2\work\localhost_8080%2Fsoap\_0002fadmin_0002fdeploy_000
2ejs
pdeploy_jsp_0.java:19: Package org.apache.soap.util.xml not found in import.
import  org.apache.soap.util.xml.*;
        ^
C:\jakarta-tomcat-3.2\work\localhost_8080%2Fsoap\_0002fadmin_0002fdeploy_000
2ejs
pdeploy_jsp_0.java:20: Package org.apache.soap.server not found in import.
import  org.apache.soap.server.*;
        ^
3 errors


RE: can anyone help with this bug?? - FALSE ALARM!

Posted by graham glass <gr...@mindspring.com>.
ok, i figured it out.

apparently i left a space after one of the ; in my CLASSPATH.
i find it funny that even in this modern day, a piece of software
can stop working because of a measely space.

incidentally, the #1 cause of user error from developers
using Apache SOAP in my IBM web services column is that they
accidentally put a trailing space at the end of the class name
or bean serializer name in the deployment form.

i recommend that you update the code and put a trimBlanks()
in their somewhere!

cheers,
graham

-----Original Message-----
From: graham glass [mailto:graham-glass@mindspring.com]
Sent: Wednesday, February 14, 2001 2:16 AM
To: soap-dev@xml.apache.org
Subject: can anyone help with this bug??


hi guys,

i've been using apache soap 2.0 successfully for several months,
and then today it stopped working! it seems to be some kind of
CLASSPATH problem. i spent the last hour trying to figure it out,
and then finally decided to post here in desparation.

as you can see, when i run tomcat, the C:\soap-2_0\lib\soap.jar
is in the CLASSPATH, no problem. i've checked that it's on the
disk, and examined its contents with winzip, and there doesn't
seem to be any kind of corruption.

when i go to http://localhost:8080/soap and select the admin
page, then click on the DEPLOY page, tomcat attempts to compile
the .jsp. unfortunately, it can't find any of the apache soap packages
and i get a runtime error from the compiler.

i am at a loss. any help is much appreciated!

cheers,
graham

====================================================================

C:\>tomcat run
Including all jars in C:\jakarta-tomcat-3.2\lib in your CLASSPATH.

Using CLASSPATH: C:\xerces-1_2_3\xerces.jar; C:\soap-2_0\lib\soap.jar;
C:\jdk1.3
\lib\ext\jcert.jar;
C:\jdk1.3\lib\ext\jsse.jar;C:\jdk1.3\lib\ext\jnet.jar;C:\jdk
1.3\lib\servlet.jar;C:\jakarta-tomcat-3.2\classes;C:\jakarta-tomcat-3.2\lib\
ant.
jar;C:\jakarta-tomcat-3.2\lib\jasper.jar;C:\jakarta-tomcat-3.2\lib\jaxp.jar;
C:\j
akarta-tomcat-3.2\lib\parser.jar;C:\jakarta-tomcat-3.2\lib\servlet.jar;C:\ja
kart
a-tomcat-3.2\lib\webserver.jar;C:\JDK1.3\lib\tools.jar

2001-02-14 02:08:58 - ContextManager: Adding context Ctx( /examples )
2001-02-14 02:08:58 - ContextManager: Adding context Ctx( /admin )
2001-02-14 02:08:58 - ContextManager: Adding context Ctx( /soap )
Starting tomcat. Check logs/tomcat.log for error messages
2001-02-14 02:08:58 - ContextManager: Adding context Ctx(  )
2001-02-14 02:08:58 - ContextManager: Adding context Ctx( /test )
2001-02-14 02:08:59 - PoolTcpConnector: Starting HttpConnectionHandler on
8080
2001-02-14 02:08:59 - PoolTcpConnector: Starting Ajp12ConnectionHandler on
8007
2001-02-14 02:09:19 - Ctx( /soap ): 404 R( /soap + /servlet/rpcrouter +
null) nu
ll
2001-02-14 02:09:39 - Ctx( /soap ): IOException in: R( /soap +
/admin/soapadmin.
gif + null) Connection aborted by peer: socket write error
2001-02-14 02:09:52 - Ctx( /soap ): JasperException: R( /soap +
/admin/deploy.js
p + null) Unable to compile class for
JSPC:\jakarta-tomcat-3.2\work\localhost_80
80%2Fsoap\_0002fadmin_0002fdeploy_0002ejspdeploy_jsp_0.java:18: Package
org.apac
he.soap.util not found in import.
import org.apache.soap.util.*;
       ^
C:\jakarta-tomcat-3.2\work\localhost_8080%2Fsoap\_0002fadmin_0002fdeploy_000
2ejs
pdeploy_jsp_0.java:19: Package org.apache.soap.util.xml not found in import.
import  org.apache.soap.util.xml.*;
        ^
C:\jakarta-tomcat-3.2\work\localhost_8080%2Fsoap\_0002fadmin_0002fdeploy_000
2ejs
pdeploy_jsp_0.java:20: Package org.apache.soap.server not found in import.
import  org.apache.soap.server.*;
        ^
3 errors