javax.naming.LinkException: . Root exception is javax.naming.NameNotFoundException: Unable to resolve EAMWebService. Resolved: '' Unresolved:'EAMWebService' ; remaining name '' <<no stack trace available>> > ********************************************************** The following is my web.xml entry for the servlet ------------------------------------------------------------ <servlet> <servlet-name>EAMWebService</servlet-name> <servlet-class>weblogic.soap.server.servlet.StatelessBeanAdapter</servlet-cl ass> <init-param> <param-name>ejb-ref</param-name> <param-value>com.smartchain.datacenter.eam.ejb.EAMWebServiceHome</param-valu e> </init-param> </servlet> <servlet-mapping> <servlet-name>EAMWebService</servlet-name> <url-pattern>/EAMWebServiceURI</url-pattern> </servlet-mapping> -------------------------------------------------- "manoj cheenath" < manojc@bea.com > wrote: try this: 1.use a browser to hit the same url. if the service is deployed you should be alble to get the test page. 2. make sure that the listenaddress in your config.xml file is same as the machine name you specify in the url. 3. try ip address instead of machine name. regards, -manoj "vijay" < vijayaarti@yahoo.com > wrote in message news: 3d12618c$1@newsgroups2.bea.com ... Hi, After deploying my web service and while running a sample client it is able to fetch the WSDL file successfully. But when the required method is executed I get a java.io.FileNotFoundException. Has anybody faced a similiar problem and any help is highly appreciated. The error message is enclosed below. cheers- vijay <?xml version='1.0' encoding='UTF-8'?><SOAP-ENV:Envelope xmlns:SOAP-ENV=' http://schemas.xmlsoap.org/soap/envelope/ ' xmlns:SOAP-ENC=' http://schemas.xmlsoap.org/soap/encoding/ ' xmlns:xsi=' http://www.w3.org/1999/XMLSchema-instance ' > xmlns:xsd=' http://www.w3.org/1999/XMLSchema '><SOAP-ENV:Body><ns0:authentica t e xmlns:ns0='urn:EAMWebService' > SOAP-ENV:encodingStyle=' http://schemas.xmlsoap.org/soap/encoding/ '><arg0 xsi:type='xsd:string'>system</arg0><arg1 > xsi:type='xsd:string'>system</arg1></ns0:authenticate></SOAP-ENV:Body></SOA P -ENV:Envelope> Exception in thread "main" java.io.FileNotFoundException: http://vsingh:7001/savi/EAMWebServiceURI

