[jboss-user] [JNDI/Naming/Network] - Re: ClassCastException on PortableRemoteObject.narrow(object

jaikiran do-not-reply at jboss.com
Mon Oct 29 09:08:05 EDT 2007


OK, let's take this one step at a time. From the logs that you posted, i see that you are first deploying MyEjb.jar:

anonymous wrote : 20:55:52,312 INFO  [EJB3Deployer] Deployed: file:/D:/jboss-4.2.1.GA/server/default/deploy/MyEjb.jar

At a later point of time, you are deploying myWebEar.ear which (as per the logs) contains MyEjb.jar and WebModule.war

anonymous wrote : 20:55:53,749 INFO  [EARDeployer] Init J2EE application: file:/E:/web/WebApp/myWebEar/myWebEar.ear

So ultimately, the MyEjb.jar is being deployed twice (i might be wrong, but at this point that's what i can infer from the logs). I would suggest that you delete the MyEjb.jar which is present at D:/jboss-4.2.1.GA/server/default/deploy and then restart JBoss. See if that solves the issue. Let us know how it goes. 



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099830#4099830

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099830



More information about the jboss-user mailing list