MyEclipse: Binding file not being generated for EJB3 MDB
manojsikhakolli - Mar 02, 2012 - 10:03 PM
Post subject: Binding file not being generated for EJB3 MDB
Hi, I am using Myeclipe Blue and trying to deploy an MDB created in EJB3 to be deployed in Websphere 7.0 but the bindings are not being generated and hence EJB is not getting deployed. Any suggestions?
support-swapna - Mar 05, 2012 - 08:31 AM
Sorry that you are seeing this issue.
Can you answer some more questions for us ?
1) Can you share the Build ID from Help > About MyEclipse Blue Edition > Build ID ?
2) Is the MDB created in MyEclipse IDE or imported from elsewhere ? If you are following any tutorial for MDB creation, then please share the link with us.
3) Can you please share the deployment log when you deploy the project to WAS 7?
4) Also check the .log file which is located at <workspace dir>/.metadata/.log for any errors of interest. If yes then paste them here for us.
manojsikhakolli - Mar 05, 2012 - 02:51 PM
Post subject: Details attached
1. The build id is Build id: 10.0-Blue-20111028
2. I am creating the EJB3.0 MDB from within Myeclipse and using the Myeclipse EJB3.0 MDB Wizard to give class names. On creation the binding file is not being generated.
I went thru some forums and tried creating by deploying into Websphere 7.0 ( classic mode) that did not work either. then i tried the new mode of deployment available that allows the code to be hot deployed and still the binding file is not being generated.
3. log file attached.
4. .log file attached.
support-swapna - Mar 06, 2012 - 09:32 AM
Thank you for the details. I have escalated it to a dev team member. They will get back to you.
Sorry for the inconvenience caused.
manojsikhakolli - Mar 06, 2012 - 09:10 PM
Hi, Is there a turn around time available for this? i have searched in many forums and everywhere we find the same roadblock of jar binding for websphere not being created automatically.
support-denis - Mar 06, 2012 - 11:29 PM
I can confirm that bindings are not generated.
Until this is fixed you can try using the following workaround:
Create a file "ibm-ejb-jar-bnd.xml" in META-INF folder of your EJB project's source folder.
Put a following header into the file:
<?xml version="1.0" encoding="UTF-8"?>
Then add binding configuration for your message bean like:
<jca-adapter activation-spec-binding-name="jms/activationSpec" destination-binding-name="jms/messageQueue"/>
and close the bnd tag:
where "jms/activationSpec" is an activation spec JNDI name and "jms/messageQueue" is message queue JNDI name.
manojsikhakolli - Mar 07, 2012 - 03:11 PM
Thanks for the info. I wanted to know is there any other version of j2ee / ejb for which binding file is automatically generated reducing the overload of manually writing down the binding (which is the key purpose of using an IDE). Also even ejb-jar.xml is not getting auto updated with the newly created beans.
support-denis - Mar 07, 2012 - 11:38 PM
If you are using ME support for XDoclet, running XDoclet for pre-3.0 beans will make your ejb-jar.xml to be updated (or actually regenerated). Consider checking this article: http://www.myeclipseide.com/documentation/quickstarts/firstejb/ .
For 3.0 beans you should not need ejb-jar.xml to be updated.
Regarding the IBM EJB bindings, I dont think you can get them generated at the moment.
andreas.erne - Aug 21, 2012 - 07:42 AM
Post subject: Bug Status?
What's the status of this bug? The proposed workaround is not satisfying for a tool that claims to support Websphere and dedicates a special, commercial product around this promise.
Please increase the priority of this integration problem. Without this (and similar) features I can not see anything that makes MyEclipse superior to other, homemade, Eclipse based solutions for Websphere development.
g888 - Oct 03, 2012 - 09:15 PM
Post subject: Any status on this yet?
I concur that I can easily generate this stuff manually but why would I when my organization has invested heavily in this tool and moved away from RAD?
All times are GMT - 6 Hours
Powered by PNphpBB2
© 2003-2004 The PNphpBB GroupCredits