Having trouble with RichFaces and OC4J 10.1.3.1
bigboy1122 Apr 18, 2008 11:51 AMI have been trying to get RichFaces to work and keep getting different errors within Eclipse.
Here is what I have done so far. In my Ear Project, I have the orion-application.xml with the following
<?xml version='1.0' encoding='UTF-8'?> <orion-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/orion-application-10_0.xsd" > <imported-shared-libraries> <remove-inherited name="oracle.xml" /> <import-shared-library name="xerces.xml" max-version="2.9.1"/> <!-- <remove-inherited name="oracle.toplink" /> <remove-inherited name="oracle.persistence" /> <import-shared-library name="jaxp-jwsdp" max-version="1.5"/> --> </imported-shared-libraries> </orion-application>
I have the following library's in my /WEBINF/lib
commons-beanutils.jar
commons-codec-1.3.jar
commons-collections.jar
commons-digester.jar
el-api.jar
el-ri.jar
jsf-api.jar
jsf-facelets.jar
jsf-impl.jar
jstl.jar
richfaces-api-3.1.3.GA.jar
richfaces-impl-3.1.3.GA.jar
richfaces-ui-3.1.3.GA.jar
I am getting the following error publishing through eclipse to OC4J 10.1.3.1
08/04/18 10:44:54 WARNING: DeployerRunnable.run NoClassDefFoundErrororacle.oc4j.admin.internal.DeployerException: NoClassDefFoundError
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:134)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at com.evermind.server.http.deployment.WARAnnotationParser.getFilterClasses(WARAnnotationParser.java:171)
at com.evermind.server.http.deployment.WARAnnotationParser.parseAnnotations(WARAnnotationParser.java:95)
at com.evermind.server.http.HttpApplication.parseMetaData(HttpApplication.java:8575)
at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1113)
at com.evermind.server.http.HttpApplication.(HttpApplication.java:738)
at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414)
at com.evermind.server.Application.getHttpApplication(Application.java:571)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1990)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.(HttpSite.java:1909)
at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1606)
at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:238)
at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:99)
at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:547)
at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:202)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
... 4 more
I have the richfaces*.jars referenced in the OC4J instance's class path, because if I don't then I get an error saying it couldn't find the tld lib. I can recreate if it is needed. But that is all I have in the class path of the OC4J instance.
Any ideas