Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>How are you referencing the resource in spring?</p> <p>This is what we have for tomcat:</p> <p><strong>context:</strong></p> <pre><code>&lt;Resource name="jms/ConnectionFactory" auth="Container" type="org.apache.activemq.ActiveMQConnectionFactory" description=" JMS Connection Factory" factory="org.apache.activemq.jndi.JNDIReferenceFactory" brokerURL="tcp://localhost:61615" brokerName="StandaloneAc tiveMQBroker"/&gt; </code></pre> <p><strong>spring:</strong></p> <pre><code> &lt;beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:util="http://www.springframework.org/schema/util" xmlns:aop="http://www.springframework.org/schema/aop" xmlns:jee="http://www.springframework.org/schema/jee" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.0.xsd http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-2.0.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.0.xsd"&gt; &lt;jee:jndi-lookup jndi-name="jms/ConnectionFactory" id="connectionFactory" resource-ref="true" expected-type="javax.jms.ConnectionFactory" lookup-on-startup="false"/&gt; </code></pre> <p>The jee namespace comes from:</p> <p><a href="http://www.springframework.org/schema/jee" rel="nofollow noreferrer">http://www.springframework.org/schema/jee</a> <a href="http://www.springframework.org/schema/jee/spring-jee-2.0.xsd" rel="nofollow noreferrer">http://www.springframework.org/schema/jee/spring-jee-2.0.xsd</a></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload