geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Katia Aresti Gonzalez" <kaare...@hotmail.com>
Subject Re: JMS application client into Geronimo
Date Mon, 02 May 2005 11:09:33 GMT
<html><div style='background-color:'><DIV class=RTE>
<P>Hi!!</P>
<P>Im still trying to deploy the EAR client. Im using this deployment descriptors:</P>
<P><STRONG>application.xml</STRONG></P>
<P>&lt;?xml version="1.0" encoding="UTF-8"?&gt;<BR>&lt;application
version="1.4" xmlns="<A href="http://java.sun.com/xml/ns/j2ee">http://java.sun.com/xml/ns/j2ee</A>"
xmlns:xsi="<A href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</A>"
xsi:schemaLocation="<A href="http://java.sun.com/xml/ns/j2ee">http://java.sun.com/xml/ns/j2ee</A>
<A href="http://java.sun.com/xml/ns/j2ee/application_1_4.xsd">http://java.sun.com/xml/ns/j2ee/application_1_4.xsd</A>"&gt;<BR>&nbsp;
&lt;description&gt;Application description&lt;/description&gt;<BR>&nbsp;
&lt;display-name&gt;JupiterClientApp&lt;/display-name&gt;<BR>&nbsp;
&lt;module&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;java&gt;cliente.jar&lt;/java&gt;<BR>&nbsp;
&lt;/module&gt;<BR>&lt;/application&gt;</P>
<P><STRONG>application-client.xml</STRONG></P>
<P>&lt;?xml version="1.0" encoding="UTF-8"?&gt;<BR>&lt;application-client
version="1.4" xmlns="<A href="http://java.sun.com/xml/ns/j2ee">http://java.sun.com/xml/ns/j2ee</A>"
xmlns:xsi="<A href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</A>"
xsi:schemaLocation="<A href="http://java.sun.com/xml/ns/j2ee">http://java.sun.com/xml/ns/j2ee</A>
<A href="http://java.sun.com/xml/ns/j2ee/application-client_1_4.xsd">http://java.sun.com/xml/ns/j2ee/application-client_1_4.xsd</A>"&gt;</P>
<P>&lt;display-name&gt;MyAppClient&lt;/display-name&gt;<BR>&nbsp;<BR>&nbsp;&lt;resource-ref&gt;
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;res-ref-name&gt;ConnectionFactory&lt;/res-ref-name&gt; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;res-type&gt;javax.jms.QueueConnectionFactory&lt;/res-type&gt; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;res-auth&gt;Container&lt;/res-auth&gt; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/resource-ref&gt; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;resource-ref&gt; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;res-ref-name&gt;MDBTransferBeanOutQueue&lt;/res-ref-name&gt; 
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;res-type&gt;javax.jms.Queue&lt;/res-type&gt; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;res-auth&gt;Container&lt;/res-auth&gt; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/resource-ref&gt; <BR>&nbsp; <BR>&lt;/application-client&gt;<BR>&nbsp;
<BR><STRONG>geronimo-application-client.xml</STRONG></P>
<P>&lt;?xml version="1.0" encoding="UTF-8"?&gt;</P>
<P>&lt;application xmlns="<A href="http://geronimo.apache.org/xml/ns/j2ee/application">http://geronimo.apache.org/xml/ns/j2ee/application</A>"<BR>configId="Jupiter"<BR>parentId="org/apache/geronimo/SystemJMS"&gt;<BR>&lt;/application&gt;<BR></P>
<P><STRONG>geronimo-application.xml</STRONG></P>
<P>&lt;?xml version="1.0" encoding="UTF-8"?&gt;</P>
<P>&lt;application xmlns="<A href="http://geronimo.apache.org/xml/ns/j2ee/application">http://geronimo.apache.org/xml/ns/j2ee/application</A>"<BR>configId="Jupiter"<BR>parentId="org/apache/geronimo/SystemJMS"&gt;<BR>&lt;/application&gt;<BR></P>
<P>The MDB EAR client is already deployed. This is the client that connects to the MDB.</P>
<P><STRONG>I get this when deploying:</STRONG></P>
<P>13:00:52,468 INFO&nbsp; [ConfigurationManagerImpl] Loaded Configuration geronimo.config:name="org/apache/geronimo/Client"<BR>13:00:52,468
INFO&nbsp; [ConfigurationManagerImpl] Loaded Configuration geronimo.config:name="org/apache/geronimo/ClientSystem"<BR>13:00:52,468
DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo.config:name="org/apache/geronimo/ClientSystem"
State changed from stopped to starting<BR>13:00:52,484 DEBUG [Configuration] ClassPath
for org/apache/geronimo/ClientSystem resolved to []<BR>13:00:52,515 INFO&nbsp; [Configuration]
Started configuration org/apache/geronimo/ClientSystem<BR>13:00:52,515 DEBUG [GBeanInstanceState]
GBeanInstanceState for: geronimo.config:name="org/apache/geronimo/ClientSystem" State changed
from starting to running<BR>13:00:52,515 DEBUG [GBeanInstanceState] GBeanInstanceState
for: geronimo.config:name="org/apache/geronimo/Client" State 
changed from stopped to starting<BR>13:00:52,531 DEBUG [Configuration] ClassPath for
org/apache/geronimo/Client resolved to [file:/C:/gero/repository/geronimo-spec/jars/geronimo-spec-j2ee-1.4-rc4.jar,
file:/C:/gero/repository/geronimo/jars/geronimo-client-1.0-SNAPSHOT.jar, file:/C:/gero/repository/geronimo/jars/geronimo-naming-1.0-SNAPSHOT.jar,
file:/C:/gero/repository/geronimo/jars/geronimo-security-1.0-SNAPSHOT.jar, file:/C:/gero/repository/openejb/jars/openejb-core-2.0-SNAPSHOT.jar,
file:/C:/gero/repository/tmporb/jars/tmporb-orb-1.0-SNAPSHOT.jar, file:/C:/gero/repository/tmporb/jars/tmporb-orb-omg-1.0-SNAPSHOT.jar,
file:/C:/gero/repository/tmporb/jars/tmporb-orb-tools-1.0-SNAPSHOT.jar, file:/C:/gero/repository/tmporb/jars/tmporb-tools-1.0-SNAPSHOT.jar,
file:/C:/gero/repository/tmporb/jars/tmporb-ins-1.0-SNAPSHOT.jar, file:/C:/gero/repository/tmporb/jars/tmporb-pss-1.0-SNAPSHOT.jar,

file:/C:/gero/repository/geronimo-spec/jars/geronimo-spec-corba-2.3-rc4.jar, file:/C:/gero/repository/bouncycastle/jars/bcprov-jdk14-124.jar,
file:/C:/gero/repository/avalon/jars/avalon-framework-4.1.4.jar, file:/C:/gero/repository/avalon/jars/avalon-logkit-1.2.2.jar,
file:/C:/gero/repository/ant/jars/ant-1.5.jar, file:/C:/gero/repository/xfire/jars/xfire-20050202.jar,
file:/C:/gero/repository/xfire/jars/xfire-java-20050202.jar, file:/C:/gero/repository/wsdl4j/jars/wsdl4j-1.4.jar,
file:/C:/gero/repository/stax/jars/stax-1.1.1-dev.jar, file:/C:/gero/repository/stax/jars/stax-api-1.0.jar,
file:/C:/gero/repository/geronimo/jars/geronimo-core-1.0-SNAPSHOT.jar, file:/C:/gero/repository/geronimo/jars/geronimo-connector-1.0-SNAPSHOT.jar,
file:/C:/gero/repository/concurrent/jars/concurrent-1.3.4.jar, file:/C:/gero/repository/geronimo/jars/geronimo-transaction-1.0-SNAPSHOT.jar,

file:/C:/gero/repository/tranql/jars/tranql-1.0-SNAPSHOT.jar, file:/C:/gero/repository/regexp/jars/regexp-1.3.jar,
file:/C:/gero/repository/geronimo/jars/geronimo-j2ee-1.0-SNAPSHOT.jar]<BR>13:00:52,687
INFO&nbsp; [Configuration] Started configuration org/apache/geronimo/Client<BR>13:00:52,687
DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo.config:name="org/apache/geronimo/Client"
State changed from starting to running<BR>13:00:52,703 DEBUG [GBeanInstanceState] GBeanInstanceState
for: geronimo.config:name="org/apache/geronimo/Client" State changed from running to stopping<BR>13:00:52,703
INFO&nbsp; [Configuration] Stopping configuration org/apache/geronimo/Client<BR>13:00:52,718
DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo.config:name="org/apache/geronimo/Client"
State changed from stopping to stopped<BR>13:00:52,718 DEBUG [GBeanInstanceState] GBeanInstanceState

for: geronimo.config:name="org/apache/geronimo/ClientSystem" State changed from running to
stopping<BR>13:00:52,718 INFO&nbsp; [Configuration] Stopping configuration org/apache/geronimo/ClientSystem<BR>13:00:52,734
DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo.config:name="org/apache/geronimo/ClientSystem"
State changed from stopping to stopped<BR>13:00:52,734 DEBUG [Deployer] Deployment failed:
plan=null, module=d:\jms\jupitermdb\jupiter\build\jupiter.ear<BR>org.apache.geronimo.common.DeploymentException:
Unknown or ambiguous resource name query: geronimo.client:J2EEServer=client,J2EEApplication=null,j2eeType=JCAManagedConnectionFactory,name=ConnectionFactory,*
match count: 0<BR>&nbsp;at org.apache.geronimo.j2ee.deployment.RefContext.locateUniqueName(RefContext.java:453)<BR>&nbsp;at

org.apache.geronimo.j2ee.deployment.RefContext.getConnectionFactoryContainerId(RefContext.java:289)<BR>&nbsp;at
org.apache.geronimo.naming.deployment.ENCConfigBuilder.getResourceContainerId(ENCConfigBuilder.java:213)<BR>&nbsp;at
org.apache.geronimo.naming.deployment.ENCConfigBuilder.addResourceRefs(ENCConfigBuilder.java:199)<BR>&nbsp;at
org.apache.geronimo.naming.deployment.ENCConfigBuilder.buildComponentContext(ENCConfigBuilder.java:669)<BR>&nbsp;at
org.apache.geronimo.client.builder.AppClientModuleBuilder.buildComponentContext(AppClientModuleBuilder.java:575)<BR>&nbsp;at
org.apache.geronimo.client.builder.AppClientModuleBuilder.addGBeans(AppClientModuleBuilder.java:453)<BR>&nbsp;at
org.apache.geronimo.client.builder.AppClientModuleBuilder$$FastClassByCGLIB$$93137659.invoke(&lt;generated&gt;)<BR>&nbsp;at
net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)<BR>&nbsp;at 
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)<BR>&nbsp;at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)<BR>&nbsp;at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:710)<BR>&nbsp;at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)<BR>&nbsp;at
org.apache.geronimo.kernel.proxy.RawOperationInvoker.invoke(RawOperationInvoker.java:36)<BR>&nbsp;at
org.apache.geronimo.kernel.proxy.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:92)<BR>&nbsp;at
org.apache.geronimo.j2ee.deployment.ModuleBuilder$$EnhancerByCGLIB$$380f6faf.addGBeans(&lt;generated&gt;)<BR>&nbsp;at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:354)<BR>&nbsp;at

org.apache.geronimo.j2ee.deployment.EARConfigBuilder$$FastClassByCGLIB$$38e56ec6.invoke(&lt;generated&gt;)<BR>&nbsp;at
net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)<BR>&nbsp;at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)<BR>&nbsp;at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)<BR>&nbsp;at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:710)<BR>&nbsp;at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)<BR>&nbsp;at
org.apache.geronimo.kernel.proxy.RawOperationInvoker.invoke(RawOperationInvoker.java:36)<BR>&nbsp;at
org.apache.geronimo.kernel.proxy.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:92)<BR>&nbsp;at
org.apache.geronimo.deployment.ConfigurationBuilder$$EnhancerByCGLIB$$661d6fa5.buildConfiguration(&lt;generated&gt;)<BR>&nbsp;at

org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:172)<BR>&nbsp;at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:85)<BR>&nbsp;at
org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.invoke(&lt;generated&gt;)<BR>&nbsp;at
net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)<BR>&nbsp;at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)<BR>&nbsp;at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)<BR>&nbsp;at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:745)<BR>&nbsp;at
org.apache.geronimo.kernel.Kernel.invoke(Kernel.java:299)<BR>&nbsp;at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:121)<BR>&nbsp;at
org.apache.geronimo.kernel.KernelGBean$$FastClassByCGLIB$$1cccefc9.invoke(&lt;generated&gt;)<BR>&nbsp;at

