[jboss-user] [JBoss Portal] - isolating portal from others ear application
cpage
do-not-reply at jboss.com
Wed Oct 11 11:13:45 EDT 2006
hello,
i have a classloader issu when i deploy a jsf ear application and jboss portal.
i saw in the wiki : http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration
do i have to add this:
anonymous wrote : <jboss-app>
| <loader-repository>
| dot.com:loader=unique-archive-name
| </loader-repository>
| </jboss-app>
in any earapp/META-INF/jboss-app.xml files ?
i modified the ear-deployer like this:
anonymous wrote :
| <!-- EAR deployer, remove if you are not using ear deployments -->
|
| <!-- A flag indicating if ear deployments should have their own scoped
| class loader to isolate their classes from other deployments.
| -->
| true
| <!-- A flag indicating if the ear components should have in VM call
| optimization disabled.
| -->
| true
|
|
but i still have the error when i deploy the ear with jbp:
17:10:25,318 ERROR [StartupServletContextListener] Error initializing ServletContext
| java.lang.ClassCastException: com.sun.facelets.component.RepeatRenderer
| at org.apache.myfaces.config.FacesConfigurator.configureRenderKits(FacesConfigurator.java:610)
| at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:145)
| at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:66)
| at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:49)
| at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729)
| at org.apache.catalina.core.StandardContext.start(StandardContext.java:4187)
| at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
| at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
| at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
| at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.apache.catalina.core.StandardContext.init(StandardContext.java:5116)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
best regards
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977583#3977583
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977583
More information about the jboss-user
mailing list