on 01-22-2008 12:23 AM
Hi,
This is my jms-resources.xml, created this reading one of the articles related to configuring JMS resources.
Can someone suggest me what is wrong here, couldnt figure out the issue?
Currently the application comes up under vendor JavaEE.
thanks
S
<jms-resources xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="jms-resources.xsd">
<application-name>JavaEE/TrueProducer-TPRO</application-name>
<connection-factory>
<name>CallidusTopicFactory</name>
<sap-local-factory-type>
<type>javax.jms.TopicConnectionFactory</type>
<virtual-provider>default</virtual-provider>
</sap-local-factory-type>
</connection-factory>
<destination>
<name>CallidusTopic-TPRO</name>
<type>javax.jms.Topic</type>
<sap-local-destination-type>
<virtual-provider>default</virtual-provider>
</sap-local-destination-type>
</destination>
</jms-resources>
These are my web.xml and
<resource-env-ref id="ResourceEnvRef_CallidusTopic-TPRO">
<description>TCAPI JMS Topic</description>
<resource-env-ref-name>CallidusTopic-TPRO</resource-env-ref-name>
<resource-env-ref-type>javax.jms.Topic</resource-env-ref-type>
</resource-env-ref>
<resource-ref id="ResourceRef_CallidusTopicFactory">
<description>TCAPI JMS Topic Factory</description>
<res-ref-name>CallidusTopicFactory</res-ref-name>
<res-type>javax.jms.TopicFactory</res-type>
<res-auth>Container</res-auth>
</resource-ref>
web-j2ee-engine.xml
<resource-ref>
<res-ref-name>CallidusTopicFactory</res-ref-name>
<res-link>ConnectionFactory</res-link>
</resource-ref>
<resource-env-ref>
<resource-env-ref-name>CallidusTopic-TPRO</resource-env-ref-name>
<res-type>javax.jms.Topic</res-type>
<jndi-name>topic/CallidusTopic-TPRO</jndi-name>
</resource-env-ref>
Caused by: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Path to object does not exist at topic, the whole lookup name is jmsTopics/topic/CallidusTopic-TPRO.
at com.sap.engine.services.jndi.implserver.ServerContextImpl.getLastContainer(ServerContextImpl.java:239)
at com.sap.engine.services.jndi.implserver.ServerContextImpl.lookup(ServerContextImpl.java:557)
at com.sap.engine.services.jndi.implclient.ClientContext.lookup(ClientContext.java:343)
at com.sap.engine.services.jndi.implclient.OffsetClientContext.lookup(OffsetClientContext.java:266)
at com.sap.engine.services.jndi.implclient.OffsetClientContext.lookup(OffsetClientContext.java:286)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at com.sap.engine.services.jndi.ComponentObjectFactory.getObjectInstance(ComponentObjectFactory.java:41)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:283)
at com.sap.engine.services.jndi.implclient.ClientContext.lookup(ClientContext.java:464)
Don't know how you decided about those values in web-j2ee-engine.xml but none of them is correct
You can safely remove this file and also change the res-type in the web.xml to javax.jms.TopicConnectionFactory. This should make it work for you.
HTH!
\-- Vladimir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.