You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2001/10/21 21:08:57 UTC

DO NOT REPLY [Bug 4315] - EJB Access with weblogic.jar included: Can't access new InitialContext()

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4315>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4315

EJB Access with weblogic.jar included: Can't access new InitialContext()

remm@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From remm@apache.org  2001-10-21 12:08 -------
Bug reports are not meant to replace tomcat-user. Please, don't ask questions 
inside a bug report, and it's always better to investigate an issue before 
filing the bug.

To reference an EJB, use the ejb-link element, and set its value to the JNDI 
name in your external initial context (of course, you have to set the 
appropriate system properties in that case, as you did).

If you want to use only Weblogic's JNDI environment, use the '-nonaming' 
command line option. I would recommend doing that (it's simpler).

The exception may be caused because you have the JNDI base classes in /WEB-
INF/lib (and they clash with the ones from the JDK).