Results 1 to 4 of 4
  1. #1
    mary is offline Member
    Join Date
    Jul 2007
    Posts
    51
    Rep Power
    0

    Default WARN [org.jboss.deployment.JARDeployer] Failed to add deployable jar

    I try to deploy my jar file and I get this error:
    Java Code:
    2005-07-13 11:09:41,906 INFO [org.jboss.deployment.MainDeployer]
     Starting deployment of package: file:/C:/JBoss/JBoss-FRP/server/default/deploy/sds.jar
    2005-07-13 11:09:41,937 WARN [org.jboss.deployment.JARDeployer]
     Failed to add deployable jar: file:/C:/JBoss/JBoss-FRP/server/default/tmp/deploy/tmp25043sds.jar
    java.util.zip.ZipException: error in opening zip file
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(ZipFile.java:112)
    at java.util.jar.JarFile.<init>(JarFile.java:127)
    at java.util.jar.JarFile.<init>(JarFile.java:65)
    at org.jboss.deployment.SubDeployerSupport.processNestedDeployments
    (SubDeployerSupport.java:245)
    at org.jboss.deployment.SubDeployerSupport.init(SubDeployerSupport.java:143)
    at org.jboss.deployment.MainDeployer.init(MainDeployer.java:696)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:632)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
    at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke
    (DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke
    (ReflectedMBeanDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
    at $Proxy6.deploy(Unknown Source)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run
    (AbstractDeploymentScanner.java:191)
    2005-07-13 11:09:41,937 INFO [org.jboss.deployment.MainDeployer] Deployed package: file:/C:/JBoss/JBoss-FRP/server/default/deploy/sds.jar

  2. #2
    tommy is offline Member
    Join Date
    Jul 2007
    Posts
    41
    Rep Power
    0

    Default

    this is because it cannot resolve a class to a JAR file.package the correct jar file

  3. #3
    Seemster is offline Member
    Join Date
    Jul 2007
    Posts
    55
    Rep Power
    0

    Default

    shutdown the server. delete the jar that's out there. rebuild the code and re-deploy. startup the server. hopefully that should do it.

  4. #4
    mary is offline Member
    Join Date
    Jul 2007
    Posts
    51
    Rep Power
    0

Similar Threads

  1. Deployment in jboss
    By scott2srikanth in forum Enterprise JavaBeans (EJB)
    Replies: 0
    Last Post: 12-10-2007, 04:17 PM
  2. Replies: 1
    Last Post: 08-13-2007, 04:46 AM
  3. Loading of JSP file failed
    By Heather in forum JavaServer Pages (JSP) and JSTL
    Replies: 2
    Last Post: 08-06-2007, 02:15 AM
  4. Compile failed, messages should have been provided
    By leonard in forum New To Java
    Replies: 2
    Last Post: 07-30-2007, 06:36 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •