[JBoss Seam] - Re: Update transactions occurring prematurely in Seam app
by asookazian
here's the server.log output:
2007-12-18 11:08:28,146 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.core.events
| 2007-12-18 11:08:28,146 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.afterPhase
| 2007-12-18 11:08:28,146 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
| 2007-12-18 11:08:28,146 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
| 2007-12-18 11:08:28,146 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] committing transaction after phase: INVOKE_APPLICATION 5
| 2007-12-18 11:08:28,146 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
| 2007-12-18 11:08:28,146 DEBUG [org.jboss.seam.transaction.UTTransaction] committing JTA transaction
| 2007-12-18 11:08:28,146 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.events
| 2007-12-18 11:08:28,146 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.events
| 2007-12-18 11:08:28,146 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.core.events
| 2007-12-18 11:08:28,146 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.events
| 2007-12-18 11:08:28,146 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.events
| 2007-12-18 11:08:28,146 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.core.events
| 2007-12-18 11:08:28,146 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.beforeTransactionCompletion
| 2007-12-18 11:08:28,146 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] processing flush-time cascades
| 2007-12-18 11:08:28,146 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] dirty checking collections
| 2007-12-18 11:08:28,146 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] Flushed: 0 insertions, 1 updates, 0 deletions to 10 objects
| 2007-12-18 11:08:28,146 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] Flushed: 0 (re)creations, 0 updates, 0 removals to 0 collections
| 2007-12-18 11:08:28,146 DEBUG [org.hibernate.pretty.Printer] listing entities:
| 2007-12-18 11:08:28,161 DEBUG [org.hibernate.pretty.Printer] com.cox.beans.entity.GlobalEmployeeMaster{id=component[siteId,employeeNumber,userId,employeeName,addressLine1,addressLine2,addressLine3,searchName,socialSecurityNbr,homeTelephoneAreaCode,homeTelephoneExchange,homeTelephoneNumber,empBusinessAreaCode,empBusinessExchange,busPhoneNumber,empBusPhoneExtension,overridePct,commissionAmt,salesManagerCode,vehicleAssigned,unitsSoldWeek1,unitsSoldWeek2,unitsSoldWeek3,unitsSoldWeek4,lastWeekNumberPaid,ytdAnnuityCommsEarned,ytdBonusesEarned,aptUnitsSoldWeek1,aptUnitsSoldWeek2,aptUnitsSoldWeek3,aptUnitsSoldWeek4,resUnitsSoldWeek1,resUnitsSoldWeek2,resUnitsSoldWeek3,resUnitsSoldWeek4,employeeOutque,userSkillLevel,fsmEmployee,defaultSalesReason,employeeDispatchPool1,employeeDispatchPool2,employeeDispatchPool3,employeeDispatchPool4,employeeDispatchPool5,reportsTo,companyNumber,divisionNumber,franchiseNumber,employeeTypeCode]{employeeDispatchPool2= , salesManagerCode= , commissionAmt=0.0, empBusPhoneExtension= , addressLine2=TEMP EFF 12/10/07, aptUnitsSoldWeek2=0, reportsTo=74047, homeTelephoneExchange=0, employeeDispatchPool1= , homeTelephoneNumber=0, unitsSoldWeek2=0, vehicleAssigned=N, resUnitsSoldWeek3=0, busPhoneNumber=0, aptUnitsSoldWeek1=0, franchiseNumber=0, employeeNumber=74043, employeeDispatchPool3= , empBusinessAreaCode=0, employeeOutque=*DEFAULT, unitsSoldWeek4=0, addressLine3= , employeeDispatchPool4= , companyNumber=0, socialSecurityNbr=900066004, aptUnitsSoldWeek3=0, userSkillLevel=N, resUnitsSoldWeek2=0, overridePct=0.0, ytdBonusesEarned=0.0, searchName=GONZALEZ, userId=ORGJOGON, siteId=333, lastWeekNumberPaid=0, divisionNumber=0, aptUnitsSoldWeek4=0, employeeTypeCode=08, addressLine1=SOFTWARE DEVELOPER, unitsSoldWeek3=0, defaultSalesReason= , employeeDispatchPool5= , empBusinessExchange=0, resUnitsSoldWeek1=0, resUnitsSoldWeek4=0, employeeName=JONATHAN GONZALEZ, unitsSoldWeek1=0, fsmEmployee=N, homeTelephoneAreaCode=0, ytdAnnuityCommsEarned=0.0}}
| 2007-12-18 11:08:28,161 DEBUG [org.hibernate.pretty.Printer] com.cox.beans.entity.TblSecurityAuditWorking{auditProgress=0, reportToId=900050881, auditYear=2007, securityLevelApproved=null, icomsAccountApproved=null, adjustmentLimitApproved=null, auditQuarter=4, id=component[siteId,employeeNumber]{siteId=333, employeeNumber=74055}}
| 2007-12-18 11:08:28,161 DEBUG [org.hibernate.pretty.Printer] com.cox.beans.entity.GlobalEmployeeMaster{id=component[siteId,employeeNumber,userId,employeeName,addressLine1,addressLine2,addressLine3,searchName,socialSecurityNbr,homeTelephoneAreaCode,homeTelephoneExchange,homeTelephoneNumber,empBusinessAreaCode,empBusinessExchange,busPhoneNumber,empBusPhoneExtension,overridePct,commissionAmt,salesManagerCode,vehicleAssigned,unitsSoldWeek1,unitsSoldWeek2,unitsSoldWeek3,unitsSoldWeek4,lastWeekNumberPaid,ytdAnnuityCommsEarned,ytdBonusesEarned,aptUnitsSoldWeek1,aptUnitsSoldWeek2,aptUnitsSoldWeek3,aptUnitsSoldWeek4,resUnitsSoldWeek1,resUnitsSoldWeek2,resUnitsSoldWeek3,resUnitsSoldWeek4,employeeOutque,userSkillLevel,fsmEmployee,defaultSalesReason,employeeDispatchPool1,employeeDispatchPool2,employeeDispatchPool3,employeeDispatchPool4,employeeDispatchPool5,reportsTo,companyNumber,divisionNumber,franchiseNumber,employeeTypeCode]{employeeDispatchPool2= , salesManagerCode= , commissionAmt=0.0, empBusPhoneExtension= , addressLine2=NEW HIRE 7/23/07, aptUnitsSoldWeek2=0, reportsTo=74047, homeTelephoneExchange=0, employeeDispatchPool1= , homeTelephoneNumber=0, unitsSoldWeek2=0, vehicleAssigned=N, resUnitsSoldWeek3=0, busPhoneNumber=0, aptUnitsSoldWeek1=0, franchiseNumber=0, employeeNumber=74055, employeeDispatchPool3= , empBusinessAreaCode=0, employeeOutque=*DEFAULT, unitsSoldWeek4=0, addressLine3= , employeeDispatchPool4= , companyNumber=0, socialSecurityNbr=900069053, aptUnitsSoldWeek3=0, userSkillLevel=N, resUnitsSoldWeek2=0, overridePct=0.0, ytdBonusesEarned=0.0, searchName=SOOKAZIAN, userId=ORGARSOO, siteId=333, lastWeekNumberPaid=0, divisionNumber=0, aptUnitsSoldWeek4=0, employeeTypeCode=08, addressLine1=SOFTWARE DEVELOPER, unitsSoldWeek3=0, defaultSalesReason= , employeeDispatchPool5= , empBusinessExchange=0, resUnitsSoldWeek1=0, resUnitsSoldWeek4=0, employeeName=ARBI SOOKIAZIAN, unitsSoldWeek1=0, fsmEmployee=N, homeTelephoneAreaCode=0, ytdAnnuityCommsEarned=0.0}}
| 2007-12-18 11:08:28,161 DEBUG [org.hibernate.pretty.Printer] com.cox.beans.entity.GlobalEmployeeMaster{id=component[siteId,employeeNumber,userId,employeeName,addressLine1,addressLine2,addressLine3,searchName,socialSecurityNbr,homeTelephoneAreaCode,homeTelephoneExchange,homeTelephoneNumber,empBusinessAreaCode,empBusinessExchange,busPhoneNumber,empBusPhoneExtension,overridePct,commissionAmt,salesManagerCode,vehicleAssigned,unitsSoldWeek1,unitsSoldWeek2,unitsSoldWeek3,unitsSoldWeek4,lastWeekNumberPaid,ytdAnnuityCommsEarned,ytdBonusesEarned,aptUnitsSoldWeek1,aptUnitsSoldWeek2,aptUnitsSoldWeek3,aptUnitsSoldWeek4,resUnitsSoldWeek1,resUnitsSoldWeek2,resUnitsSoldWeek3,resUnitsSoldWeek4,employeeOutque,userSkillLevel,fsmEmployee,defaultSalesReason,employeeDispatchPool1,employeeDispatchPool2,employeeDispatchPool3,employeeDispatchPool4,employeeDispatchPool5,reportsTo,companyNumber,divisionNumber,franchiseNumber,employeeTypeCode]{employeeDispatchPool2= , salesManagerCode= , commissionAmt=0.0, empBusPhoneExtension= , addressLine2= , aptUnitsSoldWeek2=0, reportsTo=74047, homeTelephoneExchange=0, employeeDispatchPool1= , homeTelephoneNumber=0, unitsSoldWeek2=0, vehicleAssigned=N, resUnitsSoldWeek3=0, busPhoneNumber=0, aptUnitsSoldWeek1=0, franchiseNumber=0, employeeNumber=74052, employeeDispatchPool3= , empBusinessAreaCode=0, employeeOutque=*DEFAULT, unitsSoldWeek4=0, addressLine3= , employeeDispatchPool4= , companyNumber=0, socialSecurityNbr=900069801, aptUnitsSoldWeek3=0, userSkillLevel=N, resUnitsSoldWeek2=0, overridePct=0.0, ytdBonusesEarned=0.0, searchName=ABANDO, userId=ORGANABA, siteId=333, lastWeekNumberPaid=0, divisionNumber=0, aptUnitsSoldWeek4=0, employeeTypeCode=08, addressLine1=REPORTING ANALYST, unitsSoldWeek3=0, defaultSalesReason= , employeeDispatchPool5= , empBusinessExchange=0, resUnitsSoldWeek1=0, resUnitsSoldWeek4=0, employeeName=ANGELIE ABANDO, unitsSoldWeek1=0, fsmEmployee=N, homeTelephoneAreaCode=0, ytdAnnuityCommsEarned=0.0}}
| 2007-12-18 11:08:28,161 DEBUG [org.hibernate.pretty.Printer] com.cox.beans.entity.GlobalEmployeeMaster{id=component[siteId,employeeNumber,userId,employeeName,addressLine1,addressLine2,addressLine3,searchName,socialSecurityNbr,homeTelephoneAreaCode,homeTelephoneExchange,homeTelephoneNumber,empBusinessAreaCode,empBusinessExchange,busPhoneNumber,empBusPhoneExtension,overridePct,commissionAmt,salesManagerCode,vehicleAssigned,unitsSoldWeek1,unitsSoldWeek2,unitsSoldWeek3,unitsSoldWeek4,lastWeekNumberPaid,ytdAnnuityCommsEarned,ytdBonusesEarned,aptUnitsSoldWeek1,aptUnitsSoldWeek2,aptUnitsSoldWeek3,aptUnitsSoldWeek4,resUnitsSoldWeek1,resUnitsSoldWeek2,resUnitsSoldWeek3,resUnitsSoldWeek4,employeeOutque,userSkillLevel,fsmEmployee,defaultSalesReason,employeeDispatchPool1,employeeDispatchPool2,employeeDispatchPool3,employeeDispatchPool4,employeeDispatchPool5,reportsTo,companyNumber,divisionNumber,franchiseNumber,employeeTypeCode]{employeeDispatchPool2= , salesManagerCode= , commissionAmt=0.0, empBusPhoneExtension= , addressLine2= , aptUnitsSoldWeek2=0, reportsTo=74047, homeTelephoneExchange=0, employeeDispatchPool1= , homeTelephoneNumber=0, unitsSoldWeek2=0, vehicleAssigned=N, resUnitsSoldWeek3=0, busPhoneNumber=0, aptUnitsSoldWeek1=0, franchiseNumber=0, employeeNumber=74040, employeeDispatchPool3= , empBusinessAreaCode=0, employeeOutque=*DEFAULT, unitsSoldWeek4=0, addressLine3= , employeeDispatchPool4= , companyNumber=0, socialSecurityNbr=900001042, aptUnitsSoldWeek3=0, userSkillLevel=N, resUnitsSoldWeek2=0, overridePct=0.0, ytdBonusesEarned=0.0, searchName=BELL, userId=ORGMIWBE, siteId=333, lastWeekNumberPaid=0, divisionNumber=0, aptUnitsSoldWeek4=0, employeeTypeCode=08, addressLine1=SOFTEWARE DEVELOPER, unitsSoldWeek3=0, defaultSalesReason= , employeeDispatchPool5= , empBusinessExchange=0, resUnitsSoldWeek1=0, resUnitsSoldWeek4=0, employeeName=MIKE BELL, unitsSoldWeek1=0, fsmEmployee=N, homeTelephoneAreaCode=0, ytdAnnuityCommsEarned=0.0}}
| 2007-12-18 11:08:28,161 DEBUG [org.hibernate.pretty.Printer] com.cox.beans.entity.TblSecurityAuditWorking{auditProgress=0, reportToId=900050881, auditYear=2007, securityLevelApproved=null, icomsAccountApproved=null, adjustmentLimitApproved=null, auditQuarter=4, id=component[siteId,employeeNumber]{siteId=333, employeeNumber=74052}}
| 2007-12-18 11:08:28,161 DEBUG [org.hibernate.pretty.Printer] com.cox.beans.entity.TblSecurityAuditWorking{auditProgress=0, reportToId=900050881, auditYear=2007, securityLevelApproved=null, icomsAccountApproved=null, adjustmentLimitApproved=null, auditQuarter=4, id=component[siteId,employeeNumber]{siteId=333, employeeNumber=74050}}
| 2007-12-18 11:08:28,161 DEBUG [org.hibernate.pretty.Printer] com.cox.beans.entity.TblSecurityAuditWorking{auditProgress=0, reportToId=900050881, auditYear=2007, securityLevelApproved=null, icomsAccountApproved=true, adjustmentLimitApproved=null, auditQuarter=4, id=component[siteId,employeeNumber]{siteId=333, employeeNumber=74040}}
| 2007-12-18 11:08:28,161 DEBUG [org.hibernate.pretty.Printer] com.cox.beans.entity.TblSecurityAuditWorking{auditProgress=0, reportToId=900050881, auditYear=2007, securityLevelApproved=null, icomsAccountApproved=true, adjustmentLimitApproved=null, auditQuarter=4, id=component[siteId,employeeNumber]{siteId=333, employeeNumber=74043}}
| 2007-12-18 11:08:28,161 DEBUG [org.hibernate.pretty.Printer] com.cox.beans.entity.GlobalEmployeeMaster{id=component[siteId,employeeNumber,userId,employeeName,addressLine1,addressLine2,addressLine3,searchName,socialSecurityNbr,homeTelephoneAreaCode,homeTelephoneExchange,homeTelephoneNumber,empBusinessAreaCode,empBusinessExchange,busPhoneNumber,empBusPhoneExtension,overridePct,commissionAmt,salesManagerCode,vehicleAssigned,unitsSoldWeek1,unitsSoldWeek2,unitsSoldWeek3,unitsSoldWeek4,lastWeekNumberPaid,ytdAnnuityCommsEarned,ytdBonusesEarned,aptUnitsSoldWeek1,aptUnitsSoldWeek2,aptUnitsSoldWeek3,aptUnitsSoldWeek4,resUnitsSoldWeek1,resUnitsSoldWeek2,resUnitsSoldWeek3,resUnitsSoldWeek4,employeeOutque,userSkillLevel,fsmEmployee,defaultSalesReason,employeeDispatchPool1,employeeDispatchPool2,employeeDispatchPool3,employeeDispatchPool4,employeeDispatchPool5,reportsTo,companyNumber,divisionNumber,franchiseNumber,employeeTypeCode]{employeeDispatchPool2= , salesManagerCode= , commissionAmt=0.0, empBusPhoneExtension= , addressLine2=BUSINESS SUPPORT SERVICES, aptUnitsSoldWeek2=0, reportsTo=74047, homeTelephoneExchange=0, employeeDispatchPool1= , homeTelephoneNumber=0, unitsSoldWeek2=0, vehicleAssigned=N, resUnitsSoldWeek3=0, busPhoneNumber=0, aptUnitsSoldWeek1=0, franchiseNumber=0, employeeNumber=74050, employeeDispatchPool3= , empBusinessAreaCode=0, employeeOutque=*DEFAULT, unitsSoldWeek4=0, addressLine3=START DATE: 11/8/04 TEMP, employeeDispatchPool4= , companyNumber=0, socialSecurityNbr=900056641, aptUnitsSoldWeek3=0, userSkillLevel=N, resUnitsSoldWeek2=0, overridePct=0.0, ytdBonusesEarned=0.0, searchName=MCLEAN, userId=ORGERMCL, siteId=333, lastWeekNumberPaid=0, divisionNumber=0, aptUnitsSoldWeek4=0, employeeTypeCode=08, addressLine1=ULTS ADMIN, unitsSoldWeek3=0, defaultSalesReason=M1, employeeDispatchPool5= , empBusinessExchange=0, resUnitsSoldWeek1=0, resUnitsSoldWeek4=0, employeeName=ERIC MCLEAN, unitsSoldWeek1=0, fsmEmployee=N, homeTelephoneAreaCode=0, ytdAnnuityCommsEarned=0.0}}
| 2007-12-18 11:08:28,161 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
| 2007-12-18 11:08:28,161 DEBUG [org.hibernate.jdbc.ConnectionManager] opening JDBC connection
| 2007-12-18 11:08:28,161 DEBUG [org.hibernate.SQL] update boIcomsSecurityAudit.dbo.tblSecurityAuditWorking set ICOMS_ACCOUNT_APPROVED=?, ADJUSTMENT_LIMIT_APPROVED=?, SECURITY_LEVEL_APPROVED=?, ReportToID=?, AuditQuarter=?, AuditYear=?, AuditProgress=? where SITE_ID=? and EMPLOYEE_NUMBER=?
| 2007-12-18 11:08:28,161 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
| 2007-12-18 11:08:28,161 DEBUG [org.hibernate.jdbc.ConnectionManager] skipping aggressive-release due to flush cycle
| 2007-12-18 11:08:28,161 DEBUG [org.hibernate.jdbc.ConnectionManager] aggressively releasing JDBC connection
| 2007-12-18 11:08:28,161 DEBUG [org.hibernate.jdbc.ConnectionManager] releasing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)]
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113920#4113920
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113920
18 years, 4 months
[JBoss Seam] - identifier 'authenticator' resolved to null
by tonylmai
Hello all,
I am trying to migrate my apps to Seam 2.0GA. Somehow, I am running into an exception where Seam could not look up my authenticator.
So I created a new project with plain pages. I run into the same problem.
Please help!
Here is the exception in the log
anonymous wrote : 10:28:51,875 INFO [EARDeployer] Started J2EE application: file:/D:/JudoFS/server/jboss-4.2.1.GA/server/default/deploy/marketdesk_wui.ear/
| 10:28:51,953 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
| 10:28:51,984 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
| 10:28:52,250 INFO [Server] JBoss (MX MicroKernel) [4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=200707131605)] Started in 35s:266ms
| 10:29:57,046 INFO [Contexts] starting up: org.jboss.seam.security.identity
| 10:29:57,781 INFO [RuleBase] parsing rules: /security.drl
| 10:29:58,078 INFO [Contexts] starting up: org.jboss.seam.web.session
| 10:29:58,671 ERROR [STDERR] Dec 18, 2007 10:29:58 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/D:/JudoFS/server/jboss-4.2.1.GA/server/default/deploy/marketdesk_wui.ear/marketdesk_wui.war/WEB-INF/lib/jboss-seam-mail.jar!/META-INF/seam-mail.taglib.xml
| 10:29:58,687 ERROR [STDERR] Dec 18, 2007 10:29:58 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/D:/JudoFS/server/jboss-4.2.1.GA/server/default/deploy/marketdesk_wui.ear/marketdesk_wui.war/WEB-INF/lib/jboss-seam-pdf.jar!/META-INF/seam-pdf.taglib.xml
| 10:29:58,703 ERROR [STDERR] Dec 18, 2007 10:29:58 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/D:/JudoFS/server/jboss-4.2.1.GA/server/default/deploy/marketdesk_wui.ear/marketdesk_wui.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/s.taglib.xml
| 10:29:58,734 ERROR [STDERR] Dec 18, 2007 10:29:58 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/D:/JudoFS/server/jboss-4.2.1.GA/server/default/deploy/marketdesk_wui.ear/marketdesk_wui.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
| 10:29:58,750 ERROR [STDERR] Dec 18, 2007 10:29:58 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/D:/JudoFS/server/jboss-4.2.1.GA/server/default/deploy/marketdesk_wui.ear/marketdesk_wui.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml
| 10:29:58,765 ERROR [STDERR] Dec 18, 2007 10:29:58 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/D:/JudoFS/server/jboss-4.2.1.GA/server/default/deploy/marketdesk_wui.ear/marketdesk_wui.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml
| 10:29:58,781 ERROR [STDERR] Dec 18, 2007 10:29:58 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/D:/JudoFS/server/jboss-4.2.1.GA/server/default/deploy/marketdesk_wui.ear/marketdesk_wui.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
| 10:29:58,828 ERROR [STDERR] Dec 18, 2007 10:29:58 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/D:/JudoFS/server/jboss-4.2.1.GA/server/default/deploy/marketdesk_wui.ear/marketdesk_wui.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml
| 10:29:58,859 ERROR [STDERR] Dec 18, 2007 10:29:58 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/D:/JudoFS/server/jboss-4.2.1.GA/server/default/deploy/marketdesk_wui.ear/marketdesk_wui.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/a4j.taglib.xml
| 10:29:58,875 ERROR [STDERR] Dec 18, 2007 10:29:58 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/D:/JudoFS/server/jboss-4.2.1.GA/server/default/deploy/marketdesk_wui.ear/marketdesk_wui.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/ajax4jsf.taglib.xml
| 10:29:58,906 ERROR [STDERR] Dec 18, 2007 10:29:58 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/D:/JudoFS/server/jboss-4.2.1.GA/server/default/deploy/marketdesk_wui.ear/marketdesk_wui.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/rich.taglib.xml
| 10:29:58,937 ERROR [STDERR] Dec 18, 2007 10:29:58 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/D:/JudoFS/server/jboss-4.2.1.GA/server/default/deploy/marketdesk_wui.ear/marketdesk_wui.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/richfaces.taglib.xml
| 10:32:07,187 ERROR [SeamLoginModule] Error invoking login method
| javax.el.PropertyNotFoundException: Target Unreachable, identifier 'authenticator' resolved to null
| at org.jboss.el.parser.AstValue.getTarget(AstValue.java:38)
| at org.jboss.el.parser.AstValue.invoke(AstValue.java:95)
| at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
| at org.jboss.seam.core.Expressions$2.invoke(Expressions.java:174)
| at org.jboss.seam.security.jaas.SeamLoginModule.login(SeamLoginModule.java:108)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at javax.security.auth.login.LoginContext.invoke(Unknown Source)
| at javax.security.auth.login.LoginContext.access$000(Unknown Source)
| at javax.security.auth.login.LoginContext$5.run(Unknown Source)
| at java.security.AccessController.doPrivileged(Native Method)
| at javax.security.auth.login.LoginContext.invokeCreatorPriv(Unknown Source)
| at javax.security.auth.login.LoginContext.login(Unknown Source)
| at org.jboss.seam.security.Identity.authenticate(Identity.java:335)
My login page is as followed (straight from seam gen):
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
| "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
| <ui:composition xmlns="http://www.w3.org/1999/xhtml"
| xmlns:s="http://jboss.com/products/seam/taglib"
| xmlns:ui="http://java.sun.com/jsf/facelets"
| xmlns:f="http://java.sun.com/jsf/core"
| xmlns:h="http://java.sun.com/jsf/html"
| xmlns:rich="http://richfaces.org/rich"
| template="layout/template.xhtml">
|
| <ui:define name="body">
|
| <h:messages styleClass="message"/>
|
| <h:form id="login">
|
| <rich:panel>
| <f:facet name="header">Login</f:facet>
|
| <p>Please login using any username and password</p>
|
| <div class="dialog">
| <h:panelGrid columns="2" rowClasses="prop" columnClasses="name,value">
| <h:outputLabel for="username">Username</h:outputLabel>
| <h:inputText id="username"
| value="#{identity.username}"/>
| <h:outputLabel for="password">Password</h:outputLabel>
| <h:inputSecret id="password"
| value="#{identity.password}"/>
| <h:outputLabel for="rememberMe">Remember me</h:outputLabel>
| <h:selectBooleanCheckbox id="rememberMe"
| value="#{identity.rememberMe}"/>
| </h:panelGrid>
| </div>
|
| </rich:panel>
|
| <div class="actionButtons">
| <h:commandButton value="Login" action="#{identity.login}"/>
| </div>
|
| </h:form>
|
| </ui:define>
| </ui:composition>
And my pages.xml is modified as follow:
<page view-id="/login.xhtml">
| <navigation from-action="#{authenticator.checkIfLogedIn}">
| <rule if="#{identity.loggedIn}">
| <redirect view-id="/home.xhtml" />
| </rule>
| </navigation>
| <!-- Upon successful login, redirect to pending orders page -->
| <navigation from-action="#{identity.login}">
| <rule if="#{identity.loggedIn}">
| <redirect view-id="/home.xhtml" />
| </rule>
| <rule if-outcome="home">
| <redirect view-id="/home.xhtml" />
| </rule>
| </navigation>
| </page>
|
| <page view-id="*">
| <!-- After logged out, redisplay the login page -->
| <navigation from-action="#{identity.logout}">
| <redirect view-id="/login.xhtml" />
| </navigation>
| <!-- If application returns "home", redirect to pending orders page -->
| <navigation>
| <rule if-outcome="home">
| <redirect view-id="/home.xhtml" />
| </rule>
| ...
And my authenticator is (again, straight from seam gen)
package com.judofs.brokerage.marketdesk.action;
|
| import org.jboss.seam.annotations.In;
| import org.jboss.seam.annotations.Logger;
| import org.jboss.seam.annotations.Name;
| import org.jboss.seam.log.Log;
| import org.jboss.seam.security.Identity;
|
| @Name("authenticator")
| public class Authenticator {
| private @Logger Log log;
|
| private @In Identity identity;
|
| public boolean authenticate()
| {
| log.info("authenticating #0", identity.getUsername());
| //write your authentication logic here,
| //return true if the authentication was
| //successful, false otherwise
| identity.addRole("admin");
| return true;
| }
| }
Thanks in advance for your help.
-Tony
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113916#4113916
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113916
18 years, 4 months
[JBoss Messaging] - Re: Messaging 1.3 Clustering question
by timfox
If you have a distributed queue with an MDB consuming from that queue - one on each node, and send messages to that queue on a particular node, then the local consumer (i.e. the local MDB) will always get the messages by preference.
This makes sense, since there's no point sending the messages to different nodes if the local consumer can cope with them happily - this would just be unnecessary network traffic.
Consumers on other nodes will consume the messages only if the local consumer either doesn't exist, or is "busy".
What does "busy" mean? Each consumer maintains a local buffer of messages (default size 150) from which it consumes. Once that buffer is full, the consumer is busy. For a fast consumer, the buffer would never get full so it would never be busy.
You can alter this value (see prefetchSize in the doco).
Also make sure you're using 1.4.0.SP3 and JBoss Remoting 2.2.2.SP4
Hope that clears things up.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113909#4113909
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113909
18 years, 4 months