You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Scott Nichol <sn...@scottnichol.com> on 2002/09/06 18:14:08 UTC
Re: Cmd line Service Deployment Error
It appears your CLASSPATH does not include soap.jar. If you think it does
include soap.jar, double check for a typo.
Scott Nichol
----- Original Message -----
From: "Akin Ayi" <ak...@aaa.mv.com>
To: <so...@xml.apache.org>
Cc: <ak...@aaa.mv.com>
Sent: Friday, September 06, 2002 3:02 PM
Subject: Cmd line Service Deployment Error
I can Deploy and List a simple service from the Apache SOAP Admin GUI.
Then I tried to deploy it from the cmd line with:
java org.apache.soap.server.ServiceManagerClient
http://lhost:8080/soap/servlet/rpcrouter deploy myDeployDescriptor.dd
I get this error:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/soap/server/ServiceManagerClient
QUESTION:
1) What is a possible cause
2) If it's a CLASSPATH issue, what could be missing
thanks
akin
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
RE: Cmd line Service Deployment Error
Posted by Akin Ayi <ak...@aaa.mv.com>.
Guys,
I stumped myself. My classpath was only known to the Window session it was
set in.
I ran Scott Nochols's CP class included, well it verified the CLASSPATH seen
is "." my current dir only.
Now the service is deployed correctly from the cmd line.
thanks
akin
-----Original Message-----
From: Scott Nichol [mailto:snicholnews@scottnichol.com]
Sent: Friday, September 06, 2002 2:08 PM
To: soap-user@xml.apache.org
Subject: Re: Cmd line Service Deployment Error
I am stumped.
The error message you receive is because the JVM launched from the command
line cannot find the ServiceManagerClient class. However, the soap.jar
containing this class is in your CLASSPATH, and the soap.jar is valid.
Are you certain that when you run "java" from the command line you are
running java.exe, not some java.bat that sets the classpath? Try compiling
this
public class CP {
public static void main(String[] args) {
System.out.println(System.getProperty("java.class.path"));
}
}
then run "java CP". That should verify the CLASSPATH seen by the JVM.
As for your other questions...
Tomcat expands the .war file the first time it sees it. It will not
re-expand any new .war file you copy over it; you would have to remove the
soap directory tree and copy over the .war to get a new .war installed.
You could add %TOMCAT_HOME%\webapps\soap\WEB-INF\classes to your classpath,
but I think you are better off trying to get things working with a soap.jar.
Scott Nichol
----- Original Message -----
From: "Akin Ayi" <ak...@aaa.mv.com>
To: <so...@xml.apache.org>
Sent: Friday, September 06, 2002 6:36 PM
Subject: RE: Cmd line Service Deployment Error
Scott,
I added %SOAP_HOME%\lib\xercesImpl.jar to the CLASSPATH sent earlier.
Confirmed %SOAP_HOME% is correct = D:\soapInstallArea\soap-2_3_1
Issued jar -tvf %SOAP_HOME%\lib\soap.jar
It expanded, and I verified that ServiceManagerClient is in the list.
You made a good point, if the Soap Admin page works it means it found the
classes (Specifically, ServiceManagerClient.class) it needs in soap.jar
which is in my classpath.
Then, if TOMCAT could not deploy the web app, and gives this error:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/soap/server/ServiceManagerClient
It means it could NOT FIND ServiceManagerClient.class
I deployed Apache Soap 2.3.1 as .war on Tomcat 3.3.1 by placing the soap.war
from %SOAP_HOME%\webapps into %TOMCAT_HOME%\webapps.
The soap.war expanded
Question: At what point does that expansion happen ?
I followed the path until I found "ServiceManagerClient.class"
%TOMCAT_HOME%\webapps\soap\WEB-INF\classes\org\apache\soap\server\
Question: What is needed in my CLASSPATH to tell TOMCAT go look in the
location where I found it?
I can really use the help.
thanks
akin
-----Original Message-----
From: Scott Nichol [mailto:snicholnews@scottnichol.com]
Sent: Friday, September 06, 2002 9:58 AM
To: soap-user@xml.apache.org
Subject: Re: Cmd line Service Deployment Error
I think you will need xercesImpl.jar, too. I assume %SOAP_HOME% is pointing
to the right directory! Another thing to do is run jar -tvf
%SOAP_HOME%\lib\soap.jar to confirm that the format is OK. The JVM will not
tell you if your jar is corrupt.
That the SOAP Admin page works simply means that the webapp has access to
the classes in soap.jar. If you deployed Apache SOAP as a war on Tomcat,
Tomcat is using the classes from soap.war.
Scott Nichol
----- Original Message -----
From: "Akin Ayi" <ak...@aaa.mv.com>
To: <so...@xml.apache.org>
Sent: Friday, September 06, 2002 3:46 PM
Subject: RE: Cmd line Service Deployment Error
Scott,
It does include soap.jar, as advised I've even checked for typo.
It appears to work from the Apache SOAP Admin page!
The following are in the CLASSPATH:
%SOAP_HOME%\lib\xmlParserAPIs.jar
%SOAP_HOME%\lib\soap.jar
.
%SOAP_HOME%
%JAVA_HOME%\lib\tools.jar
%SOAP_HOME%\lib\mail.jar
%SOAP_HOME%\lib\activation.jar
%SOAP_HOME%\lib\bsf.jar
%SOAP_HOME%\lib\js.jar
%TOMCAT_HOME%\lib\tomcat.jar
%TOMCAT_HOME%\lib\stop-tomcat.jar
%TOMCAT_HOME%\lib\apps\mail.jar
%TOMCAT_HOME%\lib\apps\activation.jar
%SERVICE_DESCRIPTOR_HOME%
QUESTION:
What might be missing from the list
thanks
akin
-----Original Message-----
From: Scott Nichol [mailto:snicholnews@scottnichol.com]
Sent: Friday, September 06, 2002 9:14 AM
To: soap-user@xml.apache.org
Cc: akin@aaa.mv.com
Subject: Re: Cmd line Service Deployment Error
It appears your CLASSPATH does not include soap.jar. If you think it does
include soap.jar, double check for a typo.
Scott Nichol
----- Original Message -----
From: "Akin Ayi" <ak...@aaa.mv.com>
To: <so...@xml.apache.org>
Cc: <ak...@aaa.mv.com>
Sent: Friday, September 06, 2002 3:02 PM
Subject: Cmd line Service Deployment Error
I can Deploy and List a simple service from the Apache SOAP Admin GUI.
Then I tried to deploy it from the cmd line with:
java org.apache.soap.server.ServiceManagerClient
http://lhost:8080/soap/servlet/rpcrouter deploy myDeployDescriptor.dd
I get this error:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/soap/server/ServiceManagerClient
QUESTION:
1) What is a possible cause
2) If it's a CLASSPATH issue, what could be missing
thanks
akin
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
RE: Cmd line Service Deployment Error
Posted by Akin Ayi <ak...@aaa.mv.com>.
Guys,
I stumped myself. My classpath was only known to the Window session it was
set in.
I ran Scott Nochols's CP class included, well it verified the CLASSPATH seen
is "." my current dir only.
Now the service is deployed correctly from the cmd line.
thanks
akin
-----Original Message-----
From: Scott Nichol [mailto:snicholnews@scottnichol.com]
Sent: Friday, September 06, 2002 2:08 PM
To: soap-user@xml.apache.org
Subject: Re: Cmd line Service Deployment Error
I am stumped.
The error message you receive is because the JVM launched from the command
line cannot find the ServiceManagerClient class. However, the soap.jar
containing this class is in your CLASSPATH, and the soap.jar is valid.
Are you certain that when you run "java" from the command line you are
running java.exe, not some java.bat that sets the classpath? Try compiling
this
public class CP {
public static void main(String[] args) {
System.out.println(System.getProperty("java.class.path"));
}
}
then run "java CP". That should verify the CLASSPATH seen by the JVM.
As for your other questions...
Tomcat expands the .war file the first time it sees it. It will not
re-expand any new .war file you copy over it; you would have to remove the
soap directory tree and copy over the .war to get a new .war installed.
You could add %TOMCAT_HOME%\webapps\soap\WEB-INF\classes to your classpath,
but I think you are better off trying to get things working with a soap.jar.
Scott Nichol
----- Original Message -----
From: "Akin Ayi" <ak...@aaa.mv.com>
To: <so...@xml.apache.org>
Sent: Friday, September 06, 2002 6:36 PM
Subject: RE: Cmd line Service Deployment Error
Scott,
I added %SOAP_HOME%\lib\xercesImpl.jar to the CLASSPATH sent earlier.
Confirmed %SOAP_HOME% is correct = D:\soapInstallArea\soap-2_3_1
Issued jar -tvf %SOAP_HOME%\lib\soap.jar
It expanded, and I verified that ServiceManagerClient is in the list.
You made a good point, if the Soap Admin page works it means it found the
classes (Specifically, ServiceManagerClient.class) it needs in soap.jar
which is in my classpath.
Then, if TOMCAT could not deploy the web app, and gives this error:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/soap/server/ServiceManagerClient
It means it could NOT FIND ServiceManagerClient.class
I deployed Apache Soap 2.3.1 as .war on Tomcat 3.3.1 by placing the soap.war
from %SOAP_HOME%\webapps into %TOMCAT_HOME%\webapps.
The soap.war expanded
Question: At what point does that expansion happen ?
I followed the path until I found "ServiceManagerClient.class"
%TOMCAT_HOME%\webapps\soap\WEB-INF\classes\org\apache\soap\server\
Question: What is needed in my CLASSPATH to tell TOMCAT go look in the
location where I found it?
I can really use the help.
thanks
akin
-----Original Message-----
From: Scott Nichol [mailto:snicholnews@scottnichol.com]
Sent: Friday, September 06, 2002 9:58 AM
To: soap-user@xml.apache.org
Subject: Re: Cmd line Service Deployment Error
I think you will need xercesImpl.jar, too. I assume %SOAP_HOME% is pointing
to the right directory! Another thing to do is run jar -tvf
%SOAP_HOME%\lib\soap.jar to confirm that the format is OK. The JVM will not
tell you if your jar is corrupt.
That the SOAP Admin page works simply means that the webapp has access to
the classes in soap.jar. If you deployed Apache SOAP as a war on Tomcat,
Tomcat is using the classes from soap.war.
Scott Nichol
----- Original Message -----
From: "Akin Ayi" <ak...@aaa.mv.com>
To: <so...@xml.apache.org>
Sent: Friday, September 06, 2002 3:46 PM
Subject: RE: Cmd line Service Deployment Error
Scott,
It does include soap.jar, as advised I've even checked for typo.
It appears to work from the Apache SOAP Admin page!
The following are in the CLASSPATH:
%SOAP_HOME%\lib\xmlParserAPIs.jar
%SOAP_HOME%\lib\soap.jar
.
%SOAP_HOME%
%JAVA_HOME%\lib\tools.jar
%SOAP_HOME%\lib\mail.jar
%SOAP_HOME%\lib\activation.jar
%SOAP_HOME%\lib\bsf.jar
%SOAP_HOME%\lib\js.jar
%TOMCAT_HOME%\lib\tomcat.jar
%TOMCAT_HOME%\lib\stop-tomcat.jar
%TOMCAT_HOME%\lib\apps\mail.jar
%TOMCAT_HOME%\lib\apps\activation.jar
%SERVICE_DESCRIPTOR_HOME%
QUESTION:
What might be missing from the list
thanks
akin
-----Original Message-----
From: Scott Nichol [mailto:snicholnews@scottnichol.com]
Sent: Friday, September 06, 2002 9:14 AM
To: soap-user@xml.apache.org
Cc: akin@aaa.mv.com
Subject: Re: Cmd line Service Deployment Error
It appears your CLASSPATH does not include soap.jar. If you think it does
include soap.jar, double check for a typo.
Scott Nichol
----- Original Message -----
From: "Akin Ayi" <ak...@aaa.mv.com>
To: <so...@xml.apache.org>
Cc: <ak...@aaa.mv.com>
Sent: Friday, September 06, 2002 3:02 PM
Subject: Cmd line Service Deployment Error
I can Deploy and List a simple service from the Apache SOAP Admin GUI.
Then I tried to deploy it from the cmd line with:
java org.apache.soap.server.ServiceManagerClient
http://lhost:8080/soap/servlet/rpcrouter deploy myDeployDescriptor.dd
I get this error:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/soap/server/ServiceManagerClient
QUESTION:
1) What is a possible cause
2) If it's a CLASSPATH issue, what could be missing
thanks
akin
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
Re: Cmd line Service Deployment Error
Posted by Scott Nichol <sn...@scottnichol.com>.
I am stumped.
The error message you receive is because the JVM launched from the command
line cannot find the ServiceManagerClient class. However, the soap.jar
containing this class is in your CLASSPATH, and the soap.jar is valid.
Are you certain that when you run "java" from the command line you are
running java.exe, not some java.bat that sets the classpath? Try compiling
this
public class CP {
public static void main(String[] args) {
System.out.println(System.getProperty("java.class.path"));
}
}
then run "java CP". That should verify the CLASSPATH seen by the JVM.
As for your other questions...
Tomcat expands the .war file the first time it sees it. It will not
re-expand any new .war file you copy over it; you would have to remove the
soap directory tree and copy over the .war to get a new .war installed.
You could add %TOMCAT_HOME%\webapps\soap\WEB-INF\classes to your classpath,
but I think you are better off trying to get things working with a soap.jar.
Scott Nichol
----- Original Message -----
From: "Akin Ayi" <ak...@aaa.mv.com>
To: <so...@xml.apache.org>
Sent: Friday, September 06, 2002 6:36 PM
Subject: RE: Cmd line Service Deployment Error
Scott,
I added %SOAP_HOME%\lib\xercesImpl.jar to the CLASSPATH sent earlier.
Confirmed %SOAP_HOME% is correct = D:\soapInstallArea\soap-2_3_1
Issued jar -tvf %SOAP_HOME%\lib\soap.jar
It expanded, and I verified that ServiceManagerClient is in the list.
You made a good point, if the Soap Admin page works it means it found the
classes (Specifically, ServiceManagerClient.class) it needs in soap.jar
which is in my classpath.
Then, if TOMCAT could not deploy the web app, and gives this error:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/soap/server/ServiceManagerClient
It means it could NOT FIND ServiceManagerClient.class
I deployed Apache Soap 2.3.1 as .war on Tomcat 3.3.1 by placing the soap.war
from %SOAP_HOME%\webapps into %TOMCAT_HOME%\webapps.
The soap.war expanded
Question: At what point does that expansion happen ?
I followed the path until I found "ServiceManagerClient.class"
%TOMCAT_HOME%\webapps\soap\WEB-INF\classes\org\apache\soap\server\
Question: What is needed in my CLASSPATH to tell TOMCAT go look in the
location where I found it?
I can really use the help.
thanks
akin
-----Original Message-----
From: Scott Nichol [mailto:snicholnews@scottnichol.com]
Sent: Friday, September 06, 2002 9:58 AM
To: soap-user@xml.apache.org
Subject: Re: Cmd line Service Deployment Error
I think you will need xercesImpl.jar, too. I assume %SOAP_HOME% is pointing
to the right directory! Another thing to do is run jar -tvf
%SOAP_HOME%\lib\soap.jar to confirm that the format is OK. The JVM will not
tell you if your jar is corrupt.
That the SOAP Admin page works simply means that the webapp has access to
the classes in soap.jar. If you deployed Apache SOAP as a war on Tomcat,
Tomcat is using the classes from soap.war.
Scott Nichol
----- Original Message -----
From: "Akin Ayi" <ak...@aaa.mv.com>
To: <so...@xml.apache.org>
Sent: Friday, September 06, 2002 3:46 PM
Subject: RE: Cmd line Service Deployment Error
Scott,
It does include soap.jar, as advised I've even checked for typo.
It appears to work from the Apache SOAP Admin page!
The following are in the CLASSPATH:
%SOAP_HOME%\lib\xmlParserAPIs.jar
%SOAP_HOME%\lib\soap.jar
.
%SOAP_HOME%
%JAVA_HOME%\lib\tools.jar
%SOAP_HOME%\lib\mail.jar
%SOAP_HOME%\lib\activation.jar
%SOAP_HOME%\lib\bsf.jar
%SOAP_HOME%\lib\js.jar
%TOMCAT_HOME%\lib\tomcat.jar
%TOMCAT_HOME%\lib\stop-tomcat.jar
%TOMCAT_HOME%\lib\apps\mail.jar
%TOMCAT_HOME%\lib\apps\activation.jar
%SERVICE_DESCRIPTOR_HOME%
QUESTION:
What might be missing from the list
thanks
akin
-----Original Message-----
From: Scott Nichol [mailto:snicholnews@scottnichol.com]
Sent: Friday, September 06, 2002 9:14 AM
To: soap-user@xml.apache.org
Cc: akin@aaa.mv.com
Subject: Re: Cmd line Service Deployment Error
It appears your CLASSPATH does not include soap.jar. If you think it does
include soap.jar, double check for a typo.
Scott Nichol
----- Original Message -----
From: "Akin Ayi" <ak...@aaa.mv.com>
To: <so...@xml.apache.org>
Cc: <ak...@aaa.mv.com>
Sent: Friday, September 06, 2002 3:02 PM
Subject: Cmd line Service Deployment Error
I can Deploy and List a simple service from the Apache SOAP Admin GUI.
Then I tried to deploy it from the cmd line with:
java org.apache.soap.server.ServiceManagerClient
http://lhost:8080/soap/servlet/rpcrouter deploy myDeployDescriptor.dd
I get this error:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/soap/server/ServiceManagerClient
QUESTION:
1) What is a possible cause
2) If it's a CLASSPATH issue, what could be missing
thanks
akin
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
Re: Cmd line Service Deployment Error
Posted by Scott Nichol <sn...@scottnichol.com>.
I am stumped.
The error message you receive is because the JVM launched from the command
line cannot find the ServiceManagerClient class. However, the soap.jar
containing this class is in your CLASSPATH, and the soap.jar is valid.
Are you certain that when you run "java" from the command line you are
running java.exe, not some java.bat that sets the classpath? Try compiling
this
public class CP {
public static void main(String[] args) {
System.out.println(System.getProperty("java.class.path"));
}
}
then run "java CP". That should verify the CLASSPATH seen by the JVM.
As for your other questions...
Tomcat expands the .war file the first time it sees it. It will not
re-expand any new .war file you copy over it; you would have to remove the
soap directory tree and copy over the .war to get a new .war installed.
You could add %TOMCAT_HOME%\webapps\soap\WEB-INF\classes to your classpath,
but I think you are better off trying to get things working with a soap.jar.
Scott Nichol
----- Original Message -----
From: "Akin Ayi" <ak...@aaa.mv.com>
To: <so...@xml.apache.org>
Sent: Friday, September 06, 2002 6:36 PM
Subject: RE: Cmd line Service Deployment Error
Scott,
I added %SOAP_HOME%\lib\xercesImpl.jar to the CLASSPATH sent earlier.
Confirmed %SOAP_HOME% is correct = D:\soapInstallArea\soap-2_3_1
Issued jar -tvf %SOAP_HOME%\lib\soap.jar
It expanded, and I verified that ServiceManagerClient is in the list.
You made a good point, if the Soap Admin page works it means it found the
classes (Specifically, ServiceManagerClient.class) it needs in soap.jar
which is in my classpath.
Then, if TOMCAT could not deploy the web app, and gives this error:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/soap/server/ServiceManagerClient
It means it could NOT FIND ServiceManagerClient.class
I deployed Apache Soap 2.3.1 as .war on Tomcat 3.3.1 by placing the soap.war
from %SOAP_HOME%\webapps into %TOMCAT_HOME%\webapps.
The soap.war expanded
Question: At what point does that expansion happen ?
I followed the path until I found "ServiceManagerClient.class"
%TOMCAT_HOME%\webapps\soap\WEB-INF\classes\org\apache\soap\server\
Question: What is needed in my CLASSPATH to tell TOMCAT go look in the
location where I found it?
I can really use the help.
thanks
akin
-----Original Message-----
From: Scott Nichol [mailto:snicholnews@scottnichol.com]
Sent: Friday, September 06, 2002 9:58 AM
To: soap-user@xml.apache.org
Subject: Re: Cmd line Service Deployment Error
I think you will need xercesImpl.jar, too. I assume %SOAP_HOME% is pointing
to the right directory! Another thing to do is run jar -tvf
%SOAP_HOME%\lib\soap.jar to confirm that the format is OK. The JVM will not
tell you if your jar is corrupt.
That the SOAP Admin page works simply means that the webapp has access to
the classes in soap.jar. If you deployed Apache SOAP as a war on Tomcat,
Tomcat is using the classes from soap.war.
Scott Nichol
----- Original Message -----
From: "Akin Ayi" <ak...@aaa.mv.com>
To: <so...@xml.apache.org>
Sent: Friday, September 06, 2002 3:46 PM
Subject: RE: Cmd line Service Deployment Error
Scott,
It does include soap.jar, as advised I've even checked for typo.
It appears to work from the Apache SOAP Admin page!
The following are in the CLASSPATH:
%SOAP_HOME%\lib\xmlParserAPIs.jar
%SOAP_HOME%\lib\soap.jar
.
%SOAP_HOME%
%JAVA_HOME%\lib\tools.jar
%SOAP_HOME%\lib\mail.jar
%SOAP_HOME%\lib\activation.jar
%SOAP_HOME%\lib\bsf.jar
%SOAP_HOME%\lib\js.jar
%TOMCAT_HOME%\lib\tomcat.jar
%TOMCAT_HOME%\lib\stop-tomcat.jar
%TOMCAT_HOME%\lib\apps\mail.jar
%TOMCAT_HOME%\lib\apps\activation.jar
%SERVICE_DESCRIPTOR_HOME%
QUESTION:
What might be missing from the list
thanks
akin
-----Original Message-----
From: Scott Nichol [mailto:snicholnews@scottnichol.com]
Sent: Friday, September 06, 2002 9:14 AM
To: soap-user@xml.apache.org
Cc: akin@aaa.mv.com
Subject: Re: Cmd line Service Deployment Error
It appears your CLASSPATH does not include soap.jar. If you think it does
include soap.jar, double check for a typo.
Scott Nichol
----- Original Message -----
From: "Akin Ayi" <ak...@aaa.mv.com>
To: <so...@xml.apache.org>
Cc: <ak...@aaa.mv.com>
Sent: Friday, September 06, 2002 3:02 PM
Subject: Cmd line Service Deployment Error
I can Deploy and List a simple service from the Apache SOAP Admin GUI.
Then I tried to deploy it from the cmd line with:
java org.apache.soap.server.ServiceManagerClient
http://lhost:8080/soap/servlet/rpcrouter deploy myDeployDescriptor.dd
I get this error:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/soap/server/ServiceManagerClient
QUESTION:
1) What is a possible cause
2) If it's a CLASSPATH issue, what could be missing
thanks
akin
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
RE: Cmd line Service Deployment Error
Posted by Akin Ayi <ak...@aaa.mv.com>.
Scott,
I added %SOAP_HOME%\lib\xercesImpl.jar to the CLASSPATH sent earlier.
Confirmed %SOAP_HOME% is correct = D:\soapInstallArea\soap-2_3_1
Issued jar -tvf %SOAP_HOME%\lib\soap.jar
It expanded, and I verified that ServiceManagerClient is in the list.
You made a good point, if the Soap Admin page works it means it found the
classes (Specifically, ServiceManagerClient.class) it needs in soap.jar
which is in my classpath.
Then, if TOMCAT could not deploy the web app, and gives this error:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/soap/server/ServiceManagerClient
It means it could NOT FIND ServiceManagerClient.class
I deployed Apache Soap 2.3.1 as .war on Tomcat 3.3.1 by placing the soap.war
from %SOAP_HOME%\webapps into %TOMCAT_HOME%\webapps.
The soap.war expanded
Question: At what point does that expansion happen ?
I followed the path until I found "ServiceManagerClient.class"
%TOMCAT_HOME%\webapps\soap\WEB-INF\classes\org\apache\soap\server\
Question: What is needed in my CLASSPATH to tell TOMCAT go look in the
location where I found it?
I can really use the help.
thanks
akin
-----Original Message-----
From: Scott Nichol [mailto:snicholnews@scottnichol.com]
Sent: Friday, September 06, 2002 9:58 AM
To: soap-user@xml.apache.org
Subject: Re: Cmd line Service Deployment Error
I think you will need xercesImpl.jar, too. I assume %SOAP_HOME% is pointing
to the right directory! Another thing to do is run jar -tvf
%SOAP_HOME%\lib\soap.jar to confirm that the format is OK. The JVM will not
tell you if your jar is corrupt.
That the SOAP Admin page works simply means that the webapp has access to
the classes in soap.jar. If you deployed Apache SOAP as a war on Tomcat,
Tomcat is using the classes from soap.war.
Scott Nichol
----- Original Message -----
From: "Akin Ayi" <ak...@aaa.mv.com>
To: <so...@xml.apache.org>
Sent: Friday, September 06, 2002 3:46 PM
Subject: RE: Cmd line Service Deployment Error
Scott,
It does include soap.jar, as advised I've even checked for typo.
It appears to work from the Apache SOAP Admin page!
The following are in the CLASSPATH:
%SOAP_HOME%\lib\xmlParserAPIs.jar
%SOAP_HOME%\lib\soap.jar
.
%SOAP_HOME%
%JAVA_HOME%\lib\tools.jar
%SOAP_HOME%\lib\mail.jar
%SOAP_HOME%\lib\activation.jar
%SOAP_HOME%\lib\bsf.jar
%SOAP_HOME%\lib\js.jar
%TOMCAT_HOME%\lib\tomcat.jar
%TOMCAT_HOME%\lib\stop-tomcat.jar
%TOMCAT_HOME%\lib\apps\mail.jar
%TOMCAT_HOME%\lib\apps\activation.jar
%SERVICE_DESCRIPTOR_HOME%
QUESTION:
What might be missing from the list
thanks
akin
-----Original Message-----
From: Scott Nichol [mailto:snicholnews@scottnichol.com]
Sent: Friday, September 06, 2002 9:14 AM
To: soap-user@xml.apache.org
Cc: akin@aaa.mv.com
Subject: Re: Cmd line Service Deployment Error
It appears your CLASSPATH does not include soap.jar. If you think it does
include soap.jar, double check for a typo.
Scott Nichol
----- Original Message -----
From: "Akin Ayi" <ak...@aaa.mv.com>
To: <so...@xml.apache.org>
Cc: <ak...@aaa.mv.com>
Sent: Friday, September 06, 2002 3:02 PM
Subject: Cmd line Service Deployment Error
I can Deploy and List a simple service from the Apache SOAP Admin GUI.
Then I tried to deploy it from the cmd line with:
java org.apache.soap.server.ServiceManagerClient
http://lhost:8080/soap/servlet/rpcrouter deploy myDeployDescriptor.dd
I get this error:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/soap/server/ServiceManagerClient
QUESTION:
1) What is a possible cause
2) If it's a CLASSPATH issue, what could be missing
thanks
akin
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
RE: Cmd line Service Deployment Error
Posted by Akin Ayi <ak...@aaa.mv.com>.
Scott,
I added %SOAP_HOME%\lib\xercesImpl.jar to the CLASSPATH sent earlier.
Confirmed %SOAP_HOME% is correct = D:\soapInstallArea\soap-2_3_1
Issued jar -tvf %SOAP_HOME%\lib\soap.jar
It expanded, and I verified that ServiceManagerClient is in the list.
You made a good point, if the Soap Admin page works it means it found the
classes (Specifically, ServiceManagerClient.class) it needs in soap.jar
which is in my classpath.
Then, if TOMCAT could not deploy the web app, and gives this error:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/soap/server/ServiceManagerClient
It means it could NOT FIND ServiceManagerClient.class
I deployed Apache Soap 2.3.1 as .war on Tomcat 3.3.1 by placing the soap.war
from %SOAP_HOME%\webapps into %TOMCAT_HOME%\webapps.
The soap.war expanded
Question: At what point does that expansion happen ?
I followed the path until I found "ServiceManagerClient.class"
%TOMCAT_HOME%\webapps\soap\WEB-INF\classes\org\apache\soap\server\
Question: What is needed in my CLASSPATH to tell TOMCAT go look in the
location where I found it?
I can really use the help.
thanks
akin
-----Original Message-----
From: Scott Nichol [mailto:snicholnews@scottnichol.com]
Sent: Friday, September 06, 2002 9:58 AM
To: soap-user@xml.apache.org
Subject: Re: Cmd line Service Deployment Error
I think you will need xercesImpl.jar, too. I assume %SOAP_HOME% is pointing
to the right directory! Another thing to do is run jar -tvf
%SOAP_HOME%\lib\soap.jar to confirm that the format is OK. The JVM will not
tell you if your jar is corrupt.
That the SOAP Admin page works simply means that the webapp has access to
the classes in soap.jar. If you deployed Apache SOAP as a war on Tomcat,
Tomcat is using the classes from soap.war.
Scott Nichol
----- Original Message -----
From: "Akin Ayi" <ak...@aaa.mv.com>
To: <so...@xml.apache.org>
Sent: Friday, September 06, 2002 3:46 PM
Subject: RE: Cmd line Service Deployment Error
Scott,
It does include soap.jar, as advised I've even checked for typo.
It appears to work from the Apache SOAP Admin page!
The following are in the CLASSPATH:
%SOAP_HOME%\lib\xmlParserAPIs.jar
%SOAP_HOME%\lib\soap.jar
.
%SOAP_HOME%
%JAVA_HOME%\lib\tools.jar
%SOAP_HOME%\lib\mail.jar
%SOAP_HOME%\lib\activation.jar
%SOAP_HOME%\lib\bsf.jar
%SOAP_HOME%\lib\js.jar
%TOMCAT_HOME%\lib\tomcat.jar
%TOMCAT_HOME%\lib\stop-tomcat.jar
%TOMCAT_HOME%\lib\apps\mail.jar
%TOMCAT_HOME%\lib\apps\activation.jar
%SERVICE_DESCRIPTOR_HOME%
QUESTION:
What might be missing from the list
thanks
akin
-----Original Message-----
From: Scott Nichol [mailto:snicholnews@scottnichol.com]
Sent: Friday, September 06, 2002 9:14 AM
To: soap-user@xml.apache.org
Cc: akin@aaa.mv.com
Subject: Re: Cmd line Service Deployment Error
It appears your CLASSPATH does not include soap.jar. If you think it does
include soap.jar, double check for a typo.
Scott Nichol
----- Original Message -----
From: "Akin Ayi" <ak...@aaa.mv.com>
To: <so...@xml.apache.org>
Cc: <ak...@aaa.mv.com>
Sent: Friday, September 06, 2002 3:02 PM
Subject: Cmd line Service Deployment Error
I can Deploy and List a simple service from the Apache SOAP Admin GUI.
Then I tried to deploy it from the cmd line with:
java org.apache.soap.server.ServiceManagerClient
http://lhost:8080/soap/servlet/rpcrouter deploy myDeployDescriptor.dd
I get this error:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/soap/server/ServiceManagerClient
QUESTION:
1) What is a possible cause
2) If it's a CLASSPATH issue, what could be missing
thanks
akin
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
Re: Cmd line Service Deployment Error
Posted by Scott Nichol <sn...@scottnichol.com>.
I think you will need xercesImpl.jar, too. I assume %SOAP_HOME% is pointing
to the right directory! Another thing to do is run jar -tvf
%SOAP_HOME%\lib\soap.jar to confirm that the format is OK. The JVM will not
tell you if your jar is corrupt.
That the SOAP Admin page works simply means that the webapp has access to
the classes in soap.jar. If you deployed Apache SOAP as a war on Tomcat,
Tomcat is using the classes from soap.war.
Scott Nichol
----- Original Message -----
From: "Akin Ayi" <ak...@aaa.mv.com>
To: <so...@xml.apache.org>
Sent: Friday, September 06, 2002 3:46 PM
Subject: RE: Cmd line Service Deployment Error
Scott,
It does include soap.jar, as advised I've even checked for typo.
It appears to work from the Apache SOAP Admin page!
The following are in the CLASSPATH:
%SOAP_HOME%\lib\xmlParserAPIs.jar
%SOAP_HOME%\lib\soap.jar
.
%SOAP_HOME%
%JAVA_HOME%\lib\tools.jar
%SOAP_HOME%\lib\mail.jar
%SOAP_HOME%\lib\activation.jar
%SOAP_HOME%\lib\bsf.jar
%SOAP_HOME%\lib\js.jar
%TOMCAT_HOME%\lib\tomcat.jar
%TOMCAT_HOME%\lib\stop-tomcat.jar
%TOMCAT_HOME%\lib\apps\mail.jar
%TOMCAT_HOME%\lib\apps\activation.jar
%SERVICE_DESCRIPTOR_HOME%
QUESTION:
What might be missing from the list
thanks
akin
-----Original Message-----
From: Scott Nichol [mailto:snicholnews@scottnichol.com]
Sent: Friday, September 06, 2002 9:14 AM
To: soap-user@xml.apache.org
Cc: akin@aaa.mv.com
Subject: Re: Cmd line Service Deployment Error
It appears your CLASSPATH does not include soap.jar. If you think it does
include soap.jar, double check for a typo.
Scott Nichol
----- Original Message -----
From: "Akin Ayi" <ak...@aaa.mv.com>
To: <so...@xml.apache.org>
Cc: <ak...@aaa.mv.com>
Sent: Friday, September 06, 2002 3:02 PM
Subject: Cmd line Service Deployment Error
I can Deploy and List a simple service from the Apache SOAP Admin GUI.
Then I tried to deploy it from the cmd line with:
java org.apache.soap.server.ServiceManagerClient
http://lhost:8080/soap/servlet/rpcrouter deploy myDeployDescriptor.dd
I get this error:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/soap/server/ServiceManagerClient
QUESTION:
1) What is a possible cause
2) If it's a CLASSPATH issue, what could be missing
thanks
akin
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
Re: Cmd line Service Deployment Error
Posted by Scott Nichol <sn...@scottnichol.com>.
I think you will need xercesImpl.jar, too. I assume %SOAP_HOME% is pointing
to the right directory! Another thing to do is run jar -tvf
%SOAP_HOME%\lib\soap.jar to confirm that the format is OK. The JVM will not
tell you if your jar is corrupt.
That the SOAP Admin page works simply means that the webapp has access to
the classes in soap.jar. If you deployed Apache SOAP as a war on Tomcat,
Tomcat is using the classes from soap.war.
Scott Nichol
----- Original Message -----
From: "Akin Ayi" <ak...@aaa.mv.com>
To: <so...@xml.apache.org>
Sent: Friday, September 06, 2002 3:46 PM
Subject: RE: Cmd line Service Deployment Error
Scott,
It does include soap.jar, as advised I've even checked for typo.
It appears to work from the Apache SOAP Admin page!
The following are in the CLASSPATH:
%SOAP_HOME%\lib\xmlParserAPIs.jar
%SOAP_HOME%\lib\soap.jar
.
%SOAP_HOME%
%JAVA_HOME%\lib\tools.jar
%SOAP_HOME%\lib\mail.jar
%SOAP_HOME%\lib\activation.jar
%SOAP_HOME%\lib\bsf.jar
%SOAP_HOME%\lib\js.jar
%TOMCAT_HOME%\lib\tomcat.jar
%TOMCAT_HOME%\lib\stop-tomcat.jar
%TOMCAT_HOME%\lib\apps\mail.jar
%TOMCAT_HOME%\lib\apps\activation.jar
%SERVICE_DESCRIPTOR_HOME%
QUESTION:
What might be missing from the list
thanks
akin
-----Original Message-----
From: Scott Nichol [mailto:snicholnews@scottnichol.com]
Sent: Friday, September 06, 2002 9:14 AM
To: soap-user@xml.apache.org
Cc: akin@aaa.mv.com
Subject: Re: Cmd line Service Deployment Error
It appears your CLASSPATH does not include soap.jar. If you think it does
include soap.jar, double check for a typo.
Scott Nichol
----- Original Message -----
From: "Akin Ayi" <ak...@aaa.mv.com>
To: <so...@xml.apache.org>
Cc: <ak...@aaa.mv.com>
Sent: Friday, September 06, 2002 3:02 PM
Subject: Cmd line Service Deployment Error
I can Deploy and List a simple service from the Apache SOAP Admin GUI.
Then I tried to deploy it from the cmd line with:
java org.apache.soap.server.ServiceManagerClient
http://lhost:8080/soap/servlet/rpcrouter deploy myDeployDescriptor.dd
I get this error:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/soap/server/ServiceManagerClient
QUESTION:
1) What is a possible cause
2) If it's a CLASSPATH issue, what could be missing
thanks
akin
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
RE: Cmd line Service Deployment Error
Posted by Akin Ayi <ak...@aaa.mv.com>.
Scott,
It does include soap.jar, as advised I've even checked for typo.
It appears to work from the Apache SOAP Admin page!
The following are in the CLASSPATH:
%SOAP_HOME%\lib\xmlParserAPIs.jar
%SOAP_HOME%\lib\soap.jar
.
%SOAP_HOME%
%JAVA_HOME%\lib\tools.jar
%SOAP_HOME%\lib\mail.jar
%SOAP_HOME%\lib\activation.jar
%SOAP_HOME%\lib\bsf.jar
%SOAP_HOME%\lib\js.jar
%TOMCAT_HOME%\lib\tomcat.jar
%TOMCAT_HOME%\lib\stop-tomcat.jar
%TOMCAT_HOME%\lib\apps\mail.jar
%TOMCAT_HOME%\lib\apps\activation.jar
%SERVICE_DESCRIPTOR_HOME%
QUESTION:
What might be missing from the list
thanks
akin
-----Original Message-----
From: Scott Nichol [mailto:snicholnews@scottnichol.com]
Sent: Friday, September 06, 2002 9:14 AM
To: soap-user@xml.apache.org
Cc: akin@aaa.mv.com
Subject: Re: Cmd line Service Deployment Error
It appears your CLASSPATH does not include soap.jar. If you think it does
include soap.jar, double check for a typo.
Scott Nichol
----- Original Message -----
From: "Akin Ayi" <ak...@aaa.mv.com>
To: <so...@xml.apache.org>
Cc: <ak...@aaa.mv.com>
Sent: Friday, September 06, 2002 3:02 PM
Subject: Cmd line Service Deployment Error
I can Deploy and List a simple service from the Apache SOAP Admin GUI.
Then I tried to deploy it from the cmd line with:
java org.apache.soap.server.ServiceManagerClient
http://lhost:8080/soap/servlet/rpcrouter deploy myDeployDescriptor.dd
I get this error:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/soap/server/ServiceManagerClient
QUESTION:
1) What is a possible cause
2) If it's a CLASSPATH issue, what could be missing
thanks
akin
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
RE: Cmd line Service Deployment Error
Posted by Akin Ayi <ak...@aaa.mv.com>.
Scott,
It does include soap.jar, as advised I've even checked for typo.
It appears to work from the Apache SOAP Admin page!
The following are in the CLASSPATH:
%SOAP_HOME%\lib\xmlParserAPIs.jar
%SOAP_HOME%\lib\soap.jar
.
%SOAP_HOME%
%JAVA_HOME%\lib\tools.jar
%SOAP_HOME%\lib\mail.jar
%SOAP_HOME%\lib\activation.jar
%SOAP_HOME%\lib\bsf.jar
%SOAP_HOME%\lib\js.jar
%TOMCAT_HOME%\lib\tomcat.jar
%TOMCAT_HOME%\lib\stop-tomcat.jar
%TOMCAT_HOME%\lib\apps\mail.jar
%TOMCAT_HOME%\lib\apps\activation.jar
%SERVICE_DESCRIPTOR_HOME%
QUESTION:
What might be missing from the list
thanks
akin
-----Original Message-----
From: Scott Nichol [mailto:snicholnews@scottnichol.com]
Sent: Friday, September 06, 2002 9:14 AM
To: soap-user@xml.apache.org
Cc: akin@aaa.mv.com
Subject: Re: Cmd line Service Deployment Error
It appears your CLASSPATH does not include soap.jar. If you think it does
include soap.jar, double check for a typo.
Scott Nichol
----- Original Message -----
From: "Akin Ayi" <ak...@aaa.mv.com>
To: <so...@xml.apache.org>
Cc: <ak...@aaa.mv.com>
Sent: Friday, September 06, 2002 3:02 PM
Subject: Cmd line Service Deployment Error
I can Deploy and List a simple service from the Apache SOAP Admin GUI.
Then I tried to deploy it from the cmd line with:
java org.apache.soap.server.ServiceManagerClient
http://lhost:8080/soap/servlet/rpcrouter deploy myDeployDescriptor.dd
I get this error:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/soap/server/ServiceManagerClient
QUESTION:
1) What is a possible cause
2) If it's a CLASSPATH issue, what could be missing
thanks
akin
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>