[JBoss JIRA] (JBSEAM-4971) Could not submit any Form or Action in seam-gen generated project
by Tomas Remes (JIRA)
Tomas Remes created JBSEAM-4971:
-----------------------------------
Summary: Could not submit any Form or Action in seam-gen generated project
Key: JBSEAM-4971
URL: https://issues.jboss.org/browse/JBSEAM-4971
Project: Seam 2
Issue Type: Bug
Components: Tools
Affects Versions: 2.3.0.BETA2
Environment: Seam 2.3.0.CR1-SNAPSHOT from 2012-05-25
Reporter: Tomas Remes
Fix For: 2.3.0.CR1
There is error when invoking any action or submitting form in project generated by seam-gen. This always produces following exception:
{noformat}
08:17:59,360 ERROR [org.jboss.seam.exception.Exceptions] (http-localhost/127.0.0.1:8080-3) handled and logged exception: javax.servlet.ServletException: viewId:/home.seam - View /home.seam could not be restored.
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:606) [jboss-jsf-api_2.1_spec-2.0.2.Final-redhat-1.jar:2.0.2.Final-redhat-1]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.16.Final-redhat-1.jar:]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.16.Final-redhat-1.jar:]
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) [jboss-seam.jar:2.3.0.CR1-SNAPSHOT]
at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60) [jboss-seam.jar:2.3.0.CR1-SNAPSHOT]
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam.jar:2.3.0.CR1-SNAPSHOT]
at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40) [jboss-seam.jar:2.3.0.CR1-SNAPSHOT]
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam.jar:2.3.0.CR1-SNAPSHOT]
at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90) [jboss-seam.jar:2.3.0.CR1-SNAPSHOT]
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam.jar:2.3.0.CR1-SNAPSHOT]
at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) [jboss-seam.jar:2.3.0.CR1-SNAPSHOT]
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam.jar:2.3.0.CR1-SNAPSHOT]
at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) [jboss-seam.jar:2.3.0.CR1-SNAPSHOT]
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam.jar:2.3.0.CR1-SNAPSHOT]
at org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53) [jboss-seam.jar:2.3.0.CR1-SNAPSHOT]
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam.jar:2.3.0.CR1-SNAPSHOT]
at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158) [jboss-seam.jar:2.3.0.CR1-SNAPSHOT]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.16.Final-redhat-1.jar:]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.16.Final-redhat-1.jar:]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.16.Final-redhat-1.jar:]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.16.Final-redhat-1.jar:]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397) [jbossweb-7.0.16.Final-redhat-1.jar:]
at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.1.2.Final-redhat-1.jar:7.1.2.Final-redhat-1]
at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.2.Final-redhat-1.jar:7.1.2.Final-redhat-1]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.16.Final-redhat-1.jar:]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.16.Final-redhat-1.jar:]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.16.Final-redhat-1.jar:]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.16.Final-redhat-1.jar:]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.16.Final-redhat-1.jar:]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:679) [jbossweb-7.0.16.Final-redhat-1.jar:]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:931) [jbossweb-7.0.16.Final-redhat-1.jar:]
at java.lang.Thread.run(Thread.java:679) [rt.jar:1.6.0_22]
Caused by: javax.faces.application.ViewExpiredException: viewId:/home.seam - View /home.seam could not be restored.
at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:205) [jsf-impl-2.1.7-redhat-1.jar:2.1.7-redhat-1]
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) [jsf-impl-2.1.7-redhat-1.jar:2.1.7-redhat-1]
at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:116) [jsf-impl-2.1.7-redhat-1.jar:2.1.7-redhat-1]
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) [jsf-impl-2.1.7-redhat-1.jar:2.1.7-redhat-1]
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593) [jboss-jsf-api_2.1_spec-2.0.2.Final-redhat-1.jar:2.0.2.Final-redhat-1]
... 31 more
{noformat}
If there is defined PROJECT_STAGE with value "Development", you will get only following error in server log:
{noformat}
ERROR [org.jboss.as.txn] (http-localhost/127.0.0.1:8080-5) JBAS010152: APPLICATION ERROR: transaction still active in request with status 0
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 3 months
[JBoss JIRA] (JBSEAM-4987) Seam2.3.0.Beta2 documentation issues
by Marek Schmidt (JIRA)
Marek Schmidt created JBSEAM-4987:
-------------------------------------
Summary: Seam2.3.0.Beta2 documentation issues
Key: JBSEAM-4987
URL: https://issues.jboss.org/browse/JBSEAM-4987
Project: Seam 2
Issue Type: Bug
Components: Documentation Issues
Affects Versions: 2.3.0.BETA2
Reporter: Marek Schmidt
Assignee: Marek Novotny
Priority: Critical
Fix For: 2.3.0.CR1
Introduction to JBoss Seam
* Hibernate3
** should be Hibernate4 now
* "Java EE 5" should be updated to Java EE 5 or 6, or just 6 where it makes sense. Some additional paragraph should be added to the introduction that would explain how Seam2.3 now works on EE6 server, which part of EE6 it uses, mention the relation to CDI, etc.
Using the Seam examples
* examples directory is now examples-ee6 (although that should be probably changed for Final)
* "The example applications run both on JBoss AS and Tomcat with no additional configuration"
** I don't believe tomcat works ATM, so should be removed
* "Note that all the examples are built and run from the Ant build.xml, so you'll need a recent version of Ant installed before you get started. "
** should be Maven now
Running the examples on JBoss AS
* "The examples are configured for use on JBoss AS 4.2 or 5.0. "
** Should be "JBoss AS 7.1"
* build and deploy steps should be changed to "mvn clean package" and $JBOSS_HOME/bin/jboss-cli.sh --connect 'deploy example-ear/target/example.ear'
* "Most of the examples can be deployed as a WAR to Tomcat with Embedded JBoss by typing ant tomcat.deploy."
** not true anymore AFAIK, should be removed.
Running the examples on Tomcat
* Should be removed, as embedded jboss is no more and the examples have not been updated for tomcat yet.
Running the example tests
* TestNG should be changed to JUnit.
* Not ant test, but "mvn clean verify -Darquillian=jbossas-managed-7"
1.2.1. Understanding the code
1.2.1.1. The entity bean: User.java
* @Length should be changed to @Size
Example 1.7. web.xml
* web.xml version and schema should be updated to 3.0 and 3_0.xsd respectively.
1.2.1.7. The JSF configuration: faces-config.xml
* The <application> element with the view-handler should be removed.
* version should be updated to 2.1 (2_1.xsd) (actually, the whole file is not necessarry, so this section could be removed.
1.2.1.9. The EJB persistence deployment descriptor: persistence.xml
* version should be upgraded to 2.0
* java:/DefaultDS should be changed to java:jboss/datasources/ExampleDS
1.3.1.1. The entity bean: Message.java ... and others
* @Length should be changed to @Size, see also other examples
1.3.1.4. The view: messages.jsp .. and other JSP and JSPX examples
* should be converted to xhtml facelets, as we use JSF2 now, so we should not recommend JSP. See also other examples.
1.6. A complete Seam application: the Hotel Booking example
* s/Hibernate3/Hibernate4
* Richfaces AJAX examples need to be migrated to richfaces4, see the updated examples.
2.1. Before you start
* "Make sure you have JDK 5 or JDK 6 (see Section 42.1, “JDK Dependencies†for details), JBoss AS 4.2 or 5.0 and Ant 1.7.0, along with recent versions of Eclipse, the JBoss IDE plugin for Eclipse and the TestNG plugin for Eclipse correctly installed before starting"
** should probably be "JDK 6 or JDK 7 ... JBoss AS 7.1, Maven 3.0.4, ... " and TestNG plugin is no longer necessary.
* there are other references to JDK5 in the text that should be fixed
2.9. Using Seam with JBoss 4.0
* section should be removed
3.1. Before you start
* "Make sure you have JDK 5, JBoss AS 4.2 or 5.0, Eclipse 3.3"
** dependencies should be updated, (JDK6, AS7.1, )
3.2. Setting up a new Seam project
* Should be updated according to however it works not in the current jboss tools (at least JBoss AS versions and Seam versions need to be updated in the text)
16.1.1. Application server configuration
* should be updated to AS7.1, if it is still needed there.
21.3. Configuration
* "The Seam Mail module requires the use of Facelets as the view technology. Future versions of the library may also support the use of JSP. Additionally, it requires the use of the seam-ui package. " this note should probably be removed.
21.4. Meldware
* buni.org is a dead link.
26.4. GWT Ant Targets
* should be updated to Maven
29.2. Configuration
* "It is not longer necessary the register the event listeners if Hibernate Annotations or EntityManager 3.3.x are used. When using Hibernate Search 3.1.x more eventlisteners are needed, but these are registered automatically by Hibernate Annotations; refer to the Hibernate Search reference for configuring it without EntityManager and Annotations." should be removed then, as we now have Hibernate4
* "hibernate-commons-annotations.jar is not needed in JBossAS6." should be removed or updated to AS7
30.1.2. Using Facelets
* not required for JSF2
30.1.5. Integrating Seam with your EJB container
* JNDI names should be updated to those that are true for AS7
30.6. Configuring Seam in Java SE, with JBoss Embedded
* should probably be removed, together with any other jboss embedded-specific piece of documentation
30.8. Configuring SFSB and Session Timeouts in JBoss AS
* should be updated for AS7
Chapter 35. Clustering and EJB Passivation
* should be updated for AS7
37.2. Integration testing Seam components
* JBoss Embedded parts should probably be removed
Chapter 39. Seam on BEA's Weblogic
Chapter 40. Seam on IBM's WebSphere AS v7
Chapter 41. Seam on GlassFish application server
* Seam2.3 has not been tested on these platforms, so the docs should at least have a note that this part has not been updated to Seam2.3 and it has not been tested.
* Also, the ee5/ example is no longer there, so these guides are pretty much useless.
Chapter 42. Dependencies
* Should be updated for AS7
42.3. Dependency Management using Maven
* should be updated.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 3 months
[JBoss JIRA] (JBSEAM-4986) occasional NPE in dvdstore integration tests
by Marek Schmidt (JIRA)
Marek Schmidt created JBSEAM-4986:
-------------------------------------
Summary: occasional NPE in dvdstore integration tests
Key: JBSEAM-4986
URL: https://issues.jboss.org/browse/JBSEAM-4986
Project: Seam 2
Issue Type: Bug
Components: Core
Affects Versions: 2.3.0.BETA2
Reporter: Marek Schmidt
Assignee: Marek Schmidt
Fix For: 2.3.0.CR1
The dvdstore tests sometimes fail with the following NPE. The problem seems to be that sometimes the real SeamNavigationHandler, instead of the expected MockNavigationHandler is used. I suspect we are setting the MockApplicationFactory in FactoryFinder too late.
{noformat}
java.lang.AssertionError: java.lang.NullPointerException
at org.jboss.seam.mock.AbstractSeamTest$Request.onException(AbstractSeamTest.java:471)
at org.jboss.seam.mock.AbstractSeamTest$Request$2.doFilter(AbstractSeamTest.java:520)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
at org.jboss.seam.mock.AbstractSeamTest$Request.run(AbstractSeamTest.java:507)
at org.jboss.seam.mock.AbstractSeamTest$FacesRequest.run(AbstractSeamTest.java:884)
at com.jboss.dvd.seam.test.OrderTest.makeOrder(OrderTest.java:245)
at com.jboss.dvd.seam.test.OrderTest.checkout(OrderTest.java:297)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.jboss.arquillian.junit.Arquillian$6$1.invoke(Arquillian.java:270)
at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
at org.jboss.arquillian.container.test.impl.execution.ContainerTestExecuter.execute(ContainerTestExecuter.java:38)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:89)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:75)
at sun.reflect.GeneratedMethodAccessor129.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:60)
at sun.reflect.GeneratedMethodAccessor123.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.test(EventTestRunnerAdaptor.java:111)
at org.jboss.arquillian.junit.Arquillian$6.evaluate(Arquillian.java:263)
at org.jboss.arquillian.junit.Arquillian$4.evaluate(Arquillian.java:226)
at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:314)
at org.jboss.arquillian.junit.Arquillian.access$100(Arquillian.java:46)
at org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:240)
at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:185)
at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:314)
at org.jboss.arquillian.junit.Arquillian.access$100(Arquillian.java:46)
at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:199)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:147)
at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
at org.jboss.arquillian.junit.container.JUnitTestRunner.execute(JUnitTestRunner.java:65)
at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.executeTest(ServletTestRunner.java:160)
at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.execute(ServletTestRunner.java:126)
at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.doGet(ServletTestRunner.java:90)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NullPointerException
at com.sun.faces.application.view.FaceletViewHandlingStrategy.viewExists(FaceletViewHandlingStrategy.java:795)
at com.sun.faces.application.view.MultiViewHandler.derivePhysicalViewId(MultiViewHandler.java:504)
at com.sun.faces.application.view.MultiViewHandler.deriveViewId(MultiViewHandler.java:391)
at javax.faces.application.ViewHandlerWrapper.deriveViewId(ViewHandlerWrapper.java:125)
at com.sun.faces.application.NavigationHandlerImpl.findImplicitMatch(NavigationHandlerImpl.java:545)
at com.sun.faces.application.NavigationHandlerImpl.getViewId(NavigationHandlerImpl.java:297)
at com.sun.faces.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:159)
at org.jboss.seam.jsf.SeamNavigationHandler.handleNavigation(SeamNavigationHandler.java:44)
at org.jboss.seam.mock.AbstractSeamTest$Request.invokeApplicationPhase(AbstractSeamTest.java:669)
at org.jboss.seam.mock.AbstractSeamTest$Request.emulateJsfLifecycle(AbstractSeamTest.java:613)
at org.jboss.seam.mock.AbstractSeamTest$Request.access$100(AbstractSeamTest.java:184)
at org.jboss.seam.mock.AbstractSeamTest$Request$2.doFilter(AbstractSeamTest.java:513)
... 107 more
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 3 months
[JBoss JIRA] (JBSEAM-4945) Seam Drools fails on Java 7 with: value '1.7' is not a valid language level
by Marek Schmidt (JIRA)
Marek Schmidt created JBSEAM-4945:
-------------------------------------
Summary: Seam Drools fails on Java 7 with: value '1.7' is not a valid language level
Key: JBSEAM-4945
URL: https://issues.jboss.org/browse/JBSEAM-4945
Project: Seam 2
Issue Type: Bug
Components: Drools
Affects Versions: 2.3.0.BETA1
Environment: Seam 2.3.0.Beta2-SNAPSHOT, AS7.1.2-SNAPSHOT, JDK 1.7.0
Reporter: Marek Schmidt
Assignee: Marek Novotny
Fix For: 2.3.0.BETA2
{noformat}
09:33:52,619 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/seam-drools].[Faces Servlet]] (http--127.0.0.1-8080-1) Servlet.service() for servlet Faces Servlet threw exception: org.drools.RuntimeDroolsException: value '1.7' is not a valid language level
at org.drools.rule.builder.dialect.java.JavaDialectConfiguration.getDefaultLanguageLevel(JavaDialectConfiguration.java:162) [drools-compiler-5.1.1.jar:5.1.1]
at org.drools.rule.builder.dialect.java.JavaDialectConfiguration.init(JavaDialectConfiguration.java:57) [drools-compiler-5.1.1.jar:5.1.1]
at org.drools.compiler.PackageBuilderConfiguration.addDialect(PackageBuilderConfiguration.java:279) [drools-compiler-5.1.1.jar:5.1.1]
at org.drools.compiler.PackageBuilderConfiguration.buildDialectConfigurationMap(PackageBuilderConfiguration.java:268) [drools-compiler-5.1.1.jar:5.1.1]
at org.drools.compiler.PackageBuilderConfiguration.init(PackageBuilderConfiguration.java:181) [drools-compiler-5.1.1.jar:5.1.1]
at org.drools.compiler.PackageBuilderConfiguration.<init>(PackageBuilderConfiguration.java:159) [drools-compiler-5.1.1.jar:5.1.1]
at org.jboss.seam.drools.RuleBase.compileRuleBase(RuleBase.java:45) [jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0]
at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0]
at org.jboss.seam.util.Reflections.invoke(Reflections.java:22) [jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144) [jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.Component.callComponentMethod(Component.java:2275) [jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.Component.callCreateMethod(Component.java:2198) [jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.Component.newInstance(Component.java:2158) [jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.Component.getInstance(Component.java:2024) [jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.Component.getInstance(Component.java:1986) [jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.Component.getInstance(Component.java:1980) [jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:55) [jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:50) [jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.el.SeamELResolver.resolveBase(SeamELResolver.java:148) [jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:51) [jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176) [jsf-impl-2.1.7-redhat-1.jar:2.1.7-redhat-1]
at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203) [jsf-impl-2.1.7-redhat-1.jar:2.1.7-redhat-1]
at org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44) [jboss-el-1.0_02.CR6.jar:1.0_02.CR6]
at org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186) [jboss-el-1.0_02.CR6.jar:1.0_02.CR6]
at org.jboss.seam.core.Expressions$1.getValue(Expressions.java:157) [jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.drools.ManagedWorkingMemory.getRuleBaseFromValueBinding(ManagedWorkingMemory.java:125) [jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.drools.ManagedWorkingMemory.getStatefulSession(ManagedWorkingMemory.java:76) [jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0]
at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0]
at org.jboss.seam.util.Reflections.invoke(Reflections.java:22) [jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144) [jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.Component.callComponentMethod(Component.java:2275) [jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.Component.unwrap(Component.java:2301) [jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.Component.getInstance(Component.java:2044) [jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.Component.getInstance(Component.java:1986) [jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.Component.getInstance(Component.java:1980) [jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.drools.DroolsHandler.getWorkingMemory(DroolsHandler.java:25) [jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.drools.DroolsDecisionHandler.decide(DroolsDecisionHandler.java:28) [jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jbpm.graph.node.Decision.handleDecision(Decision.java:165) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]
at org.jbpm.graph.node.Decision.execute(Decision.java:95) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]
at org.jbpm.graph.def.Node.enter(Node.java:381) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]
at org.jbpm.graph.def.Transition.take(Transition.java:162) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]
at org.jbpm.graph.def.Node.leave(Node.java:450) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]
at org.jbpm.graph.exe.Token.signal(Token.java:210) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]
at org.jbpm.graph.exe.Token.signal(Token.java:171) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]
at org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:291) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]
at org.jboss.seam.pageflow.Pageflow.signal(Pageflow.java:485) [jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.pageflow.Pageflow.navigate(Pageflow.java:341) [jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.jsf.SeamNavigationHandler.handleNavigation(SeamNavigationHandler.java:40) [jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130) [jsf-impl-2.1.7-redhat-1.jar:2.1.7-redhat-1]
at javax.faces.component.UICommand.broadcast(UICommand.java:315) [jboss-jsf-api_2.1_spec-2.0.2.Final-redhat-0-todo.jar:2.0.2.Final]
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794) [jboss-jsf-api_2.1_spec-2.0.2.Final-redhat-0-todo.jar:2.0.2.Final]
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259) [jboss-jsf-api_2.1_spec-2.0.2.Final-redhat-0-todo.jar:2.0.2.Final]
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81) [jsf-impl-2.1.7-redhat-1.jar:2.1.7-redhat-1]
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) [jsf-impl-2.1.7-redhat-1.jar:2.1.7-redhat-1]
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) [jsf-impl-2.1.7-redhat-1.jar:2.1.7-redhat-1]
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593) [jboss-jsf-api_2.1_spec-2.0.2.Final-redhat-0-todo.jar:2.0.2.Final]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.15.Final-redhat-0-todo.jar:]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.15.Final-redhat-0-todo.jar:]
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) [jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60) [jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40) [jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90) [jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) [jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) [jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158) [jboss-seam.jar:2.3.0.Beta2-SNAPSHOT]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.15.Final-redhat-0-todo.jar:]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.15.Final-redhat-0-todo.jar:]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.15.Final-redhat-0-todo.jar:]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.15.Final-redhat-0-todo.jar:]
at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final-redhat-1.jar:7.1.1.Final-redhat-1]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.15.Final-redhat-0-todo.jar:]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.15.Final-redhat-0-todo.jar:]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.15.Final-redhat-0-todo.jar:]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.15.Final-redhat-0-todo.jar:]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.15.Final-redhat-0-todo.jar:]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.15.Final-redhat-0-todo.jar:]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:931) [jbossweb-7.0.15.Final-redhat-0-todo.jar:]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0]
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 3 months
[JBoss JIRA] (JBSEAM-5008) Seam2.3.0.Beta2 documentation issues, Take 2
by Marek Schmidt (JIRA)
Marek Schmidt created JBSEAM-5008:
-------------------------------------
Summary: Seam2.3.0.Beta2 documentation issues, Take 2
Key: JBSEAM-5008
URL: https://issues.jboss.org/browse/JBSEAM-5008
Project: Seam 2
Issue Type: Bug
Reporter: Marek Schmidt
Assignee: Marek Novotny
Fix For: 2.3.0.CR1
Introduction.xml:
*
" Seam 2 and its extensions was added a little re-factored into Java EE 6 as CDI technology.
So this should be a current focus of majority users. But for previous Seam 2 users who
doesn't want or can't use that, we bring some new features from the Java EE 6 set like JSF 2,
JPA 2 and Bean Validation integrations into Seam 2."
The wording could be improved a bit. Also there should be noted that EE6 support (JSF2, JPA2, bean validation) is Seam2.3 specific.
Tutorial.xml:
1.1
* examples directory (the "examples-ee6" should be renamed to "examples" in SVN)
* view, resources, src items should be removed
* "The example applications run both on JBoss AS 7.1.1 with no additional configuration."
** remove "both"
1.1.1
* "Once you've set the location of JBoss AS and started the application server, you can build and deploy any example by typing mvn install in the example root directory. And deploys it by changing to *-ear or *-web directory in case of existence only *-web submodule. Type in that submodule mvn jboss-as:deploy"
** The text is not clear, as "mvn install" doesn't deploy the example, so "you can build and deploy any example by typing mvn install in the example root directory." is not true.
1.2.1.1. The entity bean: User.java
* "The @NotNull and @Size annotations are part of the Hibernate Validator framework. Seam integrates Hibernate Validator and lets you use it for data validation (even if you are not using Hibernate for persistence). "
** These are now Bean Validation annotations (JSR 303)
1.2.1.2. The stateless session bean class: RegisterAction.java
* "JSF action listener methods return a string-valued outcome that determines what page will be displayed next. A null outcome (or a void action listener method) redisplays the previous page. In plain JSF, it is normal to always use a JSF navigation rule to determine the JSF view id from the outcome. For complex application this indirection is useful and a good practice. However, for very simple examples like this one, Seam lets you use the JSF view id as the outcome, eliminating the requirement for a navigation rule. Note that when you use a view id as an outcome, Seam always performs a browser redirect."
** The text should be updated wrt JSF2, as it also doesn't need navigation rules.
* <f:view> in JSF2 examples (...the examples should be fixed too), should be updated to also use h:head, h:body as a best practise
* This JSF component tells JSF to validate all the contained input fields against the Hibernate Validator annotations specified on the entity bean.
** should be "Bean Validation"
1.2.1.5. The Seam component deployment descriptor: components.xml
* The example should use "${jndiPattern}" instead of "@jndiPattern@" by default, as it is already discouraging the "funny @" symbols in the "Eclipse M2e Web" note.
1.2.1.7. The JSF configuration: faces-config.xml
* The file is not actually required at all, since we don't need to configure FaceletViewHandler in JSF2
1.2.1.10. The EAR deployment descriptor: application.xml
* "registration application has got this set up registration-ear/pom.xml." something missing after "set up" (e.g. ", see ", or "in", ...)
* "Just for imagination", czechism, I am afraid...
1.2.2. How it works
* The form input values are now validated against the Hibernate Validator constraints specified on the User entity
** Bean Validation
1.3. Clickable lists in Seam: the messages example
* Example 1.11. MessageManagerBean.java is not syntax highlighted
1.4. Seam and jBPM: the todo list example
* Example 1.14. todo.jpdl.xml is not syntax highlighted
* Example 1.17. TodoList.java is not syntax highlighted
* "If we view this process definition using the process definition editor provided by JBossIDE, this is what it looks like: "
** The process definition editor is not available in JBDS 5.
* Example 1.18. todo.xhtml should be updated to a facelet (contains JSP taglib tags in the headers, should be changed to XML)
1.5. Seam pageflow: the numberguess example
* Example 1.20. pageflow.jpdl.xml is not syntax highlighted
* "Here is what the pageflow looks like in the JBoss Developer Studio pageflow editor:" , the pageflow editor is not available in JBDS 5 AFAIK
* Example 1.22. win.xhtml is not syntax highlighted
* Example 1.23. NumberGuess.java is not syntax highlighted
* Example 1.25. HotelSearchingAction.java is not syntax highlighted
* Example 1.26. main.xhtml is not syntax highlighted
* "Even better, the reRender attribute lets us render a fragment of the JSF page and perform a partial page update when the asynchronous response is received."
** the attribute is "render" now in RF4
* "Also notice that we use a method binding with a parameter: #{hotelBooking.selectHotel(hot)}. This is not possible in the standard Unified EL"
** I belive that is now also possible in the standard since EL 2.1
* Example 1.27. HotelBookingAction.java is not syntax highlighted
* Example 1.28. RoomPreferenceAction.java is not syntax highlighted
* Example 1.29. rooms.xhtml is not syntax highlighed
* Example 1.29. rooms.xhtml the commented line numbers are several lines off the line they are commenting on and there is no "(3)" line
* Example 1.30. HotelBookingAction.java is not syntax highlighted
1.9.1. Using "pull"-style MVC
* Example 1.32. (BlogService) is not syntax highlighted
Chapter 2. Getting started with Seam, using seam-gen
* "In JBoss this may be accomplished by touching the top level deployment descriptor: application.xml for an EAR deployment, or web.xml for a WAR deployment.)"
** the behavior has changed in AS7, depending on deplyment mode, in automatic mode any file change will cause redeployment, none will in manual, see $JBOSS_HOME/standalone/deployments/README.txt
Chapter 4. Concepts
* "Concurrent requests to session-scoped stateful session beans are always serialized by Seam as long as the Seam interceptors are not disabled for the bean."
** That is not true anymore, since EJB3.1 changes, Seam 2.3 doesn't serialize access to SFSB anymore, it lets the ejb SFSB synchronization handle it itself. There should be a not that this has changed since previous versions.
4.2.7. Component names
* the list of imports (component.xml) is not syntax highlighted. (the block after "The components.xml file included in the Seam JAR defines the following namespaces. ")
Chapter 6. events
* Some examples mention "hello.jsp", "calculator.jsp" view-ids, while there is nothing wrong with that, it should probably be changed to .xhtml
Chapter 9. persistence
* "Seam provides extensive support for the two most popular persistence architectures for Java: Hibernate, and the Java Persistence API introduced with EJB 3.1."
** Not precise, JPA was introduced with EJB 3.0. Perhaps ".. architectures for Java: Hibernate, and the Java Persistence API 2.0." was meant?
* Mentions "Java EE 5" environment multiple times in the chapter, not clear if "EE 6" also applies. (mostly it refers to EJB >=3.0 / JPA) Should be probably changed just to "Java EE"
Chapter 10. validation
* JSF with bean validation is a standard now AFAIK and BV is also used with Seam now, so any mention of "Hibernate Validator" should be updated.
* The two RichFaces example blocks after "Finally, we can use RichFaces Ajax to display validation messages as the user is navigating around the form" needs to be updated to RF4.
Chapter 11. Groovy
* "TODO: write a quick overview of the Groovy syntax add-on" should be probably removed as noone will write it anyway
* "You will find a live example of the Booking demo written completely in Groovy and supporting incremental hot deployment in examples/groovybooking." the groovybooking example in Seam2.3 doesn't seem to support incremental hot deployment (as it uses WEB-INF/classes, not WEB-INF/dev and there are no special maven profiles)
Chapter 12. wicket
* "We are working to improve this." I doubt that...
Chapter 13. framework
* view-ids should probably be changed from .jsp to .xhtml
Chapter 15. Security
* 15.4.2.3.1. Minimal schema example, Role class not syntax highlighted
* 15.4.2.3.2. Complex Schema Example, Role class not syntax highlighted
Chapter 16. i18n
* "In addition, Seam provides the <s:convertDateTime> tag which always performs conversions in the Seam timezone."
** s:convertDateTime is not available in Seam2.3 (yet?)
Chapter 21. mail
21.2. Receiving emails
* Section should be updated wrt AS7. I don't think there is any mail-ra in AS7, though, so should seam2.3 distribute one after all? (I haven't tested if that one works yet, though...)
22.2.1. Asynchronous methods
* There should be a note that the Seam @Asynchronous is a different thing from the new EJB3.1 @Asynchronous
Chapter 29. search
29.2. Configuration
* The directory_provider now takes a provider name instead of the class name, e.g: <property name="hibernate.search.default.directory_provider" value="filesystem"/>
* The rendered "Maven coordinates for using from Hibernate Search:" looks broken in the docbook html output.
Chapter 30 configuration
* add a note that setting a STATE_SAVING_METHOD to "client" can lead to security issues and com.sun.faces.ClientStateSavingPassword env-entry should be set in such cases
30.1.4. Integrating Seam with your EJB container
* "For JBoss AS, the following pattern is correct" the section should be updated for AS7 and the problem with a different pattern for individual ejb jars should be noted. (there are multiple references to the old pattern in this chapter)
* "(when using the JBoss Embeddable EJB3 container)" remove mention of JBoss Embeddable EJB3 container
30.3. Configuring Seam in Java EE 5
* make it EE 5 or EE 6. (or just EE 6)
* Remove the jsf-facelets.jar from the example app tree
30.9. Deploying custom resources
* all examples in the section not syntax highlighted
Chapter 31 annotations
* "The annotations for data validation are defined by the Hibernate Validator package." the Bean Validation standard.
Chapter 34 JBoss EL
34.1. Parameterized Expressions
* It should be explained how it relates to the new standard EL which also allows methods with parameters.
Chapter 35 ClusteringAndEJBPassivation
* Needs to be updated, see JBSEAM-5004
Chapter 36 performance
* example not syntax highlighted
Chapter 37 testing
* The "Testing Seam with Arquillian" section should be merged with the "Integration testing Seam components", as since the latter is unusable by itself since the JBoss Embedded parts were removed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 3 months
[JBoss JIRA] (JBSEAM-5012) Documentation, events, "6.7. Navigation", remove JSF2 RI Waring
by Marek Schmidt (JIRA)
Marek Schmidt created JBSEAM-5012:
-------------------------------------
Summary: Documentation, events, "6.7. Navigation", remove JSF2 RI Waring
Key: JBSEAM-5012
URL: https://issues.jboss.org/browse/JBSEAM-5012
Project: Seam 2
Issue Type: Bug
Components: Documentation Issues
Affects Versions: 2.3.0.BETA2
Reporter: Marek Schmidt
Assignee: Marek Novotny
Fix For: 2.3.0.CR1
The warning says:
{quote}
In case you are using JSF RI 2, you have to define navigation rule for each of the possible non-null outcome values from a page action, or else implicit navigation is going to render. It is annoying, hopefully will be fixed in the next maintenance version release of JSF 2.
{quote}
I cannot reproduce the problem, so it has been presumably fixed and the warning should be removed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 3 months