Hello. We have a server, GlassFish v3 (build 74.2), and it has recently
given us trouble when executing a local EJB method. The calling code
simply looks up a local EJB via JNDI from
"java:/comp/env/ejb/WidgetHandler" using InitialContext.
An occurance of the issue looks like:
[#|2010-12-21T10:25:47.183-0500|INFO|glassfishv3.0|com.vhm.logging.Audi
t|_ThreadID=27;_ThreadName=Thread-1;|99.96.163.233
{9893c939bd18e461bc37edb4cc20,-=>453268,8e09bd6b-24be-461a-a8d1-4eb891d
46490} - [2010-12-21T10:25:46.911-05:00] srvh016.carpathiahost.net
"init?eventId=156489&showId=96462&channelId=96461&clientType=ww"
SUCCESS - "-" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US;
rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13"|#]
[#|2010-12-21T10:26:01.076-0500|INFO|glassfishv3.0|javax.enterprise.sys
tem.std.com.sun.enterprise.v3.services.impl|_ThreadID=27;_ThreadName=Th
read-1;|DXAR:start():Warning:Received diff Xid for open txnId:switching
transactionId:
DXAR Xid=(GlobalTransactionID=[B_at_3c1df600,
BranchQualifier=[B_at_530198d5)
DXAR TXid=5520618237210564352
got Xid=(GlobalTransactionID=[B_at_dd8f286, BranchQualifier=[B_at_1e1a4284)
got TXid=5520618237210620928|#]
[#|2010-12-21T10:26:01.081-0500|SEVERE|glassfishv3.0|javax.resourceadap
ter.mqjmsra.outbound.connection|_ThreadID=28;_ThreadName=Thread-1;|comm
itTransaction (XA) on JMSService:jmsdirect failed for
connectionId:5520618237186061056 and onePhase:false due to Unknown
JMSService server error ERROR:
com.sun.messaging.jmq.jmsserver.util.BrokerException: Transaction XID
mismatch
737276683031362E636172706174686961686F73742E6E65742C7365727665722C50333
730302C0124000000AC348709737276683031362E636172706174686961686F73742E6E
65742C7365727665722C5033373030, expected
737276683031362E636172706174686961686F73742E6E65742C7365727665722C50333
730302C0125000000AC348709737276683031362E636172706174686961686F73742E6E
65742C7365727665722C5033373030 for transaction 5520618237210620928|#]
[#|2010-12-21T10:26:01.081-0500|SEVERE|glassfishv3.0|javax.enterprise.s
ystem.core.transaction.com.sun.jts.CosTransactions|_ThreadID=28;_Thread
Name=Thread-1;|JTS5031: Exception [org.omg.CORBA.INTERNAL: vmcid: 0x0
minor code: 0 completed: Maybe] on Resource [commit] operation.|#]
[#|2010-12-21T10:26:01.083-0500|WARNING|glassfishv3.0|javax.enterprise.
system.container.ejb.com.sun.ejb.containers|_ThreadID=28;_ThreadName=Th
read-1;|A system exception occurred during an invocation on EJB
WidgetHelperBean method public com.vhm.dao.dto.WidgetInitInfo
com.vhm.beans.impl.WidgetHelperBean.initializeWidget(long,java.lang.Cla
ss,java.lang.Long,boolean,int,java.lang.String)
javax.ejb.EJBException: Unable to complete container-managed
transaction.
at
com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:5
002)
at
com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:47
56)
at
com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1955
)
at
com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1906
)
at
com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalO
bjectInvocationHandler.java:198)
at
com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(E
JBLocalObjectInvocationHandlerDelegate.java:84)
at $Proxy246.initializeWidget(Unknown Source)
at
com.vhm.servlets.widget.listeners.WidgetInitActionListener.onHandle(Wid
getInitActionListener.java:80)
at
com.vhm.servlets.widget.listeners.AbstractWidgetActionListener.handle(A
bstractWidgetActionListener.java:29)
at
com.vhm.servlets.WidgetServlet.handleWidgetRequest(WidgetServlet.java:4
31)
at
com.vhm.servlets.WidgetServlet.processRequest(WidgetServlet.java:322)
at com.vhm.servlets.WidgetServlet.doGet(WidgetServlet.java:447)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at
org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1
523)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
ationFilterChain.java:343)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
terChain.java:215)
at
fr.xebia.servlet.filter.XForwardedFilter.doFilter(XForwardedFilter.java
:778)
at
fr.xebia.servlet.filter.XForwardedFilter.doFilter(XForwardedFilter.java
:790)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
ationFilterChain.java:256)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
terChain.java:215)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal
ve.java:277)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal
ve.java:188)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
641)
at
com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97)
at
com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessio
nLockingStandardPipeline.java:85)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav
a:185)
at
org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.jav
a:332)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
233)
at
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMa
pper.java:165)
at
com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791
)
at
com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
at
com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilte
r.java:170)
at
com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProto
colChain.java:135)
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:
102)
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:
88)
at
com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:7
6)
at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTas
k.java:53)
at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.ja
va:57)
at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
at
com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPoo
l.java:330)
at
com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.j
ava:309)
at java.lang.Thread.run(Thread.java:619)
Caused by: javax.transaction.SystemException: org.omg.CORBA.INTERNAL:
JTS5031: Exception [org.omg.CORBA.INTERNAL: vmcid: 0x0 minor code: 0
completed: Maybe] on Resource [commit] operation. vmcid: 0x0 minor
code: 0 completed: No
at
com.sun.jts.jta.TransactionManagerImpl.commit(TransactionManagerImpl.ja
va:330)
at
com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate.
commitDistributedTransaction(JavaEETransactionManagerJTSDelegate.java:1
69)
at
com.sun.enterprise.transaction.JavaEETransactionManagerSimplified.commi
t(JavaEETransactionManagerSimplified.java:843)
at
com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:4
991)
... 43 more
|#]
[#|2010-12-21T10:26:01.085-0500|WARNING|glassfishv3.0|com.vhm.servlets.
WidgetServlet|_ThreadID=28;_ThreadName=Thread-1;|Problem invoking
WidgetServlet
javax.ejb.EJBException: Unable to complete container-managed
transaction.
at
com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:5
002)
at
com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:47
56)
at
com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1955
)
at
com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1906
)
at
com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalO
bjectInvocationHandler.java:198)
at
com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(E
JBLocalObjectInvocationHandlerDelegate.java:84)
at $Proxy246.initializeWidget(Unknown Source)
at
com.vhm.servlets.widget.listeners.WidgetInitActionListener.onHandle(Wid
getInitActionListener.java:80)
at
com.vhm.servlets.widget.listeners.AbstractWidgetActionListener.handle(A
bstractWidgetActionListener.java:29)
at
com.vhm.servlets.WidgetServlet.handleWidgetRequest(WidgetServlet.java:4
31)
at
com.vhm.servlets.WidgetServlet.processRequest(WidgetServlet.java:322)
at com.vhm.servlets.WidgetServlet.doGet(WidgetServlet.java:447)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at
org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1
523)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
ationFilterChain.java:343)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
terChain.java:215)
at
fr.xebia.servlet.filter.XForwardedFilter.doFilter(XForwardedFilter.java
:778)
at
fr.xebia.servlet.filter.XForwardedFilter.doFilter(XForwardedFilter.java
:790)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
ationFilterChain.java:256)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
terChain.java:215)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal
ve.java:277)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal
ve.java:188)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
641)
at
com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97)
at
com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessio
nLockingStandardPipeline.java:85)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav
a:185)
at
org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.jav
a:332)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
233)
at
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMa
pper.java:165)
at
com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791
)
at
com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
at
com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilte
r.java:170)
at
com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProto
colChain.java:135)
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:
102)
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:
88)
at
com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:7
6)
at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTas
k.java:53)
at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.ja
va:57)
at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
at
com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPoo
l.java:330)
at
com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.j
ava:309)
at java.lang.Thread.run(Thread.java:619)
Caused by: javax.transaction.SystemException: org.omg.CORBA.INTERNAL:
JTS5031: Exception [org.omg.CORBA.INTERNAL: vmcid: 0x0 minor code: 0
completed: Maybe] on Resource [commit] operation. vmcid: 0x0 minor
code: 0 completed: No
at
com.sun.jts.jta.TransactionManagerImpl.commit(TransactionManagerImpl.ja
va:330)
at
com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate.
commitDistributedTransaction(JavaEETransactionManagerJTSDelegate.java:1
69)
at
com.sun.enterprise.transaction.JavaEETransactionManagerSimplified.commi
t(JavaEETransactionManagerSimplified.java:843)
at
com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:4
991)
... 43 more
|#]
[#|2010-12-21T10:26:01.267-0500|SEVERE|glassfishv3.0|javax.resourceadap
ter.mqjmsra.outbound.connection|_ThreadID=27;_ThreadName=Thread-1;|roll
backTransaction (XA) on JMSService:jmsdirect failed for
connectionId:5520618237186061056:transactionId=0 due to Unknown
JMSService server error ERROR:
com.sun.messaging.jmq.jmsserver.util.BrokerException: Bad transaction
state transition. Cannot perform operation ROLLBACK_TRANSACTION(48)
(XAFlag=null) on a transaction in state STARTED(1).|#]
[#|2010-12-21T10:26:01.267-0500|SEVERE|glassfishv3.0|javax.enterprise.s
ystem.core.transaction.com.sun.jts.CosTransactions|_ThreadID=27;_Thread
Name=Thread-1;|JTS5031: Exception [org.omg.CORBA.INTERNAL: vmcid: 0x0
minor code: 0 completed: Maybe] on Resource [rollback] operation.|#]
[#|2010-12-21T10:26:01.268-0500|WARNING|glassfishv3.0|javax.enterprise.
system.container.ejb.com.sun.ejb.containers|_ThreadID=27;_ThreadName=Th
read-1;|A system exception occurred during an invocation on EJB
WidgetHelperBean method public com.vhm.dao.dto.WidgetInitInfo
com.vhm.beans.impl.WidgetHelperBean.initializeWidget(long,java.lang.Cla
ss,java.lang.Long,boolean,int,java.lang.String)
javax.ejb.EJBException: Unable to complete container-managed
transaction.
at
com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:5
002)
at
com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:47
56)
at
com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1955
)
at
com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1906
)
at
com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalO
bjectInvocationHandler.java:198)
at
com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(E
JBLocalObjectInvocationHandlerDelegate.java:84)
at $Proxy246.initializeWidget(Unknown Source)
at
com.vhm.servlets.widget.listeners.WidgetInitActionListener.onHandle(Wid
getInitActionListener.java:80)
at
com.vhm.servlets.widget.listeners.AbstractWidgetActionListener.handle(A
bstractWidgetActionListener.java:29)
at
com.vhm.servlets.WidgetServlet.handleWidgetRequest(WidgetServlet.java:4
31)
at
com.vhm.servlets.WidgetServlet.processRequest(WidgetServlet.java:322)
at com.vhm.servlets.WidgetServlet.doGet(WidgetServlet.java:447)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at
org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1
523)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
ationFilterChain.java:343)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
terChain.java:215)
at
fr.xebia.servlet.filter.XForwardedFilter.doFilter(XForwardedFilter.java
:778)
at
fr.xebia.servlet.filter.XForwardedFilter.doFilter(XForwardedFilter.java
:790)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
ationFilterChain.java:256)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
terChain.java:215)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal
ve.java:277)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal
ve.java:188)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
641)
at
com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97)
at
com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessio
nLockingStandardPipeline.java:85)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav
a:185)
at
org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.jav
a:332)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
233)
at
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMa
pper.java:165)
at
com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791
)
at
com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
at
com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilte
r.java:170)
at
com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProto
colChain.java:135)
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:
102)
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:
88)
at
com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:7
6)
at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTas
k.java:53)
at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.ja
va:57)
at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
at
com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPoo
l.java:330)
at
com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.j
ava:309)
at java.lang.Thread.run(Thread.java:619)
Caused by: javax.transaction.SystemException: org.omg.CORBA.INTERNAL:
JTS5031: Exception [org.omg.CORBA.INTERNAL: vmcid: 0x0 minor code: 0
completed: Maybe] on Resource [rollback] operation. vmcid: 0x0 minor
code: 0 completed: No
at
com.sun.jts.jta.TransactionManagerImpl.rollback(TransactionManagerImpl.
java:359)
at
com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate.
rollbackDistributedTransaction(JavaEETransactionManagerJTSDelegate.java
:207)
at
com.sun.enterprise.transaction.JavaEETransactionManagerSimplified.rollb
ack(JavaEETransactionManagerSimplified.java:881)
at
com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:4
981)
... 43 more
|#]
[#|2010-12-21T10:26:01.269-0500|WARNING|glassfishv3.0|com.vhm.servlets.
WidgetServlet|_ThreadID=27;_ThreadName=Thread-1;|Problem invoking
WidgetServlet
javax.ejb.EJBException: Unable to complete container-managed
transaction.
at
com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:5
002)
at
com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:47
56)
at
com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1955
)
at
com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1906
)
at
com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalO
bjectInvocationHandler.java:198)
at
com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(E
JBLocalObjectInvocationHandlerDelegate.java:84)
at $Proxy246.initializeWidget(Unknown Source)
at
com.vhm.servlets.widget.listeners.WidgetInitActionListener.onHandle(Wid
getInitActionListener.java:80)
at
com.vhm.servlets.widget.listeners.AbstractWidgetActionListener.handle(A
bstractWidgetActionListener.java:29)
at
com.vhm.servlets.WidgetServlet.handleWidgetRequest(WidgetServlet.java:4
31)
at
com.vhm.servlets.WidgetServlet.processRequest(WidgetServlet.java:322)
at com.vhm.servlets.WidgetServlet.doGet(WidgetServlet.java:447)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at
org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1
523)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
ationFilterChain.java:343)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
terChain.java:215)
at
fr.xebia.servlet.filter.XForwardedFilter.doFilter(XForwardedFilter.java
:778)
at
fr.xebia.servlet.filter.XForwardedFilter.doFilter(XForwardedFilter.java
:790)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
ationFilterChain.java:256)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
terChain.java:215)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal
ve.java:277)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal
ve.java:188)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
641)
at
com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97)
at
com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessio
nLockingStandardPipeline.java:85)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav
a:185)
at
org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.jav
a:332)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
233)
at
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMa
pper.java:165)
at
com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791
)
at
com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
at
com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilte
r.java:170)
at
com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProto
colChain.java:135)
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:
102)
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:
88)
at
com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:7
6)
at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTas
k.java:53)
at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.ja
va:57)
at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
at
com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPoo
l.java:330)
at
com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.j
ava:309)
at java.lang.Thread.run(Thread.java:619)
Caused by: javax.transaction.SystemException: org.omg.CORBA.INTERNAL:
JTS5031: Exception [org.omg.CORBA.INTERNAL: vmcid: 0x0 minor code: 0
completed: Maybe] on Resource [rollback] operation. vmcid: 0x0 minor
code: 0 completed: No
at
com.sun.jts.jta.TransactionManagerImpl.rollback(TransactionManagerImpl.
java:359)
at
com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate.
rollbackDistributedTransaction(JavaEETransactionManagerJTSDelegate.java
:207)
at
com.sun.enterprise.transaction.JavaEETransactionManagerSimplified.rollb
ack(JavaEETransactionManagerSimplified.java:881)
at
com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:4
981)
... 43 more
|#]
[#|2010-12-21T10:26:01.475-0500|INFO|glassfishv3.0|com.vhm.logging.Audi
t|_ThreadID=28;_ThreadName=Thread-1;|12.96.120.12
{9897c11f51d56fc71049beb757b1,-=>531949,81fe8284-e853-4c70-99de-4b685c0
25a74} - [2010-12-21T10:26:01.234-05:00] srvh016.carpathiahost.net
"init?eventId=156489&showId=96462&channelId=96461&clientType=ww"
SUCCESS - "-" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
Trident/4.0; .NET CLR 2.0.50727; .NET CLR 1.1.4322; InfoPath.1; .NET
CLR 3.0.4506.2152; .NET CLR 3.5.30729)"|#]
~~~~~
I'm not really sure what would cause this. Our code isn't doing
anything strange, at least, we have plenty of other methods which
execute fine. Also interesting, is that this only happens
periodically. Most times, the WidgetHelperBean.initializeWidget method
runs perfectly fine.
Is this a bug in GF? Is there anything I can do to help diagnose the
issue? We have lost much sleep and development effort over this issue.
The only other thing I see that may be interesting are these warnings
while the domain is starting:
[#|2010-12-21T10:23:31.809-0500|WARNING|glassfishv3.0|javax.enterprise.
resource.resourceadapter.com.sun.enterprise.connectors.util|_ThreadID=2
8;_ThreadName=Thread-1;|RAR8000 : The method setName is not present in
the class : com.sun.messaging.jms.ra.ManagedConnectionFactory|#]
[#|2010-12-21T10:23:31.809-0500|WARNING|glassfishv3.0|javax.enterprise.
resource.resourceadapter.com.sun.enterprise.connectors.util|_ThreadID=2
8;_ThreadName=Thread-1;|RAR7097: No setter method present for the
property Name in the class
com.sun.messaging.jms.ra.ManagedConnectionFactory|#]
[#|2010-12-21T10:23:31.809-0500|INFO|glassfishv3.0|javax.resourceadapte
r.mqjmsra.outbound.connection|_ThreadID=28;_ThreadName=Thread-1;|MQJMSR
A_MF1101: setAddressList:NOT setting default value=localhost|#]
[#|2010-12-21T10:23:31.820-0500|INFO|glassfishv3.0|javax.resourceadapte
r.mqjmsra.outbound.connection|_ThreadID=28;_ThreadName=Thread-1;|MQJMSR
A_MF1101: setPassword:NOT setting default value|#]
[#|2010-12-21T10:23:31.820-0500|INFO|glassfishv3.0|javax.resourceadapte
r.mqjmsra.outbound.connection|_ThreadID=28;_ThreadName=Thread-1;|MQJMSR
A_MF1101: setUserName:NOT setting default value=guest|#]
[#|2010-12-21T10:23:31.822-0500|WARNING|glassfishv3.0|javax.enterprise.
resource.resourceadapter.com.sun.enterprise.connectors.util|_ThreadID=2
8;_ThreadName=Thread-1;|RAR8000 : The method setName is not present in
the class : com.sun.messaging.jms.ra.ManagedConnectionFactory|#]
[#|2010-12-21T10:23:31.822-0500|WARNING|glassfishv3.0|javax.enterprise.
resource.resourceadapter.com.sun.enterprise.connectors.util|_ThreadID=2
8;_ThreadName=Thread-1;|RAR7097: No setter method present for the
property Name in the class
com.sun.messaging.jms.ra.ManagedConnectionFactory|#]
We really do enjoy using GlassFish, and it hasn't caused us much
trouble until now.
Thanks in advance!
Paul G