This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Building Blockchain Apps and have Michael Yuan on-line!
See this thread for details.
Win a copy of Building Blockchain Apps this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Liutauras Vilda
  • Knute Snortum
  • Bear Bibeault
  • Devaka Cooray
  • Jeanne Boyarsky
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • salvin francis
  • Tim Holloway
  • Piet Souris
  • Frits Walraven

What is the missing link in these descriptors?

Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a 3rd-party EJB contained in a project in my workspace that I need to add to my web application I am using Rational Application Developer 6.0 as my IDE and WebSphere 5.0 as my RAD test environment. I modified the EAR and WAR descriptors to add the EJB module/project to the application descriptor and an EJB reference to the web descriptor. See the following entries. However, the EJB does not even load when the WebSphere test environment is started even though the EJB project is clearly configured for the EAR (as viewed in Server >> Add and Remove Projects...). I know I am missing something obvious here, but what? Do I need to configure something in the Administrative Console perhaps?

EAR application.xml has the entry:

<module id="EjbModule_1174410560257">

EAR .modulemaps has the entry:

<mappings xmi:id="ModuleMapping_1174410560257" projectName="TextFileEJB">
<module xmi:type="application:EjbModule" href="META-INF/application.xml#EjbModule_1174410560257"/>

WAR web.xml has the entry:

<ejb-ref id="EjbRef_1174318503244">

WAR ibm-web-bnd.xmi has the entry:

<ejbRefBindings xmi:id="EjbRefBinding_1174318503244" jndiName="TextFile">
<bindingEjbRef href="WEB-INF/web.xml#EjbRef_1174318503244"/>
James Davison
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nevermind! It seems all I had to do was remove the EAR project then re-add the EAR project to the test server.
Time is mother nature's way of keeping everything from happening at once. And this is a tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!