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 ya...@legend.com.cn on 2001/06/25 03:34:10 UTC

Strange FileNotFoundException

Hello!

When I run examples in apache soap-2_2, if I run testit.sh in linux7.0,
It tell me such error:
(No such file or directory)java.io.FileNotFoundException:
DeploymentDescriptor.xml
But if I run a single command like: $java
org.apache.soap.server.ServiceManagerClient
http://localhost:8080/soap/servlet/rpcrouter deploy
DeploymentDescriptor.xml
It is all right. Why?

Thanks a lot!


Re: Strange FileNotFoundException

Posted by Oleg Dulin <du...@acm.org>.
I had this problem myself. Try openning testit.sh AND deployment
descriptor XML file in an editor. See if it has ^M characters.

But then, this didn't help with Schema's from xmlsoap.org having ^M
characters and confusing Xerces.

Any solutions ?

Regards,
Oleg

On Mon, 25 Jun 2001 yanglw@legend.com.cn wrote:

>
> Hello!
>
> When I run examples in apache soap-2_2, if I run testit.sh in linux7.0,
> It tell me such error:
> (No such file or directory)java.io.FileNotFoundException:
> DeploymentDescriptor.xml
> But if I run a single command like: $java
> org.apache.soap.server.ServiceManagerClient
> http://localhost:8080/soap/servlet/rpcrouter deploy
> DeploymentDescriptor.xml
> It is all right. Why?
>
> Thanks a lot!
>
>

--
Regards,
Oleg Dulin
http://www.olegdulin.com/