Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
JSP - A mailing list about Java Server Pages specification and reference
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
- JBoss 4.2/Seam 1.2.1/Ajax4jsf 1.1.1: Could not destr

- JBoss 4.2/Seam 1.2.1/Ajax4jsf 1.1.1: Could not destr

2007-07-11       - By carlsz

 Back
Hello all:

I'm seeing the following NoClassDefFoundError when shutting down my JBoss
instance.  The component in question is a stateful session bean used to
retrieve updates for Ajax4jsf.  Adding the el JARs to my EAR causes the server
to hang on startup.  Is there something wrong with my config? Or is there a
bigger problem?

Thanks in advance for your insight.

Carl

RuntimeException:

 | 19:53:44,806 WARN  [Contexts] Could not destroy component: exploreStreams
 | javax.ejb.EJBException Source code of javax.ejb.EJBException: java.lang.RuntimeException Source code of java.lang.RuntimeException: java.lang
.NoClassDefFoundError: com/sun/el/ExpressionFactoryImpl
 |         at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx
(Ejb3TxPolicy.java:63)
 |         at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
 |         at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor
.java:191)
 |         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext
(MethodInvocation.java:101)
 |         at org.jboss.aspects.tx.TxPropagationInterceptor.invoke
(TxPropagationInterceptor.java:76)
 |         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext
(MethodInvocation.java:101)
 |         at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke
(StatefulInstanceInterceptor.java:83)
 |         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext
(MethodInvocation.java:101)
 |         at org.jboss.ejb3.stateful.StatefulRemoveInterceptor.invoke
(StatefulRemoveInterceptor.java:97)
 |         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext
(MethodInvocation.java:101)
 |         at org.jboss.aspects.security.AuthenticationInterceptor.invoke
(AuthenticationInterceptor.java:77)
 |         at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke
(Ejb3AuthenticationInterceptor.java:106)
 |         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext
(MethodInvocation.java:101)
 |         at org.jboss.ejb3.ENCPropagationInterceptor.invoke
(ENCPropagationInterceptor.java:46)
 |         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext
(MethodInvocation.java:101)
 |         at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke
(AsynchronousInterceptor.java:106)
 |         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext
(MethodInvocation.java:101)
 |         at org.jboss.ejb3.stateful.StatefulContainer.localInvoke
(StatefulContainer.java:204)
 |         at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke
(StatefulLocalProxy.java:100)
 |         at $Proxy168.destroy(Unknown Source)
 |         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 Source code of java.lang.reflect.Method(Method.java:585)
 |         at org.jboss.seam.util.Reflections.invoke(Reflections.java:20)
 |         at org.jboss.seam.intercept.RootInvocationContext.proceed
(RootInvocationContext.java:31)
 |         at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed
(ClientSideInterceptor.java:72)
 |         at org.jboss.seam.intercept.SeamInvocationContext.proceed
(SeamInvocationContext.java:57)
 |         at org.jboss.seam.interceptors.RemoveInterceptor.aroundInvoke
(RemoveInterceptor.java:40)
 |         at org.jboss.seam.intercept.SeamInvocationContext.proceed
(SeamInvocationContext.java:69)
 |         at org.jboss.seam.interceptors.SynchronizationInterceptor
.aroundInvoke(SynchronizationInterceptor.java:31)
 |         at org.jboss.seam.intercept.SeamInvocationContext.proceed
(SeamInvocationContext.java:69)
 |         at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor
.java:103)
 |         at org.jboss.seam.intercept.ClientSideInterceptor.invoke
(ClientSideInterceptor.java:50)
 |         at org.javassist.tmp.java.lang.Object_$$_javassist_49.destroy
(Object_$$_javassist_49.java)
 |         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 Source code of java.lang.reflect.Method(Method.java:585)
 |         at org.jboss.seam.util.Reflections.invoke(Reflections.java:20)
 |         at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java
:123)
 |         at org.jboss.seam.Component.callComponentMethod(Component.java:1834)
 |         at org.jboss.seam.Component.callDestroyMethod(Component.java:1765)
 |         at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:231)
 |         at org.jboss.seam.contexts.Lifecycle.endSession(Lifecycle.java:297)
 |         at org.jboss.seam.servlet.SeamListener.sessionDestroyed
