I had to fix this one too.... IIRC it is from a missing interceptor dependency in configs/rmi-naming/pom.xml:

Index: configs/rmi-naming/pom.xml
===================================================================
--- configs/rmi-naming/pom.xml  (revision 419120)
+++ configs/rmi-naming/pom.xml  (working copy)
@@ -31,12 +31,12 @@
     <artifactId>rmi-naming</artifactId>
     <packaging>car</packaging>
     <name>RMI Naming configuration</name>
-
+
     <properties>
         <PlanServerHostname>localhost</PlanServerHostname>
         <PlanNamingPort>1099</PlanNamingPort>
     </properties>
-
+
     <build>
         <plugins>
             <!-- This plugin needed to support package type car -->
@@ -140,6 +140,10 @@
         </dependency>
         <dependency>
             <groupId>org.apache.geronimo.modules</groupId>
+            <artifactId>geronimo-interceptor</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.geronimo.modules</groupId>
             <artifactId>geronimo-naming</artifactId>
         </dependency>
         <dependency>


thanks
david jencks

On Jul 13, 2006, at 12:00 AM, Jason Dillon wrote:

Okay... one down... how about this one:

<snip>
Booting Geronimo Kernel (in Java 1.4.2_09)...
log4j:WARN No appenders could be found for logger (org.apache.geronimo.system.main.Daemon).
log4j:WARN Please initialize the log4j system properly.
Module 1/13 org.apache.geronimo.configs/rmi-naming/1.2-SNAPSHOT/ car started in 1.078s Module 2/13 org.apache.geronimo.configs/j2ee-server/1.2-SNAPSHOT/ car started in 1.528s Module 3/13 org.apache.geronimo.configs/j2ee-security/1.2-SNAPSHOT/ car Server Startup failed

org.apache.geronimo.kernel.config.LifecycleException: start of org.apache.geronimo.configs/j2ee-security/1.2-SNAPSHOT/car failed at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConf iguration(SimpleConfigurationManager.java:529) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConf iguration(SimpleConfigurationManager.java:493) at org.apache.geronimo.kernel.config.SimpleConfigurationManager$ $FastClassByCGLIB$$ce77a924.invoke(<generated>)
        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke (FastMethodInvoker.java:38) at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke (GBeanOperation.java:122) at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke (GBeanInstance.java:817) at org.apache.geronimo.gbean.runtime.RawInvoker.invoke (RawInvoker.java:57) at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke (RawOperationInvoker.java:35) at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept (ProxyMethodInterceptor.java:96) at org.apache.geronimo.kernel.config.EditableConfigurationManager$ $EnhancerByCGLIB$$443b9517.startConfiguration(<generated>)
        at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:297)
        at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:74)
        at org.apache.geronimo.system.main.Daemon.main(Daemon.java:377)
Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unknown start exception at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguration GBeans(ConfigurationUtil.java:440) at org.apache.geronimo.kernel.config.KernelConfigurationManager.start (KernelConfigurationManager.java:187) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConf iguration(SimpleConfigurationManager.java:512)
        ... 13 more
Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Configuration org.apache.geronimo.configs/j2ee-security/1.2- SNAPSHOT/car failed to start due to the following reasons: The service ServiceModule=org.apache.geronimo.configs/j2ee- security/1.2-SNAPSHOT/ car,j2eeType=GBean,name=JaasLoginServiceRemotingServer did not start for an unknown reason

at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguration GBeans(ConfigurationUtil.java:403)
        ... 15 more

Server shutdown begun
Server shutdown completed
</snip>

--jason


On Jul 12, 2006, at 11:44 PM, David Jencks wrote:

I think I had to fix this in the jetty assembly prototype I got working. If you look in configs/j2ee-system/project.properties at the manifest classpath it includes concurrent.jar. I think it's missing from the equivalent spot in pom.xml. It may also not be getting copied into the lib dir of the assembly.

hope this helps
david jencks

On Jul 12, 2006, at 10:07 PM, Jason Dillon wrote:

We've gotten much further with svkmerge/m2migration and now it builds assemblies... but when I start the server up I'm getting errors like that listed below.

Anyone have an idea what needs to be changed to fix this?

Also, the log4j warning is a bit odd...

<snip>
Booting Geronimo Kernel (in Java 1.4.2_09)...
log4j:WARN No appenders could be found for logger (org.apache.geronimo.system.main.Daemon).
log4j:WARN Please initialize the log4j system properly.
Module 1/13 org.apache.geronimo.configs/rmi-naming/1.2-SNAPSHOT/ car Exception in thread "main" java.lang.NoClassDefFoundError: EDU/oswego/cs/dl/util/concurrent/ Executor
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at java.security.SecureClassLoader.defineClass (SecureClassLoader.java:123) at org.apache.geronimo.kernel.classloader.JarFileClassLoader.access $200(JarFileClassLoader.java:51) at org.apache.geronimo.kernel.classloader.JarFileClassLoader $6.run(JarFileClassLoader.java:275)
        at java.security.AccessController.doPrivileged(Native Method)
at org.apache.geronimo.kernel.classloader.JarFileClassLoader.findClass( JarFileClassLoader.java:227) at org.apache.geronimo.kernel.config.MultiParentClassLoader.loadClass (MultiParentClassLoader.java:243)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at java.security.SecureClassLoader.defineClass (SecureClassLoader.java:123) at org.apache.geronimo.kernel.classloader.JarFileClassLoader.access $200(JarFileClassLoader.java:51) at org.apache.geronimo.kernel.classloader.JarFileClassLoader $6.run(JarFileClassLoader.java:275)
        at java.security.AccessController.doPrivileged(Native Method)
at org.apache.geronimo.kernel.classloader.JarFileClassLoader.findClass( JarFileClassLoader.java:227) at org.apache.geronimo.kernel.config.MultiParentClassLoader.loadClass (MultiParentClassLoader.java:243)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at org.apache.geronimo.gbean.runtime.GBeanInstance.<init> (GBeanInstance.java:225) at org.apache.geronimo.kernel.basic.BasicKernel.loadGBean (BasicKernel.java:354) at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurati onGBeans(ConfigurationUtil.java:362) at org.apache.geronimo.kernel.config.KernelConfigurationManager.start (KernelConfigurationManager.java:187) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCo nfiguration(SimpleConfigurationManager.java:512) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCo nfiguration(SimpleConfigurationManager.java:493) at org.apache.geronimo.kernel.config.SimpleConfigurationManager$ $FastClassByCGLIB$$ce77a924.invoke(<generated>)
        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke (FastMethodInvoker.java:38) at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke (GBeanOperation.java:122) at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke (GBeanInstance.java:817) at org.apache.geronimo.gbean.runtime.RawInvoker.invoke (RawInvoker.java:57) at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke (RawOperationInvoker.java:35) at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept (ProxyMethodInterceptor.java:96) at org.apache.geronimo.kernel.config.EditableConfigurationManager $$EnhancerByCGLIB$$443b9517.startConfiguration(<generated>) at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java: 297)
        at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:74)
        at org.apache.geronimo.system.main.Daemon.main(Daemon.java:377)

</snip>

--jason



Reply via email to