Meaningless Drivel is fun!*
The moose likes BEA/Weblogic and the fly likes Migration from Weblogic 6.1 to 8.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Migration from Weblogic 6.1 to 8.1" Watch "Migration from Weblogic 6.1 to 8.1" New topic
Author

Migration from Weblogic 6.1 to 8.1

Saurabh Agrawal
Ranch Hand

Joined: Oct 07, 2003
Posts: 244
Hi everyone,

I am having a sample web application which comprises of JSP , EJB etc. It was orginally meant to run on weblogic 6.1.

Now we want to migrate the same to Weblogic 8.1. So can anyone tell me what steps needs to be performed to attain the same?

Is it a long process of just some start up script modification? If anyone can cite some steps to attain the same then it will be of great help to me.

Thanks in advance,
Saurabh


Success is not doing extraordinary things but doing ordinary things extraordinarily well.
Saurabh Agrawal
Ranch Hand

Joined: Oct 07, 2003
Posts: 244
Hi,

I have tried to install Weblogic 8.1 and made some script changes in my application to deploy it on 8.1.

But when i am trying to run my weblogic 8.1, it gives the following error:

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


Compiler class: 'com.sun.tools.javac.Main', not found

at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:274)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407)
at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493)
at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:784)
at weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:700)
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1339)
at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:267)
at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:83)
at weblogic.j2ee.Application.addComponent(Application.java:322)
at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:162)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:337)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:597)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:575)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:241)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:754)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:733)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:509)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1560)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1528)
at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:988)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:946)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:954)
at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:481)
at weblogic.management.configuration.ServerMBean_Stub.updateDeployments(ServerMBean_Stub.java:7691)
at weblogic.management.deploy.slave.SlaveDeployer.updateServerDeployments(SlaveDeployer.java:1304)
at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:347)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:966)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:361)
at weblogic.Server.main(Server.java:32)


Can anyone tell me what can be the possible cause of this error?? Do i need to make changes somewhere or am i missing one something?

Thanks in advance,
Saurabh
Purushoth Thambu
Ranch Hand

Joined: May 24, 2003
Posts: 425
It looks more like a classpath setup issue. check to see if tools.jar is in the classpath.
 
 
subject: Migration from Weblogic 6.1 to 8.1