• Post Reply Bookmark Topic Watch Topic
  • New Topic

Error Deploying EJB  RSS feed

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)
Posts: 9462
Linux Mac OS X 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.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!