Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Oracle 9i AS EJB client of a WebLogic EJB  RSS feed

Mauricio Naranjo
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would like ask if there's anybody who knows how to create the library (JAR file ) that contains the requires classes to access an EJB deployed in WebLogic.
Right now I got a situation that I have not solved you, perhaps you can help me:
I have an EJB deployed correctly in Oracle 9i AS (Windows XP); this EJB must execute a method of another EJB deployed in WebLogic 7 (Windows XP), but I got an error with the class weblogic.jndi.WLInitialContextFactory, see the Exception generad below:
javax.naming.NoInitialContextException: Cannot instantiate class: weblogic.jndi.WLInitialContextFactory. Root exception is java.lang.ClassNotFoundException: weblogic.jndi.WLInitialContextFactory
I have in the Oracle9iAS_HOME_DIRECTORY\j2ee\home\lib, copied the weblogic.jar (it is quite bid, almost 36MB), but I got that error, as if that class would not be in the CLASSPATH.
Any suggestions about how to correct that?
I appreciate a lot if you could help me with this.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!