Closed glassfishrobot closed 14 years ago
@glassfishrobot Commented Reported by sdimilla
@glassfishrobot Commented sdimilla said: Created an attachment (id=13) ApplicationServer java file
@glassfishrobot Commented sdimilla said: Created an attachment (id=14) GMSClientServer java file
@glassfishrobot Commented @jfialli said: duplicate of issue 97. already fixed.
@glassfishrobot Commented File: ApplicationServer1.java Attached By: sdimilla
@glassfishrobot Commented File: GMSClientService1.java Attached By: sdimilla
@glassfishrobot Commented This issue was imported from java.net JIRA SHOAL-85
@glassfishrobot Commented Marked as duplicate on Wednesday, June 23rd 2010, 4:11:06 am
I modified the test classes: com.sun.enterprise.ee.cms.tests.ApplicationServer com.sun.enterprise.ee.cms.tests.GMSClientService
to send and receive a message. I've attached both those classes to this issue.
Based on the javadoc for GroupHandle:
Therefore using the method: gh.sendMessage((String)null,null, message.getBytes());
should result in the EJBContainer and TransactionService to each receive the message passed to sendMessage, but based on the testing I've done that is not happening. The messages are sent but never dispatched to either service. If you set the component name to be non-null: gh.sendMessage((String)null,"Transaction", message.getBytes());
then the message is received by that component.
It appears that the either the documentation is wrong or there may be a bug with the distribution of the received message to the component
Environment
Operating System: Solaris Platform: Solaris
Affected Versions
[current]