(SeamListener.java:45)
 |         at org.apache.catalina.session.StandardSession Source code of org.apache.catalina.session.StandardSession
(StandardSession.java:702)
 |         at org.apache.catalina.session.StandardSession Source code of org.apache.catalina.session.StandardSession
(StandardSession.java:660)
 |         at org.apache.catalina.session.StandardManager Source code of org.apache.catalina.session.StandardManager(StandardManager
.java:677)
 |         at org.apache.catalina.core.StandardContext Source code of org.apache.catalina.core.StandardContext(StandardContext
.java:4521)
 |         at org.apache.catalina.core.ContainerBase Source code of org.apache.catalina.core.ContainerBase(ContainerBase
.java:1134)
 |         at org.apache.catalina.core.StandardContext Source code of org.apache.catalina.core.StandardContext(StandardContext
.java:4615)
 |         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 Source code of java.lang.reflect.Method(Method.java:585)
 |         at org.apache.tomcat.util.modeler.BaseModelMBean.invoke
(BaseModelMBean.java:297)
 |         at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker
.java:164)
 |         at org.jboss.mx.server.MBeanServerImpl Source code of org.jboss.mx.server.MBeanServerImpl(MBeanServerImpl.java
:659)
 |         at org.jboss.web.tomcat.service.TomcatDeployer
.performUndeployInternal(TomcatDeployer.java:454)
 |         at org.jboss.web.tomcat.service.TomcatDeployer.performUndeploy
(TomcatDeployer.java:425)
 |         at org.jboss.web.AbstractWebDeployer.stop(AbstractWebDeployer.java
:422)
 |         at org.jboss.web.WebModule.stopModule(WebModule.java:100)
 |         at org.jboss.web.WebModule.stopService(WebModule.java:66)
 |         at org.jboss.system.ServiceMBeanSupport Source code of org.jboss.system.ServiceMBeanSupport
(ServiceMBeanSupport.java:315)
 |         at org.jboss.system.ServiceMBeanSupport Source code of org.jboss.system.ServiceMBeanSupport
(ServiceMBeanSupport.java:247)
 |         at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
 |         at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
 |         at java.lang.reflect.Method Source code of java.lang.reflect.Method(Method.java:585)
 |         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke
(ReflectedDispatcher.java:155)
 |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
 |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
 |         at org.jboss.mx.server.AbstractMBeanInvoker.invoke
(AbstractMBeanInvoker.java:264)
 |         at org.jboss.mx.server.MBeanServerImpl Source code of org.jboss.mx.server.MBeanServerImpl(MBeanServerImpl.java
:659)
 |         at org.jboss.system.ServiceController Source code of org.jboss.system.ServiceController$ServiceProxy.invoke
(ServiceController.java:978)
 |         at $Proxy0.stop(Unknown Source)
 |         at org.jboss.system.ServiceController Source code of org.jboss.system.ServiceController(ServiceController.java
:508)
 |         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 Source code of java.lang.reflect.Method(Method.java:585)
 |         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke
(ReflectedDispatcher.java:155)
 |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
 |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
 |         at org.jboss.mx.server.AbstractMBeanInvoker.invoke
(AbstractMBeanInvoker.java:264)
 |         at org.jboss.mx.server.MBeanServerImpl Source code of org.jboss.mx.server.MBeanServerImpl(MBeanServerImpl.java
:659)
 |         at org.jboss.mx.util.MBeanProxyExt Source code of org.jboss.mx.util.MBeanProxyExt(MBeanProxyExt.java:210)
 |         at $Proxy45.stop(Unknown Source)
 |         at org.jboss.web.AbstractWebContainer Source code of org.jboss.web.AbstractWebContainer(AbstractWebContainer
.java:498)
 |         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 Source code of java.lang.reflect.Method(Method.java:585)
 |         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke
(ReflectedDispatcher.java:155)
 |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
 |         at org.jboss.mx.interceptor.AbstractInterceptor Source code of org.jboss.mx.interceptor.AbstractInterceptor
(AbstractInterceptor.java:133)
 |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
 |         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke
