[JBoss Remoting] - Can't create control connection
by Ron Sigal
Ron Sigal [http://community.jboss.org/people/ron.sigal%40jboss.com] created the discussion
"Can't create control connection"
To view the discussion, visit: http://community.jboss.org/message/545225#545225
--------------------------------------------------------------
Nguyen Dang Quang asks:
I'm using the jboss SocketServerInvoker for start multi Servers jboss for my project.
For now, It works on two server run concurrency. But when I start the thirst server, it through error like that:
> org.jboss.jms.exception.MessagingNetworkFailureException
> at org.jboss.jms.client.delegate.DelegateSupport.handleThrowable(DelegateSupport.java:250)
> at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$createConnectionDelegate$aop(ClientConnectionFactoryDelegate.java:191)
> at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.invokeTarget(ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.java)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)
> at org.jboss.jms.client.container.StateCreationAspect.handleCreateConnectionDelegate(StateCreationAspect.java:81)
> at org.jboss.aop.advice.org.jboss.jms.client.container.StateCreationAspect_z_handleCreateConnectionDelegate_15210920.invoke(StateCreationAspect_z_handleCreateConnectionDelegate_15210920.java)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
> at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createConnectionDelegate(ClientConnectionFactoryDelegate.java)
> at org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:205)
> at org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:87)
> at org.jboss.messaging.core.impl.clusterconnection.ClusterConnectionManager$ConnectionInfo.start(ClusterConnectionManager.java:646)
> at org.jboss.messaging.core.impl.clusterconnection.ClusterConnectionManager.ensureAllConnectionsCreated(ClusterConnectionManager.java:409)
> at org.jboss.messaging.core.impl.clusterconnection.ClusterConnectionManager.notify(ClusterConnectionManager.java:230)
> at org.jboss.messaging.core.impl.DefaultClusterNotifier.sendNotification(DefaultClusterNotifier.java:72)
> at org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.putReplicantLocally(MessagingPostOffice.java:1244)
> at org.jboss.messaging.core.impl.postoffice.PutReplicantRequest.execute(PutReplicantRequest.java:94)
> at org.jboss.messaging.core.impl.postoffice.GroupMember$ControlRequestHandler.handle(GroupMember.java:622)
> at org.jgroups.blocks.MessageDispatcher.handle(MessageDispatcher.java:616)
> at org.jgroups.blocks.RequestCorrelator.handleRequest(RequestCorrelator.java:637)
> at org.jgroups.blocks.RequestCorrelator$Request.run(RequestCorrelator.java:944)
> at org.jgroups.util.ReusableThread.run(ReusableThread.java:220)
> at java.lang.Thread.run(Thread.java:619)
> Caused by: java.io.IOException: Cannot find matching home for control connection
> at org.jboss.remoting.transport.bisocket.BisocketServerInvoker.createControlConnection(BisocketServerInvoker.java:376)
> at org.jboss.remoting.transport.bisocket.BisocketClientInvoker.transport(BisocketClientInvoker.java:415)
> at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:165)
> at org.jboss.remoting.Client.invoke(Client.java:1724)
> at org.jboss.remoting.Client.addCallbackListener(Client.java:1793)
> at org.jboss.remoting.Client.addListener(Client.java:1001)
> at org.jboss.jms.client.remoting.JMSRemotingConnection.addInvokerCallbackHandler(JMSRemotingConnection.java:259)
> at org.jboss.jms.client.remoting.JMSRemotingConnection.start(JMSRemotingConnection.java:375)
> at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$createConnectionDelegate$aop(ClientConnectionFactoryDelegate.java:158)
> ... 20 more
>
I see the code where it fault:
> // If a server restarts, it is likely that it creates a new secondary server socket on
> // a different port. It will possible to recreate the control connection, but if
> // there is no PingTimerTask running in the new server to keep it alive, it will just
> // die again. Once a new secondary server socket address is detected, a count is kept
> // of the number of times the control connection is restarted, and when it hits a
> // configured maximum, it is allowed to die. See JBREM-731.
>
> boolean locatorChanged = !newLocator.equals(oldLocator);
> listenerIdToInvokerLocatorMap.put(listenerId, newLocator);
>
> String host = newLocator.getHost();
> int port = newLocator.getPort();
> if (newLocator.isMultihome())
> {
> host = clientInvoker.getHomeInUse().host;
> port = -1;
> Iterator it = null;
> if (newLocator.getConnectHomeList().isEmpty())
> it = newLocator.getHomeList().iterator();
> else
> it = newLocator.getConnectHomeList().iterator();
>
> while (it.hasNext())
> {
> Home h = (Home) it.next();
> if (host.equals(h.host))
> {
> port = h.port;
> newLocator.setHomeInUse(h);
> break;
> }
> }
> }
>
> if (port == -1)
> {
> *throw new IOException("Cannot find matching home for control connection");
> * }
>
>
I don't know why it return port == -1 and get to error here?
Could you please help me to clarify this error. Thans for your suggest!
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/545225#545225]
Start a new discussion in JBoss Remoting at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 7 months
Re: [jboss-user] [JBoss Remoting] - Is RMI dynamic class loading broken in JBoss 6?
by Ron Sigal
Ron Sigal [http://community.jboss.org/people/ron.sigal%40jboss.com] replied to the discussion
"Is RMI dynamic class loading broken in JBoss 6?"
To view the discussion, visit: http://community.jboss.org/message/545219#545219
--------------------------------------------------------------
Not to be too pedantic, but, actually, you're not talking about RMI dynamic classloading. Remoting has its own remote classloading facility.
In any case, you've discovered JBREM-1184 https://jira.jboss.org/browse/JBREM-1184 "Fix NPE in ClassByteClassLoader.addClass()", which was fixed in release 2.5.2.SP3, which shipped with AS 6 M3.
By the way, as far as AS 6, the issue is irrelevant, really, since the final version of AS 6 will run with Remoting 3. But 2.5.2.SP3 will fix the problem in the forthcoming EAP 5.1.
-Ron
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/545219#545219]
Start a new discussion in JBoss Remoting at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 7 months
[JNDI and Naming] - (Remote JMS client Exception) Migration to Jboss5.1AS from Jboss4.0.4
by H U
H U [http://community.jboss.org/people/jbosstaskmgmt2] created the discussion
"(Remote JMS client Exception) Migration to Jboss5.1AS from Jboss4.0.4"
To view the discussion, visit: http://community.jboss.org/message/545214#545214
--------------------------------------------------------------
I was trying to migrate our enterprise application running in Jboss4.0.4 AS to Jboss 5.1 and JDK1.4.2 to JDK 1.6.0_20. I was mostly successful in migration except the JMS part. I really appreciate your help on resolving the following issue(s).
This migrated enterprise application (client) publish messages to Jboss MQ server (Jboss4.0.4 & JDK 1.4.2) running on a remote machine. Everything was working fine before the migration, but after the migration the messaging client(Enterprise application) is unable to publish messages (establish connection to the Queue on remote machine). I am getting the following exception. I have very simple JNDI configuration to remote connection.
Properties env = new Properties();
env.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
env.setProperty(Context.URL_PKG_PREFIXES,"org.jboss.naming http://www.coderanch.com/images/smilies/jr-redface.gif http://www.coderanch.com/images/smilies/jr-redface.gif rg.jnp.interfaces");
env.setProperty(Context.PROVIDER_URL, "jnp://remotehost:1099");
iniCtx = new http://java.sun.com/javase/6/docs/api/javax/naming/InitialContext.html InitialContext(env);
Object tmp = iniCtx.lookup("ConnectionFactory");
qcf = ( http://java.sun.com/javaee/6/docs/api/javax/jms/QueueConnectionFactory.html QueueConnectionFactory) tmp;
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
2010-05-25 10:43:21,718 ERROR [STDERR] (ajp-127.0.0.1-8009-2) http://java.sun.com/javase/6/docs/api/java/lang/UnsupportedOperationExcep... java.lang.UnsupportedOperationException
2010-05-25 10:43:21,718 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at org.jnp.interfaces.FastNamingProperties.toString(FastNamingProperties.java:175)
2010-05-25 10:43:21,718 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1379)
2010-05-25 10:43:21,718 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
2010-05-25 10:43:21,718 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
2010-05-25 10:43:21,718 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at javax.naming.CompoundName.writeObject(CompoundName.java:541)
2010-05-25 10:43:21,718 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2010-05-25 10:43:21,718 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2010-05-25 10:43:21,718 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2010-05-25 10:43:21,718 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at java.lang.reflect.Method.invoke(Method.java:597)
2010-05-25 10:43:21,718 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
2010-05-25 10:43:21,718 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)
2010-05-25 10:43:21,718 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
2010-05-25 10:43:21,718 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
2010-05-25 10:43:21,718 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
2010-05-25 10:43:21,718 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at sun.rmi.server.UnicastRef.marshalValue(UnicastRef.java:274)
2010-05-25 10:43:21,718 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133)
2010-05-25 10:43:21,718 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
2010-05-25 10:43:21,718 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:726)
2010-05-25 10:43:21,718 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)
2010-05-25 10:43:21,718 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at javax.naming.InitialContext.lookup(InitialContext.java:392)
2010-05-25 10:43:21,718 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2010-05-25 10:43:21,718 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2010-05-25 10:43:21,718 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2010-05-25 10:43:21,718 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at java.lang.reflect.Method.invoke(Method.java:597)
2010-05-25 10:43:21,718 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
2010-05-25 10:43:21,718 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
2010-05-25 10:43:21,718 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2010-05-25 10:43:21,718 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)
2010-05-25 10:43:21,718 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:444)
2010-05-25 10:43:21,734 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:382)
2010-05-25 10:43:21,734 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:310)
2010-05-25 10:43:21,734 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
2010-05-25 10:43:21,734 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
2010-05-25 10:43:21,734 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
2010-05-25 10:43:21,734 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2010-05-25 10:43:21,734 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
2010-05-25 10:43:21,734 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
2010-05-25 10:43:21,734 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2010-05-25 10:43:21,734 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
2010-05-25 10:43:21,734 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
2010-05-25 10:43:21,734 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
2010-05-25 10:43:21,734 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at org.jboss.web.tomcat.service.session.ClusteredSessionValve.handleRequest(ClusteredSessionValve.java:135)
2010-05-25 10:43:21,734 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at org.jboss.web.tomcat.service.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:94)
2010-05-25 10:43:21,734 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at org.jboss.web.tomcat.service.session.LockingValve.invoke(LockingValve.java:62)
2010-05-25 10:43:21,734 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
2010-05-25 10:43:21,734 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
2010-05-25 10:43:21,734 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
2010-05-25 10:43:21,734 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
2010-05-25 10:43:21,734 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
2010-05-25 10:43:21,734 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
2010-05-25 10:43:21,734 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
2010-05-25 10:43:21,734 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
2010-05-25 10:43:21,734 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
2010-05-25 10:43:21,734 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:436)
2010-05-25 10:43:21,734 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:384)
2010-05-25 10:43:21,734 ERROR [STDERR] (ajp-127.0.0.1-8009-2) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/545214#545214]
Start a new discussion in JNDI and Naming at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 7 months
[jBPM] - ESBActionHandler issue
by rafael liu
rafael liu [http://community.jboss.org/people/rafaelliu] created the discussion
"ESBActionHandler issue"
To view the discussion, visit: http://community.jboss.org/message/545207#545207
--------------------------------------------------------------
I have created a simples process that uses ESBActionHandler: start -> esb -> end. Going to jbpm-console, creating a process and signaling it the process ends, the ESB service is invoked but I get the following warnings:
16:08:47,335 WARN [Contexts] Exception destroying context
java.lang.IllegalStateException: Transaction begin not detected, try installing transaction:ejb-transaction in components.xml
at org.jboss.seam.transaction.SeSynchronizations.registerSynchronization(SeSynchronizations.java:55)
at org.jboss.seam.transaction.UTTransaction.registerSynchronization(UTTransaction.java:92)
at org.jboss.seam.bpm.ManagedJbpmContext.joinTransaction(ManagedJbpmContext.java:97)
at org.jboss.seam.bpm.ManagedJbpmContext.getJbpmContext(ManagedJbpmContext.java:73)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144)
at org.jboss.seam.Component.callComponentMethod(Component.java:2249)
at org.jboss.seam.Component.unwrap(Component.java:2275)
at org.jboss.seam.Component.getInstance(Component.java:2041)
at org.jboss.seam.Component.getInstance(Component.java:2000)
at org.jboss.seam.Component.getInstance(Component.java:1994)
at org.jboss.seam.Component.getInstance(Component.java:1967)
at org.jboss.seam.Component.getInstance(Component.java:1962)
at org.jboss.seam.bpm.ManagedJbpmContext.instance(ManagedJbpmContext.java:165)
at org.jboss.seam.bpm.ProcessInstance.getProcessInstance(ProcessInstance.java:42)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144)
at org.jboss.seam.Component.callComponentMethod(Component.java:2249)
at org.jboss.seam.Component.unwrap(Component.java:2275)
at org.jboss.seam.Component.getInstance(Component.java:2041)
at org.jboss.seam.Component.getInstance(Component.java:2000)
at org.jboss.seam.Component.getInstance(Component.java:1994)
at org.jboss.seam.Component.getInstance(Component.java:1967)
at org.jboss.seam.Component.getInstance(Component.java:1962)
at org.jboss.seam.bpm.ProcessInstance.instance(ProcessInstance.java:54)
at org.jboss.seam.bpm.BusinessProcess.hasActiveProcess(BusinessProcess.java:64)
at org.jboss.seam.contexts.Contexts$1.work(Contexts.java:355)
at org.jboss.seam.util.Work.workInTransaction(Work.java:61)
at org.jboss.seam.contexts.Contexts.flushAndDestroyContexts(Contexts.java:350)
at org.jboss.seam.contexts.Lifecycle.endCall(Lifecycle.java:101)
at org.jboss.seam.bpm.SeamUserCodeInterceptor$ContextualCall.run(SeamUserCodeInterceptor.java:44)
at org.jboss.seam.bpm.SeamUserCodeInterceptor.executeAction(SeamUserCodeInterceptor.java:74)
at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:277)
at org.jbpm.graph.def.Node.execute(Node.java:395)
at org.jbpm.graph.def.Node.enter(Node.java:375)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:197)
at org.jbpm.graph.def.Node_$$_javassist_127.enter(Node_$$_javassist_127.java)
at org.jbpm.graph.def.Transition.take(Transition.java:151)
at org.jbpm.graph.def.Node.leave(Node.java:453)
at org.jbpm.graph.node.StartState.leave(StartState.java:78)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:197)
at org.jbpm.graph.def.Node_$$_javassist_127.leave(Node_$$_javassist_127.java)
at org.jbpm.graph.exe.Token.signal(Token.java:214)
at org.jbpm.graph.exe.Token.signal(Token.java:143)
at org.jbpm.jsf.core.action.SignalActionListener.handleAction(SignalActionListener.java:52)
at org.jbpm.jsf.core.impl.JbpmActionListenerWrapper.processAction(JbpmActionListenerWrapper.java:82)
at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:771)
at javax.faces.component.UICommand.broadcast(UICommand.java:372)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:636)
16:08:47,451 INFO [MessagePayloadProxy] Null data found in message location(s): [org.jboss.soa.esb.message.defaultEntry]
16:08:47,452 INFO [STDOUT] Reached JBoss ESB
16:08:47,979 WARN [Contexts] Exception destroying context
java.lang.IllegalStateException: Transaction begin not detected, try installing transaction:ejb-transaction in components.xml
at org.jboss.seam.transaction.SeSynchronizations.registerSynchronization(SeSynchronizations.java:55)
at org.jboss.seam.transaction.UTTransaction.registerSynchronization(UTTransaction.java:92)
at org.jboss.seam.bpm.ManagedJbpmContext.joinTransaction(ManagedJbpmContext.java:97)
at org.jboss.seam.bpm.ManagedJbpmContext.getJbpmContext(ManagedJbpmContext.java:73)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144)
at org.jboss.seam.Component.callComponentMethod(Component.java:2249)
at org.jboss.seam.Component.unwrap(Component.java:2275)
at org.jboss.seam.Component.getInstance(Component.java:2041)
at org.jboss.seam.Component.getInstance(Component.java:2000)
at org.jboss.seam.Component.getInstance(Component.java:1994)
at org.jboss.seam.Component.getInstance(Component.java:1967)
at org.jboss.seam.Component.getInstance(Component.java:1962)
at org.jboss.seam.bpm.ManagedJbpmContext.instance(ManagedJbpmContext.java:165)
at org.jboss.seam.bpm.ProcessInstance.getProcessInstance(ProcessInstance.java:42)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144)
at org.jboss.seam.Component.callComponentMethod(Component.java:2249)
at org.jboss.seam.Component.unwrap(Component.java:2275)
at org.jboss.seam.Component.getInstance(Component.java:2041)
at org.jboss.seam.Component.getInstance(Component.java:2000)
at org.jboss.seam.Component.getInstance(Component.java:1994)
at org.jboss.seam.Component.getInstance(Component.java:1967)
at org.jboss.seam.Component.getInstance(Component.java:1962)
at org.jboss.seam.bpm.ProcessInstance.instance(ProcessInstance.java:54)
at org.jboss.seam.bpm.BusinessProcess.hasActiveProcess(BusinessProcess.java:64)
at org.jboss.seam.contexts.Contexts$1.work(Contexts.java:355)
at org.jboss.seam.util.Work.workInTransaction(Work.java:61)
at org.jboss.seam.contexts.Contexts.flushAndDestroyContexts(Contexts.java:350)
at org.jboss.seam.contexts.Lifecycle.endCall(Lifecycle.java:101)
at org.jboss.seam.bpm.SeamUserCodeInterceptor$ContextualCall.run(SeamUserCodeInterceptor.java:44)
at org.jboss.seam.bpm.SeamUserCodeInterceptor.executeAction(SeamUserCodeInterceptor.java:74)
at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:277)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:197)
at org.jbpm.graph.def.Node_$$_javassist_127.executeAction(Node_$$_javassist_127.java)
at org.jbpm.job.ExecuteActionJob.execute(ExecuteActionJob.java:33)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:197)
at org.jbpm.job.Job_$$_javassist_131.execute(Job_$$_javassist_131.java)
at org.jboss.soa.esb.services.jbpm.integration.job.ExecuteJobCommand.executeJob(ExecuteJobCommand.java:124)
at org.jboss.soa.esb.services.jbpm.integration.job.ExecuteJobCommand.execute(ExecuteJobCommand.java:92)
at org.jboss.soa.esb.services.jbpm.integration.command.AbstractMessageListener.onMessage(AbstractMessageListener.java:66)
at org.jboss.soa.esb.services.jbpm.integration.command.JobListener.onMessage(JobListener.java:16)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.jboss.internal.soa.esb.dependencies.JCAInflowAdapter$1.invoke(JCAInflowAdapter.java:276)
at org.jboss.soa.esb.listeners.jca.EndpointProxy.delivery(EndpointProxy.java:258)
at org.jboss.soa.esb.listeners.jca.EndpointProxy.invoke(EndpointProxy.java:150)
at $Proxy302.onMessage(Unknown Source)
at org.jboss.resource.adapter.jms.inflow.JmsServerSession.onMessage(JmsServerSession.java:179)
at org.jboss.jms.client.container.ClientConsumer.callOnMessageStatic(ClientConsumer.java:160)
at org.jboss.jms.client.container.SessionAspect.handleRun(SessionAspect.java:831)
at org.jboss.aop.advice.org.jboss.jms.client.container.SessionAspect_z_handleRun_19774746.invoke(SessionAspect_z_handleRun_19774746.java)
at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java)
at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)
at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:86)
at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java)
at org.jboss.jms.client.delegate.ClientSessionDelegate.run(ClientSessionDelegate.java)
at org.jboss.jms.client.JBossSession.run(JBossSession.java:199)
at org.jboss.resource.adapter.jms.inflow.JmsServerSession.run(JmsServerSession.java:236)
at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:205)
at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:260)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
Invoking the ESB service directly works fine. The odd thing is these Seam references in stacktrace.. Any ideas?
Thanks
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/545207#545207]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 7 months