[JBossWS] - Re:
by chris05atm
Moved to jbossws version 2.0 GA and now I get this error when I deploy the war:
| 22:03:04,567 INFO [LifecycleHandlerImpl] WebService stopped: http://127.0.0.1:8
| 080/xmlapi/invoke
| 22:03:04,567 INFO [BasicEndpointRegistry] remove: jboss.ws:context=xmlapi,endpo
| int=find
| 22:03:04,797 WARN [PolicyMetaDataBuilder] Cannot get service '{xmlapi_1.0}FindI
| mplService' from the given wsdl definitions! Eventual policies attached to this
| service won't be considered.
| 22:03:05,027 INFO [TomcatDeployer] deploy, ctxPath=/xmlapi, warUrl=.../tmp/depl
| oy/tmp27747xmlapi-exp.war/
| 22:03:05,157 INFO [WSDLFilePublisher] WSDL published to: file:/C:/cygwin/home/S
| tokeC/jboss-4.2.0.GA/server/default/data/wsdl/xmlapi.war/XmlApiMethods.wsdl
| 22:03:05,177 INFO [BasicEndpointRegistry] register: jboss.ws:context=xmlapi,end
| point=find
| 22:03:05,177 INFO [LifecycleHandlerImpl] WebService started: http://127.0.0.1:8
| 080/xmlapi/invoke
|
The find method still works, while the ping method still returns the error:
| 22:14:58,563 ERROR [SOAPFaultHelperJAXRPC] SOAP request exception
| javax.xml.rpc.soap.SOAPFaultException: Endpoint {xmlapi_1.0}FindInterfacePort do
| es not contain operation meta data for: {xmlapi_1.0}ping
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062772#4062772
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4062772
18Â years, 10Â months
[Clustering/JBoss] - Re: Session Replication - Concurrency Problems?
by jyoonyang
Hi,
I'm seeing similar issue.
"bstansberry(a)jboss.com" wrote :
| Everyone else -- is anyone seeing this problem with sticky sessions enabled and working properly? You have to use sticky sessions.
Why does sticky session need to enabled? We have sticky session false and want to replicate the session.
We see this error when we repeatedly log in and out using the same browser.
I did printDetail on JMS console TomcatClusteringCache
When I log in, I see the following in both nodes.
/JSESSION
|
| /localhost
|
| /myapp
|
| /s6YGpkbACWfDPVre4sMcqQ**
| VERSION: 3
| s6YGpkbACWfDPVre4sMcqQ**: [B@5e43ee
After logging out, I see the same in both nodes, except that the VERSION is bumped up to 4.
I tried logging in and out repeatedly, until I run into the error.
ERROR [org.jboss.web.tomcat.tc5.session.JBossCacheService] externalizeSession(): exception occurred externalizing session SessionBasedClusteredSession[id: s6YGpkbACWfDPVre4sMcqQ**.worker1 lastAccessedTime: 1184115870097 version: 13 lastOutdated: 0]
| java.lang.NullPointerException
| at org.springframework.webflow.execution.FlowSessionImpl.writeObject(FlowSessionImpl.java:156)
| 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.invoke(Method.java:585)
| ...
Followed by
WARN [org.jboss.web.tomcat.tc5.session.CacheListener] Possible concurrency problem: Replicated version id 13 matches in-memory version for session s6YGpkbACWfDPVre4sMcqQ**
Here is tc5-cluster jboss-service.xml settings
| <attribute name="ClusterName">Tomcat-${jboss.partition.name:Cluster}</attribute>
| <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
| <attribute name="CacheMode">REPL_ASYNC</attribute>
|
Any idea?
Thanks in advance,
Jennifer
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062768#4062768
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4062768
18Â years, 10Â months
[JBoss Seam] - Seam 2 B1 - Ending a process instance fails.
by jcruise
Tomcat 6
Seam 2 B1
Jboss Embedded Beta 2
Signalling the last task on a process causes the following exception:
| Caused by: org.jbpm.JbpmException: couldn't delete jobs for 'org.jbpm.graph.exe.ProcessInstance@1661834'
| at org.jbpm.db.JobSession.deleteJobsForProcessInstance(JobSession.java:211)
| at org.jbpm.scheduler.db.DbSchedulerService.deleteTimersByProcessInstance(DbSchedulerService.java:54)
| at org.jbpm.graph.exe.ProcessInstance.end(ProcessInstance.java:329)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:147)
| at org.jbpm.graph.exe.ProcessInstance$$EnhancerByCGLIB$$b594bd1c.end(<generated>)
| at org.jbpm.graph.exe.Token.notifyParentOfTokenEnd(Token.java:331)
| at org.jbpm.graph.exe.Token.end(Token.java:303)
| at org.jbpm.graph.exe.Token.end(Token.java:253)
| at org.jbpm.graph.node.EndState.execute(EndState.java:59)
| at org.jbpm.graph.def.Node.enter(Node.java:318)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:147)
| at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$1483760f.enter(<generated>)
| at org.jbpm.graph.def.Transition.take(Transition.java:151)
| at org.jbpm.graph.def.Node.leave(Node.java:393)
| at org.jbpm.graph.def.Node.leave(Node.java:357)
| at org.jbpm.graph.def.Node.execute(Node.java:349)
| at org.jbpm.graph.def.Node.enter(Node.java:318)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:147)
| at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$1483760f.enter(<generated>)
| at org.jbpm.graph.def.Transition.take(Transition.java:151)
| at org.jbpm.graph.def.Node.leave(Node.java:393)
| at org.jbpm.graph.node.StartState.leave(StartState.java:70)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:147)
| at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$1483760f.leave(<generated>)
| at org.jbpm.graph.exe.Token.signal(Token.java:194)
| at org.jbpm.graph.exe.Token.signal(Token.java:139)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:147)
| at org.jbpm.graph.exe.Token$$EnhancerByCGLIB$$43dce38b.signal(<generated>)
| at org.jbpm.taskmgmt.exe.TaskInstance.end(TaskInstance.java:476)
| at org.jbpm.taskmgmt.exe.TaskInstance.end(TaskInstance.java:390)
| at org.jboss.seam.bpm.BusinessProcess.endTask(BusinessProcess.java:195)
| at com.volantice.zone.action.TaskBean.endTask(TaskBean.java:77)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
| at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
| at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
| at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:46)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
| at org.jboss.seam.core.ConversationInterceptor.aroundInvoke(ConversationInterceptor.java:54)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
| at org.jboss.seam.bpm.BusinessProcessInterceptor.aroundInvoke(BusinessProcessInterceptor.java:49)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
| at org.jboss.seam.transaction.TransactionInterceptor$1.work(TransactionInterceptor.java:38)
| at org.jboss.seam.util.Work.workInTransaction(Work.java:39)
| at org.jboss.seam.transaction.TransactionInterceptor.aroundInvoke(TransactionInterceptor.java:32)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
| at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
| at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:106)
| at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:151)
| at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:87)
| at com.volantice.zone.action.TaskBean_$$_javassist_5.endTask(TaskBean_$$_javassist_5.java)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:325)
| at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:338)
| at org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58)
| at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
| at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
| at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
| at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77)
| ... 39 more
| Caused by: org.hibernate.TransactionException: could not register synchronization
| at org.hibernate.transaction.JTATransaction.registerSynchronization(JTATransaction.java:309)
| at org.jbpm.db.JobSession.deleteJobsForProcessInstance(JobSession.java:208)
| ... 126 more
| Caused by: java.lang.NullPointerException
| at org.hibernate.transaction.JTATransaction.registerSynchronization(JTATransaction.java:306)
| ... 127 more
|
The code that raises the error is in: org.hibernate.transaction.JTATransaction.
| public void registerSynchronization(Synchronization sync) throws HibernateException {
| if (getTransactionManager()==null) {
| throw new IllegalStateException("JTA TransactionManager not available");
| }
| else {
| try {
| getTransactionManager().getTransaction().registerSynchronization(sync);
| }
| catch (Exception e) {
| throw new TransactionException("could not register synchronization", e);
| }
| }
| }
|
So I guess the getTransaction() call is returning null.
Has anybody else had problems ending JBPM process instances in Seam2?
Obviously this all worked for me in 1.2.1GA.
What version of JBPM is used in Seam2? it's not 3.2.GA.
Cheers
J
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062764#4062764
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4062764
18Â years, 10Â months