aspose file tools*
The moose likes Websphere and the fly likes While upgrading to websphere 7.0 facing classcastexception in privateoption class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "While upgrading to websphere 7.0 facing classcastexception in privateoption class" Watch "While upgrading to websphere 7.0 facing classcastexception in privateoption class" New topic
Author

While upgrading to websphere 7.0 facing classcastexception in privateoption class

pravin lipare
Greenhorn

Joined: Oct 13, 2010
Posts: 1
Hi,

I am upgrading from websphere 6 to websphere 7 and while staring application server facing below error:

*********************************************************************************************************************
[wsejbdeploy] Starting workbench.
[wsejbdeploy] @build@
[wsejbdeploy] EJB Deploy installation location: /opt/WebSphere7/AppServer/deploytool/itp
[wsejbdeploy] Could not create a configuration directory so defaulting to the user.home
[wsejbdeploy] EJB Deploy configuration directory: /acshome/acs/ccacs/mb_ccacs/.eclipse/configuration
[wsejbdeploy] framework search path: /opt/WebSphere7/AppServer/deploytool/itp/plugins
[wsejbdeploy] build: RAD755-I20091202_2257
[wsejbdeploy] Debug options:
[wsejbdeploy] file:/acshome/acs/ccacs/mb_ccacs/tmp/.options not found
[wsejbdeploy] Time to load bundles: 103
[wsejbdeploy] Starting application: 1286892455544
[wsejbdeploy] [*Error] An unexpected exception was thrown. Halting execution.
[wsejbdeploy] Shutting down workbench.
[wsejbdeploy]
[wsejbdeploy] Error executing deployment: java.lang.ClassCastException. Error is com.ibm.etools.ejbdeploy.batch.impl.PrivateOptions cannot be cast to com.ibm.etools.ejbdeploy.batch.impl.PrivateOptions.
[wsejbdeploy] java.lang.ClassCastException: com.ibm.etools.ejbdeploy.batch.impl.PrivateOptions cannot be cast to com.ibm.etools.ejbdeploy.batch.impl.PrivateOptions
[wsejbdeploy] at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.run(BatchExtension.java:227)
[wsejbdeploy] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[wsejbdeploy] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[wsejbdeploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[wsejbdeploy] at java.lang.reflect.Method.invoke(Method.java:597)
[wsejbdeploy] at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:574)
[wsejbdeploy] at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:195)
[wsejbdeploy] at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
[wsejbdeploy] at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
[wsejbdeploy] at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
[wsejbdeploy] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[wsejbdeploy] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[wsejbdeploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[wsejbdeploy] at java.lang.reflect.Method.invoke(Method.java:597)
[wsejbdeploy] at com.ibm.etools.ejbdeploy.batch.impl.BootLoaderLoader.run(BootLoaderLoader.java:490)
[wsejbdeploy] at com.ibm.etools.ejbdeploy.batch.impl.BatchDeploy.execute(BatchDeploy.java:106)
[wsejbdeploy] at com.ibm.etools.ejbdeploy.EJBDeploy.execute(EJBDeploy.java:106)
[wsejbdeploy] at com.ibm.etools.ejbdeploy.EJBDeploy.deploy(EJBDeploy.java:349)
[wsejbdeploy] at com.ibm.etools.ejbdeploy.EJBDeploy.main(EJBDeploy.java:311)
[wsejbdeploy] EJBDeploy level: @build@
*********************************************************************************************************************
Please assist.
Stefan Wreaney
Greenhorn

Joined: May 20, 2013
Posts: 1
Was there ever a solution to this issue - we are facing a similar problem.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: While upgrading to websphere 7.0 facing classcastexception in privateoption class
 
Similar Threads
Null Pointer while generating a build using Ant.
WAS and ORACLE
ejbDeploy using ANT into the Websphere Application Server
WAS 7 Please specify a different location with -tracefile option.
WsAnt task -- Please specify a different location with -tracefile option.