• 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

Problems Running BEA Weblogic Server

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is a classpath Issue. Check the classpath variable in the startup batch file of weblogic.
 
vandhana mohanraj
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
You save more money with a clothesline than dozens of light bulb purchases. Tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic