facebook

How to deploy Ear to Weblogic 10

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #311331 Reply

    Scott
    Member

    When I right click on my ear and select run on weblogic, I see the ear and it’s war showing up as exploded under the weblogic 10 server, however, I receive a 404 when going for the page. The weblogic console does not reveal any deployments! Does anyone have a clue what’s up?

    Scott

    #311354 Reply

    Scott,
    Can you give us some more information on this?
    1. What is the version of MyEclipse that you are using?
    2. What are the modules present in your EAR?
    3. Can you download the traderx project given at the end of tutorial here –
    http://www.myeclipseide.com/documentation/quickstarts/earprojects/#resources
    Run the application and check if that works for you?

    #311360 Reply

    Scott
    Member

    1. What is the version of MyEclipse that you are using?
    7.5
    2. What are the modules present in your EAR?
    <?xml version=”1.0″ encoding=”UTF-8″?>
    <application xmlns=”http://java.sun.com/xml/ns/javaee&#8221; xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance&#8221; version=”5″ xsi:schemaLocation=”http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd”&gt;
    <display-name>ehi_ri_application</display-name>
    <module id=”myeclipse.1284570333206″>
    <web>
    <web-uri>ehi_ri_struts2.war</web-uri>
    <context-root>/ri</context-root>
    </web>
    </module>
    <module id=”myeclipse.1284580302348″>
    <web>
    <web-uri>ehi_ri_persistence.war</web-uri>
    <context-root>/ri_persistence</context-root>
    </web>
    </module>
    <module id=”myeclipse.1284579579593″>
    <web>
    <web-uri>ehi_ri_service.war</web-uri>
    <context-root>/ri_service</context-root>
    </web>
    </module>
    </application>

    #311362 Reply

    Scott
    Member

    When I add EAR deployment to the Weblogic 10 server, I see this in the console:

    weblogic.management.provider.EditNotEditorException: Not edit lock owner
    at weblogic.management.provider.internal.EditAccessImpl.checkEditLock(EditAccessImpl.java:1420)
    at weblogic.management.provider.internal.EditAccessImpl.undoUnactivatedChanges(EditAccessImpl.java:851)
    at weblogic.deploy.internal.adminserver.EditAccessHelper$4.run(EditAccessHelper.java:294)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    Truncated. see log file for complete stacktrace

    #311366 Reply

    Scott
    Member

    Okay, that exception was due to the fact I had the Weblogic console up and apparently some file locked. I have released the lock and closed the browser and this seems to be the problem now:

    weblogic.management.DeploymentException: [Deployer:149189]Attempt to operate ‘deploy’ on null BasicDeploymentMBean for deployment _appsdir_ehi_ri_application_dir. Operation can not be performed until server is restarted.
    at weblogic.deploy.internal.targetserver.DeploymentManager.assertDeploymentMBeanIsNonNull(DeploymentManager.java:1281)
    at weblogic.deploy.internal.targetserver.DeploymentManager.findDeploymentMBean(DeploymentManager.java:1322)
    at weblogic.deploy.internal.targetserver.DeploymentManager.createOperation(DeploymentManager.java:1022)
    at weblogic.deploy.internal.targetserver.DeploymentManager.createOperations(DeploymentManager.java:1368)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleUpdateDeploymentContext(DeploymentManager.java:160)
    Truncated. see log file for complete stacktrace

    #311367 Reply

    Scott
    Member

    One more thing I forgot to mention; I have restared the Weblogic 10 Server (dozens of times) and each redeployment of this EAR file results in this same exception.

    #311374 Reply

    stanlick,
    This looks like a server related issue. Please refer to the workaround given in the following link –
    http://forums.oracle.com/forums/thread.jspa?messageID=2966299

    Let me know if that helps

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: How to deploy Ear to Weblogic 10

You must be logged in to post in the forum log in