Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General 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 ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Problem in accessing EJB while deployed by WSAD 5.1

 
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

I am facing a problem from last one day while accessing an EJB from the servlet. It always gives an error on the browser like:



On the console I get:




1. ejb-jar.xml
Note:
1. < = [ <br /> 2. > = ]





2. ibm-ejb-jar-bnd.xmi
Note:
1. < = [ <br /> 2. > = ]



3. Servlet sniplet for accessing the bean



I need to resolve this ASAP. Thanks in advance...

[ November 16, 2005: Message edited by: Bimal Patel ]

[ November 16, 2005: Message edited by: Bimal Patel ]
[ November 16, 2005: Message edited by: Bimal Patel ]
 
author
Posts: 4173
29
jQuery Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
2 questions...

Are you sure your EJB is deployed? Have you checked the server log file to see if there was a problem loading it?

Are you sure the EJB is up and running? Use the Universal Test Client and attempt to use the bean from within there. If this is successful, the problem is in your servlet or WAR, else the problem is in the EJB.
 
Bimal Patel
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Yes, it is deployed correctly. I can see that by running universal test client. BTW, how can I run the admin tool? Do I need to install the server??
 
Won't you be my neighbor? - Fred Rogers. tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic