Hi all,

 

I’ve just started in these days to explore jbossesb-server world, installing jbossesb-server itself (jbossesb-server-4.10.zip), eclipse (eclipse-jee-helios-362-SR2-win32.zip) and jboss eclipse plugins (jbosstools-3.2.2.Final.aggregate-Update-2011-11-14_23-06-23-H1430.zip).

 

All ok with my first ESB example …

 

Now I would like to deploy also a very simple MDB into my jbossesb-server using always eclipse (I come from another J2EE application server with another IDE) but I got some issues.

 

What I did:

 

-       Create a new EJB project named MDB-Example

-       Added my very simple ExampleMDB.java MDB using below annotations

 

@MessageDriven(activationConfig = {

             @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"),

             @ActivationConfigProperty(propertyName="destination", propertyValue="queue/MyQueue")

            })

 

To deploy the MDB-Example project:

 

-       I configured into eclipse a JBoss 4.2 Runtime Server pointing to my jbossesb-server installation (eclipse started it with no particular issue)

-       From the MDB-Example project I selected Run/Run on server

 

From eclipse Servers window I see “MDB-Example [Synchronized]”  but using the http://localhost:8080/admin-console I don’t see it and in fact when I run my JMSClient I got:

 

javax.naming.NameNotFoundException: MyQueue not bound

      at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)

      at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)

      at org.jnp.server.NamingServer.getObject(NamingServer.java:543)

      at org.jnp.server.NamingServer.lookup(NamingServer.java:296)

      at org.jnp.server.NamingServer.lookup(NamingServer.java:270)

 

So it seems that I deployed, using eclipse, an incomplete MDB project.

Does eclipse plugin create on the fly the required deployment descriptor when I deploy the MDB using eclipse ?

I apologize myself for my post for dummies … but I’m trying to understand where I make mistakes.

 

Thanks in advance and regards

ferp

 

 

IMPORTANT:
This e-mail transmission is intended for the named
addressee(s)only.
Its contents are private, confidential and protected
from disclosure and should not be read, copied or
disclosed by any other person.
If you are not the intended recipient, we kindly ask
you to notify the sender immediately by telephone
(+41 (0)58 806 50 00), to redirect the message to the
account "info@b-source.ch" and to delete this e-mail.
E-mail transmissions may be intercepted, altered or
read by unauthorized persons and may contain viruses.
Therefore, it is recommended that you use regular mail
or courier services for any information intended to be
confidential. However, by sending us messages through
e-mail, you authorize and instruct us to correspond by
e-mail in the relevant matter.
Thank you.