File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Oracle/OAS and the fly likes Missing class: 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:" Watch "Missing class:" New topic

Missing class:

howard franklin

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

Missing class:

Dependent class:
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(
at oracle.classloader.PolicyClassLoader.bulkLoadClasses(
at oracle.classloader.util.XMLConfiguration$Externals.load(
at oracle.classloader.util.XMLConfiguration.doPostProcessing(
at oracle.classloader.util.XMLConfiguration.configureLoaders(
at oracle.classloader.util.InitialLoadersFactory.populateLoaders(
at oracle.classloader.util.InitialLoadersFactory.initLoaders(
at oracle.classloader.util.InitialLoadersFactory.create(
at oracle.oc4j.loader.boot.BootStrap.main(
Martin Vajsar

Joined: Aug 22, 2010
Posts: 3733

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:
subject: Missing class:
It's not a secret anymore!