[jboss-dev-forums] [JBoss ESB Development] - Esb service and EJB3 Action or JBESB-2134 continuation...
Maksym RMA
do-not-reply at jboss.com
Thu Jul 26 08:55:20 EDT 2012
Maksym RMA [https://community.jboss.org/people/maksrma] created the discussion
"Esb service and EJB3 Action or JBESB-2134 continuation..."
To view the discussion, visit: https://community.jboss.org/message/750444#750444
--------------------------------------------------------------
Hi all
I have big project on ESB, that started sinse ESB 4.2
Now I migrate project to use ESB 4.10
So, my environment is:
JBoss 6.1 and ESB 4.10
All works file, but not EJBProcessor EJB3 actions.
My service file structure:
myservice.esb
-- META-INF
-- jboss-esb.xml
-- deployment.xml -- I am trying with dependency <depends>jboss.j2ee:module=upbsservice.jar,name=UpbsServiceBean,service=EJB3</depends> and without it (result same...)
-- ejb3-files.jar --- contains EJB3 Stateless Bean for action
I found JIRA
* https://issues.jboss.org/browse/JBESB-2134 JBESB-2134
With last comment in 2008: Mea culpa. I was not aware of the possibility of such a dependency specification. And task was closed. (I think it's wonderfull reaction on highest bug, as for me :^0 )
My jboss-esb.xml has action:
....
<action name="ejb-action" class=++"org.jboss.soa.esb.actions.EJBProcessor">++
+.... ejb3 = true, method, jndi-name.... same as in documentation.+
And exception with dependency:
DEPLOYMENTS IN ERROR:
Deployment "<UNKNOWN jboss.esb.vfs:///D:/jboss-6.1.0.Final/server/my-conf
/deploy/myproject/myservice.esb>" is in error due to the following reason(s): ** UNRESOL
VED Demands 'jboss.j2ee:module=ejb3-files.jar,name=MyEJBBean,service=EJB3
' **
And exception without dependency in deployment.xml:
...
Caused by: org.jboss.soa.esb.actions.ActionLifecycleException: Could not lookup MyEJBBean/remote...
After jndi tree after server start I can see my been. It was initialized after EJBProcessor asking for it.
Have anybody ideas how to possible use .esb service with EJB3 action inside esb file?
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/750444#750444]
Start a new discussion in JBoss ESB Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2032]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120726/96a7b59a/attachment.html
More information about the jboss-dev-forums
mailing list