Help coderanch get a
new server
by contributing to the fundraiser
  • 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Enterprise Application working in WSAD but not in WAS AE 4.0

 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I developed and tested an enterpise application in WSAD 4.0, then I deployed it in WAS AE 4.0.
When I was trying to access the enterprise application that I deployed in WAS AE 4.0, it was not working.
I checked the log files and found out that there was a javax.naming.NameNotFoundException.
I'm wondering why WAS AE 4.0 could not locate the EJB in the JNDI while in WSAD, the EJB could be located properly. Please advise. Thanks!
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, there are at least two possibilities:
(1) Some other error occurred during startup and the EJB did not get loaded. This often is due to a database setup issue. Check your entire log to find out if this has happened.
(2) When you install an EAR file from WSAD into WAS you get a screen in the WAS admin console that allows you to choose the JNDI names of the EJB's. You can change them there -- it's possible that when you deployed the EAR you changed one or more of the JNDI names.
Kyle
 
Today's lesson is that you can't wear a jetpack AND a cape. I should have read this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic