aspose file tools*
The moose likes BEA/Weblogic and the fly likes Problems Running BEA Weblogic Server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Problems Running BEA Weblogic Server" Watch "Problems Running BEA Weblogic Server" New topic
Author

Problems Running BEA Weblogic Server

vandhana mohanraj
Greenhorn

Joined: Jul 05, 2007
Posts: 2
Hi,

I have been trying to install BEA Weblogic server 10 on Windows XP with java 6 .While trying to start up the server I'm getting the following error.

####<Jul 5, 2007 2:30:26 PM IST> <Error> <J2EE> <E0017A4DFB4D6> <AdminServer> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1183626026625> <BEA-160001> <Error deploying Internal Application: weblogic.application.ModuleException: Exception preparing module: EJBModule(mejb)


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





There are 1 nested errors:



java.io.IOException: Compiler class: 'com.sun.tools.javac.Main', not found java.lang.ClassNotFoundException: com.sun.tools.javac.Main

at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:391)

at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:295)

at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:303)

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)

at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)

at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)

-------
I assumed it was a classpath or path error as the java compiler path is not found so added the weblogic.jar & tools.jar to them.

tools.jar also has the required Main class.

classpath=.;"C:\Program Files\Java\jdk1.6.0_01\lib\tools.jar";"C:\Program Files\Java\jdk1.6.0_01\lib\dt.jar";"C:\Program Files\Java\jdk1.6.0_01\jre\lib\rt.jar";C:\bea\wlserver_10.0\server\lib\weblogic.jar

path=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Java\jdk1.6.0_01\bin;C:\Program Files\Java\jdk1.6.0_01\lib

Anbody else faced similar errors while trying to install a web server?

Thanks,
Vandhana
Amit M Tank
Ranch Hand

Joined: Mar 28, 2004
Posts: 257
This is a classpath Issue. Check the classpath variable in the startup batch file of weblogic.


Amit Tank
Linked In
vandhana mohanraj
Greenhorn

Joined: Jul 05, 2007
Posts: 2
Hi all,

Problem resolved. Had jre(not talking abt the jre folder in the jdk) & jdk installed for java 6.By default it picks up jre path & searches for tools.jar there.Once the jre was uninstalled,it searches for jdk & finds the tools.jar.

Thanks
Vandhana
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problems Running BEA Weblogic Server