facebook

ejb3 tutorial with weblogic 9 and myeclipse 8.6

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #312102 Reply

    All,

    I tried the ejb3 tutorial given on myeclipse site, following is the link.
    http://www.myeclipseide.com/documentation/quickstarts/ejb3/
    Whenever i deploy the ejb it give me following error.

    <Oct 19, 2010 3:24:23 PM PDT> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application ‘_appsdir_MyEJBProject_dir’.>
    <Oct 19, 2010 3:24:23 PM PDT> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.management.DeploymentException: [J2EE:160177]The application at “C:\personal_weblogic\domains\domain1\autodeploy\MyEJBProject” was not recognized as a valid application type. If this is an EAR file, please ensure the META-INF/application.xml exists. EJB-JARs should have a META-INF/ejb-jar.xml. WAR files require a WEB-INF/web.xml, and RARs require a META-INF/ra.xml. A JMS deployment should be an XML file whose name ends with “-jms.xml”. A JDBC deployment should be an XML file whose name ends with “-jdbc.xml”. For other application types, please consult the WebLogic Server documentation.
    at weblogic.application.internal.DeploymentManagerImpl.createDeployment(DeploymentManagerImpl.java:109)
    at weblogic.deploy.internal.targetserver.BasicDeployment.createDeployment(BasicDeployment.java:146)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:184)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:87)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
    Truncated. see log file for complete stacktrace
    >

    When i look for the META-INF/ejb-jar.xml I donot see one. But as per the tutorial I see no need for creation of the xml file. Also if i look at the deployment on weblogic console it is not recognizing it as an ejb application.

    Please help me in getting the issue resolved.

    Thanks,
    Sada

    #312114 Reply

    Sada,
    I could not replicate this using weblogic10. Can you try deploying your application on weblogic 10 and let me know how that works for you?

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: ejb3 tutorial with weblogic 9 and myeclipse 8.6

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