on 01-12-2009 3:04 PM
Hello,
I am having problems deploying a simple application to NW CE 7.1 (Welcome application
from NWDS tutorial).
I try to deploy from the NWDS. When I am executing "Deploy new archive
and run" I am asked for user and password.
According to the documentation I give following credentials:
SAP NetWeaver Application Server (e.g. for deploying applications)
username: Administrator
password: <your master password>
However after typing that I get immediate error in NWDS.
ConnectionException,cause=[ERROR CODE DPL.DCAPI.1144] NamingException.Cannot get initial context.Reason: Exception during getInitialContext operation. Cannot establish connection to the remote server.
Then the browser opens with following URL: http://localhost:50100/webdynpro/dispatcher/local/Welcome/WelcomeAPP?SAPtestId=38 and the following stack trace is shown.
"Application error occurred during the request procession."
Details: com.sap.tc.webdynpro.services.sal.core.DispatcherException: The requested deployable object 'local/Welcome' 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 'local/Welcome' 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 local/Welcome 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
Please help.
Best regards.
Paweł
Please have a look at the below link
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
R u sure that you have created your welcome application in the same system where the server is present if not then check the J2EE engine Status. Go the Windows Tab and Click preferences and Click On SAP J2EE Engine Tab there and type the IP Of the server And 3901 as the port.
And check
Regards,
H.V.Swathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pawel,
Are you sure you gave the correct user name & password for the server during the deployment (this should be same as what you gave you during the server installation).
Moreover, two applications with same complete name (including namespaces) cannot be deployed on the server. It might be that one application with the same name may be already deployed on the server due to which the NamingException comes.
You can try checking the application URL without the last id parameter (remove everything after WelcomeApp)
If this does not work, you try creating the project with a diff name & also diff application name.
Then build the project, deploy it (provide proper user details). If no error comes, then you can run your application.
Kind Regards,
Nitin
Edited by: Nitin Jain on Jan 13, 2009 8:14 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi!
For some reason, I am not able to deploy my application again (although it worked for a couple of weeks now)....
The error is:
com.sap.ide.eclipse.deployer.api.APIException: ConnectionException,cause=[ERROR CODE DPL.DCAPI.1144] NamingException.Cannot get initial context.
Reason: Exception while trying to get InitialContext.
at com.sap.ide.eclipse.deployer.dc.DCClientImpl.<init>(DCClientImpl.java:70)
at com.sap.ide.eclipse.deployer.dc.DCClientFactoryImpl.createClient(DCClientFactoryImpl.java:142)
at com.sap.ide.eclipse.deployer.DeployerPlugin.getClient(DeployerPlugin.java:195)
at com.sap.ide.eclipse.sdm.threading.DeployThreadManager.deploy(DeployThreadManager.java:359)
at com.sap.ide.eclipse.sdm.SDMManager.deployArchives(SDMManager.java:149)
at com.sap.ide.j2ee.wtpserver.engineadapter.SapDeployer.deployArchives(SapDeployer.java:30)
at com.sap.ide.j2ee.wtpserver.engineadapter.SAPPublisher$DeployRunnable.run(SAPPublisher.java:302)
at java.lang.Thread.run(Thread.java:595)
Caused by: com.sap.engine.services.dc.api.ConnectionException: [ERROR CODE DPL.DCAPI.1144] NamingException.Cannot get initial context.
Reason: Exception while trying to get InitialContext.
at com.sap.engine.services.dc.api.session.impl.SessionImpl.getContext(SessionImpl.java:189)
at com.sap.engine.services.dc.api.session.impl.SessionImpl.<init>(SessionImpl.java:115)
at com.sap.engine.services.dc.api.session.impl.SessionFactoryImpl.newSession(SessionFactoryImpl.java:30)
at com.sap.engine.services.dc.api.impl.ClientFactoryImpl.createClient(ClientFactoryImpl.java:74)
at com.sap.ide.eclipse.deployer.dc.DCClientImpl.<init>(DCClientImpl.java:67)
... 7 more
Caused by: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.interfaces.cross.DestinationException: cannot establish connection with any of the available instances:
localhost:50004 Reason: com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection to host: 10.18.206.83 and port: 50004]
at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:488)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:197)
at com.sap.engine.services.dc.api.session.impl.SessionImpl.getContext(SessionImpl.java:166)
... 11 more
Caused by: com.sap.engine.interfaces.cross.DestinationException: cannot establish connection with any of the available instances:
localhost:50004 Reason: com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection to host: 10.18.206.83 and port: 50004
at com.sap.engine.interfaces.cross.Destination.getNextAvailableBroker(Destination.java:59)
at com.sap.engine.interfaces.cross.Destination.getRemoteBroker(Destination.java:35)
at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:352)
... 16 more [ERROR: 01.02.2009 10:15:13 /userOut/daView_category (eclipse.UserOutLocation) [Thread[Thread-27,5,main]] ]
Please help!
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.