Skip to Content.
Sympa Menu

shibboleth-dev - FW: Deploying on Resin

Subject: Shibboleth Developers

List archive

FW: Deploying on Resin


Chronological Thread 
  • From: Scott Cantor <>
  • To:
  • Subject: FW: Deploying on Resin
  • Date: Wed, 05 Feb 2003 13:18:24 -0500
  • Importance: Normal
  • Organization: The Ohio State University

Title: Message
I think RL Bob mentioned possible use of Resin with Shib...I'll keep tabs on this thread, but it probably will have implication on our documentation.
 
Fundamentally, the issues are about Xerces and really moreso about the JAXP APIs that Sun defined, because Java JDKs and the various containers are all over the map on how to get your version of a particular XML class into a servlet, without it overriding one that somebody else depends on.
 
-- Scott
 
-----Original Message-----
From: Bryan Field-Elliot [mailto:]
Sent: Wednesday, February 05, 2003 12:41 PM
To:
Subject: Deploying on Resin

We have developed and successfully deployed an application using XML-Security on Tomcat.

Now we are tasked with testing this same application on Resin, which (admittedly) we have a lot less experience upon.

Our environment is RH Linux 8.0, Sun JDK 1.3.1-06, and Resin 2.1.6.

xmlsec.jar didn't seem to be happy existing in our servlet's WEB-INF/lib directory, so we moved it to Resin's common lib directory.  As a consequence, we also had to replace Resin's common lib version of Xerces, with the latest Xerces and Xalan (Xerces-J 2.2.1 and Xalan-J 2.4.1). We also copied xmlsec.jar and log4j.jar into Resin's common lib directory.

Now, upon loading, we're getting a lot of complaint from xmlsec.jar, as follows. Any tips would be appreciated.

The line in question which is triggering all this is:
(exception stack trace) at org.sourceid.sso.servlets.Manager.<clinit>(Manager.java:62)

Here is the code at line 62:

static {
org.apache.xml.security.Init.init();
}


Thank you,

Bryan

[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] FATAL org.apache.xml.security.Init  - Cannot register URI  to class  because this class does not exist in CLASSPATH
[main] ERROR org.apache.xml.security.Init  - Already registered
[main] ERROR org.apache.xml.security.Init  - Already registered
org.apache.xml.security.keys.ContentHandlerAlreadyRegisteredException: URI {} already assigned to class
        at org.apache.xml.security.Init.registerKeyInfoContentHandler(Init.java:677)
        at org.apache.xml.security.Init.init(Init.java:451)
        at org.sourceid.sso.servlets.Manager.<clinit>(Manager.java:62)
        at java.lang.Class.newInstance0(Native Method)
        at java.lang.Class.newInstance(Class.java:232)
        at java.beans.Beans.instantiate(Beans.java:202)
        at java.beans.Beans.instantiate(Beans.java:46)
        at com.caucho.server.http.Application.instantiateServlet(Application.java:3170)
        at com.caucho.server.http.Application.createServlet(Application.java:3093)
        at com.caucho.server.http.Application.loadServlet(Application.java:3054)
        at com.caucho.server.http.Application.initServlets(Application.java:1914)
        at com.caucho.server.http.Application.init(Application.java:1827)
        at com.caucho.server.http.VirtualHost.initWars(VirtualHost.java:824)
        at com.caucho.server.http.VirtualHost.init(VirtualHost.java:687)
        at com.caucho.server.http.ServletServer.initHosts(ServletServer.java:853)
        at com.caucho.server.http.ServletServer.initInternal(ServletServer.java:698)
        at com.caucho.server.http.ServletServer.init(ServletServer.java:509)
        at com.caucho.server.http.ResinServer.init(ResinServer.java:377)
        at com.caucho.server.http.ResinServer.main(ResinServer.java:1137)
        at com.caucho.server.http.HttpServer.main(HttpServer.java:103)
