[JBoss-user] [Beginners Corner] - Re: ClassCastException from PortableRemoteObject.narrow in J

2005-09-24 Thread zgwmike
I don't think the web container and the ejb container share the same classpath. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896901#3896901 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896901 -

[JBoss-user] [Beginners Corner] - Re: ClassCastException from PortableRemoteObject.narrow in J

2005-09-09 Thread gnokit
"darranl" wrote : "gnokit" wrote : | | I dont understand. | | I also got this problem but still not solve yet | | the war archive should contains | | WEB-INF/classes/ contains the ComputeServlet.class only | | WEB-INF/lib/FiboEJB-Client.jar contains the Component and Home int

[JBoss-user] [Beginners Corner] - Re: ClassCastException from PortableRemoteObject.narrow in J

2005-09-09 Thread darranl
"gnokit" wrote : | I dont understand. | I also got this problem but still not solve yet | the war archive should contains | WEB-INF/classes/ contains the ComputeServlet.class only | WEB-INF/lib/FiboEJB-Client.jar contains the Component and Home interface classes of FiboBean | | r

[JBoss-user] [Beginners Corner] - Re: ClassCastException from PortableRemoteObject.narrow in J

2005-09-09 Thread jaikiran
Please post the exception that you are seeing, and also the relevant code View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893740#3893740 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3893740 ---

[JBoss-user] [Beginners Corner] - Re: ClassCastException from PortableRemoteObject.narrow in J

2005-09-08 Thread gnokit
"jaikiran" wrote : Similar problem was faced by many others, and following is an extract from one of the replies by darranl: | | anonymous wrote : When the bean classes are packaged in the jar and the war then, | | the problem is when they are packaged twice is that they get loaded by t

[JBoss-user] [Beginners Corner] - Re: ClassCastException from PortableRemoteObject.narrow in J

2005-09-08 Thread jaikiran
Similar problem was faced by many others, and following is an extract from one of the replies by darranl: anonymous wrote : When the bean classes are packaged in the jar and the war then, | the problem is when they are packaged twice is that they get loaded by two different classloaders which

[JBoss-user] [Beginners Corner] - Re: ClassCastException from PortableRemoteObject.narrow in J

2005-09-08 Thread eferreyra
YES, that do it. I uncheck "/Tutorial/FiboEJB-client.jar -> WEB-INF/lib" in the FiboWeb.war packing conf. and works ! Now, can i get some explanation of why that is wrong (i guess the tutorial is for a local AppServer, not a remote, but in more detail...) and why the narrow method fails ? Tha

[JBoss-user] [Beginners Corner] - Re: ClassCastException from PortableRemoteObject.narrow in J

2005-09-08 Thread jaikiran
I guess, you have the ejb classes in your .war. Remove these classes from the war and try running View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893577#3893577 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3893577 --