[JBoss Messaging] - Re: Receiving IllegalStateExceptions in client
by bander
I've just discovered something else too. The IllegalStateException we have been seeing may be the result of a previous failure in JBoss. After doing some more tests I found the following errors in the log:
ERROR 2007-02-15 17:49:52,687 [Manager Queue Seven.1.0] org.jboss.jms.client.container.ExceptionInterceptor: Linked exception is:
org.jboss.remoting.CannotConnectException: Can not get connection to server. Problem establishing socket connection for InvokerLocator [socket://172.26.1.240:4457/?clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&dataType=jms&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&serializationtype=jboss&socket.check_connection=false&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat]
at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:510)
at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
at org.jboss.remoting.Client.invoke(Client.java:1414)
at org.jboss.remoting.Client.invoke(Client.java:511)
at org.jboss.jms.client.delegate.DelegateSupport.invoke(DelegateSupport.java:111)
at org.jboss.jms.client.delegate.ClientSessionDelegate$acknowledge_354868566256058116.invokeNext(ClientSessionDelegate$acknowledge_354868566256058116.java)
at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:182)
at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117)
at org.jboss.jms.client.delegate.ClientSessionDelegate$acknowledge_354868566256058116.invokeNext(ClientSessionDelegate$acknowledge_354868566256058116.java)
at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69)
at org.jboss.jms.client.delegate.ClientSessionDelegate$acknowledge_354868566256058116.invokeNext(ClientSessionDelegate$acknowledge_354868566256058116.java)
at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107)
at org.jboss.jms.client.delegate.ClientSessionDelegate$acknowledge_354868566256058116.invokeNext(ClientSessionDelegate$acknowledge_354868566256058116.java)
at org.jboss.jms.client.delegate.ClientSessionDelegate.acknowledge(ClientSessionDelegate.java)
at org.jboss.jms.client.container.SessionAspect.handlePostDeliver(SessionAspect.java:215)
at org.jboss.aop.advice.org.jboss.jms.client.container.SessionAspect6.invoke(SessionAspect6.java)
at org.jboss.jms.client.delegate.ClientSessionDelegate$postDeliver_5319211143798977162.invokeNext(ClientSessionDelegate$postDeliver_5319211143798977162.java)
at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:182)
at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117)
at org.jboss.jms.client.delegate.ClientSessionDelegate$postDeliver_5319211143798977162.invokeNext(ClientSessionDelegate$postDeliver_5319211143798977162.java)
at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69)
at org.jboss.jms.client.delegate.ClientSessionDelegate$postDeliver_5319211143798977162.invokeNext(ClientSessionDelegate$postDeliver_5319211143798977162.java)
at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107)
at org.jboss.jms.client.delegate.ClientSessionDelegate$postDeliver_5319211143798977162.invokeNext(ClientSessionDelegate$postDeliver_5319211143798977162.java)
at org.jboss.jms.client.delegate.ClientSessionDelegate.postDeliver(ClientSessionDelegate.java)
at org.jboss.jms.client.remoting.MessageCallbackHandler.postDeliver(MessageCallbackHandler.java:162)
at org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:137)
at org.jboss.jms.client.remoting.MessageCallbackHandler$ListenerRunner.run(MessageCallbackHandler.java:722)
at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(Unknown Source)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.net.SocketException: Can not obtain client socket connection from pool. Have waited 30 seconds for available connection (50 in use)
at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.getConnection(MicroSocketClientInvoker.java:776)
at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:506)
... 29 more
ERROR 2007-02-15 17:49:52,703 [Manager Queue Seven.1.0] org.jboss.jms.client.remoting.MessageCallbackHandler: Failed to deliver message
javax.jms.IllegalStateException: Can not get connection to server. Problem establishing socket connection for InvokerLocator [socket://172.26.1.240:4457/?clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&dataType=jms&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&serializationtype=jboss&socket.check_connection=false&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat]
at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:91)
at org.jboss.jms.client.delegate.ClientSessionDelegate$acknowledge_354868566256058116.invokeNext(ClientSessionDelegate$acknowledge_354868566256058116.java)
at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107)
at org.jboss.jms.client.delegate.ClientSessionDelegate$acknowledge_354868566256058116.invokeNext(ClientSessionDelegate$acknowledge_354868566256058116.java)
at org.jboss.jms.client.delegate.ClientSessionDelegate.acknowledge(ClientSessionDelegate.java)
at org.jboss.jms.client.container.SessionAspect.handlePostDeliver(SessionAspect.java:215)
at org.jboss.aop.advice.org.jboss.jms.client.container.SessionAspect6.invoke(SessionAspect6.java)
at org.jboss.jms.client.delegate.ClientSessionDelegate$postDeliver_5319211143798977162.invokeNext(ClientSessionDelegate$postDeliver_5319211143798977162.java)
at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:182)
at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117)
at org.jboss.jms.client.delegate.ClientSessionDelegate$postDeliver_5319211143798977162.invokeNext(ClientSessionDelegate$postDeliver_5319211143798977162.java)
at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69)
at org.jboss.jms.client.delegate.ClientSessionDelegate$postDeliver_5319211143798977162.invokeNext(ClientSessionDelegate$postDeliver_5319211143798977162.java)
at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107)
at org.jboss.jms.client.delegate.ClientSessionDelegate$postDeliver_5319211143798977162.invokeNext(ClientSessionDelegate$postDeliver_5319211143798977162.java)
at org.jboss.jms.client.delegate.ClientSessionDelegate.postDeliver(ClientSessionDelegate.java)
at org.jboss.jms.client.remoting.MessageCallbackHandler.postDeliver(MessageCallbackHandler.java:162)
at org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:137)
at org.jboss.jms.client.remoting.MessageCallbackHandler$ListenerRunner.run(MessageCallbackHandler.java:722)
at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(Unknown Source)
at java.lang.Thread.run(Thread.java:534)
ERROR 2007-02-15 17:49:52,703 [Manager Queue Seven.1.0] org.jboss.jms.client.remoting.MessageCallbackHandler: Failed to deliver message
javax.jms.IllegalStateException: Should only be one entry in list. There are 2
at org.jboss.jms.client.container.SessionAspect.handlePostDeliver(SessionAspect.java:203)
at org.jboss.aop.advice.org.jboss.jms.client.container.SessionAspect6.invoke(SessionAspect6.java)
at org.jboss.jms.client.delegate.ClientSessionDelegate$postDeliver_5319211143798977162.invokeNext(ClientSessionDelegate$postDeliver_5319211143798977162.java)
at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:182)
at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117)
at org.jboss.jms.client.delegate.ClientSessionDelegate$postDeliver_5319211143798977162.invokeNext(ClientSessionDelegate$postDeliver_5319211143798977162.java)
at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69)
at org.jboss.jms.client.delegate.ClientSessionDelegate$postDeliver_5319211143798977162.invokeNext(ClientSessionDelegate$postDeliver_5319211143798977162.java)
at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107)
at org.jboss.jms.client.delegate.ClientSessionDelegate$postDeliver_5319211143798977162.invokeNext(ClientSessionDelegate$postDeliver_5319211143798977162.java)
at org.jboss.jms.client.delegate.ClientSessionDelegate.postDeliver(ClientSessionDelegate.java)
at org.jboss.jms.client.remoting.MessageCallbackHandler.postDeliver(MessageCallbackHandler.java:162)
at org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:137)
at org.jboss.jms.client.remoting.MessageCallbackHandler$ListenerRunner.run(MessageCallbackHandler.java:722)
at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(Unknown Source)
at java.lang.Thread.run(Thread.java:534)
Note how we start to get the 'Should only be one entry in list...' error after the socket exception.
Doing a search for the 'Can not get connection to server...' error uncovered this issue:
http://jira.jboss.com/jira/browse/JBMESSAGING-771
Is it possible we're experiencing this issue in 1.0.1.SP4?
Maybe this is why reducing the number of sessions our receivers are opening (from 5 to 1) stops the error from occuring?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016881#4016881
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016881
19Â years, 2Â months
[JBoss Seam] - EntityHome
by lightbulb432
I'm setting up relationships between entities from EntityHome subclasses. In a bidirectional relationship I have one EntityHome injecting the value of the other entity, and that entity's EntityHome injecting the value of the first.
This seems like it's going to work fine, except for not knowing how to outject the value of the first EntityHome's entity so that the second EntityHome can inject it.
In the first EntityHome I have as follows:
@Factory("firstEntity")
| public FirstEntity init() { return getInstance(); }
|
| @In
| private SecondEntity secondEntity;
In the second EntityHome I have as follows:
@In
| private FirstEntity firstEntity;
It is this line that complains about not finding a "firstEntity" contextual component to inject...why? Isn't my declaring it as @Factory("firstEntity") enough? How would I outject appropriately?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016879#4016879
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016879
19Â years, 2Â months
[JBoss jBPM] - Re: Process Designer not working in Eclipse
by dleerob
Okay I downloaded Eclipse 3.2.1. When sticking the zip file in jbpm-starters-kit-3.1.4\jbpm-designer and running the "ant install" command, it unzips and sticks eclipse in jbpm-starters-kit-3.1.4\jbpm-designer\eclipse and links it okay, and now the process designer works. I can now use this eclipse setup, but I would prefer to use my own.
When I try unzipping eclipse 3.2.1 in my own work directory, and then try and install process designer 3.013 manually, by going to help/software updates/find and install, and then saying search for new feature to install. I then add the new local site, and select the directory jbpm-designer\jbpm-gpd-feature\eclipse, and tell it to install. It says successfull, but still doesn't seem to install it. When creating a new project, the JBoss jBPM option isn't there, and I still can't open processdefinition.xml with the designer, it simply opens as a text file etc.
Anyone know what I am doing wrong with the manual installation?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016878#4016878
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016878
19Â years, 2Â months
[JBoss jBPM] - BPEL Installation - NewBie
by xyz12345
Hi ,
I tried installing
jbpm-starters-kit-3.1.4
jbpm-bpel-1.1.Beta2
jdk1.5
But, I got following error:
[CommandExecutorThread] jBPM command executor STOPPED
[STDOUT] Exception in thread "JbpmCommandExecutor"
[STDOUT] java.lang.NoClassDefFoundError: org/jbpm/bpel/wsdl/Property
[STDOUT] at java.lang.Class.getDeclaredMethods0(Native Method)
Even the wsdl class file is present in jboss-bpel.sar file. It is giving above error.
I have read in some post in which Alex mentioned this some confilict problem that occured in starterkit. So, he suggested to use seperate Jboss.
So, now I want to know which versions of following
jboss
jdk
jbpm
bpel
I should use get working my BPEL hello world example. Basically which version of all above 4 is compatible with each other.
Thanks,
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016868#4016868
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016868
19Â years, 2Â months