error deploying EJB in WAS using wsejbdeploy


EJB programming & troubleshooting: error deploying EJB in WAS using wsejbdeploy

  1. When i try to build the application, i get the following error : [echo] EJB compiling docmgmt-ejb for websphere... [echo] was-ejbdeploy: [wsejbdeploy] Starting workbench. [wsejbdeploy] o0610.07 [wsejbdeploy] Configuration location: [wsejbdeploy] file:C:/IBM60/WebSphere/AppServer/deploytool/itp/configuration/ [wsejbdeploy] Debug options: [wsejbdeploy] file:/C:/dev/vsriniva_Core_4_2_defect/WFX_Core/core/staging/resource/docmgmt-ejb-j ar/.options not found [wsejbdeploy] Time to load bundles: 32 [wsejbdeploy] Starting application: 1148315182610 [wsejbdeploy] [*Error] An unexpected exception was thrown. Halting execution. [wsejbdeploy] Shutting down workbench. [wsejbdeploy] Error executing deployment: java.lang.ClassCastException. Error is eploy.batch.impl.PrivateOptions. [wsejbdeploy] java.lang.ClassCastException: [wsejbdeploy] at [wsejbdeploy] at org.eclipse.core.internal.runtime.PlatformActivator$ 335) [wsejbdeploy] at [wsejbdeploy] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [wsejbdeploy] at sun.reflect.NativeMethodAccessorImpl.invoke( [wsejbdeploy] at sun.reflect.NativeMethodAccessorImpl.invoke( [wsejbdeploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke( :60) [wsejbdeploy] at java.lang.reflect.Method.invoke( [wsejbdeploy] at 2) [wsejbdeploy] at [wsejbdeploy] at [wsejbdeploy] at [wsejbdeploy] EJBDeploy level: o0610.07 The ANT task that does the EJB deploy is as follows :
  2. Were you able to solve the issue, as we are having the same issue now.