This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

ClassCastException error - Pls Help!!  RSS feed

 
vishwak rajgopalan
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am getting the following error whenever i try deploy my ear file. The ear file has entity , session and web components and the entity beans implement local interfaces.
java.lang.ClassCastException: com.sun.enterprise.deployment.EjbExternalDescriptor
at com.sun.enterprise.deployment.EjbReferenceDescriptor.getValue(EjbReferenceDescriptor.java:198)
at com.sun.enterprise.deployment.EjbReferenceDescriptor.getJndiName(EjbReferenceDescriptor.java:179)
at com.sun.enterprise.deployment.xml.RuntimeDescriptorNode.setDescriptor(RuntimeDescriptorNode.java:256)
at com.sun.enterprise.deployment.xml.RuntimeDescriptorNode.getDocument(RuntimeDescriptorNode.java:1027)
at com.sun.enterprise.deployment.ApplicationArchivist.writeRuntimeInfo(ApplicationArchivist.java:900)
at com.sun.ejb.codegen.GeneratorDriver.preDeploy(GeneratorDriver.java:979)
at com.sun.enterprise.tools.deployment.backend.JarInstallerImpl.deployEjbs(JarInstallerImpl.java:707)
at com.sun.enterprise.tools.deployment.backend.JarInstallerImpl.deployApplication(JarInstallerImpl.java:221)
at org.omg.stub.com.sun.enterprise.tools.deployment.backend._JarInstallerImpl_Tie._invoke(Unknown Source)
at com.sun.corba.ee.internal.corba.ServerDelegate.dispatch(ServerDelegate.java:355)
Could some one please help me in this regard
thanks
vishwak
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!