Skip to Content
avatar image
Former Member

Exception when deploy my "HelloWorld" App in NWDS 7.1

can anyone help me , I'm trapped!

i have configured a runtime server in the Preferences under "SAP AS Java"(AS 7.1)

Details: com.sap.tc.webdynpro.services.sal.core.DispatcherException: The requested deployable object 'demo.sap.com/mydynpro' is not deployed on the server. Please check the used URL for typos.

at com.sap.tc.webdynpro.clientserver.task.Task.getDeployableObject(Task.java:364)

at com.sap.tc.webdynpro.clientserver.session.RequestManager.initApplicationDeployableObjectPart(RequestManager.java:539)

at com.sap.tc.webdynpro.clientserver.session.RequestManager.initTask(RequestManager.java:477)

at com.sap.tc.webdynpro.clientserver.session.RequestManager.doInitWdEnvironment(RequestManager.java:150)

at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:205)

at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToRequestManager(AbstractExecutionContextDispatcher.java:205)

at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForRequestManager.doService(DispatchHandlerForRequestManager.java:38)

at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.AbstractDispatchHandler.service(AbstractDispatchHandler.java:116)

at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:93)

at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.ExecutionContextDispatcher.dispatchToRequestManager(ExecutionContextDispatcher.java:140)

at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:93)

at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:105)

at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doContent(AbstractDispatcherServlet.java:87)

at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doGet(AbstractDispatcherServlet.java:54)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:66)

at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:32)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:431)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:289)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:376)

at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:85)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)

at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:160)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)

at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:67)

at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)

at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)

at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)

at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)

at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)

at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:309)

at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.run(Processor.java:222)

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:152)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:247)

Caused by: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to create deployable object 'demo.sap.com/mydynpro' since it is not a Web Dynpro object.

at com.sap.tc.webdynpro.serverimpl.wdc.deployment.DeployableObjectFactory.getDeployableObject(DeployableObjectFactory.java:87)

at com.sap.tc.webdynpro.services.sal.deployment.core.DeployableObjectInternal.getDeployableObjectInternal(DeployableObjectInternal.java:37)

at com.sap.tc.webdynpro.clientserver.task.Task.getDeployableObject(Task.java:362)

... 43 more

Caused by: com.sap.tc.webdynpro.spi.WebDynproRuntimeException: No Web Dynpro application (deployable object) with name demo.sap.com/mydynpro exists.

at com.sap.engine.services.webdynpro.WebDynproRuntimeServiceImpl.getDeployableObject(WebDynproRuntimeServiceImpl.java:254)

at com.sap.tc.webdynpro.serverimpl.wdc.deployment.DeployableObjectFactory.getDeployableObject(DeployableObjectFactory.java:85)

... 45 more

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Dec 07, 2009 at 06:13 AM

    Hi Sam,

    As you need to deploy your test application developed in NWDS 7.1 on Portal Server, follow the given steps:

    1. Delete all configurations for Windows>Preferences>SAP Enterprise Portal

    2. Goto Windows>Preferences>SAP J2EE Engine and enter

    Message Server Host

    Message Server Port

    3. Check the status for J2EE Engine is all green for Dispatcher, SDM and Server

    4. Build and deploy your application. It will promp you for username and password

    5. Enter Username and Password.

    Regards,

    Tushar Sinha

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Sam,

      I really got mixed up with 7.0 and 7.1.

      Windows>Preferences>SAP As Java

      Enter Instance Host and Instance Number (try keeping as zero) and then click on Register SAP Instance. (Make sure you have host file entry to server ip address).

      Careful: Enter Host name in the host instance rather than IP address.

      You will get the System in the drop down list and as entry to table above. Select the added system as default.

      Also goto Windows>Show>Server>Servers and check the status of the server there. If it is running then the connectivity is all fine. Now try deploying. If it doesn't work just restart the studio.

      This DispatcherException always occur when the URL entered i mean the host is not correct or connectivity to the host is missing.

      And, are you able to connect to Portal URL otherwise?--- I mean

      http://<HostName>:<Port Number>/irj/portal

      Regards,

      Tushar Sinha

  • avatar image
    Former Member
    Dec 08, 2009 at 03:19 AM

    Hello Sinha :

    i'm at lost. are u sure we're talking about the NDWS in the same version ?

    first at all ,i do check the status for the server from sapmmc is all green .

    and then follow the step as you mention before .but here is my question -


    "2.Goto Windows>Preferences>SAP J2EE Engine and enter">>>>>> i'm sure Windows>Preferences>SAP J2EE Engine doesn't exist

    all i can do jsut goto Windows>Preferences>SAP AS Java

    input [instance host][instance number] then register SAP instance

    build and deploy my application. It does not prompt me for username and password ...

    then the same error come out ...

    Add comment
    10|10000 characters needed characters exceeded