This discussion is archived
1 Reply Latest reply: Jan 22, 2013 9:23 PM by Kishore Rout RSS

Deployment on WLS 10.3.5 fails

986179 Newbie
Currently Being Moderated
Hi All,
I am trying to deploy a very simple 'Hello World' servlet using an .ear project to Weblogic 10.3.5 using OEPE (Oracle Enterprise Pack for Eclipse) Version: 3.7.1. The remote server has 1 Domain with 2 servers on it. I am able to succesfully configure the 'Server' object within my eclipse using the admin username and password. Yet, it never lets me deploy to it.

Within Eclipse, it gives me the following error:
Module named 'TestEarProj' failed to deploy. See Error Log view for more detail.
weblogic.deploy.api.spi.exceptions.ServerConnectionException: [J2EE Deployment SPI:260041]Unable to upload 'C:\Oracle Eclipse\Trading\.metadata\.plugins\org.eclipse.core.resources\.projects\TestEarProj\beadep\remote_weblogic\TestEarProj\split_src.ear' to 't3://wlsserver1:7001'
Exception received from deployment driver. See Error Log view for more detail.

java.lang.Exception: Exception received from deployment driver. See Error Log view for more detail.
at oracle.eclipse.tools.weblogic.server.internal.DeploymentProgressListener.watch(DeploymentProgressListener.java:190)
at oracle.eclipse.tools.weblogic.server.internal.WlsJ2EEDeploymentHelper.deploy(WlsJ2EEDeploymentHelper.java:486)
at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishWeblogicModules(WeblogicServerBehaviour.java:1466)
at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishToServer(WeblogicServerBehaviour.java:898)
at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishOnce(WeblogicServerBehaviour.java:686)
at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publish(WeblogicServerBehaviour.java:539)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:774)
at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:3027)
at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:341)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: weblogic.deploy.api.internal.utils.DeployerHelperException: The source 'C:\Users\L7ZDRT\AppData\Local\Temp\split_src.ear' for the application 'TestEarProj' could not be loaded to the server 'http://wlsserver1:7001/bea_wls_deployment_internal/DeploymentService'.
Server returned HTTP response code: 500 for URL: http://wlsserver1:7001/bea_wls_deployment_internal/DeploymentService
at weblogic.deploy.api.internal.utils.JMXDeployerHelper.uploadSource(JMXDeployerHelper.java:671)
at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.upload(ServerConnectionImpl.java:844)
at weblogic.deploy.api.spi.deploy.internal.BasicOperation.uploadFiles(BasicOperation.java:327)
at weblogic.deploy.api.spi.deploy.internal.BasicOperation.execute(BasicOperation.java:438)
at weblogic.deploy.api.spi.deploy.internal.BasicOperation.run(BasicOperation.java:176)
at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.deploy(WebLogicDeploymentManagerImpl.java:381)
at oracle.eclipse.tools.weblogic.server.internal.WlsJ2EEDeploymentHelper.deploy(WlsJ2EEDeploymentHelper.java:484)
... 8 more

On the server, I got the following log file entries:
####<Jan 21, 2013 10:06:08 AM CST> <Error> <HTTP> <wlsserver1> <server1> <ExecuteThread: '87' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <> <1358784368181> <BEA-101020> <[ServletContext@1726596521[app:bea_wls_deployment_internal module:bea_wls_deployment_internal.war path:/bea_wls_deployment_internal spec-version:null]] Servlet failed with Exception
java.lang.IllegalArgumentException: The system cannot find the path specified
     at weblogic.deploy.service.internal.transport.http.DeploymentServiceServlet.doUploadFile(DeploymentServiceServlet.java:455)
     at weblogic.deploy.service.internal.transport.http.DeploymentServiceServlet.handlePlanOrApplicationUpload(DeploymentServiceServlet.java:374)
     at weblogic.deploy.service.internal.transport.http.DeploymentServiceServlet.internalDoPost(DeploymentServiceServlet.java:256)
     at weblogic.deploy.service.internal.transport.http.DeploymentServiceServlet.access$000(DeploymentServiceServlet.java:84)
     at weblogic.deploy.service.internal.transport.http.DeploymentServiceServlet$1.run(DeploymentServiceServlet.java:220)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
     at weblogic.deploy.service.internal.transport.http.DeploymentServiceServlet.doPost(DeploymentServiceServlet.java:217)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
     at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
     at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3717)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
     at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
     at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
     at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
     at weblogic.work.ExecuteRequestAdapter.execute(ExecuteRequestAdapter.java:21)
     at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)

I tried to directly deploy the .ear using the admin console, and it didn't work either. This time, the error was different though:
####<Jan 18, 2013 2:26:18 PM CST> <Critical> <Console> <wlsserver1> <server1> <ExecuteThread: '4' for queue: 'consoleWorkManager'> <system> <> <> <1358540778150> <BEA-240005> <A Cross-site request forgery (CSRF) has been detected. Task=com.bea.console.actions.app.install.Flow.uploadApp address=<<my machine IP>> user=system>

Edited by: 983176 on Jan 21, 2013 8:32 AM
  • 1. Re: Deployment on WLS 10.3.5 fails
    Kishore Rout Journeyer
    Currently Being Moderated
    Hi,
    From the log entry, it is understood that your using weblogic's internal domain for application deployment. I can suggest create one domain in weblogic server and use that domain name inside your eclipse and try to to deploy to the newly created domain.

    Regards,
    Kishore

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points