eclipse-ee4j / glassfish-shoal

Shoal
Other
5 stars 9 forks source link

message not processed/received when GroupHandle.sendMessage with null component name is specified #85

Closed glassfishrobot closed 14 years ago

glassfishrobot commented 15 years ago

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]

glassfishrobot commented 6 years ago
glassfishrobot commented 15 years ago

@glassfishrobot Commented Reported by sdimilla

glassfishrobot commented 15 years ago

@glassfishrobot Commented sdimilla said: Created an attachment (id=13) ApplicationServer java file

glassfishrobot commented 15 years ago

@glassfishrobot Commented sdimilla said: Created an attachment (id=14) GMSClientServer java file

glassfishrobot commented 14 years ago

@glassfishrobot Commented @jfialli said: duplicate of issue 97. already fixed.

glassfishrobot commented 15 years ago

@glassfishrobot Commented File: ApplicationServer1.java Attached By: sdimilla

glassfishrobot commented 15 years ago

@glassfishrobot Commented File: GMSClientService1.java Attached By: sdimilla

glassfishrobot commented 7 years ago

@glassfishrobot Commented This issue was imported from java.net JIRA SHOAL-85

glassfishrobot commented 14 years ago

@glassfishrobot Commented Marked as duplicate on Wednesday, June 23rd 2010, 4:11:06 am