IMQ&Glassfish:Broker unavailable or timeout user=guest
Hi dear friends,
I just installed glassfish on Solaris 10. When I deploy my application(using EJB3.0+JMS+JPA), I found the JMS application cannot work well as on which installed on WindowsXp.
I tried "EMBEDDED/LOCAL/REMOTE" three mode of JMS_HOST configuration. All of them came accross different problems, and I don't know how to solve them.
1> IN EMBEDDED mode, of course, glassfish can ping imq successfully, but there were often two exceptions, one is caught exception something like"DirectPacket cannot be cast to ...." the other one is "name can not be null".
2>IN Local mode, I cannot ping imq. There was a error message:"No local string defined". I don't know what's that mean.
3>IN Remote mode, I tried two JMS_HOST on Solaris/WindowsXp machines, glassfish can ping them successfully. but when to access from container or standalone client, it shows "Broker unavailable or timeout user = guest...."
===============================================================================================
Yesterday I found Solaris 10 I installed, with a IMQ old release itself.
Was there any chance that the imq build in glassfish conflict with the imq build in solaris 10?
My glassfishv2-ur2 installed in /opt/glassfishv2-ur2, and when the JMS service in "Local" mode, the Server JVM cannot startup IMQ itself, but without any exception log or something else. When to startup imq build in glassfishv2-ur2, it would be failed (just ./imqbrokerd) and error message shows:
"IMQ_VAR_HOME=/opt/glassfishv2-ur2/domains/domain/imq is invalid"
===============================================================================================
When to configurate Glassfish's JMS service, there are 2 properties: "MQ Schema" and "MQ Service Name" to config,I set them as "mq"/"jms", is it right?
===============================================================================================
Can anybody tell me why?
I was wondering if any expert can help me. Maybe just need to configurate something.
Thanks for your attention.