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
-
"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
"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
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
---
"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
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
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
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
--