cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <d...@yahoo.com>
Subject Re: Endorsed Standards Override Mechanism / Cocoon2 on JDK1.4
Date Thu, 14 Feb 2002 22:02:09 GMT
Robert,

Did you try running C2 on Tomcat4 with JDK1.4? Sometimes "the proof is in the pudding" :)

Thanks,
dims

--- Robert Marcano <robmv@promca.com> wrote:
> I havenīt confirmed it yet, but I think that this is not required if you 
> are using Tomcat4 or a compliant Servlet 2.3 container
> 
> look at the bottom of the page 
> http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html
> 
> "As mentioned above, the web application class loader diverges from the 
> default Java 2 delegation model (in accordance with the recommendations 
> in the Servlet Specification, version 2.3, section 9.6). When a request 
> to load a class from the web application's WebappX class loader is 
> processed, this class loader will look in the local repositories first, 
> instead of delegating before looking. All other class loaders in Tomcat 
> 4 follow the usual delegation pattern.
> Therefore, from the perspective of a web application, class or resource 
> loading looks in the following repositories, in this order:
> 
>     * /WEB-INF/classes of your web application
>     * /WEB-INF/lib/*.jar of your web application
>     * Bootstrap classes of your JVM
>     * System class loader classses (described above)
>     * $CATALINA_HOME/common/classes
>     * $CATALINA_HOME/common/lib/*.jar
>     * $CATALINA_HOME/classes
>     * $CATALINA_HOME/lib/*.jar"
> 
> Davanum Srinivas wrote:
> 
> >Martin,
> >
> >The Xalan and Xerces implementations built into JDK1.4 are outdated. Cocoon2 won't
run with
> them. 
> >
> >Yes, This will have effects on other applications. The other option is to set TOMCAT_OPTS
> >environment variable as follows: 
> >
>
>TOMCAT_OPTS=-Xbootclasspath/p:C:\cocoon2\tools\lib\xalan-2.2.0.jar;C:\cocoon2\tools\lib\xerces-1.4.4.jar;C:\cocoon2\tools\lib\xml-apis.jar
> >
> >
> >This is what happens under the covers when you place the jars in jre\lib\endorsed
directory.
> >
> >Thanks,
> >dims
> >
> >--- Martin Holz <holz@fiz-chemie.de> wrote:
> >
> >>Hi,
> >>
> >>Davanum Srinivas wrote:
> >>
> >>>Team,
> >>>
> >>>JDK14 is officially released - http://java.sun.com/j2se/1.4/download.html.
> >>>
> >>>- Download and install JDK14.
> >>>- Create a new directory named endorsed under jre\lib.
> >>>- Drop xalan-2.2.0.jar, xerces-1.4.4.jar and xml-apis.jar in
> >>>jre\lib\endorsed.
> >>>
> >>Why xalan and xerces ? 
> >>Sun is talking about the packages org.w3c.dom, org.xml.sax, org.xml.sax.ext 
> >>and  org.xml.sax.helpers.
> >>Those packages have been moved  from xalan and xerces to  xml-apis.jar 
> >>some time ago. Unless Suns documentation is wrong, copying xml-apis.jar 
> >>should be enough and copying xerces.jar and xalan.jar may have 
> >>nasty sideeffects  on other applications. 
> >>
> >>>PS: Details on "Endorsed Standards Override Mechanism" is at
> >>>http://java.sun.com/j2se/1.4/docs/guide/standards/.
> >>>
> >>
> >>
> >>Regards
> >>      Martin
> >>
> >>--
> >>Martin Holz  <holz@fiz-chemie.de>  phone: 0049-30-39977 218 
> >>FIZ CHEMIE BERLIN
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> >>For additional commands, email: cocoon-dev-help@xml.apache.org
> >>
> >
> >
> >=====
> >Davanum Srinivas - http://jguru.com/dims/
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Send FREE Valentine eCards with Yahoo! Greetings!
> >http://greetings.yahoo.com
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> >For additional commands, email: cocoon-dev-help@xml.apache.org
> >
> >
> 
> -- 
> Robert Marcano (office: robmv@promca.com, personal: robert@marcanoonline.com)
> System Architect
> http://www.marcanoonline.com/About_me/about_me.html
> 
> aol/netscape screen id: robmv
> jabber id: robmv@jabber.org
> msn messenger id: robert@marcanoonline.com
> icq id: 101913663
> 
> 
> 


=====
Davanum Srinivas - http://jguru.com/dims/

__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message