3 Replies Latest reply on Feb 28, 2002 10:35 AM by Georg Schmid

    Unpacked Deployment?

    chad kehn Newbie

      I have been trying to deploy a fairly simple application that I had running on orionserver. I was wondering if it is possible to deploy with out the use of jar/war/ear files. I tried doing it by extracting my ear file into a folder I created within the deploy folder.

      Example:(sorry for the poor visual)

      deploy
      ....projectfolder
      ........ejbs
      ............META-INF
      ................ejb-jar.xml
      ................jboss.xml
      ............com (etc classes)
      ........jsps
      ............WEB-INF
      ................web.xml
      ................jboss-web.xml
      ................classes (etc classes)
      ............index.html
      ........META-INF - application.xml

      Hope that made sense.

      my application.xml

      <display-name>SAAmort sample</display-name>

      ejbs



      <web-uri>jsps</web-uri>
      <context-root>/entry</context-root>




      Currently I am getting this deployment error:
      [ERROR,J2eeDeployer] Deployment failed
      org.jboss.deployment.J2eeDeploymentException: EJB module: D:\JBoss\jboss\deploy\
      saamort\ejbs is not a directory
      at org.jboss.deployment.LocalDirInstaller.execute(LocalDirInstaller.java
      :134)
      at org.jboss.deployment.InstallerFactory.install(InstallerFactory.java:1
      20)
      at org.jboss.deployment.J2eeDeployer.installApplication(J2eeDeployer.jav
      a:409)
      at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:185)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:16
      28)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
      23)
      at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:395)
      at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:233)
      at org.jboss.deployment.AutoDeployer.startService(AutoDeployer.java:371) (not the full stacktrace)

      I hope this is enough information. I would appreciate any help. I did find a few previous post but nothing seemed to help. I had better luck when I archived to a ear file but the project requires unpackaged classes. The only thing I seem to have working with it unpackaged is the index.html.

      Thanks in advance,
      Chad