--- Bill Barker <[EMAIL PROTECTED]> wrote: > > "srinivas reddy" <[EMAIL PROTECTED]> wrote > in message > news:[EMAIL PROTECTED] > > Hi, > > I am using tomcat 4.1.24. I have a couple of > > questions. > > > > 1. Online documentation about class loader says, > > System class loader operates on CLASSPATH. I have > > included j2ee.jar in my CLASSPATH, but tomcat is > not > > picking it up. Why is it so? > > Wherever you saw these docs, they are wrong. Tomcat > ignores the CLASSPATH > variable.
I found this documentation at http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html. Did I misunderstand it or it says what I am thinking? > And, in any case, trying to use j2ee.jar > with Tomcat is pure evil > ;-). Just install the components that you need, and > you may finish your > project in finite time :). > Why is using j2ee.jar with tomcat is not recommended? Is there any resource explaining what can go wrong? > > > > 2. When I use tomcat, system property > > "java.naming.factory.initial" is initialized to > > "org.apache.naming.java.javaURLContextFactory". > Where > > did the system pick this property from? How can I > > override this setting? I initialized JNDI context > with > > environment having "java.naming.factory.initial" > as > > > "com.sun.enterprise.naming.SerialInitContextFactory" > > but ultimately > > "org.apache.naming.java.javaURLContextFactory" is > set > > to "java.naming.factory.initial". How can I avoid > > this? > > I don't believe that you can avoid it (without > looking more deeply into the > code than I care to do at the moment). And, even if > you could, the likely > result is that Tomcat would lay on it's back, point > it's toes in the air, > and die. > > > > > I would appreciate if anybody can help me with > these > > issues. I am really struggling for a week. > > > > tia, > > Srinivas > > > > ===== > > I am not afraid of losing. But I don't like it. > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! SiteBuilder - Free, easy-to-use web site > design software > > http://sitebuilder.yahoo.com > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > ===== I am not afraid of losing. But I don't like it. __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
