[JBoss Seam] - Re: Urgent - Error in deploying the NumberGuess Example
by trekker880
hi
My Structure for the eclipse project is as under. Hope it will clear a lot
pls tell me if i m missing some .jar file
NumberGuess
+ WEB-INF
| web.xml
|components.xml
|faces-config.xml
|pages.xml
+classes
+org\jboss\seam\example\numberguess
|NumberGuess.class
+test
|NumberGuessTest.class
|testng.xml
|messages.properties
+lib
|commons-beanutils-1.7.0.jar
|commons-codec-1.3.jar
|commons-collections-3.1.jar
|commons-digester-1.6.jar
|commons-el-1.0.jar
|commons-lang-2.1.jar
|el-api.jar
|el-ri.jar
|jboss-seam.jar
|jboss-seam-debug.jar
|jboss-seam-ui.jar
|jbpm-3.1.4.jar
|jsf-facelets.jar
|jstl-1.1.0.jar
|myfaces-api-1.1.4.jar
|myfaces-impl-1.1.4.jar
|servlet-api.jar
|testng-4.5.1-jdk15.jar
+META-INF
|components.properties
|MANIFEST.MF
|seam.properties
+images
+.gpd.cheat.jpdl.xml
+.gpd.pageflow.jpdl.xml
+cheat.jpdl.xml
+cheat.jspx
+confirm.jspx
+giveup.jspx
+index.html
+lose.jspx
+niceforms.css
+niceforms.js
+numberGuess.jspx
+pageflow.jpdl.xml
+win.jspx
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053486#4053486
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053486
18Â years, 10Â months
[JBoss Getting Started Documentation] - Re: Bank example compile error.
by alanc
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
18Â years, 10Â months