Hi All,
When I call the subroutine CALLJEE, the error is thrown as follows,
18:29:47,609 ERROR [org.jboss.ejb.plugins.LogInterceptor]
RuntimeException in method: public abstract
com.jbase.jremote.JDynArray
com.jbase.jremote.jca.inflow.JRemoteMessageListener.onMessage(com.jbase.jremote.JDynArray):
java.lang.RuntimeException: Configuration error [java:comp/env/queue/
requestQueue] Could not dereference object
        at
com.temenos.tocf.delivery.mdb.DeliveryMDB.onMessage(DeliveryMDB.java:
136)
        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:597)
        at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
        at org.jboss.ejb.MessageDrivenContainer
$ContainerInterceptor.invoke(MessageDrivenContainer.java:495)
        at
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:
158)
        at
org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:
63)
...
...


18:29:47,609 ERROR [STDERR] 2011-7-15 18:29:47
com.jbase.jremote.jca.inflow.protocol.ActivationRequest run
: Exception in processing request
javax.ejb.EJBException: RuntimeException
        at
org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:
417)
        at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:
209)
        at
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:
138)
        at
org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:
402)
        at org.jboss.ejb.Container.invoke(Container.java:960)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)


The ejb-jar.xml:
<display-name>Delivery</display-name>
    <enterprise-beans>
        <message-driven id="MessageDriven_DeliveryMDB">
            <display-name>Delivery Bean</display-name>
            <ejb-name>DeliveryMDB</ejb-name>
            <ejb-class>com.temenos.tocf.delivery.mdb.DeliveryMDB</ejb-
class>
            <messaging-
type>com.jbase.jremote.jca.inflow.JRemoteMessageListener</messaging-
type>
         <transaction-type>Container</transaction-type>
            <activation-config>
                <activation-config-property>
                    <activation-config-property-name>handler</
activation-config-property-name>
                    <activation-config-property-value>DELIVERY</
activation-config-property-value>
                </activation-config-property>
            </activation-config>
            <resource-ref id="ResourceRef_jmsQueueConnectionFactory">
                <description>JMS Queue Connection Factory</
description>
                <res-ref-name>jms/jmsConnectionFactory</res-ref-name>
                <res-type>javax.jms.QueueConnectionFactory</res-type>
                <res-auth>Container</res-auth>
                <!--<res-sharing-scope>Unshareable</res-sharing-
scope>-->
            </resource-ref>
                <resource-ref id="ResourceRef_requestQueue">
                        <description>Messages received by this instance of
DeliveryMDB will be placed on this queue for processing.</description>
                        <res-ref-name>queue/requestQueue</res-ref-name>
                        <res-type>javax.jms.Queue</res-type>
                        <res-auth>Container</res-auth>
                </resource-ref>
                <resource-ref id="ResourceRef_responseQueue">
                        <description>When using JMS for synchronous processing 
this
queue will be used to wait for reply.</description>
                        <res-ref-name>queue/responseQueue</res-ref-name>
                        <res-type>javax.jms.Queue</res-type>
                        <res-auth>Container</res-auth>
                </resource-ref>
        </message-driven>
    </enterprise-beans>

    <!-- Uncomment to enlist in propagated T24 transaction -->
    <assembly-descriptor>
        <container-transaction>
            <method>
                <ejb-name>DeliveryMDB</ejb-name>
                <method-name>*</method-name>
            </method>
            <trans-attribute>Required</trans-attribute>
        </container-transaction>
    </assembly-descriptor>


ra.xml :
<resourceadapter>
        <resourceadapter-
class>com.temenos.tocf.t24ra.T24ResourceAdapter</resourceadapter-
class>
        <!-- ResourceAdapter default configuration properties -->
        <config-property>
            <description>Inbound listener server name (empty = bind to
all addresses)</description>
            <config-property-name>ListenHost</config-property-name>
            <config-property-type>java.lang.String</config-property-
type>
            <config-property-value>127.0.0.1</config-property-value>
        </config-property>

        <config-property>
            <description>Inbound listener port number (0 = inbound
listener disabled)</description>
            <config-property-name>ListenPort</config-property-name>
            <config-property-type>java.lang.Integer</config-property-
type>
            <!-- Inbound listener is disabled by default (port=0). Set
to e.g. 55006 to enable inbound listener -->
            <config-property-value>55006</config-property-value>
        </config-property>
        <config-property>
            <description>Worker instancing mode</description>
            <config-property-name>CreateWorkerPerClient</config-
property-name>
            <config-property-type>java.lang.Boolean</config-property-
type>
            <config-property-value>false</config-property-value>
        </config-property>

        <inbound-resourceadapter>
            <messageadapter>
                <messagelistener>
                    <messagelistener-
type>com.jbase.jremote.jca.inflow.JRemoteMessageListener</
messagelistener-type>
                    <activationspec>
                        <activationspec-
class>com.jbase.jremote.jca.inflow.JRemoteActivationSpec</
activationspec-class>
                    </activationspec>
                </messagelistener>
            </messageadapter>
        </inbound-resourceadapter>

    </resourceadapter>

 I am in puzzle about the matter. Do anyone know the cause of
exception?

-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

Reply via email to