(ModelMBeanOperationInterceptor.java:142)
 |         at org.jboss.mx.interceptor.DynamicInterceptor.invoke
(DynamicInterceptor.java:97)
 |         at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext
(InterceptorServiceMBeanSupport.java:238)
 |         at org.jboss.ws.integration.jboss42.DeployerInterceptor.stop
(DeployerInterceptor.java:111)
 |         at org.jboss.deployment.SubDeployerInterceptorSupport
$XMBeanInterceptor.stop(SubDeployerInterceptorSupport.java:196)
 |         at org.jboss.deployment.SubDeployerInterceptor.invoke
(SubDeployerInterceptor.java:99)
 |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
 |         at org.jboss.mx.server.AbstractMBeanInvoker.invoke
(AbstractMBeanInvoker.java:264)
 |         at org.jboss.mx.server.MBeanServerImpl Source code of org.jboss.mx.server.MBeanServerImpl(MBeanServerImpl.java
:659)
 |         at org.jboss.mx.util.MBeanProxyExt Source code of org.jboss.mx.util.MBeanProxyExt(MBeanProxyExt.java:210)
 |         at $Proxy46.stop(Unknown Source)
 |         at org.jboss.deployment.MainDeployer Source code of org.jboss.deployment.MainDeployer(MainDeployer.java:667)
 |         at org.jboss.deployment.MainDeployer Source code of org.jboss.deployment.MainDeployer(MainDeployer.java:659)
 |         at org.jboss.deployment.MainDeployer Source code of org.jboss.deployment.MainDeployer(MainDeployer.java:638)
 |         at org.jboss.deployment.MainDeployer Source code of org.jboss.deployment.MainDeployer(MainDeployer.java:516)
 |         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 Source code of java.lang.reflect.Method(Method.java:585)
 |         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke
(ReflectedDispatcher.java:155)
 |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
 |         at org.jboss.mx.interceptor.AbstractInterceptor Source code of org.jboss.mx.interceptor.AbstractInterceptor
(AbstractInterceptor.java:133)
 |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
 |         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke
(ModelMBeanOperationInterceptor.java:142)
 |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
 |         at org.jboss.mx.server.AbstractMBeanInvoker.invoke
(AbstractMBeanInvoker.java:264)
 |         at org.jboss.mx.server.MBeanServerImpl Source code of org.jboss.mx.server.MBeanServerImpl(MBeanServerImpl.java
:659)
 |         at org.jboss.system.server.ServerImpl Source code of org.jboss.system.server.ServerImpl$ShutdownHook
.shutdownDeployments(ServerImpl.java:1058)
 |         at org.jboss.system.server.ServerImpl Source code of org.jboss.system.server.ServerImpl$ShutdownHook.shutdown
(ServerImpl.java:1033)
 |         at org.jboss.system.server.ServerImpl Source code of org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl
.java:996)
 | Caused by: java.lang.RuntimeException Source code of java.lang.RuntimeException: java.lang.NoClassDefFoundError Source code of java.lang.NoClassDefFoundError: com
/sun/el/ExpressionFactoryImpl
 |         at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed
(InvocationContextImpl.java:128)
 |         at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke
(EJB3InterceptorsInterceptor.java:63)
 |         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext
(MethodInvocation.java:101)
 |         at org.jboss.ejb3.entity
.ExtendedPersistenceContextPropagationInterceptor.invoke
(ExtendedPersistenceContextPropagationInterceptor.java:57)
 |         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext
(MethodInvocation.java:101)
 |         at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor
.invoke(TransactionScopedEntityManagerInterceptor.java:54)
 |         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext
(MethodInvocation.java:101)
 |         at org.jboss.ejb3.AllowedOperationsInterceptor.invoke
(AllowedOperationsInterceptor.java:47)
 |         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext
