Ok, JBoss prepends the string 'topic/' to the topic name. So the real JNDI name of the
topic 'MyTopic' is 'topic/MyTopic'.
Adding the xdoclet class level tag
| @jboss.resource-env-ref resource-env-ref-name = MyTopic jndi-name =
topic/MyTopic
|
to LogMessageServiceEJB has fixed this
If anybody is interested - here is the working code:
| /**
| * @ejb.bean
| * name=LogMessageService
| * jndi-name=LogMessageService
| * type=Stateless
| * view-type=remote
| *
| * @ejb.transaction type=Required
| *
| * @ejb.permission
| * role-name =