I am trying to run jboss messaging as a hasingleton. I am still new to Jboss, but I was able to deploy and run jboss-messaging.sar successfully normally under deploy directory. But when I am trying to put this sar under deploy-hasingleton, I am getting error starting "bisocket" connection:
18:30:17,625 INFO [ServerPeer] ServerPeer creating server peer with ID 0
18:30:17,906 WARN [ServiceController] Problem creating service jboss.messaging:service=Connector,transport=bisocket
java.lang.RuntimeException: Couldn't find valid server invoker class for transport 'bisocket'
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
I am using Jboss 4.0.4 and jboss-messaging-1.2.0.sp1.
I am not getting any bisocket issues when running it normally. Also I saw that ant installation script that comes with jboss-messaging is only for default Jboss configuration and doesnt have option to use with "all" configuration. Is it not possible to run jboss-messaging as hasingleton? I am trying to use non-clustered version.
Any information/pointers will be helpful.. Thx
You need to deploy jboss-messaging under regular /deploy.
JBoss-messaging needs to use call-by-reference... using it under hasingleton will cause serialization to be send to other nodes what would cause problems.