1 Reply Latest reply on Oct 19, 2007 2:59 AM by alesj

    Hot Deployment: org.jboss.deployers.spi.DeploymentException:

    rasisuku

      i have jboss-5.0.0.Beta2

      i deployed jar(hot deployment) with ejb3 session bean and jpa entity. i.e i pasted the jar file when the server is running. it worked fine.

      i modified the session bean, created same jar and deployed again(hot).

      but it is throwing exception. what is the procedure for re-deployment ? pls help to understand.

      org.jboss.deployers.spi.DeploymentException: java.io.EOFException: Unexpected en
      d of ZLIB input stream
      at org.jboss.ejb3.deployers.EJBRegistrationDeployer.deploy(EJBRegistrati
      onDeployer.java:167)
      at org.jboss.deployers.plugins.deployer.AbstractSimpleDeployer.commitDep
      loy(AbstractSimpleDeployer.java:52)
      at org.jboss.deployers.plugins.deployer.DeployerWrapper.commitDeploy(Dep
      loyerWrapper.java:170)
      at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(
      MainDeployerImpl.java:592)
      at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainD
      eployerImpl.java:476)
      at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainD
      eployerImpl.java:406)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocatio
      n.java:121)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
      java:110)
      at org.jboss.profileservice.aop.MainDeployerAspect.process(MainDeployerA
      spect.java:53)
      at org.jboss.aop.advice.org.jboss.profileservice.aop.MainDeployerAspect_
      z_process_381299.invoke(MainDeployerAspect_z_process_381299.java)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
      java:101)
      at AOPContainerProxy$0.process(AOPContainerProxy$0.java)
      at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDSca
      nner.java:302)
      at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScan
      ner.java:234)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:41
      7)
      at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java
      :280)
      at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
      access$101(ScheduledThreadPoolExecutor.java:65)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
      runPeriodic(ScheduledThreadPoolExecutor.java:142)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
      run(ScheduledThreadPoolExecutor.java:166)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
      utor.java:650)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
      .java:675)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: java.io.EOFException: Unexpected end of ZLIB input stream
      at java.util.zip.ZipFile$2.fill(ZipFile.java:336)
      at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:134)
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
      at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
      at java.io.BufferedInputStream.read(BufferedInputStream.java:313)
      at java.io.DataInputStream.readFully(DataInputStream.java:176)
      at java.io.DataInputStream.readFully(DataInputStream.java:152)
      at javassist.bytecode.CodeAttribute.(CodeAttribute.java:106)
      at javassist.bytecode.AttributeInfo.read(AttributeInfo.java:78)
      at javassist.bytecode.MethodInfo.read(MethodInfo.java:455)
      at javassist.bytecode.MethodInfo.(MethodInfo.java:77)
      at javassist.bytecode.ClassFile.read(ClassFile.java:653)
      at javassist.bytecode.ClassFile.(ClassFile.java:52)
      at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:409)
      at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:398)
      at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:363)
      at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:318)
      at org.jboss.ejb3.deployers.EJBRegistrationDeployer.deploy(EJBRegistrati
      onDeployer.java:157)
      ... 26 more