• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JNDI Browser

 
vikas jain
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am trying to deploy a couple of application in J2EE 1.3 RI and I hate this server. I am able to do lookup for some beans but for other the lookup fails. I was wondering is there any JNDI browser available for J2EE 1.3 RI so that I can check whether my object are in JNDI tree or not. Any pointers regarding this will be of great help.

Thanks,
Nikhil
[ May 20, 2006: Message edited by: Nikhil Agrawal ]
 
Marcelo Ortega
Ranch Hand
Posts: 528
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why not use JBoss? It's free.
 
Patrick Williams
Ranch Hand
Posts: 213
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So is the J2EE 1.3 RI and it is closer to what is on the exam.
 
vikas jain
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Just to test my JNDI tree, I tried to do a lookup for datasource jdbc/Cloudscape.

When I lookup for this datasource from my bean, it works fine.
My code is like this.


But it fails when I try to do a lookup from my client.
I am using the following code.


I am getting the follwing error.

[java] javax.naming.NameNotFoundException. Root exception is org.omg.CosNa
ming.NamingContextPackage.NotFound
[java] at org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read(No
tFoundHelper.java:29)
[java] at org.omg.CosNaming._NamingContextExtStub.resolve(_NamingContex
tExtStub.java:402)

Any pointers?

Thanks,
Nikhil
[ May 20, 2006: Message edited by: Nikhil Agrawal ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic