Skip to Content.
Sympa Menu

mace-opensaml-users - opensaml in WebLogic 10.1

Subject: OpenSAML user discussion

List archive

opensaml in WebLogic 10.1


Chronological Thread 
  • From: Jon Solanu <>
  • To:
  • Subject: opensaml in WebLogic 10.1
  • Date: Mon, 18 May 2009 12:34:23 -0400
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=UlNcerZ9M6oOkgR7+v2GnBWYP+eux14qj3mT3zJTC1ZaXCZVuhSUKpV2aefpL0B7Sg E5iS3PfrZnSB8AUL3THc6E15mFZPtWnXbtiSCyBDuDJasSE1THFME/h7AYsKc+TRy5X0 GhLAEAb0jTDIy839BgsFBBFJMB5rlLTQMtQQI=

I am attempting to use opensaml in a WebLogic 10MP1 project and am receiving the following message.  
I have been able to run a junit test case against the samez code with no problems but deploying to WebLogic gives the following message.
The xmlsec-1.4.2 jar file is in the WEB-INF/lib directory of this sample project and I added a property to the startup too explicitly define an endorced directory for the XML parsing libs.

Using opensaml 2.2.3.jar files.

java.lang.NoClassDefFoundError: org/apache/xml/security/Init
at org.opensaml.DefaultBootstrap.initializeXMLSecurity(DefaultBootstrap.java:103)
at org.opensaml.DefaultBootstrap.bootstrap(DefaultBootstrap.java:79)
at test.SAML.(SAML.java:72)
at test.tst.processRequest(tst.java:52)
at test.tst.doGet(tst.java:79)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3395)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)



Archive powered by MHonArc 2.6.16.

Top of Page