users@glassfish.java.net

Errors with Sun App Server Edition 8.2 while deploying ear file

From: <glassfish_at_javadesktop.org>
Date: Tue, 16 Sep 2008 07:51:51 PDT

If I am posting on the wrong forum, please direct me to the correct one.

I am trying to deploy my application ear file on Sun App server 8.2. The problem is while loading one of the ejb-jar files. It contains two Message Beans namely RfxUpdateMessageBean and EAIMessageBean. For these Beans, it is giving an error for one of the properties(destination type) being null, whereas the property(destination type) is set in the configuration(ejb-jar.xml) file. These are message driven-beans using activemq 4.0. Following is the error stack that is being generated:


[#|2008-08-02T20:11:08.813+0530|INFO|sun-appserver-ee8.2|javax.enterprise.system.container.ejb|_ThreadID=10;|Instantiated container for: ejbName: RfxUpdateMessageBean; containerId: 79786198489104386|#]

30.778: [GC [PSYoungGen: 72556K->11260K(78848K)] 74027K->16067K(254976K), 1.3069862 secs]
[#|2008-08-02T20:11:11.585+0530|WARNING|sun-appserver-ee8.2|javax.enterprise.system.stream.err|_ThreadID=10;|javax.resource.ResourceException: Unknown destination type: null
        at org.apache.activemq.ra.ActiveMQEndpointWorker.<init>(ActiveMQEndpointWorker.java:184)
        at org.apache.activemq.ra.ActiveMQResourceAdapter.endpointActivation(ActiveMQResourceAdapter.java:210)
        at com.sun.enterprise.connectors.inflow.ConnectorMessageBeanClient.setup(ConnectorMessageBeanClient.java:221)
        at com.sun.ejb.containers.MessageBeanContainer.<init>(MessageBeanContainer.java:187)
        at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:221)
        at com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:488)
        at com.sun.enterprise.server.ApplicationLoader.load(ApplicationLoader.java:148)
        at com.sun.enterprise.server.HttpServiceApplicationLoader.load(HttpServiceApplicationLoader.java:97)
        at com.sun.enterprise.server.AbstractManager.load(AbstractManager.java:187)
        at com.sun.enterprise.server.ApplicationLifecycle.onStartup(ApplicationLifecycle.java:200)
        at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)
        at com.sun.enterprise.server.PEMain.run(PEMain.java:294)
        at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
|#]

[#|2008-08-02T20:11:11.836+0530|SEVERE|sun-appserver-ee8.2|javax.enterprise.system.container.ejb.mdb|_ThreadID=10;|MDB00017: [RfxUpdateMessageBean]: Exception in creating message-driven bean container: [java.lang.Exception]|#]

[#|2008-08-02T20:11:11.836+0530|SEVERE|sun-appserver-ee8.2|javax.enterprise.system.container.ejb.mdb|_ThreadID=10;|java.lang.Exception
java.lang.Exception
        at com.sun.enterprise.connectors.inflow.ConnectorMessageBeanClient.setup(ConnectorMessageBeanClient.java:230)
        at com.sun.ejb.containers.MessageBeanContainer.<init>(MessageBeanContainer.java:187)
        at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:221)
        at com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:488)
        at com.sun.enterprise.server.ApplicationLoader.load(ApplicationLoader.java:148)
        at com.sun.enterprise.server.HttpServiceApplicationLoader.load(HttpServiceApplicationLoader.java:97)
        at com.sun.enterprise.server.AbstractManager.load(AbstractManager.java:187)
        at com.sun.enterprise.server.ApplicationLifecycle.onStartup(ApplicationLifecycle.java:200)
        at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)
        at com.sun.enterprise.server.PEMain.run(PEMain.java:294)
        at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
Caused by: javax.resource.ResourceException: Unknown destination type: null
        at org.apache.activemq.ra.ActiveMQEndpointWorker.<init>(ActiveMQEndpointWorker.java:184)
        at org.apache.activemq.ra.ActiveMQResourceAdapter.endpointActivation(ActiveMQResourceAdapter.java:210)
        at com.sun.enterprise.connectors.inflow.ConnectorMessageBeanClient.setup(ConnectorMessageBeanClient.java:221)
        ... 10 more
|#]

[#|2008-08-02T20:11:11.838+0530|SEVERE|sun-appserver-ee8.2|javax.enterprise.system.container.ejb|_ThreadID=10;|EJB5090: Exception in creating EJB container [java.lang.Exception]|#]

[#|2008-08-02T20:11:11.838+0530|SEVERE|sun-appserver-ee8.2|javax.enterprise.system.container.ejb|_ThreadID=10;|appId=nextance moduleName=nextmdb_jar ejbName=RfxUpdateMessageBean|#]

[#|2008-08-02T20:11:11.838+0530|SEVERE|sun-appserver-ee8.2|javax.enterprise.system.core.classloading|_ThreadID=10;|LDR5004: UnExpected error occured while creating ejb container
java.lang.Exception
        at com.sun.enterprise.connectors.inflow.ConnectorMessageBeanClient.setup(ConnectorMessageBeanClient.java:230)
        at com.sun.ejb.containers.MessageBeanContainer.<init>(MessageBeanContainer.java:187)
        at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:221)
        at com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:488)
        at com.sun.enterprise.server.ApplicationLoader.load(ApplicationLoader.java:148)
        at com.sun.enterprise.server.HttpServiceApplicationLoader.load(HttpServiceApplicationLoader.java:97)
        at com.sun.enterprise.server.AbstractManager.load(AbstractManager.java:187)
        at com.sun.enterprise.server.ApplicationLifecycle.onStartup(ApplicationLifecycle.java:200)
        at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)
        at com.sun.enterprise.server.PEMain.run(PEMain.java:294)
        at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
Caused by: javax.resource.ResourceException: Unknown destination type: null
        at org.apache.activemq.ra.ActiveMQEndpointWorker.<init>(ActiveMQEndpointWorker.java:184)
        at org.apache.activemq.ra.ActiveMQResourceAdapter.endpointActivation(ActiveMQResourceAdapter.java:210)
        at com.sun.enterprise.connectors.inflow.ConnectorMessageBeanClient.setup(ConnectorMessageBeanClient.java:221)
        ... 10 mor


Attached are the files sun-ejb-jar.xml, ejb-jar.xml.

I also have the FINE level logs of the app server if that helps. Could not attach here because it said the file is too big.

Thanks in advance.
[Message sent by forum member 'rainbow_1008' (rainbow_1008)]

http://forums.java.net/jive/thread.jspa?messageID=299594