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