(MethodInvocation.java:101)
 |         at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
 |         ... 125 more
 | Caused by: java.lang.NoClassDefFoundError Source code of java.lang.NoClassDefFoundError: com/sun/el/ExpressionFactoryImpl
 |         at org.jboss.seam.core.Expressions$1.getValueExpression(Expressions
.java:110)
 |         at org.jboss.seam.core.Expressions$1.getValue(Expressions.java:73)
 |         at org.jboss.seam.Component.getInstanceFromFactory(Component.java
:1684)
 |         at org.jboss.seam.Component.getInstance(Component.java:1633)
 |         at org.jboss.seam.Component.getInstance(Component.java:1610)
 |         at org.jboss.seam.Component.getValueToInject(Component.java:1885)
 |         at org.jboss.seam.Component.injectAttributes(Component.java:1368)
 |         at org.jboss.seam.Component.inject(Component.java:1195)
 |         at org.jboss.seam.interceptors.BijectionInterceptor.aroundInvoke
(BijectionInterceptor.java:46)
 |         at org.jboss.seam.intercept.SeamInvocationContext.proceed
(SeamInvocationContext.java:69)
 |         at org.jboss.seam.interceptors.MethodContextInterceptor
.aroundInvoke(MethodContextInterceptor.java:27)
 |         at org.jboss.seam.intercept.SeamInvocationContext.proceed
(SeamInvocationContext.java:69)
 |         at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor
.java:103)
 |         at org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke
(SessionBeanInterceptor.java:53)
 |         at sun.reflect.GeneratedMethodAccessor209.invoke(Unknown Source)
 |         at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
 |         at java.lang.reflect.Method Source code of java.lang.reflect.Method(Method.java:585)
 |         at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed
(InvocationContextImpl.java:118)
 |         ... 134 more
 |

application.xml:

 | <?xml version="1.0" encoding="UTF-8 (See http://UTF-8.ora-code.com)"?>
 | <application xmlns="http://java.sun.com/xml/ns/javaee"
 |              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 |              xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http:/
