Skip to main content

ConnectorRuntimeException: "JMS resource not created"

3 replies [Last post]
gbrose
Offline
Joined: 2005-10-10

Hi,

I am testing a simple MDB example using annotations and
no sun-ejb-jar.xml. A trivial JMS client sends a test
message to a queue and the message correctly ends up in
the imq directories. However, it is never delivered to
the MDB. Instead, the server log file shows the exceptions
below. I have triple-checked the JNDI and physical names,
they seem to be correct. What is strange is that the
admin GUI also displays errors when I try to list the
physical JMS rescources (the logical ones are there) and
also does not let me create new ones. The physical
resource is auto-created by the imq and displayed in the
imqadmin GUI, however.

Thanks, Gerald.

[#|2005-12-03T14:59:16.875+0100|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.container.ejb.mdb|_ThreadID=10;_ThreadName=main;LogBean;com.sun.enterprise.connectors.ConnectorRuntimeException:
JMS resource not created : ;|MDB00017: [LogBean]:
Exception in creating message-driven bean container:
[com.sun.enterprise.connectors.ConnectorRuntimeException:
JMS resource not created : ]|#]

[#|2005-12-03T14:59:16.875+0100|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.container.ejb.mdb|_ThreadID=10;_ThreadName=main;|com.sun.enterprise.connectors.ConnectorRuntimeException
com.sun.enterprise.connectors.ConnectorRuntimeException:
JMS resource not created :
at
com.sun.enterprise.connectors.system.ActiveJmsResourceAdapter.getPhysicalDestinationFromConfiguration(ActiveJmsResourceAdapter.java:1214)

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
gbrose
Offline
Joined: 2005-10-10

I could resolve the issue by supplying a sun-ejb-jar.xml
file. If there is an example of an annotated MDB that works
on glassfish without [b]any[/b] XML files, I would ppreciate
a pointer.

Thanks, Gerald.

dochez
Offline
Joined: 2003-06-10

Hi Gerald

Have you checked out the appserv-tests ?
in the devtests/ejb/ejb30/mdb subdirectory, you will find an example close to what you are looking for.

Jerome

gbrose
Offline
Joined: 2005-10-10

Jerome,

thanks, I saw these examples, but they still need the sun-ejb-jar.xml. I was wondering if it is possible to get
by with just activation config property annotations.

Thanks, Gerald.