I'd really like to know how those people who got Duke's Bank working with JBoss
4.0.5 did it.
I'm using 4.0.5 on Windows with the IBM Java 5 JDK.
I have set the jboss.home value to the location of my JBoss installation, which
is C:/jboss/jboss-4.0.5.GA.
I have executed all the steps of the tutorial from the first ANT task, compile,
through creating and populating the db tables, up to the deploy task.
I did find one discrepancy between the tutorial and JBoss 4.0.5. In the
hsqldb-ds.xml file, the mBean for accessing the db in server-mode (the second
last mBean in the file) had an extra attribute not shown in the tutorial. This
was the "BindAttribute", which I set to "localhost" as in the <connection-url>
from the top of the file. But in all other respects I have followed the
tutorial exactly.
However, when I log into the application through my browser, entering the
designated username ("200") and password ("j2ee"), I get an error.
On screen it is listed as a JspTagException in JSP /template/links.jsp:33 30.
But the logs indicate the problem really starts with a NoClassDefFound
exception when trying to call ejbCreate() for CustomerControllerBean.
I don't get it. I haven't hacked the build file. I haven't hacked the server (I
started with a clean installation, running the default server as per the
tutorial). I haven't hacked the tutorial sources, other than to copy the JBoss
files in on top of the original Sun ones. Nor have I hacked the generated .EAR
file to remove a .jar or change its visibility.
Can any of those who have got this tutorial to work suggest what is going wrong
here?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053481#4053481
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053481
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user