0 Replies Latest reply on Dec 2, 2004 9:58 AM by embe

    Deploying with JBOSS and IntelliJ IDE

    embe

      When I try deploying an application with the Intellij IDE, I get an error stating
      " The requested resource (/sample/greeting) is not available.".
      I figured that IntelliJ doesn't map the created EAR file to the Jboss deployment service so I copied the EAR file to the "...\deploy\" directory. I get the following error message:


      ERROR [MainDeployer] Could not initialise deployment: file:/C:/MyWork/J2EE/O'Reilly EJB's/sample/app/app.ear
      org.jboss.deployment.DeploymentException: Error in accessing application metadata: ; - nested throwable: (javax.management.InstanceAlreadyExistsException: jboss.j2ee:service=EARDeployment,url='app.ear' already registered.)
      at org.jboss.deployment.EARDeployer.init(EARDeployer.java:270)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:799)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:736)
      ...etc


      I hope you'd help me with this. Thanks!