[Installation, Configuration & DEPLOYMENT] - Re: JBoss 5.0.CR1 and JBAS-4282
by poss
Thanks for your help.
Here are the files.
********* faces-navigation ****************
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN" "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
<!--
========================================================================
Copyright © 2007 Novell, Inc. All Rights Reserved.
THIS WORK IS SUBJECT TO U.S. AND INTERNATIONAL COPYRIGHT LAWS AND TREATIES
NO PART OF THIS WORK MAY BE USED, PRACTICED, PERFORMED COPIED, DISTRIBUTED,
REVISED, MODIFIED, TRANSLATED, ABRIDGED, CONDENSED, EXPANDED, COLLECTED,
COMPILED, LINKED, RECAST, TRANSFORMED OR ADAPTED WITHOUT THE PRIOR WRITTEN
CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION OF THIS WORK WITHOUT
AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO CRIMINAL AND CIVIL
LIABILITY.
========================================================================
-->
<faces-config>
<navigation-rule>
<navigation-case>
<from-outcome>chooseUser</from-outcome>
<to-view-id>/jsps/login/LoginMultiple.jsf</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/jsps/login/LoginPortlet.jsp</from-view-id>
<navigation-case>
<from-outcome>/portal</from-outcome>
<to-view-id>/portal/cn/DefaultContainerPage</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>returnMain</from-outcome>
<to-view-id>/jsps/login/LoginPortlet.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>HintChange.jsf</from-outcome>
<to-view-id>/jsps/pwdmgt/HintChange.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>../pwdmgt/PasswordChange.jsf</from-outcome>
<to-view-id>/jsps/pwdmgt/RedirectPasswordChange.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>../locale/SetPreferredLocale.jsf</from-outcome>
<to-view-id>/jsps/locale/SetPreferredLocale.jsf</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>../pwdmgt/ChallengeResponseChange.jsf</from-outcome>
<to-view-id>/jsps/pwdmgt/RedirectChallengeResponseChange.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<navigation-case>
<from-outcome>lpNext</from-outcome>
<to-view-id>/jsps/index.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<navigation-case>
<from-outcome>returnMain</from-outcome>
<to-view-id>/jsps/login/Login.jsf</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<navigation-case>
<from-outcome>showGraceWarning</from-outcome>
<to-view-id>/jsps/login/LoginGraceWarning.jsf</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<navigation-case>
<from-outcome>forgotPassword</from-outcome>
<to-view-id>/jsps/pwdmgt/ForgotPassword.jsf</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/jsps/pwdmgt/PasswordChange.jsp</from-view-id>
<navigation-case>
<from-outcome>ChangeAgain</from-outcome>
<to-view-id>/jsps/pwdmgt/PasswordChange.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/jsps/pwdmgt/HintChange.jsp</from-view-id>
<navigation-case>
<from-outcome>redirectToSync</from-outcome>
<to-view-id>/jsps/pwdmgt/PasswordSyncStatus.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>success</from-outcome>
<to-view-id>/jsps/pwdmgt/HintChange.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/jsps/pwdmgt/PasswordSyncStatus.jsp</from-view-id>
<navigation-case>
<from-outcome>ChangeAgain</from-outcome>
<to-view-id>/jsps/pwdmgt/PasswordChange.jsf</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/jsps/pwdmgt/ForgotPassword.jsp</from-view-id>
<navigation-case>
<from-action>#{forgotPasswordBean.processSubmit}</from-action>
<from-outcome>challengeResponse</from-outcome>
<to-view-id>/jsps/pwdmgt/ForgotChallengeResponse.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-action>#{forgotPasswordBean.processSubmit}</from-action>
<from-outcome>forgotSuccess</from-outcome>
<to-view-id>/jsps/pwdmgt/ForgotSuccess.jsf</to-view-id>
</navigation-case>
<navigation-case>
<from-action>#{forgotPasswordBean.processSubmit}</from-action>
<from-outcome>multipleUser</from-outcome>
<to-view-id>/jsps/pwdmgt/ForgotPasswordMultiple.jsf</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/jsps/pwdmgt/ForgotChallengeResponse.jsp</from-view-id>
<navigation-case>
<from-action>#{forgotPasswordBean.processSubmit}</from-action>
<from-outcome>forgotSuccess</from-outcome>
<to-view-id>/jsps/pwdmgt/ForgotSuccess.jsf</to-view-id>
</navigation-case>
<navigation-case>
<from-action>#{forgotPasswordBean.processSubmit}</from-action>
<from-outcome>changePassword</from-outcome>
<to-view-id>/jsps/pwdmgt/ForgotPasswordChange.jsf</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/jsps/pwdmgt/ForgotPasswordChange.jsp</from-view-id>
<navigation-case>
<from-action>#{forgotPasswordBean.processPasswordSubmit}</from-action>
<from-outcome>forgotSuccess</from-outcome>
<to-view-id>/jsps/pwdmgt/ForgotSuccess.jsf</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/jsps/pwdmgt/ForgotPasswordMultiple.jsp</from-view-id>
<navigation-case>
<from-action>#{forgotPasswordBean.processMultipleSubmit}</from-action>
<from-outcome>challengeResponse</from-outcome>
<to-view-id>/jsps/pwdmgt/ForgotChallengeResponse.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-action>#{forgotPasswordBean.processMultipleSubmit}</from-action>
<from-outcome>forgotSuccess</from-outcome>
<to-view-id>/jsps/pwdmgt/ForgotSuccess.jsf</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<navigation-case>
<from-outcome>returnForgot</from-outcome>
<to-view-id>/jsps/pwdmgt/ForgotPassword.jsf</to-view-id>
</navigation-case>
</navigation-rule>
</faces-config>
********* faces-managed-beans ************
<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN" "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
<!--
========================================================================
Copyright © 2008 Novell, Inc. All Rights Reserved.
THIS WORK IS SUBJECT TO U.S. AND INTERNATIONAL COPYRIGHT LAWS AND TREATIES
NO PART OF THIS WORK MAY BE USED, PRACTICED, PERFORMED COPIED, DISTRIBUTED,
REVISED, MODIFIED, TRANSLATED, ABRIDGED, CONDENSED, EXPANDED, COLLECTED,
COMPILED, LINKED, RECAST, TRANSFORMED OR ADAPTED WITHOUT THE PRIOR WRITTEN
CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION OF THIS WORK WITHOUT
AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO CRIMINAL AND CIVIL
LIABILITY.
========================================================================
-->
<faces-config>
<managed-bean>
Bean used to handle all User Information within Password Managment pages.
<managed-bean-name>userEntityBean</managed-bean-name>
<managed-bean-class>com.novell.pwdmgt.jsf.bean.UserEntityBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
<managed-property>
User Name
<display-name>User Name</display-name>
<property-name>userName</property-name>
<property-class>java.lang.String</property-class>
</managed-property>
</managed-bean>
<managed-bean>
Bean used to handle hint changes.
<managed-bean-name>hintChangeBean</managed-bean-name>
<managed-bean-class>com.novell.pwdmgt.jsf.bean.HintChangeBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
<managed-property>
Hint Value
<display-name>Hint Value</display-name>
<property-name>userHint</property-name>
<property-class>java.lang.String</property-class>
</managed-property>
</managed-bean>
<managed-bean>
Bean used to handle password changes.
<managed-bean-name>pwdChangeBean</managed-bean-name>
<managed-bean-class>com.novell.pwdmgt.jsf.bean.PwdChangeBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
<managed-bean>
Bean used to handle challenge response data.
<managed-bean-name>challengeResponseBean</managed-bean-name>
<managed-bean-class>com.novell.pwdmgt.jsf.bean.ChallengeResponseBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
<managed-bean>
Bean used to handle all Forgot Password Information within Password Management pages.
<managed-bean-name>forgotPasswordBean</managed-bean-name>
<managed-bean-class>com.novell.pwdmgt.jsf.bean.ForgotPasswordBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
<managed-property>
User Name
<display-name>User Name</display-name>
<property-name>userName</property-name>
<property-class>java.lang.String</property-class>
</managed-property>
</managed-bean>
<managed-bean>
<managed-bean-name>makeList</managed-bean-name>
<managed-bean-class>com.novell.pwdmgt.jsf.bean.ListFromCollection</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
<validator-id>challengeResponseValidator</validator-id>
<validator-class>com.novell.pwdmgt.jsf.bean.ChallengeResponseValidator</validator-class>
<managed-bean>
Bean used to handle all set locale operations.
<managed-bean-name>setLocalePref</managed-bean-name>
<managed-bean-class>com.novell.soa.common.i18n.SetLocalePreferenceBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
<managed-bean>
Bean password policy status.
<managed-bean-name>policyStatusBean</managed-bean-name>
<managed-bean-class>com.novell.pwdmgt.jsf.bean.PolicyStatusBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
<managed-bean>
Bean password auth check.
<managed-bean-name>postAuthCheckBean</managed-bean-name>
<managed-bean-class>com.novell.pwdmgt.jsf.bean.PostAuthCheckBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
</faces-config>
******** faces-config **************
<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN" "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
<!--
========================================================================
Copyright © 2007 Novell, Inc. All Rights Reserved.
THIS WORK IS SUBJECT TO U.S. AND INTERNATIONAL COPYRIGHT LAWS AND TREATIES
NO PART OF THIS WORK MAY BE USED, PRACTICED, PERFORMED COPIED, DISTRIBUTED,
REVISED, MODIFIED, TRANSLATED, ABRIDGED, CONDENSED, EXPANDED, COLLECTED,
COMPILED, LINKED, RECAST, TRANSFORMED OR ADAPTED WITHOUT THE PRIOR WRITTEN
CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION OF THIS WORK WITHOUT
AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO CRIMINAL AND CIVIL
LIABILITY.
========================================================================
-->
<faces-config>
<view-handler>
com.novell.afw.portal.portlet.jsfbridge.sun.NovellViewHandlerImpl
</view-handler>
<component-type>pwdrules</component-type>
<component-class>
com.novell.pwdmgt.jsf.component.UIOutputPasswordRules
</component-class>
<application-factory>
com.sun.faces.application.ApplicationFactoryImpl
</application-factory>
<faces-context-factory>
com.sun.faces.context.FacesContextFactoryImpl
</faces-context-factory>
<lifecycle-factory>
com.sun.faces.lifecycle.LifecycleFactoryImpl
</lifecycle-factory>
<render-kit-factory>
com.sun.faces.renderkit.RenderKitFactoryImpl
</render-kit-factory>
</faces-config>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4168184#4168184
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4168184
16 years, 5 months
[Persistence, JBoss/CMP, Hibernate, Database] - Re: Exception with JTA/JNDI when moving from Tomcat
by jeremyrd
Stack trace is :
| java.lang.ClassCastException: com.arjuna.ats.jbossatx.jta.TransactionManagerDelegate cannot be cast to javax.transaction.TransactionManager
| at org.hibernate.transaction.JNDITransactionManagerLookup.getTransactionManager(JNDITransactionManagerLookup.java:23)
| at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:325)
| at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
| at com.rollins.crp.manager.HibernateUtil.<clinit>(HibernateUtil.java:45)
| at com.rollins.crp.utils.HibernateSessionRequestFilter.doFilter(HibernateSessionRequestFilter.java:40)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at com.rollins.crp.security.SecurityFilter.doFilter(SecurityFilter.java:88)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
| at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
| at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
| at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
| at java.lang.Thread.run(Thread.java:619)
| 08:35:26,381 ERROR [[action]] Servlet.service() for servlet action threw exception
| java.lang.NoClassDefFoundError: Could not initialize class com.rollins.crp.manager.HibernateUtil
| at com.rollins.crp.utils.HibernateSessionRequestFilter.doFilter(HibernateSessionRequestFilter.java:45)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at com.rollins.crp.security.SecurityFilter.doFilter(SecurityFilter.java:88)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
| at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
| at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
| at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
| at java.lang.Thread.run(Thread.java:619)
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4168162#4168162
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4168162
16 years, 5 months
Delivery Notification <rbattle@capital-invest.com>
by Postmaster@lists.jboss.org
This is a delivery status notification, automatically generated by MTA im5.namehub.com on Fri, 01 Aug 2008 06:25:47 -0700
Regarding recipient(s) : rbattle(a)capital-invest.com
Delivery status : Failed. Message could not be delivered to domain <capital-invest.com> .Error while sending data.
MTA Response :550
The original message headers are included as attachment.
16 years, 5 months