2 Replies Latest reply on Apr 19, 2002 12:25 AM by David Jencks

    Appliction.xml: Expanded Deployment with jars

    Josh Sents Newbie

      Is it possible to have a expanded .ear file that deploys jar's instead of folders.
      We have been developing against and expanded ear and un-jared(if that's a word) classes but now would like to have our ejb code in jar's and leave the war and ear expanded. This way we can still change jsp's and images.

      The error we get when we try this is

      [INFO,AutoDeployer] Auto deploy of file:/D:/RcDepWarJB/summitEar/summit.ear/
      [INFO,J2eeDeployer] Deploy J2EE application: file:/D:/RcDepWarJB/summitEar/summit.ear/
      [ERROR,J2eeDeployer] Deployment failed
      org.jboss.deployment.J2eeDeploymentException: EJB module: D:\RcDepWarJB\summitEar\summit.ear\frameworkejb.jar is not a directory
      at org.jboss.deployment.LocalDirInstaller.execute(LocalDirInstaller.java:133)
      at org.jboss.deployment.InstallerFactory.install(InstallerFactory.java:120)
      at org.jboss.deployment.J2eeDeployer.installApplication(J2eeDeployer.java:409)
      at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:185)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:395)
      at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:233)
      at java.lang.Thread.run(Thread.java:536)



      Thanks in advance for any advice.
      Josh