net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)<BR>&nbsp;at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)<BR>&nbsp;at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)<BR>&nbsp;at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:745)<BR>&nbsp;at
org.apache.geronimo.kernel.Kernel.invoke(Kernel.java:299)<BR>&nbsp;at org.apache.geronimo.kernel.jmx.MBeanServerDelegate.invoke(MBeanServerDelegate.java:117)<BR>&nbsp;at
mx4j.remote.rmi.RMIConnectionInvoker.invoke(RMIConnectionInvoker.java:219)<BR>&nbsp;at
sun.reflect.GeneratedMethodAccessor100.invoke(Unknown Source)<BR>&nbsp;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<BR>&nbsp;at
java.lang.reflect.Method.invoke(Method.java:324)<BR>&nbsp;at 
mx4j.remote.rmi.RMIConnectionProxy.invoke(RMIConnectionProxy.java:34)<BR>&nbsp;at
mx4j.remote.rmi.RMIConnectionSubjectInvoker.chain(RMIConnectionSubjectInvoker.java:99)<BR>&nbsp;at
mx4j.remote.rmi.RMIConnectionSubjectInvoker.access$000(RMIConnectionSubjectInvoker.java:31)<BR>&nbsp;at
mx4j.remote.rmi.RMIConnectionSubjectInvoker$1.run(RMIConnectionSubjectInvoker.java:90)<BR>&nbsp;at
java.security.AccessController.doPrivileged(Native Method)<BR>&nbsp;at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)<BR>&nbsp;at
mx4j.remote.MX4JRemoteUtils.subjectInvoke(MX4JRemoteUtils.java:163)<BR>&nbsp;at
mx4j.remote.rmi.RMIConnectionSubjectInvoker.subjectInvoke(RMIConnectionSubjectInvoker.java:86)<BR>&nbsp;at
mx4j.remote.rmi.RMIConnectionSubjectInvoker.invoke(RMIConnectionSubjectInvoker.java:80)<BR>&nbsp;at
$Proxy0.invoke(Unknown Source)<BR>&nbsp;at 
javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:221)<BR>&nbsp;at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<BR>&nbsp;at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<BR>&nbsp;at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<BR>&nbsp;at
java.lang.reflect.Method.invoke(Method.java:324)<BR>&nbsp;at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)<BR>&nbsp;at
sun.rmi.transport.Transport$1.run(Transport.java:148)<BR>&nbsp;at java.security.AccessController.doPrivileged(Native
Method)<BR>&nbsp;at sun.rmi.transport.Transport.serviceCall(Transport.java:144)<BR>&nbsp;at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)<BR>&nbsp;at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)<BR>&nbsp;at
java.lang.Thread.run(Thread.java:534)<BR><BR>any guess?</P>
<P>thank you!!!!!</P>
<P>Katia</P>
<P>&nbsp;</P></DIV>
<DIV></DIV>&gt;From: David Jencks &lt;djencks@gluecode.com&gt;
<DIV></DIV>&gt;Reply-To: user@geronimo.apache.org
<DIV></DIV>&gt;To: user@geronimo.apache.org
<DIV></DIV>&gt;Subject: Re: JMS application client into Geronimo
<DIV></DIV>&gt;Date: Sun, 1 May 2005 13:16:09 -0700
<DIV></DIV>&gt;
<DIV></DIV>&gt;For an application client you have to deploy the resource adapters
<DIV></DIV>&gt;you want to use.&nbsp;&nbsp;Here's an example that
deploys a jdbc adapter
<DIV></DIV>&gt;using axion (this probably won't work any more, I'd remove
it or
<DIV></DIV>&gt;change to derby) and activemq.&nbsp;&nbsp;I think with
the resource-ref and
<DIV></DIV>&gt;topic/queue name you use you can probably leave out the resource-ref
<DIV></DIV>&gt;elements.&nbsp;&nbsp;I think this deployed ok a couple
of days ago, although I
<DIV></DIV>&gt;didn't try to look anything up or send a message using it.
<DIV></DIV>&gt;
<DIV></DIV>&gt;david jencks
<DIV></DIV>&gt;&lt;&lt; plan1.xml &gt;&gt;
<DIV></DIV>&gt;
<DIV></DIV>&gt;
<DIV></DIV>&gt;
<DIV></DIV>&gt;On May 1, 2005, at 12:57 PM, Katia Aresti Gonzalez wrote:
<DIV></DIV>&gt;
<DIV></DIV>&gt;&gt;Thanks a lot David! it worked with this descriptor.
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;&gt;Doing now the next step: Deploying another EAR file,
this time just
<DIV></DIV>&gt;&gt;an&nbsp;&nbsp;application client that access
to the MDB. I don realy know how
<DIV></DIV>&gt;&gt;to&nbsp;&nbsp;make this work. Any help please???
than you!!!!!!!
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;&gt;This is the file:
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;&gt;SimpleClient.java
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;&gt;import javax.jms.*;
<DIV></DIV>&gt;&gt;import javax.naming.*;
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;&gt;public class SimpleClient {
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp; /**
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; * Main method.
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; */
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp; public static void main(String[]
args) {
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Context jndiContext = null;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
ConnectionFactory connectionFactory = null;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Connection connection = null;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Session session = null;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Destination dest = null;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
MessageProducer producer = null;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
TextMessage message = null;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
final int NUM_MSGS = 3;
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
/*
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
* Create a JNDI API InitialContext object.
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
*/
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
try {
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
jndiContext = new InitialContext();
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
} catch (NamingException e) {
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
System.err.println("Could not create JNDI API context:
<DIV></DIV>&gt;&gt;" +
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
e.toString());
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
System.exit(1);
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
}
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
/*
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
* Look up connection factory and queue.&nbsp; If either does
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
* not exist, exit.
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
*/
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
try {
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
connectionFactory =
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
(ConnectionFactory) jndiContext.lookup(
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
"java:comp/env/jms/CnnectionFactory");
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
dest = (Queue)&nbsp;&nbsp;
<DIV></DIV>&gt;&gt;jndiContext.lookup("java:comp/env/jms/MDBTransferBeanOutQueue");
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
} catch (NamingException e) {
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
System.err.println("JNDI API lookup failed: " +&nbsp;&nbsp;
<DIV></DIV>&gt;&gt;e.toString());
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
System.exit(1);
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
}
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
/*
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
* Create connection.
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
* Create session from connection; false means session is
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
* not transacted.
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
* Create sender and text message.
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
* Send messages, varying text slightly.
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
* Finally, close connection.
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
*/
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
try {
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
connection = connectionFactory.createConnection();
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
session = connection.createSession(false,&nbsp;&nbsp;
<DIV></DIV>&gt;&gt;Session.AUTO_ACKNOWLEDGE);
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
producer = session.createProducer(dest);
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
message = session.createTextMessage();
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
for (int i = 0; i &lt; NUM_MSGS; i++) {
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
message.setText("This is message " + (i + 1));
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
System.out.println("Sending message: " +&nbsp;&nbsp;
<DIV></DIV>&gt;&gt;message.getText());
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
producer.send(message);
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
}
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
} catch (JMSException e) {
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
System.err.println("Exception occurred: " +
<DIV></DIV>&gt;&gt;e.toString());
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
} finally {
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
if (connection != null) {
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
try {
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
connection.close();
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
} catch (JMSException e) {
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
}
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
}
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
System.exit(0);
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
}
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp; }
<DIV></DIV>&gt;&gt;}
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;&gt;Im using this deployment descriptors, but i dont really
now what i&nbsp;&nbsp;
<DIV></DIV>&gt;&gt;need to do this.
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;application.xml
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;&gt;&lt;?xml version="1.0" encoding="UTF-8"?&gt;
<DIV></DIV>&gt;&gt;&lt;application version="1.4" xmlns="http://java.sun.com/xml/ns/j2ee"&nbsp;&nbsp;
<DIV></DIV>&gt;&gt;xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&nbsp;&nbsp;
<DIV></DIV>&gt;&gt;xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee&nbsp;&nbsp;
<DIV></DIV>&gt;&gt;http://java.sun.com/xml/ns/j2ee/application_1_4.xsd"&gt;
<DIV></DIV>&gt;&gt;&nbsp; &lt;description&gt;Application description&lt;/description&gt;
<DIV></DIV>&gt;&gt;&nbsp; &lt;display-name&gt;EarthMDBApp&lt;/display-name&gt;
<DIV></DIV>&gt;&gt;&nbsp; &lt;module&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp; &lt;ejb&gt;mdb.jar&lt;/ejb&gt;
<DIV></DIV>&gt;&gt;&nbsp; &lt;/module&gt;
<DIV></DIV>&gt;&gt;&lt;/application&gt;
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;&gt;geronimo-application.xml
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;&gt;&lt;?xml version="1.0" encoding="UTF-8"?&gt;
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;&gt;&lt;application
<DIV></DIV>&gt;&gt;xmlns="http://geronimo.apache.org/xml/ns/j2ee/application"
<DIV></DIV>&gt;&gt;configId="Jupiter"
<DIV></DIV>&gt;&gt;parentId="org/apache/geronimo/SystemJMS"&gt;
<DIV></DIV>&gt;&gt;&lt;/application&gt;
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;&gt;application-client.xml
<DIV></DIV>&gt;&gt;&lt;?xml version="1.0" encoding="UTF-8"?&gt;
<DIV></DIV>&gt;&gt;&lt;application-client version="1.4"&nbsp;&nbsp;
<DIV></DIV>&gt;&gt;xmlns="http://java.sun.com/xml/ns/j2ee"
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&nbsp;&nbsp;
<DIV></DIV>&gt;&gt;xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;&gt;http://java.sun.com/xml/ns/j2ee/application-client_1_4.xsd"&gt;
<DIV></DIV>&gt;&gt;&nbsp; &lt;display-name&gt;SimpleClient&lt;/display-name&gt;
<DIV></DIV>&gt;&gt;&nbsp; &lt;resource-ref&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp; &lt;res-ref-name&gt;ConnectionFactory&lt;/res-ref-name&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp; &lt;res-type&gt;javax.jms.ConnectionFactory&lt;/res-type&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp; &lt;res-auth&gt;Container&lt;/res-auth&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp; &lt;res-sharing-scope&gt;Shareable&lt;/res-sharing-scope&gt;
<DIV></DIV>&gt;&gt;&nbsp; &lt;/resource-ref&gt;
<DIV></DIV>&gt;&gt;&nbsp; &lt;message-destination-ref&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;message-destination-ref-name&gt;MDBTransferBeanOutQueu&lt;/message-
<DIV></DIV>&gt;&gt;destination-ref-name&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<DIV></DIV>&gt;&gt;&lt;message-destination-type&gt;javax.jms.Queue&lt;/message-destination-type&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp; &lt;message-destination-usage&gt;Produces&lt;/message-destination-usage&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;
<DIV></DIV>&gt;&gt;&lt;message-destination-link&gt;PhysicalQueue&lt;/message-destination-link&gt;
<DIV></DIV>&gt;&gt;&nbsp; &lt;/message-destination-ref&gt;
<DIV></DIV>&gt;&gt;&nbsp; &lt;message-destination&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<DIV></DIV>&gt;&gt;&lt;message-destination-name&gt;MDBTransferBeanOutQueu&lt;/message-destination-
<DIV></DIV>&gt;&gt;name&gt;
<DIV></DIV>&gt;&gt;&nbsp; &lt;/message-destination&gt;
<DIV></DIV>&gt;&gt;&lt;/application-client&gt;
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;&gt;geronimo-application-client.xml
<DIV></DIV>&gt;&gt;&lt;?xml version="1.0" encoding="UTF-8"?&gt;
<DIV></DIV>&gt;&gt;&lt;!DOCTYPE sun-application-client PUBLIC "-//Sun
Microsystems,&nbsp;&nbsp;
<DIV></DIV>&gt;&gt;Inc.//DTD Application Server 8.1 Application Client
1.4//EN"&nbsp;&nbsp;
<DIV></DIV>&gt;&gt;"http://www.sun.com/software/appserver/dtds/sun-application-
<DIV></DIV>&gt;&gt;client_1_4-1.dtd"&gt;
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;&gt;&lt;application-client&gt;
<DIV></DIV>&gt;&gt;&nbsp; &lt;resource-ref&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp; &lt;res-ref-name&gt;ConnectionFactory&lt;/res-ref-name&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp; &lt;jndi-name&gt;jms/ConnectionFactoryLocalTx&lt;/jndi-name&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp; &lt;default-resource-principal&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;name&gt;geronimo&lt;/name&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;password&gt;geronimo&lt;/password&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp; &lt;/default-resource-principal&gt;
<DIV></DIV>&gt;&gt;&nbsp; &lt;/resource-ref&gt;
<DIV></DIV>&gt;&gt;&nbsp; &lt;message-destination&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;message-destination-name&gt;MDBTransferBeanOutQueue&lt;/message-
<DIV></DIV>&gt;&gt;destination-name&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp; &lt;jndi-name&gt;MDBTransferBeanOutQueue&lt;/jndi-name&gt;
<DIV></DIV>&gt;&gt;&nbsp; &lt;/message-destination&gt;
<DIV></DIV>&gt;&gt;&lt;application-client&gt;
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;&gt;&nbsp;
<DIV></DIV>&gt;&gt; &gt;From: David Jencks &lt;david_jencks@yahoo.com&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;Reply-To: user@geronimo.apache.org
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;To: user@geronimo.apache.org
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;Subject: Re: JMS application
problem when deploying into
<DIV></DIV>&gt;&gt;Geronimo
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;Date: Sun, 1 May 2005 11:12:10
-0700
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;Another try ...
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;On May 1, 2005, at 10:31
AM, David Jencks wrote:
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;&gt;try this for the
ejb-jar.xml
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;&lt;?xml version="1.0"
encoding="UTF-8"?&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;&lt;ejb-jar version="2.1"
xmlns="http://java.sun.com/xml/ns/j2ee"&nbsp;&nbsp;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&nbsp;&nbsp;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee&nbsp;&nbsp;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd"&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;&nbsp; &lt;display-name&gt;TierraMDB&lt;/display-name&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;&nbsp; &lt;enterprise-beans&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;
&lt;message-driven&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;display-name&gt;MDBTierra&lt;/display-name&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;ejb-name&gt;MDBTierra&lt;/ejb-name&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;ejb-class&gt;MessageBean&lt;/ejb-class&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;messaging-type&gt;javax.jms.MessageListener&lt;/messaging-type&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;transaction-type&gt;Container&lt;/transaction-type&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;activation-config&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;activation-config-property&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;&lt;activation-config-property-name&gt;destination&lt;/activation-config-
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;property-name&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp; &gt;&lt;activation-config-property-value&gt;MDBTransferBeanOutQueue&lt;/
<DIV></DIV>&gt;&gt;activation-
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;config-property-value&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/activation-config-property&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;activation-config-property&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;
<DIV></DIV>&gt;&gt; &gt;&lt;activation-config-property-name&gt;destinationType&lt;/activation-config-
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;property-name&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;
<DIV></DIV>&gt;&gt; &gt;&lt;activation-config-property-value&gt;javax.jms.Queue&lt;/activation-config-
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;property-value&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/activation-config-property&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/activation-config&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;
&lt;/message-driven&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;&nbsp; &lt;/enterprise-beans&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;&nbsp; &lt;assembly-descriptor&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;
&lt;container-transaction&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;method&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;ejb-name&gt;MDBTierra&lt;/ejb-name&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;method-name&gt;onMessage&lt;/method-name&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;method-params&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;method-param&gt;javax.jms.Message&lt;/method-param&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/method-params&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/method&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;trans-attribute&gt;Required&lt;/trans-attribute&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;
&lt;/container-transaction&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;
&lt;message-destination&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp; &gt;&lt;message-destination-name&gt;MDBTransferBeanOutQueue&lt;/message-
<DIV></DIV>&gt;&gt;destination-
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;name&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;&nbsp;&nbsp;&nbsp;
&lt;/message-destination&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;&nbsp; &lt;/assembly-descriptor&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;&lt;/ejb-jar&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&gt;
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;Busca a la vez en Internet, en
directorios, en enciclopedias...&nbsp;&nbsp;
<DIV></DIV>&gt;&gt;Atrévete con el nuevo MSN Search
<DIV></DIV></div><br clear=all><hr>Recibe ofertas de empleo
adaptadas a tu perfil. <a href="http://g.msn.com/8HMAESES/2752??PS=47575" target="_top">Introduce
tu CV en MSN Empleo.</a> </html>


Mime
View raw message