[esb-dev] starting using jbossesb-server-4.10 + eclipse-jee-helios-362-SR2

Tom Cunningham tcunning at redhat.com
Mon Jan 30 13:28:52 EST 2012


The first thing I'd suggest is to use the full AS with ESB installed on 
top rather than the jbossesb-server if you want to implement an EJB 
project.       The ESB server is not a full EE container.     It's 
designed to be a lightweight server for ESB projects, but one of the 
ways that was accomplished was to cut out EJB support.

It looks like your error is that it can't find the queue bound - can you 
start off with one of the sample EJB3 quickstarts/tutorials?


On 01/30/2012 11:11 AM, Patrizio.Ferlito at b-source.ch wrote:
>
> 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 at 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.
>
>
> _______________________________________________
> esb-dev mailing list
> esb-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/esb-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/esb-dev/attachments/20120130/eb3ac979/attachment.html 


More information about the esb-dev mailing list