[JBoss JIRA] Created: (SEAM-30) Seam release should not depend on any SNAPSHOT artifacts
by Ondrej Skutka (JIRA)
Seam release should not depend on any SNAPSHOT artifacts
--------------------------------------------------------
Key: SEAM-30
URL: https://issues.jboss.org/browse/SEAM-30
Project: Seam 3
Issue Type: Bug
Components: Release tasks
Affects Versions: 3.0.0.CR1
Reporter: Ondrej Skutka
Tagged version of Seam 3 intended for a release should contain no -SNAPSHOT dependencies in order to have the release rebuildable in the future.
Seam 3.0.0.CR1 modules contain following SNAPSHOT dependencies:
solder/impl/pom.xml: org.jboss.arquillian.container:arquillian-glassfish-remote-3.1:1.0.0-SNAPSHOT
catch/examples/basic-servlet/pom.xml: org.jboss.seam.catch:seam-catch-parent:3.0.0-SNAPSHOT
rest/impl/pom.xml: org.jboss.arquillian.container:arquillian-glassfish-remote-3.1:1.0.0-SNAPSHOT
config/docs/pom.xml: org.jboss.seam.config:seam-config-parent:3.0.0-SNAPSHOT
org.jboss.seam.config:seam-config-reference-guide:3.0.0-SNAPSHOT
config/dist/pom.xml: org.jboss.seam.config:seam-config-parent:3.0.0-SNAPSHOT
config/examples/princess-rescue/pom.xml: org.jboss.seam.config:seam-config-parent:3.0.0-SNAPSHOT
security/examples/pom.xml: org.jboss.seam.security:seam-security-parent:3.0.0-SNAPSHOT
org.jboss.seam.security:seam-security-example-parent:3.0.0-SNAPSHOT
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 11 months
[JBoss JIRA] Created: (JBSEAM-4639) In JSF2, Seam sets JSF view Id to null for postback requests
by Alex Savitsky (JIRA)
In JSF2, Seam sets JSF view Id to null for postback requests
------------------------------------------------------------
Key: JBSEAM-4639
URL: https://jira.jboss.org/jira/browse/JBSEAM-4639
Project: Seam
Issue Type: Bug
Components: JSF Integration
Affects Versions: 2.2.0.GA
Environment: JSF 2 RI (Mojarra) v.2.0.2.FCS
Reporter: Alex Savitsky
Priority: Critical
Run attached test-bug-2.2.1.war (I've been using Tomcat 6.0, but any web container will do). Access index.jsf in the context root (usually http://localhost:your-startup-port/your-context-root/index.jsf) and click the "Add" button. Note the exception, and also note the debug output in the system console:
Before phase RESTORE_VIEW 1, view id = N/A (no root)
After phase RESTORE_VIEW 1, view id = /index.xhtml
Before phase RENDER_RESPONSE 6, view id = /index.xhtml
TestBean created
After phase RENDER_RESPONSE 6, view id = /index.xhtml
Before phase RESTORE_VIEW 1, view id = N/A (no root)
After phase RESTORE_VIEW 1, view id = null
Before phase APPLY_REQUEST_VALUES 2, view id = null
After phase APPLY_REQUEST_VALUES 2, view id = null
Before phase PROCESS_VALIDATIONS 3, view id = null
After phase PROCESS_VALIDATIONS 3, view id = null
Before phase UPDATE_MODEL_VALUES 4, view id = null
After phase UPDATE_MODEL_VALUES 4, view id = null
Before phase INVOKE_APPLICATION 5, view id = null
After phase INVOKE_APPLICATION 5, view id = null
The very same setup without Seam (test-bug-clean.war, with no Seam JAR in WEB-INF/lib, and with Seam commented out in web.xml) has the button working (validation messages appear) as well as different debug output:
Before phase RESTORE_VIEW 1, view id = N/A (no root)
After phase RESTORE_VIEW 1, view id = /index.xhtml
Before phase RENDER_RESPONSE 6, view id = /index.xhtml
TestBean created
After phase RENDER_RESPONSE 6, view id = /index.xhtml
Before phase RESTORE_VIEW 1, view id = N/A (no root)
After phase RESTORE_VIEW 1, view id = /index.xhtml
Before phase APPLY_REQUEST_VALUES 2, view id = /index.xhtml
After phase APPLY_REQUEST_VALUES 2, view id = /index.xhtml
Before phase PROCESS_VALIDATIONS 3, view id = /index.xhtml
After phase PROCESS_VALIDATIONS 3, view id = /index.xhtml
Before phase RENDER_RESPONSE 6, view id = /index.xhtml
After phase RENDER_RESPONSE 6, view id = /index.xhtml
The debug phase listener source can be found in /WEB-INF/classes/test/TestListener.java
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years
[JBoss JIRA] Created: (JBSEAM-4652) Using JSF 2 And Seam
by browny browny (JIRA)
Using JSF 2 And Seam
--------------------
Key: JBSEAM-4652
URL: https://jira.jboss.org/browse/JBSEAM-4652
Project: Seam
Issue Type: Bug
Components: JSF Integration
Affects Versions: 2.2.1.CR1, 2.2.0.GA
Environment: JBoss-5.1.0 AS , Seam 2.2.0 & Seam 2.2.1 CR1, JSF 2(Mojarro - 2.0.2)
Reporter: browny browny
When using PageFlow with JSF 2.0 during transition from one page to another i get an excption ::
javax.servlet.ServletException
javax.faces.webapp.FacesServlet.service(FacesServlet.java:325)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
root cause
java.lang.NullPointerException
org.jboss.seam.document.DocumentStorePhaseListener.beforePhase(DocumentStorePhaseListener.java:38)
com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:228)
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:99)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:313)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
The same example works fine with JSF 1.2.But with JSF 2.0 i get the same exception for Seam 2.2.0 and 2.2.1
Anyhow i get the seam variables resolved and application succeefuly deployed with JSF 2.0 but this error during page transition occurs. I use pageflow (jbpm-jpdl.jar) for stateful navigation.
Any clues??
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years
[JBoss JIRA] Created: (JBSEAM-4528) static pages don't work at all with database down and XA datasource used
by deanhiller (JIRA)
static pages don't work at all with database down and XA datasource used
------------------------------------------------------------------------
Key: JBSEAM-4528
URL: https://jira.jboss.org/jira/browse/JBSEAM-4528
Project: Seam
Issue Type: Bug
Components: Core
Affects Versions: 2.2.0.GA
Environment: postgres or oracle with postgres or oracle XADatasource. postgres jdbc driver is fine while oracle driver is not
Reporter: deanhiller
Priority: Critical
If this is a hibernate bug, please report hibernate issue and ticket here as other seam users will run into this problem and it looks like a seam framework problem(or at least could be solved in seam but it may be possible to solve in hibernate too and could be solved in each and every driver datasource as well).
Steps to reproduce
1. start up the jboss 5.1.0 with latest seam
2. pull your internet connection so the db is gone
3. have all your customers go to a static page like /web/error.xhtml
RESULT: jboss goes to it's knees as users in IE end up in infinite redirects to your server causing more and more load on the server. The drivers talk to the database when they should not be. I have a work around proxy driver for oracle's jdbc driver. I do not however have a fix for oracle's datasource or postgres datasource.
I imagine someone could write a proxy datasource that would solve this problem for all people, hibernate, seam and all xa drivers. I will attach logs of postgres xa driver and oracle one but basically they are trying to open a connection to database when ANY http request comes in until waiting to see if we actually do any select statements or updates or inserts. For some reason, the postgres driver and oracle driver where fine here...they did not make db requests when an http request came in. The oracle driver however did make a request to the db when commit is called even if no sql was done against the db where postgres driver ignored the commit since no sql was done. I will try to attach files or more comments here. PLEASE if you report a tic in hibernate put it in here for others to find when they hit this issue.
keyphrases:
seam doesn't work when database goes down
seam infinite redirect on db outage
database failure causes seam to not work
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years