Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Moving application from iPlanet to WebLogic  RSS feed

 
ganu hegde
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I have an application on iPlanet 6.0 sp2 on Windows-NT. Now i wish to deploy this application to BEA
Weblogic6.0Sp1 also on NT. In iPlanet.. I have given JNDI name as <jndi-name>ejb/ABC<jndi-name> in the
ias-web.xml and in the client i am looking up for this JNDI name as "java:comp/env/ABC". I have used
Context ctx=new InitialContext();
When I port the same application on BEA(I deployed the ear file) and try to run the client it gives
error "Unable to resolve java:comp/env/ABC". for EJB's .
Is there any other step i should take other than deploying the ear file.
I don't want to change either client or ejb's.
Please suggest a way to handle this problem.
thanx
Ganu
 
Mekdim Takele
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If the name you provided in your deployment descriptor is ejb/ABC, it should be accessed as
java:comp/env/ejb/ABC
not just
java:comp/env/ABC
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!