Oracle Community | 3004 | 1 decade ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    java.io.FileNotFoundException: when trying to execute a webservice method in the client

    Oracle Community | 1 decade ago | 3004
    javax.naming.LinkException: . Root exception is javax.naming.NameNotFoundException: Unable to resolve EAMWebService. Resolved: '' Unresolved:'EAMWebService' ; remaining name '' <<no stack trace available>> > ********************************************************** The following is my web.xml entry for the servlet ------------------------------------------------------------ <servlet> <servlet-name>EAMWebService</servlet-name> <servlet-class>weblogic.soap.server.servlet.StatelessBeanAdapter</servlet-cl ass> <init-param> <param-name>ejb-ref</param-name> <param-value>com.smartchain.datacenter.eam.ejb.EAMWebServiceHome</param-valu e> </init-param> </servlet> <servlet-mapping> <servlet-name>EAMWebService</servlet-name> <url-pattern>/EAMWebServiceURI</url-pattern> </servlet-mapping> -------------------------------------------------- "manoj cheenath" < manojc@bea.com > wrote: try this: 1.use a browser to hit the same url. if the service is deployed you should be alble to get the test page. 2. make sure that the listenaddress in your config.xml file is same as the machine name you specify in the url. 3. try ip address instead of machine name. regards, -manoj "vijay" < vijayaarti@yahoo.com > wrote in message news: 3d12618c$1@newsgroups2.bea.com ... Hi, After deploying my web service and while running a sample client it is able to fetch the WSDL file successfully. But when the required method is executed I get a java.io.FileNotFoundException. Has anybody faced a similiar problem and any help is highly appreciated. The error message is enclosed below. cheers- vijay <?xml version='1.0' encoding='UTF-8'?><SOAP-ENV:Envelope xmlns:SOAP-ENV=' http://schemas.xmlsoap.org/soap/envelope/ ' xmlns:SOAP-ENC=' http://schemas.xmlsoap.org/soap/encoding/ ' xmlns:xsi=' http://www.w3.org/1999/XMLSchema-instance ' > xmlns:xsd=' http://www.w3.org/1999/XMLSchema '><SOAP-ENV:Body><ns0:authentica t e xmlns:ns0='urn:EAMWebService' > SOAP-ENV:encodingStyle=' http://schemas.xmlsoap.org/soap/encoding/ '><arg0 xsi:type='xsd:string'>system</arg0><arg1 > xsi:type='xsd:string'>system</arg1></ns0:authenticate></SOAP-ENV:Body></SOA P -ENV:Envelope> Exception in thread "main" java.io.FileNotFoundException: http://vsingh:7001/savi/EAMWebServiceURI

    Root Cause Analysis

    1. javax.naming.LinkException

      . Root exception is javax.naming.NameNotFoundException: Unable to resolve EAMWebService. Resolved: '' Unresolved:'EAMWebService' ; remaining name '' <<no stack trace available>> > ********************************************************** The following is my web.xml entry for the servlet ------------------------------------------------------------ <servlet> <servlet-name>EAMWebService</servlet-name> <servlet-class>weblogic.soap.server.servlet.StatelessBeanAdapter</servlet-cl ass> <init-param> <param-name>ejb-ref</param-name> <param-value>com.smartchain.datacenter.eam.ejb.EAMWebServiceHome</param-valu e> </init-param> </servlet> <servlet-mapping> <servlet-name>EAMWebService</servlet-name> <url-pattern>/EAMWebServiceURI</url-pattern> </servlet-mapping> -------------------------------------------------- "manoj cheenath" < manojc@bea.com > wrote: try this: 1.use a browser to hit the same url. if the service is deployed you should be alble to get the test page. 2. make sure that the listenaddress in your config.xml file is same as the machine name you specify in the url. 3. try ip address instead of machine name. regards, -manoj "vijay" < vijayaarti@yahoo.com > wrote in message news: 3d12618c$1@newsgroups2.bea.com ... Hi, After deploying my web service and while running a sample client it is able to fetch the WSDL file successfully. But when the required method is executed I get a java.io.FileNotFoundException. Has anybody faced a similiar problem and any help is highly appreciated. The error message is enclosed below. cheers- vijay <?xml version='1.0' encoding='UTF-8'?><SOAP-ENV:Envelope xmlns:SOAP-ENV=' http://schemas.xmlsoap.org/soap/envelope/ ' xmlns:SOAP-ENC=' http://schemas.xmlsoap.org/soap/encoding/ ' xmlns:xsi=' http://www.w3.org/1999/XMLSchema-instance ' > xmlns:xsd=' http://www.w3.org/1999/XMLSchema '><SOAP-ENV:Body><ns0:authentica t e xmlns:ns0='urn:EAMWebService' > SOAP-ENV:encodingStyle=' http://schemas.xmlsoap.org/soap/encoding/ '><arg0 xsi:type='xsd:string'>system</arg0><arg1 > xsi:type='xsd:string'>system</arg1></ns0:authenticate></SOAP-ENV:Body></SOA P -ENV:Envelope> Exception in thread "main" java.io.FileNotFoundException: http://vsingh:7001/savi/EAMWebServiceURI

      at sun.net.www.protocol.http.HttpURLConnection.getInputStream()
    2. Java RT
      HttpURLConnection.getHeaderFieldKey
      1. sun.net.www.protocol.http.HttpURLConnection.getInputStream(UnknownSource)
      2. sun.net.www.protocol.http.HttpURLConnection.getHeaderFieldKey(UnknownSource)
      2 frames