File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Oracle/OAS and the fly likes Missing class: oracle.security.xmlsec.saml2.core.Assertion Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "Missing class: oracle.security.xmlsec.saml2.core.Assertion" Watch "Missing class: oracle.security.xmlsec.saml2.core.Assertion" New topic
Author

Missing class: oracle.security.xmlsec.saml2.core.Assertion

howard franklin
Greenhorn

Joined: Sep 09, 2012
Posts: 20
I am starting the oc4j container from eclipse. I was able to start it and debug it, but now I cannot. The only thing that change is that I installed the oracle client. Then I started getting the problems below.
I think that the oracle client change several environment variables. How can I trouble shoot this problem. Thanks

OC4J startup failed
oracle.classloader.util.AnnotatedNoClassDefFoundError:

Missing class: oracle.security.xmlsec.saml2.core.Assertion

Dependent class: oracle.security.xmlsec.wss.saml2.SAML2AssertionToken
Loader: oracle.xml.security:10.1.3
Code-Source: /C:/oc4j/jlib/osdt_wss.jar
Configuration: <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\oc4j\j2ee\home\oc4j.jar

The missing class is not available from any code-source or loader in the system.
at oracle.classloader.PolicyClassLoader.defineClass(PolicyClassLoader.java:2401)
at oracle.classloader.PolicyClassLoader.bulkLoadClasses(PolicyClassLoader.java:1637)
at oracle.classloader.util.XMLConfiguration$Externals.load(XMLConfiguration.java:895)
at oracle.classloader.util.XMLConfiguration.doPostProcessing(XMLConfiguration.java:914)
at oracle.classloader.util.XMLConfiguration.configureLoaders(XMLConfiguration.java:328)
at oracle.classloader.util.InitialLoadersFactory.populateLoaders(InitialLoadersFactory.java:410)
at oracle.classloader.util.InitialLoadersFactory.initLoaders(InitialLoadersFactory.java:235)
at oracle.classloader.util.InitialLoadersFactory.create(InitialLoadersFactory.java:176)
at oracle.oc4j.loader.boot.BootStrap.main(BootStrap.java:31)
Martin Vajsar
Sheriff

Joined: Aug 22, 2010
Posts: 3611
    
  60

New installations frequently mess things up by putting their own JDK or JRE at the front of the PATH variable. I'd suggest checking this one first. If you find the Oracle's client directory at the front of the path, try to remove it or move it to the end. (Remember to save the original version so that you can undo your action!)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Missing class: oracle.security.xmlsec.saml2.core.Assertion