From: thomasramapuram <do-...@jb...> - 2005-10-19 09:58:24
|
This is basically a classloading problem. The new JBoss does not have a flat classloader like the old JBoss. So if you load a class in your EJB and you load a class in your servlet even though the bytecode is the same they are treated as diffrent classes. So for the tutorial to work you should remove the FiboEJB-client.jar from your FiboWEB.war file. Your servlet will reference the class FiboHome from the FiboEJB.jar file. After 2 days of digging into the code. IRC channels web searches. I finally managed to get the applcation working. There is also a problem with the Discriptor Wizard but if you type in all that is written in the tutorial it should work. @jboss.xxxx tags also did not work for me. I just typed it in. From all this the lession I learnt was "There is no substitute to hard work" if you have any problems you can mail me. I know your plight. I've been there. Ciao Some of the sites I visited to know more of the problem. http://www.jbossgroup.com/index.html?module=bb&op=viewtopic&p=3887843 http://jira.jboss.com/jira/browse/JBAS-1775 http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration http://jira.jboss.com/jira/browse/JBAS-1691 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3901970#3901970 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3901970 |