-
1. Re: JPA Sample with Glassfish / Seam 2.0.0
pmuir Sep 10, 2007 6:09 PM (in response to peterarmistead)Some of Seam's dependencies are optional - and the integration code isn't used if the dependency isn't available. By running some 'verufy' routine you check all classes and so require all dependencies.
-
2. Re: JPA Sample with Glassfish / Seam 2.0.0
peterarmistead Sep 11, 2007 5:33 AM (in response to peterarmistead)
Thanks for the reply, I should have been a bit clearer why I was running the verifier. I could not get the example to start; this turns out to be due to a formating issue in jboss-seam-ui.jar/faces-config.xml. I have changed this to:
<faces-config xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd"
version="1.2">
from this:
<faces-config xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/
web-facesconfig_1_2.xsd"
version="1.2">
and rebuilt the jar/war and it now deploys and starts OK.
Is there any chance this format can be altered in the build?
I am now getting this error:
11:25:56,760 ERROR [SeamPhaseListener] uncaught exception
java.lang.IllegalStateException: Could not start transaction
at org.jboss.seam.jsf.SeamPhaseListener.begin(SeamPhaseListener.java:571)
when I connect. Again, I would be grateful for any tips.
Thanks,
Peter -
3. Re: JPA Sample with Glassfish / Seam 2.0.0
pmuir Sep 11, 2007 5:51 AM (in response to peterarmistead)I fixed this in Richfaces last week, I'll get the next RC into to Seam tomorrow hopefully. For now, disable xml validation.
-
4. Re: JPA Sample with Glassfish / Seam 2.0.0
peterarmistead Sep 11, 2007 6:26 AM (in response to peterarmistead)
Thanks. Can you say anything to the runtime problem:
11:25:56,760 ERROR [SeamPhaseListener] uncaught exception
java.lang.IllegalStateException: Could not start transaction
at org.jboss.seam.jsf.SeamPhaseListener.begin(SeamPhaseListener.java:571)
I have tested with Seam 1.2.1GA and 2.0.0 Beta1. The JPA example in 1.2.1 works fine with the exception of the popup windows (e.g. How does the hotel booking wizard work?). These always show a "resource not found" window.
In 2.0.0 Beta1 I get the same uncaught exception, although at a different point in the application to the CVS.2007-09-08_10-34-45 version. From some error reports in JIRA I gather that this exception has occurred sporadically but has no specific fix in place. Do you think anything is likely to happen in this area before release of 2.0.0?
Thanks,
Peter