• 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
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

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: 4112
28
Google Web Toolkit Eclipse IDE Flex
  • 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??
 
Think of how stupid the average person is. And how half of them are stupider than that. But who reads this tiny ad?
professionally read, modify and write PDF files from Java
https://products.aspose.com/pdf/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!