I got the following exception when I tried to deploy hibernate example in 
jboss-seam-1.0.0CR3 to Jboss 4.0.4 GA, any idea?

I tried to figure out how to use Seam Managed hibernate session, I followed the 
reference manual (7.5.2) but @In Session mySession,  the session is always null 
(not injected),  when I look at the deployed seam components, there is 
ManagedHiberateSession called mySession, please help.  Thanks.




11:56:48,265 INFO  [TomcatDeployer] deploy, ctxPath=/seam-hibernate, warUrl=.../
tmp/deploy/tmp33714jboss-seam-hibernate-exp.war/
11:56:48,468 ERROR [Digester] End event threw exception
java.lang.reflect.InvocationTargetException
        at sun.reflect.GeneratedMethodAccessor72.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.tomcat.util.IntrospectionUtils.callMethodN(IntrospectionUt
ils.java:929)
        at org.apache.tomcat.util.digester.CallMethodRule.end(CallMethodRule.jav
a:578)
        at org.apache.tomcat.util.digester.Rule.end(Rule.java:228)
        at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:105
7)
        at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source
)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(
Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Sour
ce)
        at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561)
        at org.apache.catalina.startup.ContextConfig.applicationWebConfig(Contex
tConfig.java:351)
        at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:10
34)
        at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfi
g.java:260)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:119)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
119)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:759)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:73
9)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMetho

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949450


_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to