Hi All,

We have developed an developed using Seam 1.2.1 GA and Facelets. It deploys 
properly and functions as desired when deployed within JBoss 4.0.5

For Prod we need to deploy it on WAS 6.1.0.13 and it gives an error saying 
"Could not start transaction". 

It will be great if anybody could provide a heads up (direction) for going 
forward.... Please find stack trace attached.

[7/12/07 18:45:06:482 EST] 00000061 SeamFilter    I 
org.jboss.seam.web.SeamFilter init Initializing filter: 
org.jboss.seam.servlet.exceptionFilter
[7/12/07 18:45:06:485 EST] 00000061 SeamFilter    I 
org.jboss.seam.web.SeamFilter init Initializing filter: 
org.jboss.seam.debug.hotDeployFilter
[7/12/07 18:45:06:486 EST] 00000061 SeamFilter    I 
org.jboss.seam.web.SeamFilter init Initializing filter: 
org.jboss.seam.servlet.redirectFilter
[7/12/07 18:45:06:488 EST] 00000061 SeamFilter    I 
org.jboss.seam.web.SeamFilter init Initializing filter: 
org.jboss.seam.servlet.multipartFilter
[7/12/07 18:45:06:546 EST] 00000061 SeamPhaseList E 
org.jboss.seam.jsf.SeamPhaseListener beforePhase uncaught exception
                                 org.jboss.seam.TransactionException: Could not 
start transaction
        at 
org.jboss.seam.jsf.AbstractSeamPhaseListener.begin(AbstractSeamPhaseListener.java:313)
        at 
org.jboss.seam.jsf.TransactionalSeamPhaseListener.handleTransactionsBeforePhase(TransactionalSeamPhaseListener.java:30)
        at 
org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:48)
        at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:210)
        at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:91)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
        at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
        at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:930)
        at 
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
        at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63)
        at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
        at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
        at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
        at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
        at 
org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:60)
        at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
        at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
        at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
        at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
        at 
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
        at 
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
        at 
com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
        at 
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:766)
        at 
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:674)
        at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:498)
        at 
com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
        at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3276)
        at 
com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)
        at 
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
        at 
com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
        at 
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:113)
        at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
        at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
        at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:263)
        at 
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
        at 
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
        at 
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
        at 
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
        at 
com.ibm.io.async.AsyncChannelFuture$1.run(AsyncChannelFuture.java:205)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
Caused by: java.lang.ClassCastException: 
com.ibm.ws.Transaction.JTA.UserTransactionImpl incompatible with 
javax.transaction.UserTransaction
        at 
org.jboss.seam.util.Transactions.getUserTransaction(Transactions.java:153)
        at 
org.jboss.seam.util.Transactions.isUTTransactionActiveOrMarkedRollback(Transactions.java:122)
        at 
org.jboss.seam.util.Transactions.isTransactionActiveOrMarkedRollback(Transactions.java:50)
        at 
org.jboss.seam.jsf.AbstractSeamPhaseListener.begin(AbstractSeamPhaseListener.java:305)
        ... 39 more

[7/12/07 18:45:06:559 EST] 00000061 SeamPhaseList E 
org.jboss.seam.jsf.SeamPhaseListener beforePhase swallowing exception
                                 org.jboss.seam.TransactionException: Could not 
start transaction
        at 
org.jboss.seam.jsf.AbstractSeamPhaseListener.begin(AbstractSeamPhaseListener.java:313)
        at 
org.jboss.seam.jsf.TransactionalSeamPhaseListener.handleTransactionsBeforePhase(TransactionalSeamPhaseListener.java:30)
        at 
org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:48)
        at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:210)
        at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:91)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
        at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
        at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:930)
        at 
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
        at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63)
        at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
        at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
        at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
        at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
        at 
org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:60)
        at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
        at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
        at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
        at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
        at 
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
        at 
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
        at 
com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
        at 
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:766)
        at 
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:674)
        at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:498)
        at 
com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
        at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3276)
        at 
com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)
        at 
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
        at 
com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
        at 
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:113)
        at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
        at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
        at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:263)
        at 
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
        at 
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
        at 
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
        at 
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
        at 
com.ibm.io.async.AsyncChannelFuture$1.run(AsyncChannelFuture.java:205)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
Caused by: java.lang.ClassCastException: 
com.ibm.ws.Transaction.JTA.UserTransactionImpl incompatible with 
javax.transaction.UserTransaction
        at 
org.jboss.seam.util.Transactions.getUserTransaction(Transactions.java:153)
        at 
org.jboss.seam.util.Transactions.isUTTransactionActiveOrMarkedRollback(Transactions.java:122)
        at 
org.jboss.seam.util.Transactions.isTransactionActiveOrMarkedRollback(Transactions.java:50)
        at 
org.jboss.seam.jsf.AbstractSeamPhaseListener.begin(AbstractSeamPhaseListener.java:305)
        ... 39 more


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

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

Reply via email to