- This topic has 9 replies, 5 voices, and was last updated 12 years, 1 month ago by g888.
-
AuthorPosts
-
manojsikhakolliMemberHi, 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-swapnaModeratorManoj,
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.
manojsikhakolliMemberHi swapna,
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.Attachments:
You must be logged in to view attached files.
support-swapnaModeratorManoj,
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.
manojsikhakolliMemberHi, 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-denisMemberManoj,
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″?>
<ejb-jar-bnd
xmlns=”http://websphere.ibm.com/xml/ns/javaee”
xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”
xsi:schemaLocation=”http://websphere.ibm.com/xml/ns/javaee http://websphere.ibm.com/xml/ns/javaee/ibm-ejb-jar-bnd_1_0.xsd”
version=”1.0″>Then add binding configuration for your message bean like:
<message-driven name=”TheMessageBean”>
<jca-adapter activation-spec-binding-name=”jms/activationSpec” destination-binding-name=”jms/messageQueue”/>
</message-driven>and close the bnd tag:
</ejb-jar-bnd>where “jms/activationSpec” is an activation spec JNDI name and “jms/messageQueue” is message queue JNDI name.
Best regards,
Denis.
manojsikhakolliMemberDenis,
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.
Regards
manoj
support-denisMemberManoj,
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.
Best regards,
Denis.
Andreas ErneMemberDenis,
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.
Best regards,
Andreas
g888MemberI 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?
-
AuthorPosts