Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Error Deploying EJB

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI All,

I'm facing the same issue in , But in Linux server

Could you please help me in that

<Feb 9, 2018 1:00:40 AM EST> <Error> <EJB> <BEA-012036> <Compiling generated EJB classes produced the following Java compiler error message:

error: error reading /dev/null; zip file is empty
1 error
>
<Feb 9, 2018 1:00:40 AM EST> <Error> <J2EE> <BEA-160001> <Error deploying Internal Application: weblogic.application.ModuleException: Exception preparing mod
ule: EJBModule(mejb)


Unable to deploy EJB: mejb.jar from mejb.jar:



There are 1 nested errors:

java.io.IOException: Compiler failed executable.exec:
error: error reading /dev/null; zip file is empty
1 error

       at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:493)
       at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:332)
       at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:340)
       at weblogic.ejb.container.ejbc.EJBCompiler.doCompile(EJBCompiler.java:343)
       at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:533)
       at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:500)
       at weblogic.ejb.container.deployer.EJBDeployer.runEJBC(EJBDeployer.java:476)
       at weblogic.ejb.container.deployer.EJBDeployer.compileJar(EJBDeployer.java:798)
       at weblogic.ejb.container.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:701)
       at weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:1234)
       at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:372)
       at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
       at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
       at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
       at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
       at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
       at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
       at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
       at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
       at weblogic.application.internal.BackgroundDeploymentService$1.next(BackgroundDeploymentService.java:164)
       at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
       at weblogic.application.internal.BackgroundDeploymentService$BackgroundDeployAction.run(BackgroundDeploymentService.java:119)
       at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:464)
:
 
Bartender
Posts: 9612
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This post was originally posted as a reply to this topic, but the error messages are different, so I split it off into a new topic.
This is a very curious issue because it appears that the server is attempting to read /dev/null, which is basically a trash can.  I am curious to know exactly what you are doing to get this error.  
What version of Weblogic are you running?  What version of Java?
Is this server a new install or has it been up and running for a while?
Have you successfully deployed applications to this server in the past?
How are you starting Weblogic (i.e. do you have custom start up scripts?)
Is this exception produced when starting Weblogic or when deploying an application?
If when deploying, have you successfully deployed this application in the past?
The more details you give us, the more help we can give you.
 
    Bookmark Topic Watch Topic
  • New Topic