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 Duffiana Jones <cd...@polydeme.fr> on 2001/05/15 14:32:35 UTC

Re: Newbie - java.io.FileNotFoundException: DeploymentDescriptor.xml

Hi kevin,

"Pham, Kevin" a écrit :
> 
> Hello,
> 
> Trying to run the Addressbook sample from soap using testit.sh and get the
> following error:
> 
> ----- (snapshot)
> [root@kp addressbook]# ./testit.sh
> This test assumes a server URL of
> http://localhost:8080/soap/server/rpcrouter
> Deploying the addressbook service...
> Exception in thread "main" java.io.FileNotFoundException:
> DeploymentDescriptor.x
>  (No such file or directory)
>         at java.io.FileInputStream.open(Native Method)
>         at java.io.FileInputStream.<init>(FileInputStream.java:64)
>         at java.io.FileReader.<init>(FileReader.java:38)
>         at
> org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient
> .java:225)
>

it seems that you have damaged your shell script : we should read
DeploymentDescriptor.xml rather than DeploymentDescriptor.x.
if this is a cut and paste error, so your script does well contain
DeploymentDescriptor.xml, check if the file is present at the specified
location. it should be fairly simple.

 
> However, I can deploy the service successfully if run manually, but can't
> undeploy it from testit.sh  ?!?

have a look at your script and check if files and so on match your
system

hope this helps
duf.

> 
> ----- (snapshot)
> [root@kp addressbook]# java org.apache.soap.server.ServiceManagerClient
> http://l
> ocalhost:8080/soap/servlet/rpcrouter deploy DeploymentDescriptor.xml
> [root@kp addressbook]# java org.apache.soap.server.ServiceManagerClient
> http://l
> ocalhost:8080/soap/servlet/rpcrouter list
> Deployed Services:
>         urn:AddressFetcher
> ...
> Undeploy it now
> Ouch, the call failed:
>   Fault Code   = SOAP-ENV:Server
>   Fault String = Service 'urn:AddressFetcher
> ' unknown
> -----
> 
> Note that I'm using Xerces 1.3 ( _not_ 1.3.1, as suggested by the group),
> Soap 2.1, Tomcat 3.2.1 on RedHat Linux 7.1.
> [root@kp addressbook]# echo $CLASSPATH
> .:/usr/local/xerces/xerces.jar:/usr/local/soap/lib/soap.jar:/usr/local/soap:
> /usr
> /local/tomcat/lib/mail.jar:/usr/local/tomcat/lib/activation.jar
> 
> Thanks in advance,
> /KP
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
> For additional commands, email: soap-user-help@xml.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


Newbie - addressbook NoClassDefFoundError

Posted by Lili Zhai <li...@iaeste.or.at>.
hi all,
i have tried to deploy and start the example in soap/samples/addressbook,
but exceptions occured:

> java org.apache.soap.server.ServiceManagerClient http://localhost:8080/soap/servlet/rpcrouter deploy DeploymentDescriptor.xml

Exception in thread "main" java.lang.NoClassDefFoundError: org/w3c/dom/Node
        at org.apache.soap.server.ServiceManagerClient.<init>(ServiceManagerClie
nt.java:79)
        at org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient
.java:214)

i use soap 2.1, tomcat 3.2.1, xerces 1.2.1 (before xml.jar in the CLASSPATH).

if you know what ist problem, pls tell men. thanks.


best regards,

lili


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


Newbie - addressbook NoClassDefFoundError

Posted by Lili Zhai <li...@iaeste.or.at>.
hi all,
i have tried to deploy and start the example in soap/samples/addressbook,
but exceptions occured:

> java org.apache.soap.server.ServiceManagerClient http://localhost:8080/soap/servlet/rpcrouter deploy DeploymentDescriptor.xml

Exception in thread "main" java.lang.NoClassDefFoundError: org/w3c/dom/Node
        at org.apache.soap.server.ServiceManagerClient.<init>(ServiceManagerClie
nt.java:79)
        at org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient
.java:214)

i use soap 2.1, tomcat 3.2.1, xerces 1.2.1 (before xml.jar in the CLASSPATH).

if you know what ist problem, pls tell men. thanks.


best regards,

lili


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org