Error on deploying a Web Service on 9iAS release 2

Hi, somebody could help me on deploying a Web Service on 9iAS release 2?, I have applied the UDDI patch through the orauddi.zip file downloaded from otn web site. But on the J2EE Web Service Deploying Wizard (OEM Web Site), at the Web Service configuration stage, a message is displayed telling me that a Web Service must be deployed if the 9iAS instance which has an infrastructure connection, and this is not my case (I don't want to install the infrastructure. The UDDISYS schema was installed on a simple 9i DB release 2 successfully and for the orauddi application deployed I had created a Data Source for this user).
On trying to do the same task from JDeveloper 9.0.3, an error ADM is displayed advincing the searching of errors in the log.xml file located on IAS_HOME/dcm/logs directory. Below I have copy the last part of this file, corresponding to the error day.
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2003-07-22T00:27:55.182-03:00</TSTZ_ORIGINATING>
<COMPONENT_ID>iAS_dcm</COMPONENT_ID>
<MSG_TYPE TYPE="ERROR"></MSG_TYPE>
<MSG_GROUP>n/a</MSG_GROUP>
<MSG_LEVEL>1</MSG_LEVEL>
<HOST_ID>preventas-ntbk</HOST_ID>
<HOST_NWADDR>192.168.1.78</HOST_NWADDR>
<MODULE_ID>oracle/defaultLogger/ExceptionLogger</MODULE_ID>
<PROCESS_ID>null-Thread[main,5,main]</PROCESS_ID>
<USER_ID>administrator</USER_ID>
</HEADER>
<PAYLOAD>
<MSG_TEXT>[TM] Config/LoadEdit/ImportExport Adapter resync error</MSG_TEXT>
<SUPPL_DETAIL><![CDATA[java.lang.NullPointerException
     at oracle.ias.sysmgmt.repository.datastore.DataStore.getOutOfSyncPluginConfigData(Unknown Source)
     at oracle.ias.sysmgmt.repository.RepositoryImpl.syncUpFromPersistence(Unknown Source)
     at oracle.ias.sysmgmt.configsvc.ConfigurationServiceImpl.syncUp(Unknown Source)
     at oracle.ias.sysmgmt.task.ConfigAdapter.resync(Unknown Source)
     at oracle.ias.sysmgmt.task.TaskMaster.resync(Unknown Source)
     at oracle.ias.sysmgmt.task.TaskMaster.resync(Unknown Source)
     at oracle.ias.sysmgmt.task.InstanceManager.sysInit(Unknown Source)
     at oracle.ias.sysmgmt.task.InstanceManager.init(Unknown Source)
     at oracle.ias.sysmgmt.cmdline.DcmCmdLine.execute(Unknown Source)
     at oracle.ias.sysmgmt.cmdline.DcmCmdLine.main(Unknown Source)
]]></SUPPL_DETAIL>
</PAYLOAD>
</MESSAGE>
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2003-07-22T00:27:56.644-03:00</TSTZ_ORIGINATING>
<COMPONENT_ID>iAS_dcm</COMPONENT_ID>
<MSG_TYPE TYPE="ERROR"></MSG_TYPE>
<MSG_GROUP>n/a</MSG_GROUP>
<MSG_LEVEL>1</MSG_LEVEL>
<HOST_ID>preventas-ntbk</HOST_ID>
<HOST_NWADDR>192.168.1.78</HOST_NWADDR>
<MODULE_ID>oracle/defaultLogger/ExceptionLogger</MODULE_ID>
<PROCESS_ID>null-Thread[main,5,main]</PROCESS_ID>
<USER_ID>administrator</USER_ID>
</HEADER>
<PAYLOAD>
<MSG_TEXT>[ RM ] Exception in repository API getDBConnect()</MSG_TEXT>
<SUPPL_DETAIL><![CDATA[oracle.ias.repository.schema.SchemaException: Unable to connect to Directory Server:javax.naming.CommunicationException: localhost:389 [Root exception is java.net.ConnectException: Connection refused: connect]
     at oracle.ias.repository.directory.DirectoryReader.connect(DirectoryReader.java:104)
     at oracle.ias.repository.IASSchema.getDBConnect(IASSchema.java:331)
     at oracle.ias.repository.IASSchema.getDBConnect(IASSchema.java:416)
     at oracle.ias.repository.SchemaManager.getDBConnect(SchemaManager.java:197)
     at oracle.ias.sysmgmt.persistence.SeedDbAccess.getDBConnect(Unknown Source)
     at oracle.ias.sysmgmt.persistence.PersistenceManager.getSeedInfo(Unknown Source)
     at oracle.ias.sysmgmt.persistence.PersistenceManager.isDBConfigured(Unknown Source)
     at oracle.ias.sysmgmt.task.InstanceManager.sysInit(Unknown Source)
     at oracle.ias.sysmgmt.task.InstanceManager.init(Unknown Source)
     at oracle.ias.sysmgmt.cmdline.DcmCmdLine.execute(Unknown Source)
     at oracle.ias.sysmgmt.cmdline.DcmCmdLine.main(Unknown Source)
]]></SUPPL_DETAIL>
</PAYLOAD>
</MESSAGE>
But, I can deploy this Web Service in the OC4J embedded on JDeveloper, successfully (from JDeveloper). Any idea?
Thanks a lot in advance,
Pablo.

Because you do not have an infrastructure database, you will not be able to deploy your web service from OEM as one of its steps is to register the service in the UDDI registy - the Web service deployment and UDDI registration are tied tightly together in OEM right now.
All is not lost, however. You have two routes to deploy the Web Service on Oracle9iAS:
1. Use DCM, which is the command line interface to deploy applications/webservices/wars/ears on Oracle9iAS. It does not have the dependency on UDDI.
To deploy a Web service using DCM, say your Web service ear file were named test.ear your deployment command would look something like:
c:\oracle\ora903\dcm\bin\dcmctl deployApplication -file test.ear
See the doc for much more detail to let you tailor DCM to do all the stuff that is available through EM or specific to your application:
http://download-west.oracle.com/docs/cd/A97329_03/core.902/a92171/dcm.htm#643834
2. In JDeveloper 9.0.3, there is a DCM Servlet that lets you do remote deployment to Oracle9iAS:
http://otn.oracle.com/products/jdev/htdocs/readme_9031.html#viadcm
I suspect your deployment problem from Oracle9i JDeveloper may be (this may be an incorrect assumption) due to trying to use a connection that is setup as if Oracle9iAS is a standalone OC4J.
Mike.

Similar Messages

  • Error while deploying a web service whose return type is java.util.Date

    Hi
    I have written a simple web service which takes in a date input (java.util.Date) and returns the same date back to the client.
    public interface Ping extends Remote
    * A simple method that pings the server to test the webservice.
    * It sends a datetime to the server which returns the datetime.
    * @param pingDateRequest A datetime sent to the server
    * @returns The original datetime
    public Date ping(Date pingDateRequest) throws RemoteException;
    The generation of the Web service related files goes smoothly in JDeveloper 10g. The problem arises when I try to deploy this web service on the Oracle 10g (10.0.3) OC4J standalone. it gives me the following error on the OC4J console :
    E:\Oracle\oc4j1003\j2ee\home\application-deployments\Sachin-TradingEngineWS-WS\
    WebServices\com\sachin\tradeengine\ws\Ping_Tie.java:57: ping(java.util.Date) in com.sachin.tradeengine.ws.Ping cannot be applied to (java.util.Calendar) _result  = ((com.sachin.tradeengine.ws.Ping) getTarget()).ping
    (myPing_Type.getDate_1());
    ^
    1 error
    04/03/23 17:17:35 Notification ==&gt; Application Deployer for Sachin-TradingEngineWS-WS FAILED: java.lang.InstantiationException: Error compiling :E:\Oracle\oc4j1003\j2ee\home\applications\Sachin-TradingEngineWS-WS\WebServices: Syntax error in source [ 2004-03-23T17:17:35.937GMT+05:30 ]
    I read somewhere that the conversion between java to xml datatype and vice versa fails for java.util.Date, so it is better to use java.util.Calendar. When I change the code to return a java.util.Calendar then the JDeveloper prompts me the following failure:
    Method Ping: the following parameter types do not have an XML Schema mapping and/or serializer specified : java.util.Calendar.
    This forces me to return a String data.
    I would appreciate if someone can help me out.
    Thanks
    Sachin Mathias
    Datamatics Ltd.

    Hi
    I got the web service working with some work around. But I am not sure it this approach would be right and good.
    I started altogether afresh. I did the following step :
    1. Created an Interface (Ping.java) for use in web Service as follows :
    public interface Ping extends Remote{
    public java.util.Date ping(java.util.Date pingDateRequest)
    throws RemoteException;
    2. Implemented the above interface in PingImpl.java as follows :
    public class PingImpl implements Ping
    public java.util.Date ping(java.util.Date pingDateRequest) throws RemoteException {
    System.out.println("PingImpl: ping() return datetime = " + pingDateRequest.toString());
    return pingDateRequest;
    3. Compiled the above 2 java files.
    4. Generated a Stateless Java Web Service with the help of JDeveloper. This time the generation was sucessful.(If I had "java.util.Calendar" in place of "java.util.Date" in the java code of the above mentioned files the web service generation would prompt me for error)
    5. After the generation of Web Service, I made modification to the Ping interface and its implementing class. In both the files I replaced "java.util.Date" with "java.util.Calendar". The modified java will look as follows :
    Ping.Java
    =========
    public interface Ping extends Remote{
    public java.util.Calendar ping(java.util.Calendar pingDateRequest)
    throws RemoteException;
    PingImpl.Java
    ================
    public class PingImpl implements Ping
    public java.util.Calendar ping(java.util.Calendar pingDateRequest) throws RemoteException {
    System.out.println("PingImpl: ping() return datetime = " + pingDateRequest.toString());
    return pingDateRequest;
    6. Now I recompile both the java files.
    7. Withour regenerating the Web Service I deploy the Web Service on OC4j 10.0.3 from JDeveloper. This time the deployment was sucessful.(The Deployment fails if I don't follow the step 5.)
    8. Now I generated a Stub from JDeveloper and accessed the stub from a client. It works fine. Here if you see the Stub code it takes java.util.Date as a parameter and returns a java.util.Date. (Mind you I am accepting a java.util.Calendar and returning the same in my Web Service interface. Step 5)
    The confusing thing is the Serialization and Deserialization of Data from Client java data to Soap message and Soap message to Server java data.
    From Client to SOAP :
    java.util.Date to datetime
    From SOAP to Server :
    datetime to java.util.Calendar
    From Server to SOAP :
    java.util.Calendar to datetime
    From SOAP to Client :
    datetime to java.util.Date (I am not able to understand this part of the conversion)
    Any help or inputs would be appreciated.
    Thanks
    Sachin Mathias

  • Error While Deploying A Web Service

    Hello All,
    I am trying to deploy a Web Service however when I am doing so I keeping getting this exception any idea what could be wrong:
    5056bf5661#SAPEngine_Application_Thread[impl:3]_130##0#0#Error#1#/System/Server#Java#deploy_5029##Exception in operation update with application sap.com/reg~equip.#2#update#sap.com/reg~equip#
    #1.5#005056BF5661006E000009A100000F5000043492CC869AC9#1183705008343#com.sap.engine.services.deploy##com.sap.engine.services.deploy#J2EE_ADMIN#93423####0d48d6a02b8e11dcba6b005056bf5661#SAPEngine_Application_Thread[impl:3]_130##0#0#Error#1#/System/Audit#Java###Exception {0}#1#com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception in operation update with application sap.com/reg~equip.
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.rollbackPart(ApplicationTransaction.java:394)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:294)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:326)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3155)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.update(DeployServiceImpl.java:667)
         at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1278)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:309)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:194)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:122)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Cannot deploy application sap.com/reg~equip.
         at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:328)
         at com.sap.engine.services.deploy.server.application.UpdateTransaction.begin(UpdateTransaction.java:164)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)
         ... 13 more
    Caused by: com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices common deployment exception! The reason is: Error occurred, trying to update web services for application sap.com/reg~equip. . Additional info: none
         at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:164)
         at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:118)
         at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:86)
         at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateManager.makeUpdate(WSUpdateManager.java:52)
         at com.sap.engine.services.webservices.server.deploy.WSDeployer.makeUpdate(WSDeployer.java:274)
         at com.sap.engine.services.deploy.server.application.UpdateTransaction.makeComponents(UpdateTransaction.java:400)
         at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:319)
         ... 15 more
    Caused by: com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices deployment exception! The reason is: Error occurred, trying to generate web services deployment files for application sap.com/reg~equip. . The error refers to application: none, jar: {2}, web service: {3}.
         at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.generateDeployFiles(WSUpdateProcessor.java:296)
         at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.deployWebServices(WSUpdateProcessor.java:262)
         at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:155)
         ... 21 more
    Caused by: com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices common deployment exception! The reason is: Error occurred, parsing com.sap.engine.services.webservices.server.deploy.descriptors.sapwebservices.WSDescriptor descriptor, application sap.com/reg~equip, web service EmmServiceWS, location message: type: jar file, location: D:\\usr\\sap\\ERP\\DVEBMGS10\\j2ee\\cluster\\server0\\.\\temp\\deploy\\work\\deploying\\reader1183705000828\\sap.com~reg~equip~ejbmodule.jar . . Additional info: {1}
         at com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseWSDescriptor(WSDefinitionFactory.java:907)
         at com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.loadWebService(WSDefinitionFactory.java:176)
         at com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.loadWebServices(WSDefinitionFactory.java:158)
         at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.generateDeployFiles(WSUpdateProcessor.java:284)
         ... 23 more
    Caused by: com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices common deployment exception! The reason is: Error occurred, trying to parse source type: zip entry, zip file location: D:\\usr\\sap\\ERP\\DVEBMGS10\\j2ee\\cluster\\server0\\.\\temp\\deploy\\work\\deploying\\reader1183705000828\\sap.com~reg~equip~ejbmodule.jar, entry: com/sap/reg/equip/appsrv/emmservice/EmmServiceWSVi.videf . Additional info: {1}
         at com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseVI(WSDefinitionFactory.java:925)
         at com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseWSDescriptor(WSDefinitionFactory.java:817)
         ... 26 more
    Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.XmlUnmarshalException: XML Deserialization Error. XML Node [VirtualInterface.Functions][http://xml.sap.com/2002/10/metamodel/vi] have minOccurs>0 in schema definition but is missing in node [VirtualInterface][http://xml.sap.com/2002/10/metamodel/vi].
         at com.sap.engine.services.webservices.jaxrpc.encoding.GeneratedComplexType._loadInto(GeneratedComplexType.java:1197)
         at com.sap.engine.services.webservices.jaxrpc.encoding.GeneratedComplexType.deserialize(GeneratedComplexType.java:945)
         at com.sap.engine.services.webservices.server.deploy.descriptors.vi.VInterfaceParser.getVInterface(VInterfaceParser.java:46)
         at com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseVI(WSDefinitionFactory.java:920)
         ... 27 more

    Hi,
    Could not diagonise from this stack trace alone. But what doubt is that there is something wrong with cardinality in your web service. Otherwise something may have gone wrong like you mishandling a list or some mismatch like that.
    Regards,
    Srinivasan Subbiah

  • Error - In deploying the web services into axis

    Hello,
    I am working on deploying a webservices into axis. I have an deploy.wsdd file and I have an ant script (build.xml) for deploying that web service into axis (axis is in tomcat). After deploying I can see the services
    [http://localhost:8080/axis/servlet/AxisServlet] at this link. But when I run my web project which uses the deployed service, I am getting an InstatiationException as shown below.
    {color:#ff0000}SEVERE: Remote Connect Failure:
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: java.lang.InstantiationException: myexample.HelloWS
    faultActor:
    faultNode:
    faultDetail:
    {http://xml.apache.org/axis/}hostname:Personal
    java.lang.InstantiationException: myexample.HelloWS
    at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
    at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
    at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
    at org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1403)
    at org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator.java:1550)
    at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1149)
    at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
    at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
    at javax.xml.parsers.SAXParser.parse(Unknown Source)
    at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
    at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
    at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
    at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
    at org.apache.axis.client.Call.invoke(Call.java:2767)
    at org.apache.axis.client.Call.invoke(Call.java:2443)
    at org.apache.axis.client.Call.invoke(Call.java:2366)
    at org.apache.axis.client.Call.invoke(Call.java:1812)
    at mypackage.HelloImpl.getSiteMenu(RDMInterfaceWSSoapBindingStub.java:1589)
    at mypackage.HelloImpl.getSiteMenu(RDMWebserviceImpl.java:443)
    at mypackage.HelloImplServiceClient.getSiteMenu(RDMInterfaceWSServiceClient.java:123)
    at mypackage.ApplicationBean.init(ApplicationBean.java:98)
    at com.sun.rave.web.ui.appbase.servlet.LifecycleListener.attributeAdded(LifecycleListener.java:132)
    at org.apache.catalina.core.ApplicationContext.setAttribute(ApplicationContext.java:777)
    at org.apache.catalina.core.ApplicationContextFacade.setAttribute(ApplicationContextFacade.java:335)
    at com.sun.faces.context.ApplicationMap.put(ExternalContextImpl.java:496)
    at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:287)
    at com.sun.faces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:78)
    at com.sun.rave.web.ui.appbase.faces.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:96)
    at com.sun.faces.el.impl.NamedValue.evaluate(NamedValue.java:125)
    at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:146)
    at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:243)
    at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:173)
    at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154)
    at com.sun.rave.web.ui.component.SelectorBase.getItems(SelectorBase.java:114)
    at com.sun.rave.web.ui.component.ListSelector.getOptions(ListSelector.java:168)
    at com.sun.rave.web.ui.component.ListSelector.getListItems(ListSelector.java:113)
    at com.sun.rave.web.ui.renderer.ListRendererBase.renderList(ListRendererBase.java:363)
    at com.sun.rave.web.ui.renderer.ListRendererBase.renderListComponent(ListRendererBase.java:164)
    at com.sun.rave.web.ui.renderer.DropDownRenderer.encodeEnd(DropDownRenderer.java:73)
    at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:720)
    at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:443)
    at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:233)
    at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
    at com.sun.rave.web.ui.util.RenderingUtilities.renderComponent(RenderingUtilities.java:80)
    at com.sun.rave.web.ui.renderer.AbstractRenderer.encodeChildren(AbstractRenderer.java:194)
    at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
    at com.sun.rave.web.ui.util.RenderingUtilities.renderComponent(RenderingUtilities.java:80)
    at com.sun.rave.web.ui.renderer.AbstractRenderer.encodeChildren(AbstractRenderer.java:194)
    at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
    at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:435)
    at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:233)
    at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
    at javax.faces.webapp.UIComponentTag.encodeChildren(UIComponentTag.java:607)
    at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:544)
    at com.sun.faces.taglib.html_basic.PanelGridTag.doEndTag(PanelGridTag.java:460)
    at org.apache.jsp.Home_jsp._jspx_meth_h_005fpanelGrid_005f0(Home_jsp.java:541)
    at org.apache.jsp.Home_jsp._jspx_meth_ui_005fform_005f0(Home_jsp.java:368)
    at org.apache.jsp.Home_jsp._jspx_meth_ui_005fbody_005f0(Home_jsp.java:329)
    at org.apache.jsp.Home_jsp._jspx_meth_ui_005fhtml_005f0(Home_jsp.java:250)
    at org.apache.jsp.Home_jsp._jspx_meth_ui_005fpage_005f0(Home_jsp.java:223)
    at org.apache.jsp.Home_jsp._jspx_meth_f_005fview_005f0(Home_jsp.java:170)
    at org.apache.jsp.Home_jsp._jspService(Home_jsp.java:138)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
    at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
    at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:311)
    at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Unknown Source){color}
    Please help me how to resolve this problem.
    Thx
    Chaitanya

    Hello,
    I am working on deploying a webservices into axis. I have an deploy.wsdd file and I have an ant script (build.xml) for deploying that web service into axis (axis is in tomcat). After deploying I can see the services
    [http://localhost:8080/axis/servlet/AxisServlet] at this link. But when I run my web project which uses the deployed service, I am getting an InstatiationException as shown below.
    {color:#ff0000}SEVERE: Remote Connect Failure:
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: java.lang.InstantiationException: myexample.HelloWS
    faultActor:
    faultNode:
    faultDetail:
    {http://xml.apache.org/axis/}hostname:Personal
    java.lang.InstantiationException: myexample.HelloWS
    at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
    at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
    at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
    at org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1403)
    at org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator.java:1550)
    at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1149)
    at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
    at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
    at javax.xml.parsers.SAXParser.parse(Unknown Source)
    at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
    at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
    at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
    at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
    at org.apache.axis.client.Call.invoke(Call.java:2767)
    at org.apache.axis.client.Call.invoke(Call.java:2443)
    at org.apache.axis.client.Call.invoke(Call.java:2366)
    at org.apache.axis.client.Call.invoke(Call.java:1812)
    at mypackage.HelloImpl.getSiteMenu(RDMInterfaceWSSoapBindingStub.java:1589)
    at mypackage.HelloImpl.getSiteMenu(RDMWebserviceImpl.java:443)
    at mypackage.HelloImplServiceClient.getSiteMenu(RDMInterfaceWSServiceClient.java:123)
    at mypackage.ApplicationBean.init(ApplicationBean.java:98)
    at com.sun.rave.web.ui.appbase.servlet.LifecycleListener.attributeAdded(LifecycleListener.java:132)
    at org.apache.catalina.core.ApplicationContext.setAttribute(ApplicationContext.java:777)
    at org.apache.catalina.core.ApplicationContextFacade.setAttribute(ApplicationContextFacade.java:335)
    at com.sun.faces.context.ApplicationMap.put(ExternalContextImpl.java:496)
    at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:287)
    at com.sun.faces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:78)
    at com.sun.rave.web.ui.appbase.faces.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:96)
    at com.sun.faces.el.impl.NamedValue.evaluate(NamedValue.java:125)
    at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:146)
    at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:243)
    at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:173)
    at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154)
    at com.sun.rave.web.ui.component.SelectorBase.getItems(SelectorBase.java:114)
    at com.sun.rave.web.ui.component.ListSelector.getOptions(ListSelector.java:168)
    at com.sun.rave.web.ui.component.ListSelector.getListItems(ListSelector.java:113)
    at com.sun.rave.web.ui.renderer.ListRendererBase.renderList(ListRendererBase.java:363)
    at com.sun.rave.web.ui.renderer.ListRendererBase.renderListComponent(ListRendererBase.java:164)
    at com.sun.rave.web.ui.renderer.DropDownRenderer.encodeEnd(DropDownRenderer.java:73)
    at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:720)
    at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:443)
    at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:233)
    at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
    at com.sun.rave.web.ui.util.RenderingUtilities.renderComponent(RenderingUtilities.java:80)
    at com.sun.rave.web.ui.renderer.AbstractRenderer.encodeChildren(AbstractRenderer.java:194)
    at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
    at com.sun.rave.web.ui.util.RenderingUtilities.renderComponent(RenderingUtilities.java:80)
    at com.sun.rave.web.ui.renderer.AbstractRenderer.encodeChildren(AbstractRenderer.java:194)
    at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
    at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:435)
    at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:233)
    at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
    at javax.faces.webapp.UIComponentTag.encodeChildren(UIComponentTag.java:607)
    at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:544)
    at com.sun.faces.taglib.html_basic.PanelGridTag.doEndTag(PanelGridTag.java:460)
    at org.apache.jsp.Home_jsp._jspx_meth_h_005fpanelGrid_005f0(Home_jsp.java:541)
    at org.apache.jsp.Home_jsp._jspx_meth_ui_005fform_005f0(Home_jsp.java:368)
    at org.apache.jsp.Home_jsp._jspx_meth_ui_005fbody_005f0(Home_jsp.java:329)
    at org.apache.jsp.Home_jsp._jspx_meth_ui_005fhtml_005f0(Home_jsp.java:250)
    at org.apache.jsp.Home_jsp._jspx_meth_ui_005fpage_005f0(Home_jsp.java:223)
    at org.apache.jsp.Home_jsp._jspx_meth_f_005fview_005f0(Home_jsp.java:170)
    at org.apache.jsp.Home_jsp._jspService(Home_jsp.java:138)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
    at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
    at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:311)
    at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Unknown Source){color}
    Please help me how to resolve this problem.
    Thx
    Chaitanya

  • Error in Deploying the web service process

    Hi all,
    I will working on web service process in ebs server. In this server i had executed the web service process successfully.
    After Restarting my ebs server i checked again the web service process , but it throws following error running the "Asant deploy-war" command.
    Error is :
    The following error occurred while executing this line:
    /p01/oracle/pixcomn/java/oracle/apps/webservice/j2eetutorial15/examples/common/targets.xml:56:
    An exception occurred while running the command. The exception message is: CLI171 Command deploy failed :
    Application hello-jaxrpc is already deployed on other targets. Please use create-application-ref command to create reference to the specified target;
    requested operation cannot be completed.
    Please help how to solve this web service issue.
    Thanks
    Prabu

    Hi Hussein,
    I checked the Server log , i got the followinf log file.
    [#|2012-02-03T13:11:34.993+0530|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=10;|WEB0200: Configuration error in web module [hello-jaxrpc] (while initializing virtual server [server])
    com.sun.enterprise.config.ConfigException: I/O error while loading deployment descriptor for: hello-jaxrpc
    cause: The archive null does not contain deployment descriptor file WEB-INF/web.xml
         at com.sun.enterprise.instance.WebModulesManager.getDescriptor(WebModulesManager.java:398)
         at com.sun.enterprise.instance.WebModulesManager.getDescriptor(WebModulesManager.java:343)
         at com.sun.enterprise.web.VirtualServer.loadWebModuleConfig(VirtualServer.java:518)
         at com.sun.enterprise.web.VirtualServer.getWebModules(VirtualServer.java:365)
         at com.sun.enterprise.web.WebContainer.loadWebModules(WebContainer.java:837)
         at com.sun.enterprise.web.WebContainer.start(WebContainer.java:722)
         at com.sun.enterprise.web.PEWebContainer.startInstance(PEWebContainer.java:515)
         at com.sun.enterprise.web.PEWebContainerLifecycle.onStartup(PEWebContainerLifecycle.java:54)
         at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)
         at com.sun.enterprise.server.PEMain.run(PEMain.java:294)
         at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
    Caused by: java.io.IOException: The archive null does not contain deployment descriptor file WEB-INF/web.xml
         at com.sun.enterprise.deployment.archivist.Archivist.readStandardDeploymentDescriptor(Archivist.java:233)
         at com.sun.enterprise.deployment.archivist.Archivist.readDeploymentDescriptors(Archivist.java:195)
         at com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:131)
         at com.sun.enterprise.deployment.archivist.ApplicationArchivist.openArchive(ApplicationArchivist.java:673)
         at com.sun.enterprise.instance.WebModulesManager.getDescriptor(WebModulesManager.java:387)
    Thanks
    Prabu

  • Error in deploying a web service from jdeveloper 10 to weblogic 10

    hi , I succeed to create connexiion to weblogic 10 from jdeveloper 10 but in deploying my service i have this Exception:
    ---- Deployment started. ---- 1 mai 2009 09:21:45
    Target platform is WebLogic Server 9.x (webAppli).
    Checking weblogic.xml for completeness...
    Wrote WAR file to D:\jdevstudio10134\jdev\mywork\Soustraction\SoustarctionWS\deploy\WebServices.war
    Wrote EAR file to D:\jdevstudio10134\jdev\mywork\Soustraction\SoustarctionWS\deploy\Soustraction-SoustarctionWS-WS.ear
    D:\jdevstudio10134\jdk\jre\bin\javaw.exe -classpath C:\bea\wlserver_10.3\server\lib\wlclient.jar weblogic.Deployer -adminurl http://aymen:7001 -user weblogic -password **** -debug -verbose -deploy -upload -source D:\jdevstudio10134\jdev\mywork\Soustraction\SoustarctionWS\deploy\Soustraction-SoustarctionWS-WS.ear -name Soustraction-SoustarctionWS-WS
    weblogic.Deployer invoked with options: -adminurl http://aymen:7001 -user weblogic -debug -verbose -deploy -upload -source D:\jdevstudio10134\jdev\mywork\Soustraction\SoustarctionWS\deploy\Soustraction-SoustarctionWS-WS.ear -name Soustraction-SoustarctionWS-WS
    WebLogicDeploymentManagerImpl.<init>():103 : Constructing DeploymentManager for J2EE version V1_4 deployments
    WebLogicDeploymentManagerImpl.getNewConnection():146 : Connecting to admin server at aymen:7001, as user weblogic
    ServerConnectionImpl.getEnvironment():282 : setting environment
    ServerConnectionImpl.getEnvironment():285 : getting context using http://aymen:7001
    ServerConnectionImpl.close():328 : Closing DM connection
    ServerConnectionImpl.close():348 : Unregistered all listeners
    weblogic.deploy.api.tools.deployer.DeployerException: Unable to connect to 'http://aymen:7001': Destination unreachable; nested exception is:
    java.net.ProtocolException: Tunneling result unspecified - is the HTTP server at host: 'aymen' and port: '7001' a WebLogic Server?; No available router to destination. Ensure the url represents a running admin server and that the credentials are correct. If using http protocol, tunneling must be enabled on the admin server.
    at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:306)
    at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:143)
    at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:93)
    at weblogic.utils.compiler.Tool.run(Tool.java:158)
    at weblogic.utils.compiler.Tool.run(Tool.java:115)
    at weblogic.Deployer.run(Deployer.java:70)
    at weblogic.Deployer.main(Deployer.java:54)
    Caused by: javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException
    at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:121)
    at weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:84)
    at weblogic.deploy.api.tools.SessionHelper.getRemoteDeploymentManager(SessionHelper.java:425)
    at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:287)
    ... 6 more
    Caused by: weblogic.deploy.api.spi.exceptions.ServerConnectionException
    at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:142)
    at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.getNewConnection(WebLogicDeploymentManagerImpl.java:148)
    at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:118)
    ... 9 more
    Caused by: javax.naming.CommunicationException [Root exception is java.net.ConnectException: http://aymen:7001: Destination unreachable; nested exception is:
    java.net.ProtocolException: Tunneling result unspecified - is the HTTP server at host: 'aymen' and port: '7001' a WebLogic Server?; No available router to destination]
    at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:48)
    at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:739)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:343)
    at weblogic.jndi.Environment.getContext(Environment.java:263)
    at weblogic.jndi.Environment.getInitialContext(Environment.java:167)
    at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getContext(ServerConnectionImpl.java:324)
    at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getEnvironment(ServerConnectionImpl.java:296)
    at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:140)
    ... 11 more
    Caused by: java.net.ConnectException: http://aymen:7001: Destination unreachable; nested exception is:
    java.net.ProtocolException: Tunneling result unspecified - is the HTTP server at host: 'aymen' and port: '7001' a WebLogic Server?; No available router to destination
    at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:199)
    at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:137)
    at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextFactoryDelegate.java:324)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:319)
    ... 16 more
    Caused by: java.rmi.ConnectException: Destination unreachable; nested exception is:
    java.net.ProtocolException: Tunneling result unspecified - is the HTTP server at host: 'aymen' and port: '7001' a WebLogic Server?; No available router to destination
    at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:465)
    at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:316)
    at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:255)
    at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:199)
    at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:220)
    at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:187)
    ... 21 more
    **** weblogic.deploy returned with non-zero exit status: 1
    **** weblogic.deploy returned with non-zero exit status: 1
    Elapsed time for deployment: 2 seconds
    #### Deployment incomplete. #### 1 mai 2009 09:21:47
    please someone help me.
    thank you
    aymen

    Hi Wenhao,
    I did face something similar ....but when i tried it again...it worked..
    In case it does not then before u try to start the procedure to dwnld the Enterprise service wsdl....
    uncheck the wsdl validator check box in NWDS...
    I suggest u first try to consume the wsdl by importing it locally...
    just follow this blog by Boris step by step..
    /people/boris.mohr/blog/2007/01/23/how-to-guide-for-consuming-a-web-service-with-a-standalone-client-using-sap-netweaver-application-server-javatm-ee-5-edition
    Once u r able to do this..then u can try to consume it from service registry
    Edited by: Mohd Tauseef Ibrahim on Jun 26, 2008 2:28 PM
    Edited by: Mohd Tauseef Ibrahim on Jun 26, 2008 2:30 PM

  • Getting a compilation error when deploying a web service to OC4J.

    The following are the error that I got from Oracle AS server console:
    [Feb 5, 2007 11:31:14 AM] Application Deployer for edsssaws STARTS.
    [Feb 5, 2007 11:31:14 AM] Copy the archive to D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws.ear
    [Feb 5, 2007 11:31:14 AM] Initialize D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws.ear begins...
    [Feb 5, 2007 11:31:14 AM] Unpacking edsssaws.ear
    [Feb 5, 2007 11:31:14 AM] Done unpacking edsssaws.ear
    [Feb 5, 2007 11:31:14 AM] Unpacking edsssaws-web.war
    [Feb 5, 2007 11:31:16 AM] Done unpacking edsssaws-web.war
    [Feb 5, 2007 11:31:16 AM] Initialize D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws.ear ends...
    [Feb 5, 2007 11:31:16 AM] Starting application : edsssaws
    [Feb 5, 2007 11:31:16 AM] Initializing ClassLoader(s)
    [Feb 5, 2007 11:31:16 AM] Initializing EJB container
    [Feb 5, 2007 11:31:16 AM] Loading connector(s)
    [Feb 5, 2007 11:31:16 AM] Starting up resource adapters
    [Feb 5, 2007 11:31:16 AM] Initializing EJB sessions
    [Feb 5, 2007 11:31:16 AM] Committing ClassLoader(s)
    [Feb 5, 2007 11:31:16 AM] Initialize edsssaws-web begins...
    [Feb 5, 2007 11:31:16 AM] Initialize edsssaws-web ends...
    [Feb 5, 2007 11:31:16 AM] Started application : edsssaws
    [Feb 5, 2007 11:31:16 AM] Binding web application(s) to site default-web-site begins...
    [Feb 5, 2007 11:31:16 AM] Binding edsssaws-web web-module for application edsssaws to site default-web-site under context root edsssaws
    [Feb 5, 2007 11:31:35 AM] Operation failed with error: Error compiling :D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws\edsssaws-web: compilation error occurred
    I don't have any problem to build the webservice using oracle:assemble command in ant script, nor compilation error in the build time.
    The error log shows as the following:
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2007-02-05T11:31:35.392-06:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>oc4j</COMPONENT_ID>
    <MSG_TYPE TYPE="TRACE"></MSG_TYPE>
    <MSG_LEVEL>16</MSG_LEVEL>
    <HOST_ID>w2gzfdx801</HOST_ID>
    <HOST_NWADDR>148.94.36.32</HOST_NWADDR>
    <MODULE_ID>admin.jmx.client.EventManager</MODULE_ID>
    <THREAD_ID>26</THREAD_ID>
    <USER_ID>SYSTEM</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>148.94.36.32:33615:1170696695392:16</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>1 events to be dispatched for: oracle.oc4j.admin.management.mejb.MEjb@a8c31b and domain: oc4j-w2gzfdx801.amer.corp.eds.com-12401-default</MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2007-02-05T11:31:35.392-06:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>oc4j</COMPONENT_ID>
    <MSG_TYPE TYPE="TRACE"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>w2gzfdx801</HOST_ID>
    <HOST_NWADDR>148.94.36.32</HOST_NWADDR>
    <MODULE_ID>admin.jmx.client.CoreRemoteMBeanServer</MODULE_ID>
    <THREAD_ID>26</THREAD_ID>
    <USER_ID>SYSTEM</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>148.94.36.32:33615:1170696695392:16</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>Dispatching event type: deploy.edsssaws and message: Application Deployer for edsssaws FAILED. to listener with id: 0 on MBeanServer proxy: oracle.oc4j.admin.management.mejb.MEjb@a8c31b</MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2007-02-05T11:31:35.392-06:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>oc4j</COMPONENT_ID>
    <MSG_TYPE TYPE="ERROR"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>w2gzfdx801</HOST_ID>
    <HOST_NWADDR>148.94.36.32</HOST_NWADDR>
    <MODULE_ID>admin.deploy.spi.status.ProgressObjectImpl</MODULE_ID>
    <THREAD_ID>26</THREAD_ID>
    <USER_ID>SYSTEM</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>148.94.36.32:33615:1170696695392:16</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>java.lang.InstantiationException: Error compiling :D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws\edsssaws-web: compilation error occurred</MSG_TEXT>
    <SUPPL_DETAIL><![CDATA[oracle.oc4j.admin.jmx.shared.exceptions.InternalException: java.lang.InstantiationException: Error compiling  :D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws\edsssaws-web: compilation error occurred
         at oracle.oc4j.admin.jmx.shared.deploy.NotificationUserData.<init>(NotificationUserData.java:107)
         at oracle.oc4j.admin.internal.Notifier.reportError(Notifier.java:429)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:123)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:819)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: oracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: Error compiling  :D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws\edsssaws-web: compilation error occurred
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:214)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:96)
         at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:541)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:197)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
         ... 4 more
    Caused by: java.lang.InstantiationException: Error compiling  :D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws\edsssaws-web: compilation error occurred
         at com.evermind.server.http.WrapperClassGenerator.generateWebServiceArts(WrapperClassGenerator.java:98)
         at com.evermind.server.http.HttpApplication.generateWebServiceArtifacts(HttpApplication.java:8403)
         at com.evermind.server.http.HttpApplication.populateLoaderWithWebServicesDeploymentCache(HttpApplication.java:5465)
         at com.evermind.server.http.HttpApplication.populateLoader(HttpApplication.java:5394)
         at com.evermind.server.http.HttpApplication.initClassLoader(HttpApplication.java:5333)
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:645)
         at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:428)
         at com.evermind.server.Application.getHttpApplication(Application.java:512)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1975)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1894)
         at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1591)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:206)
         ... 8 more
    ]]></SUPPL_DETAIL>
    </PAYLOAD>
    </MESSAGE>
    Any idea why it happened?
    Thanks,
    Jason

    Hello,
    I do not see why you have this error, is it the only log entry that you have? Anything in the application.log?
    Can you send me the ear? tugdual [dot] grall [at] oracle [dot] com
    Regards
    Tugdual Grall

  • Deploy web service on 9iAS

    I have gone through the tutorial of creating a web service based on PL/SQL code. This all worked fine on my local machine, but now i would like to deploy a web service on a 9iAS application server.
    I have managed to create a connection to 9iAS. When i want to deploy the web service i get the messages :
    C:\jdev\jdk\jre\bin\javaw.exe -jar C:\jdev\j2ee\home\admin.jar
    ormi://ifawagont014s.minlnv.agro.nl:3110/ admin **** -deploy
    -file C:\apps\pcd\PCDWebService\pcd-PCDWebService-WS.ear -deploymentName pcd-PCDWebService-WS
    Error: javax.naming.NamingException:
    Lookup error: javax.naming.NoPermissionException: This operation was denied.
    The admin.jar utility can not be used to perform operations against OPMN managed OC4J instnaces.
    Please use Enterprise Manager or dcmctl instead.
    Refer to the Oracle9iAS Admin Guide or the OC4J User's Guide for more details.;
    nested exception is:
         javax.naming.NoPermissionException: This operation was denied. The admin.jar utility can not be used to perform operations against OPMN managed OC4J instnaces. Please use Enterprise Manager or dcmctl instead. Refer to the Oracle9iAS Admin Guide or the OC4J User's Guide for more details.
    Exit status of OC4J admin tool (-deploy): 1
    Elapsed time for deployment: 7 seconds
    #### Deployment incomplete. #### 21-feb-03 16:15:26
    Apparently i don't have enough privileges to register the web service?
    So i move to Enterprise Manager. I generate a WAR-file and deploy this WAR-file on 9iAS in the OC4J_HOME instance.
    When i test the web service by calling the WSDL file using :
    ttp://ifawagont014s.minlnv.agro.nl:7777/pcd-PCDWebService-context-root/pcdws.PostcodeWebService
    the respons is :
    pcdws.Postcode WebService
    Sorry, I don't speak via HTTP GET- you have to use HTTP POST to talk to me.
    Servlet Path: /pcdws.PostcodeWebService
    QueryString Info: null
    I think the webserver can find something, but it isn't quite right!
    Who can help me?
    Regards, Dick Dral

    Actually, it sounds like your deployment worked fine ... the message:
    "Sorry, I don't speak via HTTP GET- you have to use HTTP POST to talk to me."
    is the message that comes up in Oracle9iAS 9.0.2 at a Web service endpoint. Add a ?WSDL to the URL and you should get the WSDL for the Web service. Add a ?proxy_source to the URL and you should be able to download a client to the Web service.
    Check out this tutorial at step 24 (http://otn.oracle.com/tech/webservices/htdocs/series/plsql/content.html) and you will see how the endpoint URL generates a more satisfying Web service home page in Oracle9iAS 9.0.3 versus the cryptic, but valid message in 9.0.2.
    As for your deployment, the use of admin.jar for deployment only works on stand-alone OC4J's versus real full installations of Oracle9iAS - this is why the Enterprise Manager interface you used worked but the admin.jar did not. There is also a command line interface for Oracle9iAS called DCM which you can read about at:
    http://download-west.oracle.com/docs/cd/A97329_03/core.902/a92171/dcm.htm#620714
    that gives similar functionality. The reason that admin.jar does not work is that DCM and OEM solve a bigger problem in that they also support deployment to and configuration of a clustered environment so have that extra functionality built in.
    Hope this answers your questions and gets you going.
    Mike.

  • Error while invoking a Web service deployed on OC4J from Oracle BPEL

    Hi,
    I had created a web service from a simple java class using JDeveloper and deployed that on OC4J which had emmited a wsdl for the web service. On the same AS my BPEL processing is deployed in which i had created a partner link by using 1st option (i.e Browse WSDL files from local file system) and invoking the published method of the java class.I am expecting that the method of the class which is deployed as web service will be executed and i will get the return of the method as the response of the invoke activity , but i am getting this error :
    <remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
    <part name="summary">
    <summary>when invoking locally the endpoint 'http://localhost:8080/MyIM-JavaCustomerFactory-context-root/JavaCustFactory', ; nested exception is: ORABPEL-02052 Cannot lookup BPEL domain. The BPEL domain "JavaCustFactory" cannot be found; the domain may not have initialized properly. Please verify that the BPEL domain loader has a valid set of initialization properties in the application properties file.</summary>
    </part>
    <part name="detail">
    <detail>ORABPEL-02052 Cannot lookup BPEL domain. The BPEL domain "JavaCustFactory" cannot be found; the domain may not have initialized properly. Please verify that the BPEL domain loader has a valid set of initialization properties in the application properties file.</detail>
    </part>
    </remoteFault>
    It seems that the Invoke activity is not able to get the WebService and it is asking for some settings , if any clue regarding this pls reply.
    I can also give the wsdl also.
    mail me at [email protected]

    Hi,
    Thanx it is working now.
    BTW can you give me some urls with info of this kind of setting which i need to do for other kind of integarions in J2EE platform.Sorry if i am asking too much as i am a starter in this technology.

  • Compilation Error while trying to Deploy my Web Service

    My main problem right now is that I can build my classes without error but when it is time to deploy the web service with Jdeveloper I am getting a compilation error without to get info about what is the error itself:
    Started application : RTAService-RTAService-WS
    Binding web application(s) to site default-web-site begins...
    Binding WebServices web-module for application RTAService-RTAService-WS to site default-web-site under context root RTAService-RTAService-context-root
    Operation failed with error:
    Error compiling :C:\Stephane\Jdeveloper\jdevstudio10131\j2ee\home\applications\RTAService-RTAService-WS\WebServices: compilation error occurred
    I don’t know where to look at for this issue. I don't get information about what compilation error it is.
    I am using the embedded oc4J application server coming with Jdeveloper Studio Edition 10.1.3.1.0_NT_0610009.1404.3984.
    I was able with the same configuration to deploy a very simple Web Service you have in your tutorials named GetDates
    This is the Class I try to deploy has a web service:
    package rtaservice;
    import javax.jws.WebService;
    @WebService(serviceName = "RTAWebService")
    public class RTAWebService {
    public RTAWebService() {
    public TransactionResult Process(Transaction Trans) {
    TransactionResult TransResult;
    TransResult = new TransactionResult();
    TransResult.Account_type ="";
    TransResult.Address_Line1 ="";
    TransResult.Amount ="";
    TransResult.Approval_Cd ="";
    TransResult.Approval_Cd_returned ="";
    TransResult.Approved ="";
    TransResult.Avs_Response_C ="";
    TransResult.Avs_Response_M ="";
    TransResult.BCFerries_Error_description ="";
    TransResult.BCFerries_Processing_Mode =true;
    TransResult.BCFerries_Resp_Code ="";
    TransResult.BCFerries_Trans_approved =true;
    TransResult.CardType ="";
    TransResult.CVV_Code ="";
    TransResult.CVV_response ="";
    TransResult.DateTime ="";
    TransResult.Display_Msg ="";
    TransResult.ExtendedOPId ="";
    TransResult.ID_Seq_Number ="";
    TransResult.Invoice_num ="";
    TransResult.Invoice_num_returned ="";
    TransResult.ISOResponseCode ="";
    TransResult.OperatorID ="";
    TransResult.OperatorLanguage ="";
    TransResult.OperatorMessage ="";
    TransResult.Receipt_Msg ="";
    TransResult.Receipt_Msg_Account ="";
    TransResult.ReceiptRefNum ="";
    TransResult.Response_Code ="";
    TransResult.RFU1 ="";
    TransResult.RFU2 ="";
    TransResult.Statement_Desc ="";
    TransResult.Term_ID ="";
    TransResult.Term_ID_Group ="";
    TransResult.Track2_Acc ="";
    TransResult.Trans_Code ="";
    TransResult.Transaction_Handle ="";
    TransResult.TransactionCounter ="";
    TransResult.TransactionHandle ="";
    TransResult.Zip ="";
    TransResult.Account_type_returned ="";
    return TransResult;
    There are 2 others classes to define the objects Transaction and Transaction Result
    package rtaservice;
    public class Transaction {
    public Transaction() {
    // Eigen parameters
    public String Invoice_num; // format AA XXXXXXXX with AA application name and XXXXXXXX unique invoice num
    public String Term_ID; // should be the merchant ID
    public String Term_ID_Group; // not used
    public String Trans_Code; // should be all the time 27 right now
    public String Track2_Acc; // ! there is a specific format to respect here
    // Track2_Acc contains the data as read by a card reader from track 2 starting by ;
    // for manually entered card the format is M<Credit card number>=<Expiry Date(YYMM)>0?
    public String Amount; // in Cents
    public String Approval_Cd;
    public String DateTime; // format is YYYYMMDDHHMMSS
    public String OperatorID; // Optional
    public String ExtendedOPId; // Optional
    public String OperatorLanguage; // Optional
    public String Account_type; // not use for now
    public String Statement_Desc; // not use for now
    public String CVV_Code;
    public String Address_Line1; // Optional
    public String Zip; // Optional
    public String TransactionHandle; // Optional
    // additional parameters for future use
    public String RFU1; // Reserved for future use
    public String RFU2; // Reserved for future use
    package rtaservice;
    public class TransactionResult extends Transaction {
    public TransactionResult() {
    public String BCFerries_Resp_Code;
    public String BCFerries_Error_description;
    public Boolean BCFerries_Trans_approved;
    public Boolean BCFerries_Processing_Mode;
    // Eigen parameters
    public String ID_Seq_Number;
    public String Display_Msg; // Optional
    public String Receipt_Msg; // Optional
    public String Response_Code;
    public String Approval_Cd_returned; // Optional
    public String ISOResponseCode;
    public String ReceiptRefNum;
    public String TransactionCounter;
    public String Approved;
    public String OperatorMessage;
    public String Receipt_Msg_Action; // Optional
    public String Receipt_Msg_Account;
    public String CardType;
    public String Invoice_num_returned; // Optional
    public String Account_type_returned;
    public String CVV_response;
    public String Avs_Response_C;
    public String Avs_Response_M;
    public String Transaction_Handle; // Optional
    Thanks for your time

    Hi mythri.
    Did you find a way out of this error? Could you share the solution with me? Because I am facing a problem that looks just like the one you had.
    Thanks in advance.
    Renan

  • Deploying a web service to WebLogic 7 - error with RemoteDispatcherBean

    Hi there,
    I have just created a web service through WebLogic Workshop. The web service can be tested through the workshop and it works fine
    I am trying now to deploy it to a development server, and I am having the following error:
    preparing application <appName> on mope
    Exception caught for task Activate application <appName> on mope: Prepare failed. Task Id = 1
    Module, AP_NotificationEJB.jar, reported error: Exception preparing module: EJBModule(AP_NotificationEJB.jar,status=NEW)
    Unable to deploy EJB: C:\bea\<deploymentPath>\.wlnotdelete\<appName>\AP_NotificationEJB.jar from AP_NotificationEJB.jar:
    weblogic.ejb20.deployer.DeploymentDescriptorException: Unable to load a class specified in your ejb-jar.xml: weblogic.knex.bean.RemoteDispatcherBean
         at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeBeanInfos(MBeanDeploymentInfoImpl.java:440)
         at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymentInfoImpl.java:165)
         at weblogic.ejb20.deployer.EJBDeployer.setupBeanInfo(EJBDeployer.java:965)
         at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1276)
         at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:235)
         at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:1742)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:745)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:559)
         at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:1116)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:784)
         at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:24)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:251)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:219)
    Looking inside the EAR I generated (using jwsCompile), I can find several classes RemoteDispatchBean_bu6zup_....class but no RemoteDispatchBean.class file anywhere
    Am I doing anything wrong to generate the EAR file? Anything fancy I need to include to my jws file or any descriptor?
    Any idea or suggestion would be much appreciated
    Thank you,
    Miguel

    We have found a work around for that specific problem.
    We have included the whole knex library within our libs folder. Now we can deploy the Web services as a web application to the webLogic, The deployment returns successful, but any time we initiate the server, there is another ClassNotFoundException. This time the missing class is weblogic.knex.bean.DeploymentListener.
    The strange thing is that that specific class is part of the knex.jar library we have included within our libs folder ...
    It seems that the folder is not read from the server when starting, but it is read when executing the application.
    Any suggestion to this nonsense?
    Thanks,
    Miguel

  • Error when running the Web Services java client file

    Hi,
    I am working on web services with 9iAS.
    I am using the StatelessExample file included during installation.
    The ear file was created and the application was deployed using OEM Web.
    But when I try to execute the client java file StatelessClient. I get an error. The error is something about content type.
    The error message is pasted below.
    And also how do I run the web service on the browser.
    Please help.
    regards
    Kamlesh
    D:\ora9ias_portal\j2ee\home\demo\web_services\java_services\client>java -classpa
    th .;StatelessExample_proxy.jar;%CLASSPATH%; StatelessClient
    Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsu
    pported response content type &quot;text/html&quot;, must be: &quot;text/xml&quo
    t;. Response was:
    &lt;HTML&gt;&lt;HEAD&gt;&lt;TITLE&gt;500 Internal Server Error&lt;/TITLE&gt;&lt;
    /HEAD&gt;&lt;BODY&gt;&lt;H1&gt;500 Internal Server Error&lt;/H1&gt;&lt;PRE&gt;or
    acle.j2ee.xanadu.JasperGenerationError: no source generated during code generati
    on!: 1 in getFile name: oracle\j2ee\ws_example\StatelessExample.class
    &lt;br&gt;1 in getFile name: oracle\j2ee\ws_example\StatelessExample.java
    &lt;br&gt;error: error message &apos;class.format&apos; not found&lt;br&gt;binar
    y class definition not found: oracle.j2ee.ws_example.StatelessExample
    &lt;br&gt;
    &lt;br&gt;      at oracle.j2ee.ws.JavaWrapperGenerator.generate(JavaWrapperGener
    ator.java:267)
    &lt;br&gt;      at oracle.j2ee.ws.RpcWebService.generateWrapperClass(RpcWebServi
    ce.java:662)
    &lt;br&gt;      at oracle.j2ee.ws.RpcWebService.generate(RpcWebService.java:436)
    &lt;br&gt;      at oracle.j2ee.ws.RpcWebService.getWrapper(RpcWebService.java:76
    7)
    &lt;br&gt;      at oracle.j2ee.ws.RpcWebService.doPost(RpcWebService.java:309)
    &lt;br&gt;      at javax.servlet.http.HttpServlet.service(HttpServlet.java:283)
    &lt;br&gt;      at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
    &lt;br&gt;      at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].serv
    er.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
    &lt;br&gt; at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java
    :283)
    &lt;br&gt; at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].serv
    er.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
    &lt;br&gt; at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].serv
    er.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:2
    69)
    &lt;br&gt; at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].serv
    er.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
    &lt;br&gt; at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].serv
    er.http.AJPRequestHandler.run(AJPRequestHandler.java:151)
    &lt;br&gt; at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].util
    .ThreadPoolThread.run(ThreadPoolThread.java:64)
    &lt;br&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;
    at org.apache.soap.rpc.Call.getEnvelopeString(Call.java:201)
    at org.apache.soap.rpc.Call.invoke(Call.java:260)
    at oracle.j2ee.ws_example.proxy.StatelessExampleProxy.makeSOAPCallRPC(St
    atelessExampleProxy.java:51)
    at oracle.j2ee.ws_example.proxy.StatelessExampleProxy.helloWorld(Statele
    ssExampleProxy.java:35)
    at StatelessClient.main(StatelessClient.java:8)

    If you are getting this error, then you are most likely compiling your code with a different JVM than what is shipped with the application server. Oracle9iAS Release 2 (9.0.2) uses the JDK1.3.1. I got this error when I compiled the code with JDK1.4.0_01.

  • Error While Deploying A Web Dynpro Appln thru NWDS

    HI,
    I am getting an error while deploying a Web Dynpro Application through NWDS.Following is the Exception
    Aborted: development component '<ComponentName>'/'local'/'LOKAL'/'0.2006.07.26.15.06.05':Caught exception while checking the login credentials for SAP J2EE Engine. Check whether the SAP J2EE Engine is up and running.com.sap.engine.deploy.manager.DeployManagerException: ERROR: Cannot connect to Host: [sapsbx28] with user name: [J2EE_ADMIN] Check your login information. Exception is: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.services.security.exceptions.BaseLoginException: Cannot authenticate the user.] (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMEXC)
    When i give a request for deployment it asks for the SDM password. I enter a valid SDM pwd. If i enter  a invalid SDM pwd i get  some other exception. So the pwd SDM entered by me is correct.
    can any one help me in solving this
    regards
    Nilesh Taunk

    Hi Nilesh,
           Try opening Visual Admin if your not able to login with username(administrator) and password. Problem with NWD2004s do the following steps.
    C:\usr\sap\J2E\JC01\j2ee\configtool->configtool.bat->open it
    1. Click on Secure store
    2. Right you will find :
    admin/password/J2E->retype your admin passowrd which you gave during installation=>SAVE properly
    Restart the server and try login visual admin
           Deploy now...Other wise see this thread same error solved:
    Re: An Deploy Problem about Credentials.
    Regards
    Suresh

  • How to deploy a web service on Oracle Application Server 10.1.2.0.2?

    Hi everyone,
    I followed the instructions of the following link to create a web service using jDeveloper 10.1.3.1.0 on Oracle Application Server 10.1.2.0.2. [http://st-curriculum.oracle.com/obe/jdev/obe1013jdev/10131/devdepandmanagingws/devdepandmanagingws.htm#t1]
    The web service created was deployed & used with no errors on the standalone OC4J instance.
    But my goal is to deploy my web service on Oracle Application Server 10.1.2.0.2.
    So after several attempts, I was able to deploy it on the Oracle Application Server 10.1.2.0.2 but unfortunately I didn't know the URL needed to use the web service.
    I tried the following link (http://192.168.0.91:18100/JavaWebService-GetDates-context-root/GetDatesWSSoapHttpPort) but also didn't work :(
    I also tried converting to J2EE 1.3 and still not knowing how to access the web service.
    Please advice with a solution.
    Thanks in advance.
    Lana

    Thanks everyone for your help :)
    The problem turned out to be that Oracle application server 10.1.2 is unlike the others servers, it uses 2 ports:
    - port (19100) is dedicated for the console.
    - port (7779) is to view your applications.
    So the URL needed turned out to be "http://acteos-109.beirut.acteos:7779/beanTest" instead of "http://acteos-109.beirut.acteos:18100/beanTest"
    Hope this info is useful
    Lana

  • Error while executing Test Web Service

    Hi,
    I get an error while trying to test the web service deployed on Weblogic 10.3.1 through jdeveloper 11.1.1.1.0.
    This simple web service is created by following the example in http://www.oracle.com/technology/products/jdev/11/cuecards111/j2ee_set_16/ccset16_ALL.html
    After deploying the web service, the Test Web service Event in the Enterpise manager results in error. The error is as follows : -
    The selected operation processRating could not be invoked.
    An exception occured while invoking the webservice operation. Please see logs for more details.
    oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: oracle.fabric.common.PolicyEnforcementException
    +     java.lang.Exception: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: oracle.fabric.common.PolicyEnforcementException at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:570) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:381) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:298) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.el.parser.AstValue.invoke(AstValue.java:157) at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283) at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53) at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1245) at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run+…………………………..
    Has anyone encountered this error ?
    Thanks.

    HI,
    RFc is not called becuase:
    1. we tried RFC debuggin with proper user. it never stopped at break point.
    2. TCODE: sxmb_moni in PI did not show any entry for incoming messages.
    The import bindings are proper. We tried using .execute(1) , nothing happened.
    We are able execute freely avaliable Web service but not the one exposed from PI.
    Hence we feel their is problem between PDF and PI itself.
    The user we put in the pop up is SERVICE USER. The PI consultant uses the same user and is able to execute but from PDF we are not able to execute.
    We also tried with a DIALOG USER with same roles and authhorizations as the SERVICE USER. BUt still it did not execute.
    Thanks and Regards,
    Aditya Deshpande
    Edited by: Aditya Deshpande on Nov 16, 2009 1:00 PM

Maybe you are looking for