ADF Faces and Portal 2.6 ALPHA2 - Classloader Issue
lcompton Mar 1, 2007 1:15 PMI posted this as a follow up to another thread, but I want to make sure it gets seen...
I'm having difficulties getting an application using ADF Faces to run in the portal. My ultimate goal is deploy an ADF Faces application as a portlet.
In order to troubleshoot the problem, I've stripped my WAR file down to the bare minimum. It contains a "web.xml" file containing JSF and ADF Faces configuration entries. I also have a minimal "faces-config.xml" file. There are no JSPs or managed beans at this point and I deleted all of the "portal*.xml" files. When I deploy this WAR to a copy of JBoss 4.0.5.GA without the Portal SAR, it deploys without any problems. However, when I deploy the same WAR to a copy of JBoss containing the Portal SAR, I get the exception listed below. I'm using JBoss Portal 2.6 ALPHA2.
18:03:11,193 ERROR [STDERR] Mar 1, 2007 6:03:11 PM oracle.adf.view.faces.webapp.AdfFacesFilter init SEVERE: null java.lang.ClassNotFoundException: No ClassLoaders found for: oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:306) at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:511) at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at oracle.adf.view.faces.webapp.AdfFacesFilter.init(AdfFacesFilter.java:46) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:223) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:304) at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:77) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3634) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.portal.server.deployment.PortalWebTomcat5App.startFilter(PortalWebTomcat5App.java:120) at org.jboss.portal.server.deployment.PortalWebTomcat5App.instrument(PortalWebTomcat5App.java:100) at org.jboss.portal.server.deployment.jboss.ServerDeployer.instrument(ServerDeployer.java:289) at org.jboss.portal.server.deployment.jboss.ServerDeployer.deploy(ServerDeployer.java:244) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy143.deploy(Unknown Source)