extension functions and iPlanet was RE: extension functions and Tomcat

2001-09-07 Thread Uma Shinde
ary L Peskin [mailto:[EMAIL PROTECTED]] Sent: Monday, August 13, 2001 4:33 PM To: [EMAIL PROTECTED] Subject: Re: extension functions and Tomcat Hi, Dmitry -- Can you please try this to help us out? 1. Be sure you have the following: as the LAST RequestInterceptor in your conf/server.xml fil

Re: extension functions and Tomcat

2001-08-16 Thread Gary L Peskin
Dmitry -- Sorry, I just got this today! Dmitry Beransky wrote: > Just out of curiosity, when you said that all current versions of jxalan > use the correct class loader, did you mean that xalan now uses > getContextClassLoader() to locate extension classes? Yes.

Re: extension functions and Tomcat

2001-08-16 Thread Dmitry Beransky
Hi Gary, > loader. Please provide details as to the directory where xalan.jar is > located and and the directory where the extension is located. xalan.jar is in ${tomcat_home}/lib. The extension is in ${web_app}/web-inf/lib. > What version of XalanJ are you using? 2.2.D8 > What version

Re: extension functions and Tomcat

2001-08-13 Thread Gary L Peskin
Glad this worked out. We should include these Tomcat issues in some sort of FAQ. I'll try to write something up. Gary Dmitry Beransky wrote: > > It works! It works! > > I sneaked a peek at the source code of the interceptor, and it looks like > its purpose is to fix the context class loade

Re: extension functions and Tomcat

2001-08-13 Thread Dmitry Beransky
It works! It works! I sneaked a peek at the source code of the interceptor, and it looks like its purpose is to fix the context class loader property of the request thread. So I guess I was on the right track with my suspicion, I just didn't know there was already a fix. Thanks a lot! Dmit

Re: extension functions and Tomcat

2001-08-13 Thread Gary L Peskin
I never saw this arrive so I'm resending. Also, I should mention that it applies only to Tomcat 3.2.x running on Java 2 JDK 1.2 or higher. What version of Tomcat are you on? What version of Java? Gary Gary L Peskin wrote: > > Hi, Dmitry -- > > Can you please try this to help us out? > > 1.

RE: extension functions and Tomcat

2001-08-13 Thread Gunnlaugur Thor Briem
> ancestors -- that hasn't changed. So in Tomcat 3.3 the normal > thing to do is to put Xalan and all extension classes in the > common classloader, ${tomcat_home}/lib/common, just as in ... or in ${tomcat_home}/lib/apps, which is the same except that the Tomcat servlet container classes can't se

RE: extension functions and Tomcat

2001-08-13 Thread Gunnlaugur Thor Briem
Hi Dmitry, Sorry, everyone, if this seems to be slanting a little off-topic, but I think Xalan's extension loading merits an attempt to understand this stuff to the dot ... > First, how a class loader finds classes is completely up to the particular At second glance, I guess that's right ... th

Re: extension functions and Tomcat

2001-08-13 Thread Gary L Peskin
Hi, Dmitry -- Can you please try this to help us out? 1. Be sure you have the following: as the LAST RequestInterceptor in your conf/server.xml file. 2. Place xalan.jar ONLY in ${tomcat_lib}/lib 3. Place your extension ONLY in ${web_app}/web-info/lib 4. Stop/Start Tomcat 5. Tell us i

RE: extension functions and Tomcat

2001-08-13 Thread Dmitry Beransky
Gulli, I will disagree on a couple of accounts, if I may, First, how a class loader finds classes is completely up to the particular classloader. For example, it is my understanding that in Tomcat 3.2 and prior, the classloader would do a postfix traversal of the loader hierarchy, that is, i

Re: extension functions and Tomcat

2001-08-13 Thread Gary L Peskin
n! :) > > - Gulli > > -Original Message- > From: Gary L Peskin [mailto:[EMAIL PROTECTED]] > Sent: 13. agust 2001 18:14 > To: [EMAIL PROTECTED] > Subject: Re: extension functions and Tomcat > > Well, that will work but it shouldn't be necessary to copy xalan.jar

RE: extension functions and Tomcat

2001-08-13 Thread Gunnlaugur Thor Briem
ED] Subject: Re: extension functions and Tomcat Well, that will work but it shouldn't be necessary to copy xalan.jar into the web-info/lib directory of every webapp. I'll look into this further but I'm glad that this is working for you now. Gary Dmitry Beransky wrote: > Gary, >

Re: extension functions and Tomcat

2001-08-13 Thread Gary L Peskin
Well, that will work but it shouldn't be necessary to copy xalan.jar into the web-info/lib directory of every webapp. I'll look into this further but I'm glad that this is working for you now. Gary Dmitry Beransky wrote: > Gary, > > I'm including the environment info at the end of the message.

Re: extension functions and Tomcat

2001-08-13 Thread Dmitry Beransky
Gary, I'm including the environment info at the end of the message. However, with Gulli's help I was able to fix the problem. It turned out, all I had to do was to move xalan.jar out of ${tomcat_home}/lib and into ${web_app}/web-info/lib. I hope, this is an appropriate fix. Thanks Dmitry

Re: extension functions and Tomcat

2001-08-13 Thread Dmitry Beransky
At 10:08 PM 8/11/2001, Gary L Peskin wrote: >Also, in your servlet, please include the following line just before >kicking off the transformation: >... >and let us know what the output is from there. Gary, I'm including the environment info at the end of the message. However, with Gulli's hel