[main] FATAL org.apache.xml.security.Init  - Bad:
org.apache.xml.security.keys.ContentHandlerAlreadyRegisteredException: URI {} already assigned to class
        at org.apache.xml.security.Init.registerKeyInfoContentHandler(Init.java:677)
        at org.apache.xml.security.Init.init(Init.java:451)
        at org.sourceid.sso.servlets.Manager.<clinit>(Manager.java:62)
        at java.lang.Class.newInstance0(Native Method)
        at java.lang.Class.newInstance(Class.java:232)
        at java.beans.Beans.instantiate(Beans.java:202)
        at java.beans.Beans.instantiate(Beans.java:46)
        at com.caucho.server.http.Application.instantiateServlet(Application.java:3170)
        at com.caucho.server.http.Application.createServlet(Application.java:3093)
        at com.caucho.server.http.Application.loadServlet(Application.java:3054)
        at com.caucho.server.http.Application.initServlets(Application.java:1914)
        at com.caucho.server.http.Application.init(Application.java:1827)
        at com.caucho.server.http.VirtualHost.initWars(VirtualHost.java:824)
        at com.caucho.server.http.VirtualHost.init(VirtualHost.java:687)
        at com.caucho.server.http.ServletServer.initHosts(ServletServer.java:853)
        at com.caucho.server.http.ServletServer.initInternal(ServletServer.java:698)
        at com.caucho.server.http.ServletServer.init(ServletServer.java:509)
        at com.caucho.server.http.ResinServer.init(ResinServer.java:377)
        at com.caucho.server.http.ResinServer.main(ResinServer.java:1137)
        at com.caucho.server.http.HttpServer.main(HttpServer.java:103)
[main] FATAL org.apache.xml.security.Init  - Bad:
org.apache.xml.security.keys.ContentHandlerAlreadyRegisteredException: URI {} already assigned to class
        at org.apache.xml.security.Init.registerKeyInfoContentHandler(Init.java:677)
        at org.apache.xml.security.Init.init(Init.java:451)
        at org.sourceid.sso.servlets.Manager.<clinit>(Manager.java:62)
        at java.lang.Class.newInstance0(Native Method)
        at java.lang.Class.newInstance(Class.java:232)
        at java.beans.Beans.instantiate(Beans.java:202)
        at java.beans.Beans.instantiate(Beans.java:46)
        at com.caucho.server.http.Application.instantiateServlet(Application.java:3170)
        at com.caucho.server.http.Application.createServlet(Application.java:3093)
        at com.caucho.server.http.Application.loadServlet(Application.java:3054)
        at com.caucho.server.http.Application.initServlets(Application.java:1914)
        at com.caucho.server.http.Application.init(Application.java:1827)
        at com.caucho.server.http.VirtualHost.initWars(VirtualHost.java:824)
        at com.caucho.server.http.VirtualHost.init(VirtualHost.java:687)
        at com.caucho.server.http.ServletServer.initHosts(ServletServer.java:853)
        at com.caucho.server.http.ServletServer.initInternal(ServletServer.java:698)
        at com.caucho.server.http.ServletServer.init(ServletServer.java:509)
        at com.caucho.server.http.ResinServer.init(ResinServer.java:377)
        at com.caucho.server.http.ResinServer.main(ResinServer.java:1137)
        at com.caucho.server.http.HttpServer.main(HttpServer.java:103)
org.apache.xml.security.keys.ContentHandlerAlreadyRegisteredException: URI {} already assigned to class
        at org.apache.xml.security.Init.registerKeyInfoContentHandler(Init.java:677)
        at org.apache.xml.security.Init.init(Init.java:451)
        at org.sourceid.sso.servlets.Manager.<clinit>(Manager.java:62)
        at java.lang.Class.newInstance0(Native Method)
        at java.lang.Class.newInstance(Class.java:232)
        at java.beans.Beans.instantiate(Beans.java:202)
        at java.beans.Beans.instantiate(Beans.java:46)
        at com.caucho.server.http.Application.instantiateServlet(Application.java:3170)
        at com.caucho.server.http.Application.createServlet(Application.java:3093)
        at com.caucho.server.http.Application.loadServlet(Application.java:3054)
        at com.caucho.server.http.Application.initServlets(Application.java:1914)
        at com.caucho.server.http.Application.init(Application.java:1827)
        at com.caucho.server.http.VirtualHost.initWars(VirtualHost.java:824)
        at com.caucho.server.http.VirtualHost.init(VirtualHost.java:687)
        at com.caucho.server.http.ServletServer.initHosts(ServletServer.java:853)
        at com.caucho.server.http.ServletServer.initInternal(ServletServer.java:698)
        at com.caucho.server.http.ServletServer.init(ServletServer.java:509)
        at com.caucho.server.http.ResinServer.init(ResinServer.java:377)
        at com.caucho.server.http.ResinServer.main(ResinServer.java:1137)
        at com.caucho.server.http.HttpServer.main(HttpServer.java:103)


  • FW: Deploying on Resin, Scott Cantor, 02/05/2003

Archive powered by MHonArc 2.6.16.

Top of Page