[
https://issues.jboss.org/browse/GTNPORTAL-2504?page=com.atlassian.jira.pl...
]
Marko Strukelj commented on GTNPORTAL-2504:
-------------------------------------------
At a first glance this looks like a very strange error. ModuleClassLoader is part of
jboss-modules, and in this case uses static local file system as modules repository. The
class it tries to load is internal to org.gatein.lib:main so there is no reason why it
couldn't load it - short of exo.portal.component.portal-VERSION.jar file not being
there (as a result of filesystem delete maybe?).
Cannot properly start portal on AS 7
------------------------------------
Key: GTNPORTAL-2504
URL:
https://issues.jboss.org/browse/GTNPORTAL-2504
Project: GateIn Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Packaging
Reporter: Chris Laprun
Assignee: Marko Strukelj
Fix For: 3.4.0.Final
13:34:00,219 ERROR [exo.kernel.container.MX4JComponentAdapter] (MSC service thread 1-4)
Failed to instanciate plugin chromattic for component
org.exoplatform.commons.chromattic.ChromatticManager@136a986: null:
java.security.PrivilegedActionException: java.lang.reflect.InvocationTargetException
at
org.exoplatform.commons.utils.SecurityHelper.doPrivilegedExceptionAction(SecurityHelper.java:319)
[exo.kernel.commons-2.3.6-GA-JBAS7.jar:3.4.0-GA-SNAPSHOT]
at
org.exoplatform.container.jmx.MX4JComponentAdapter.addComponentPlugin(MX4JComponentAdapter.java:169)
[exo.kernel.container-2.3.6-GA-JBAS7.jar:2.3.6-GA-JBAS7]
at
org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:114)
[exo.kernel.container-2.3.6-GA-JBAS7.jar:2.3.6-GA-JBAS7]
at
org.exoplatform.container.management.ManageableComponentAdapter.getComponentInstance(ManageableComponentAdapter.java:68)
[exo.kernel.container-2.3.6-GA-JBAS7.jar:2.3.6-GA-JBAS7]
at
org.exoplatform.container.ConcurrentPicoContainer.getInstance(ConcurrentPicoContainer.java:468)
[exo.kernel.container-2.3.6-GA-JBAS7.jar:2.3.6-GA-JBAS7]
at
org.exoplatform.container.ConcurrentPicoContainer.getComponentInstanceOfType(ConcurrentPicoContainer.java:422)
[exo.kernel.container-2.3.6-GA-JBAS7.jar:2.3.6-GA-JBAS7]
at
org.exoplatform.container.CachingContainer.getComponentInstanceOfType(CachingContainer.java:139)
[exo.kernel.container-2.3.6-GA-JBAS7.jar:2.3.6-GA-JBAS7]
at org.exoplatform.container.ExoContainer.createComponent(ExoContainer.java:407)
[exo.kernel.container-2.3.6-GA-JBAS7.jar:2.3.6-GA-JBAS7]
at
org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:97)
[exo.kernel.container-2.3.6-GA-JBAS7.jar:2.3.6-GA-JBAS7]
at
org.exoplatform.container.management.ManageableComponentAdapter.getComponentInstance(ManageableComponentAdapter.java:68)
[exo.kernel.container-2.3.6-GA-JBAS7.jar:2.3.6-GA-JBAS7]
at
org.exoplatform.container.ConcurrentPicoContainer.getInstance(ConcurrentPicoContainer.java:468)
[exo.kernel.container-2.3.6-GA-JBAS7.jar:2.3.6-GA-JBAS7]
at
org.exoplatform.container.ConcurrentPicoContainer.getComponentInstancesOfType(ConcurrentPicoContainer.java:366)
[exo.kernel.container-2.3.6-GA-JBAS7.jar:2.3.6-GA-JBAS7]
at
org.exoplatform.container.CachingContainer.getComponentInstancesOfType(CachingContainer.java:111)
[exo.kernel.container-2.3.6-GA-JBAS7.jar:2.3.6-GA-JBAS7]
at org.exoplatform.container.LifecycleVisitor.visitContainer(LifecycleVisitor.java:151)
[exo.kernel.container-2.3.6-GA-JBAS7.jar:2.3.6-GA-JBAS7]
at
org.exoplatform.container.ConcurrentPicoContainer.accept(ConcurrentPicoContainer.java:615)
[exo.kernel.container-2.3.6-GA-JBAS7.jar:2.3.6-GA-JBAS7]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [classes.jar:1.6.0_33]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[classes.jar:1.6.0_33]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[classes.jar:1.6.0_33]
at java.lang.reflect.Method.invoke(Method.java:597) [classes.jar:1.6.0_33]
at org.picocontainer.defaults.AbstractPicoVisitor.traverse(AbstractPicoVisitor.java:32)
at org.exoplatform.container.LifecycleVisitor.traverse(LifecycleVisitor.java:90)
[exo.kernel.container-2.3.6-GA-JBAS7.jar:2.3.6-GA-JBAS7]
at org.exoplatform.container.LifecycleVisitor.start(LifecycleVisitor.java:170)
[exo.kernel.container-2.3.6-GA-JBAS7.jar:2.3.6-GA-JBAS7]
at
org.exoplatform.container.ConcurrentPicoContainer.start(ConcurrentPicoContainer.java:554)
[exo.kernel.container-2.3.6-GA-JBAS7.jar:2.3.6-GA-JBAS7]
at org.exoplatform.container.ExoContainer.start(ExoContainer.java:266)
[exo.kernel.container-2.3.6-GA-JBAS7.jar:2.3.6-GA-JBAS7]
at org.exoplatform.container.PortalContainer.start(PortalContainer.java:667)
[exo.kernel.container-2.3.6-GA-JBAS7.jar:2.3.6-GA-JBAS7]
at org.exoplatform.container.ExoContainer.start(ExoContainer.java:254)
[exo.kernel.container-2.3.6-GA-JBAS7.jar:2.3.6-GA-JBAS7]
at org.exoplatform.container.RootContainer.createPortalContainer(RootContainer.java:399)
[exo.kernel.container-2.3.6-GA-JBAS7.jar:2.3.6-GA-JBAS7]
at
org.exoplatform.container.RootContainer.createPortalContainers(RootContainer.java:287)
[exo.kernel.container-2.3.6-GA-JBAS7.jar:2.3.6-GA-JBAS7]
at org.gatein.integration.jboss.as7.web.StartupService.start(StartupService.java:55)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[classes.jar:1.6.0_33]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[classes.jar:1.6.0_33]
at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [classes.jar:1.6.0_33]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[classes.jar:1.6.0_33]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[classes.jar:1.6.0_33]
at java.lang.reflect.Method.invoke(Method.java:597) [classes.jar:1.6.0_33]
at
org.exoplatform.container.jmx.MX4JComponentAdapter$1.run(MX4JComponentAdapter.java:173)
[exo.kernel.container-2.3.6-GA-JBAS7.jar:2.3.6-GA-JBAS7]
at
org.exoplatform.container.jmx.MX4JComponentAdapter$1.run(MX4JComponentAdapter.java:170)
[exo.kernel.container-2.3.6-GA-JBAS7.jar:2.3.6-GA-JBAS7]
at
org.exoplatform.commons.utils.SecurityHelper.doPrivilegedExceptionAction(SecurityHelper.java:311)
[exo.kernel.commons-2.3.6-GA-JBAS7.jar:3.4.0-GA-SNAPSHOT]
... 33 more
Caused by: java.lang.AssertionError: java.lang.ClassNotFoundException:
org.exoplatform.portal.mop.i18n.Language_Chromattic from [Module
"org.gatein.lib:main" from local module loader @b4e29b (roots:
/Users/claprun/Dev/gatein-metacosm/portal/packaging/jboss-as7/pkg/target/jboss/modules,/Users/claprun/Dev/gatein-metacosm/portal/packaging/jboss-as7/pkg/target/jboss/gatein/modules)]
I then see:
13:34:02,512 ERROR [exo.kernel.container.ExoContainer] (MSC service thread 1-4) Cannot
create the portal container 'portal' . ServletContext:
org.apache.catalina.core.ApplicationContextFacade@bdc543:
org.picocontainer.PicoIntrospectionException: Failed when calling start on
org.exoplatform.portal.pom.config.POMSessionManager@a262c1
at org.exoplatform.container.LifecycleVisitor.traverse(LifecycleVisitor.java:136)
[exo.kernel.container-2.3.6-GA-JBAS7.jar:2.3.6-GA-JBAS7]
at org.exoplatform.container.LifecycleVisitor.start(LifecycleVisitor.java:170)
[exo.kernel.container-2.3.6-GA-JBAS7.jar:2.3.6-GA-JBAS7]
at
org.exoplatform.container.ConcurrentPicoContainer.start(ConcurrentPicoContainer.java:554)
[exo.kernel.container-2.3.6-GA-JBAS7.jar:2.3.6-GA-JBAS7]
at org.exoplatform.container.ExoContainer.start(ExoContainer.java:266)
[exo.kernel.container-2.3.6-GA-JBAS7.jar:2.3.6-GA-JBAS7]
at org.exoplatform.container.PortalContainer.start(PortalContainer.java:667)
[exo.kernel.container-2.3.6-GA-JBAS7.jar:2.3.6-GA-JBAS7]
at org.exoplatform.container.ExoContainer.start(ExoContainer.java:254)
[exo.kernel.container-2.3.6-GA-JBAS7.jar:2.3.6-GA-JBAS7]
at org.exoplatform.container.RootContainer.createPortalContainer(RootContainer.java:399)
[exo.kernel.container-2.3.6-GA-JBAS7.jar:2.3.6-GA-JBAS7]
at
org.exoplatform.container.RootContainer.createPortalContainers(RootContainer.java:287)
[exo.kernel.container-2.3.6-GA-JBAS7.jar:2.3.6-GA-JBAS7]
at org.gatein.integration.jboss.as7.web.StartupService.start(StartupService.java:55)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[classes.jar:1.6.0_33]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[classes.jar:1.6.0_33]
at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]
Caused by: java.lang.reflect.UndeclaredThrowableException
at org.exoplatform.portal.pom.config.POMSessionManager.start(POMSessionManager.java:189)
[exo.portal.component.portal-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source) [:1.6.0_33]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[classes.jar:1.6.0_33]
at java.lang.reflect.Method.invoke(Method.java:597) [classes.jar:1.6.0_33]
at org.exoplatform.container.LifecycleVisitor.traverse(LifecycleVisitor.java:100)
[exo.kernel.container-2.3.6-GA-JBAS7.jar:2.3.6-GA-JBAS7]
... 13 more
Caused by: java.lang.NullPointerException
at org.exoplatform.portal.pom.config.POMSessionManager.start(POMSessionManager.java:177)
[exo.portal.component.portal-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
... 17 more
at org.chromattic.apt.ProxyTypeImpl.<init>(ProxyTypeImpl.java:47)
[chromattic.apt-1.1.4.jar:]
at org.chromattic.apt.InstrumentorImpl.getProxyClass(InstrumentorImpl.java:35)
[chromattic.apt-1.1.4.jar:]
at org.chromattic.core.Domain.<init>(Domain.java:177)
[chromattic.core-1.1.4.jar:]
at org.chromattic.core.api.ChromatticBuilderImpl.boot(ChromatticBuilderImpl.java:147)
[chromattic.core-1.1.4.jar:]
at org.chromattic.api.ChromatticBuilder.build(ChromatticBuilder.java:309)
[chromattic.api-1.1.4.jar:]
at org.chromattic.api.ChromatticBuilder.build(ChromatticBuilder.java:293)
[chromattic.api-1.1.4.jar:]
at
org.exoplatform.commons.chromattic.ChromatticLifeCycle.start(ChromatticLifeCycle.java:367)
[exo.portal.component.common-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
at
org.exoplatform.commons.chromattic.ChromatticManager.addLifeCycle(ChromatticManager.java:65)
[exo.portal.component.common-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
... 40 more
Caused by: java.lang.ClassNotFoundException:
org.exoplatform.portal.mop.i18n.Language_Chromattic from [Module
"org.gatein.lib:main" from local module loader @b4e29b (roots:
/Users/claprun/Dev/gatein-metacosm/portal/packaging/jboss-as7/pkg/target/jboss/modules,/Users/claprun/Dev/gatein-metacosm/portal/packaging/jboss-as7/pkg/target/jboss/gatein/modules)]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
at org.chromattic.apt.ProxyTypeImpl.<init>(ProxyTypeImpl.java:43)
[chromattic.apt-1.1.4.jar:]
... 47 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira