users@glassfish.java.net

Re: endorsed jars not being used

From: Sahoo <Sahoo_at_sun.com>
Date: Thu, 17 Jul 2008 07:28:37 -0700

What error are you getting?
Are you trying to replace various XML APIs that are part of JRE by a
different set of XML APIs, or just the implementation by another
implementation? If latter is the case, why do you have to use endorsed
mechanism? Although Sun's J2SE implementation allows user to override
any implementation class by different ones using endorsed mechanism,
endorsed mechanism should only be used to override specific APIs defined
in the spec:
http://java.sun.com/j2se/1.5.0/docs/guide/standards/index.html

Thanks,
Sahoo
glassfish_at_javadesktop.org wrote:
> I am trying to deploy the shibboleth 2.0 IDP jar file to glassfish v2ur1 on Solaris 10/SPARC. It deploys just fine on Ubuntu using Sun Java 6 (update 6), but on Solaris I get an error about the built-in XML parsing libraries. On Tomcat, I have to put the xerces and xalan jars that come with Shibboleth into the tomcat endorsed directory, but on glassfish I can't get the endorsed jars to work.
>
> I have tried the following and so far none of them work:
> * using the built-in java 5 installation from the OS
> - putting the jars in the ${glassfish}/lib/endorsed directory
> - putting the jars in the $JAVA_HOME/lib/endorsed directory
> * installing the Java 6 (update 7) on the system and running glassfish on that
> - putting the jars in the ${glassfish}/lib/endorsed directory
> - putting the jars in the $JAVA_HOME/lib/endorsed directory
>
> Is there another method for endorsing these jar files?
> [Message sent by forum member 'mcking' (mcking)]
>
> http://forums.java.net/jive/thread.jspa?messageID=287155
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>