CAR packaging failed
Can anyone shed some light onto why this might have happened? Something changed in my workspace last night... but not sure what, as this only recently started to fail consistently w/Corba J2EE Client. rant This is one reason why its a massive pain to work for so many days with out committing... can't just diff my workspace against working environment of yesterday and figure this out myself... well I might figure it out myself, but it would be much easier actually using the SCM to facilitate this. /rant snip [INFO] [INFO] Building Geronimo Configs :: Corba J2EE Client [INFO]task-segment: [install] [INFO] [INFO] [clean:clean {execution: default}] [INFO] Deleting directory /Users/jason/ws/apache/geronimo/trunk/ configs/client-corba/target [INFO] Deleting directory /Users/jason/ws/apache/geronimo/trunk/ configs/client-corba/target/classes [INFO] Deleting directory /Users/jason/ws/apache/geronimo/trunk/ configs/client-corba/target/test-classes [INFO] [car:dependencies] [WARNING] POM for 'activecluster:activecluster:pom:1.1- SNAPSHOT:provided' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. [WARNING] POM for 'activemq:activemq:pom:3.2.4-SNAPSHOT:provided' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. [WARNING] POM for 'activecluster:activecluster:pom:1.1- SNAPSHOT:provided' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. [WARNING] POM for 'activemq:activemq:pom:3.2.4-SNAPSHOT:provided' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. [WARNING] POM for 'activecluster:activecluster:pom:1.1- SNAPSHOT:provided' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. [WARNING] POM for 'activemq:activemq:pom:3.2.4-SNAPSHOT:provided' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. [WARNING] POM for 'activecluster:activecluster:pom:1.1- SNAPSHOT:compile' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. [WARNING] POM for 'activemq:activemq:pom:3.2.4-SNAPSHOT:compile' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. [INFO] [compiler:compile] [INFO] No sources to compile [INFO] [car:package] Packaging configuration /Users/jason/ws/apache/geronimo/trunk/ configs/client-corba/target/plan/plan.xml org.apache.geronimo.kernel.config.LifecycleException: start of org.apache.geronimo.configs/j2ee-deployer/1.2-SNAPSHOT/car failed at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfig uration(SimpleConfigurationManager.java:529) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfig uration(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.ConfigurationManager$ $EnhancerByCGLIB$$780a4ae2.startConfiguration(generated) at org.apache.geronimo.plugin.packaging.PackageBuilder.execute (PackageBuilder.java:324) 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:324) at org.apache.geronimo.plugin.packaging.PackageBuilderShellMojo.executePack ageBuilderShell(PackageBuilderShellMojo.java:232) at org.apache.geronimo.plugin.packaging.PackageBuilderShellMojo.execute (PackageBuilderShellMojo.java:161) at org.apache.maven.plugin.DefaultPluginManager.executeMojo (DefaultPluginManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals (DefaultLifecycleExecutor.java:534) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec ycle(DefaultLifecycleExecutor.java:475) at
Re: CAR packaging failed
On Jul 4, 2006, at 2:04 PM, Jason Dillon wrote: Can anyone shed some light onto why this might have happened? Something changed in my workspace last night... but not sure what, as this only recently started to fail consistently w/Corba J2EE Client. to top post ... None of the builder configs can depend on any runtime config because any runtime config will cause j2ee-system to start which would duplicate the serverInfo and a lot of other singleton gbeans. So, what has happened is that j2ee-deployer config must have a new dependency on a config that has j2ee-system in its ancestor set. I think there's some way to set the log4j level for the packaging plugin so it will print out the classloaders and their parents which can be a big help in locating the exact cause of these problems, but that might not be available in the m2 plugin and I don't recall exactly how to do it. thanks david jencks rant This is one reason why its a massive pain to work for so many days with out committing... can't just diff my workspace against working environment of yesterday and figure this out myself... well I might figure it out myself, but it would be much easier actually using the SCM to facilitate this. /rant snip [INFO] -- -- [INFO] Building Geronimo Configs :: Corba J2EE Client [INFO]task-segment: [install] [INFO] -- -- [INFO] [clean:clean {execution: default}] [INFO] Deleting directory /Users/jason/ws/apache/geronimo/trunk/ configs/client-corba/target [INFO] Deleting directory /Users/jason/ws/apache/geronimo/trunk/ configs/client-corba/target/classes [INFO] Deleting directory /Users/jason/ws/apache/geronimo/trunk/ configs/client-corba/target/test-classes [INFO] [car:dependencies] [WARNING] POM for 'activecluster:activecluster:pom:1.1- SNAPSHOT:provided' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. [WARNING] POM for 'activemq:activemq:pom:3.2.4-SNAPSHOT:provided' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. [WARNING] POM for 'activecluster:activecluster:pom:1.1- SNAPSHOT:provided' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. [WARNING] POM for 'activemq:activemq:pom:3.2.4-SNAPSHOT:provided' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. [WARNING] POM for 'activecluster:activecluster:pom:1.1- SNAPSHOT:provided' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. [WARNING] POM for 'activemq:activemq:pom:3.2.4-SNAPSHOT:provided' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. [WARNING] POM for 'activecluster:activecluster:pom:1.1- SNAPSHOT:compile' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. [WARNING] POM for 'activemq:activemq:pom:3.2.4-SNAPSHOT:compile' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. [INFO] [compiler:compile] [INFO] No sources to compile [INFO] [car:package] Packaging configuration /Users/jason/ws/apache/geronimo/trunk/ configs/client-corba/target/plan/plan.xml org.apache.geronimo.kernel.config.LifecycleException: start of org.apache.geronimo.configs/j2ee-deployer/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.ConfigurationManager$ $EnhancerByCGLIB$$780a4ae2.startConfiguration(generated) at org.apache.geronimo.plugin.packaging.PackageBuilder.execute (PackageBuilder.java:324) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)
Re: CAR packaging failed
Build-related logging in m2 is whack right now... will look into fixing that soon. --jason On Jul 4, 2006, at 3:22 PM, David Jencks wrote: On Jul 4, 2006, at 2:04 PM, Jason Dillon wrote: Can anyone shed some light onto why this might have happened? Something changed in my workspace last night... but not sure what, as this only recently started to fail consistently w/Corba J2EE Client. to top post ... None of the builder configs can depend on any runtime config because any runtime config will cause j2ee-system to start which would duplicate the serverInfo and a lot of other singleton gbeans. So, what has happened is that j2ee-deployer config must have a new dependency on a config that has j2ee-system in its ancestor set. I think there's some way to set the log4j level for the packaging plugin so it will print out the classloaders and their parents which can be a big help in locating the exact cause of these problems, but that might not be available in the m2 plugin and I don't recall exactly how to do it. thanks david jencks rant This is one reason why its a massive pain to work for so many days with out committing... can't just diff my workspace against working environment of yesterday and figure this out myself... well I might figure it out myself, but it would be much easier actually using the SCM to facilitate this. /rant snip [INFO] - --- [INFO] Building Geronimo Configs :: Corba J2EE Client [INFO]task-segment: [install] [INFO] - --- [INFO] [clean:clean {execution: default}] [INFO] Deleting directory /Users/jason/ws/apache/geronimo/trunk/ configs/client-corba/target [INFO] Deleting directory /Users/jason/ws/apache/geronimo/trunk/ configs/client-corba/target/classes [INFO] Deleting directory /Users/jason/ws/apache/geronimo/trunk/ configs/client-corba/target/test-classes [INFO] [car:dependencies] [WARNING] POM for 'activecluster:activecluster:pom:1.1- SNAPSHOT:provided' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. [WARNING] POM for 'activemq:activemq:pom:3.2.4-SNAPSHOT:provided' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. [WARNING] POM for 'activecluster:activecluster:pom:1.1- SNAPSHOT:provided' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. [WARNING] POM for 'activemq:activemq:pom:3.2.4-SNAPSHOT:provided' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. [WARNING] POM for 'activecluster:activecluster:pom:1.1- SNAPSHOT:provided' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. [WARNING] POM for 'activemq:activemq:pom:3.2.4-SNAPSHOT:provided' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. [WARNING] POM for 'activecluster:activecluster:pom:1.1- SNAPSHOT:compile' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. [WARNING] POM for 'activemq:activemq:pom:3.2.4-SNAPSHOT:compile' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. [INFO] [compiler:compile] [INFO] No sources to compile [INFO] [car:package] Packaging configuration /Users/jason/ws/apache/geronimo/trunk/ configs/client-corba/target/plan/plan.xml org.apache.geronimo.kernel.config.LifecycleException: start of org.apache.geronimo.configs/j2ee-deployer/1.2-SNAPSHOT/car failed at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon figuration(SimpleConfigurationManager.java:529) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon figuration(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.ConfigurationManager$ $EnhancerByCGLIB$$780a4ae2.startConfiguration(generated) at org.apache.geronimo.plugin.packaging.PackageBuilder.execute (PackageBuilder.java:324) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at