/java.sun.com/xml/ns/javaee/application_5.xsd"
 |              version="5">
 |
 |     <display-name>portal</display-name>
 |
 |     <!-- // Project dependencies -->
 |     <module>
 |         <web>
 |             <web-uri>portal.war</web-uri>
 |             <context-root>/</context-root>
 |         </web>
 |     </module>
 |     <module>
 |         <ejb>portal.jar</ejb>
 |     </module>
 |
 |     <!-- // Seam -->
 |     <module>
 |         <java>jboss-seam.jar</java>
 |     </module>
 |
 |     <!-- // Jasypt and dependencies -->
 |     <module>
 |         <java>jasypt-1 (See http://ypt-1.ora-code.com).3.jar</java>
 |     </module>
 |     <module>
 |         <java>icu4j-3.4.4.jar</java>
 |     </module>
 |     <module>
 |         <java>commons-lang-2 (See http://ang-2.ora-code.com).1.jar</java>
 |     </module>
 |
 | </application>
 |

components.xml:

 | <?xml version="1.0" encoding="UTF-8 (See http://UTF-8.ora-code.com)"?>
 | <components xmlns="http://jboss.com/products/seam/components"
 |             xmlns:core="http://jboss.com/products/seam/core"
 |             xmlns:security="http://jboss.com/products/seam/security"
 |             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 |             xsi:schemaLocation=
 |                 "http://jboss.com/products/seam/core http://jboss.com
/products/seam/core-1 (See http://ore-1.ora-code.com).2.xsd
 |                  http://jboss.com/products/seam/security http://jboss.com
/products/seam/security-1 (See http://ity-1.ora-code.com).2.xsd">
 |
 |     <!-- // Core configuration -->
 |
 |     <core:init jndi-pattern="@(protected)@" debug="true"/>
 |
 |     <core:manager conversation-timeout="120000"
 |                   concurrent-request-timeout="500"
 |                   conversation-id-parameter="cid"
 |                   conversation-is-long-running-parameter="clr"/>
 |    
 |     <core:ejb installed="@(protected)@"/>
 |
 |     <core:managed-persistence-context name="entityManager"
 |                                       auto-create="true"
 |                                       persistence-unit-jndi-name="java:
/EntityManagerFactories/portal"/>    
 |
 |     <!-- // Security configuration -->
 |
 |     <security:identity authenticate-method="#{memberSignin.authenticate}"/>
 |
 |     <event type="org.jboss.seam.notLoggedIn">
 |         <action expression="#{redirect.captureCurrentView}"/>
 |     </event>
 |     <event type="org.jboss.seam.postAuthenticate">
 |         <action expression="#{redirect.returnToCapturedView}"/>
 |     </event>
 |
 | </components>
 |

faces-config.xml:

 | <faces-config version="1.2"
 |               xmlns="http://java.sun.com/xml/ns/javaee"
 |               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 |               xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http:/
/java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">
 |
 |     <application>
 |         <el-resolver>org.jboss.seam.jsf.SeamELResolver</el-resolver>
 |     </application>
 |
 |     <lifecycle>
 |         <phase-listener>org.jboss.seam.jsf.TransactionalSeamPhaseListener<
/phase-listener>
 |     </lifecycle>
 |
 | </faces-config>
 |

web.xml:

 | <?xml version="1.0" ?>
 | <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
 |          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 |          xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java
.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
 |          version="2.4">
 |
 |     <!-- // Ajax4jsf (must come first!) -->
 |
 |     <filter>
 |         <display-name>Ajax4jsf Filter</display-name>
 |         <filter-name>ajax4jsf</filter-name>
 |         <filter-class>org.ajax4jsf.Filter</filter-class>
 |     </filter>
 |
 |     <filter-mapping>
 |         <filter-name>ajax4jsf</filter-name>
 |         <url-pattern>*.jsf</url-pattern>
 |     </filter-mapping>
 |
 |     <context-param>
 |         <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
 |         <param-value>org.jboss.seam.ui.facelet.SeamFaceletViewHandler<
/param-value>
 |     </context-param>
 |
 |     <!-- // Seam -->
 |
 |     <listener>
 |         <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
 |     </listener>
 |
 |     <filter>
 |         <filter-name>Seam Filter</filter-name>
 |         <filter-class>org.jboss.seam.web.SeamFilter</filter-class>
 |     </filter>
 |
 |     <filter-mapping>
 |         <filter-name>Seam Filter</filter-name>
 |         <url-pattern>/*</url-pattern>
 |     </filter-mapping>
 |
 |     <servlet>
 |         <servlet-name>Seam Resource Servlet</servlet-name>
 |         <servlet-class>org.jboss.seam.servlet.ResourceServlet</servlet
-class>
 |     </servlet>
 |
 |     <servlet-mapping>
 |         <servlet-name>Seam Resource Servlet</servlet-name>
 |         <url-pattern>/seam/resource/*</url-pattern>
 |     </servlet-mapping>
 |
 |     <!-- // Facelets development mode (disable in production) -->
 |
 |     <context-param>
 |         <param-name>facelets.DEVELOPMENT</param-name>
 |         <param-value>true</param-value>
 |     </context-param>
 |
 |     <!-- // JSF -->
 |
 |     <context-param>
 |         <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
 |         <param-value>client</param-value>
 |     </context-param>
 |
 |     <context-param>
 |         <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
 |         <param-value>.xhtml</param-value>
 |     </context-param>
 |
 |     <servlet>
 |         <servlet-name>Faces Servlet</servlet-name>
 |         <servlet-class>javax.faces.webapp.FacesServlet Source code of javax.faces.webapp.FacesServlet</servlet-class>
 |         <load-on-startup>1</load-on-startup>
 |     </servlet>
 |
 |     <servlet-mapping>
 |         <servlet-name>Faces Servlet</servlet-name>
 |         <url-pattern>*.jsf</url-pattern>
 |     </servlet-mapping>
 |
 |     <listener>
 |         <listener-class>com.sun.faces.config.ConfigureListener</listener
-class>
 |     </listener>
 |
 |     <!-- // Other -->
 |
 |     <security-constraint>
 |         <display-name>Restrict raw XHTML Documents</display-name>
 |         <web-resource-collection>
 |             <web-resource-name>XHTML</web-resource-name>
 |             <url-pattern>*.xhtml</url-pattern>
 |         </web-resource-collection>
 |         <auth-constraint>
 |             <role-name>NONE</role-name>
 |         </auth-constraint>
 |     </security-constraint>
 |
 | </web-app>
 |



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic
&p=4063301#4063301

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode
=reply&p=4063301
__ ____ ____ ____ ____ ____ ____ ____ ____ ____
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user

©2008 junlu.com - Jax Systems, LLC, U.S.A.