users@glassfish.java.net

MDB Deployment problem in Sunone Appserver 9.0 pls help

From: <glassfish_at_javadesktop.org>
Date: Thu, 23 Aug 2007 16:40:32 PDT

I am deploying my MDB, and I am getting this error JMS resource not created : ejb/EventForwardMDB. But I am sure that I have created one already through the Admin Console. Also I have the connection factory created.

What other reasons could throw this error , Pls help advice.

Env: SunOneApplication Server 9.0

sun-ejb-jar.xml
===========
<ejb>
         <ejb-name>EventForwardMDB</ejb-name>
         <jndi-name>ejb/EventForwardMDB</jndi-name>
         <resource-ref>
            <res-ref-name>jms/evtQueueConnectionFactory</res-ref-name>
            <jndi-name>jms/evtConnectionFactory</jndi-name>
            <default-resource-principal>
               <name>guest</name>
               <password>guest</password>
            </default-resource-principal>
         </resource-ref>
        <mdb-connection-factory>
            <jndi-name>jms/evtConnectionFactory</jndi-name>
            <default-resource-principal>
               <name>guest</name>
               <password>guest</password>
            </default-resource-principal>
         </mdb-connection-factory>

      </ejb>

Error Message :
com.sun.enterprise.connectors.ConnectorRuntimeException: JMS resource not created : ejb/EventForwardMDB
        at com.sun.enterprise.connectors.system.ActiveJmsResourceAdapter.getPhysicalDestinationFromConfiguration(ActiveJmsResourceAdapter.java:1285)
        at com.sun.enterprise.connectors.system.ActiveJmsResourceAdapter.updateMDBRuntimeInfo(ActiveJmsResourceAdapter.java:1136)
        at com.sun.enterprise.connectors.inflow.ConnectorMessageBeanClient.setup(ConnectorMessageBeanClient.java:157)
        at com.sun.ejb.containers.MessageBeanContainer.<init>(MessageBeanContainer.java:194)
        at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:539)
        at com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:490)
        at com.sun.enterprise.server.ApplicationLoader.load(ApplicationLoader.java:184)
        at com.sun.enterprise.server.TomcatApplicationLoader.load(TomcatApplicationLoader.java:113)
        at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:322)
        at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:196)
        at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:633)
        at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener(AdminEventMulticaster.java:908)
        at com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:892)
        at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:445)
        at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:160)
        at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:296)
        at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:203)
        at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:285)
        at com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:119)
        at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:95)
        at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:871)
        at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:541)
        at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:585)
        at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:719)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:353)
        at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:336)
        at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:448)
        at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
        at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
        at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:77)
        at $Proxy1.invoke(Unknown Source)
        at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:297)
        at com.sun.enterprise.deployment.client.DeploymentClientUtils.startApplication(DeploymentClientUtils.java:133)
        at com.sun.enterprise.deployment.client.DeployAction.run(DeployAction.java:517)
        at java.lang.Thread.run(Thread.java:595)
[Message sent by forum member 'jo_vr' (jo_vr)]

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