You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Jason Dillon <ja...@planet57.com> on 2006/07/21 20:15:40 UTC

[m2 build] Problem with car:package, rmi-naming and mvn site

Anyone know why this error (um set of errors?) might happen in rmi- 
naming when running car:package?

This only happens when you run a `mvn site` build.  You can `cd  
configs/rmi-naming; mvn site` to quickly reproduce (assuming you have  
a bootstrap/build before).

<snip>
Packaging configuration /Users/jason/ws/apache/geronimo/svkmerge/ 
m2migration/configs/rmi-naming/target/clover/plan/plan.xml
ERROR [PackageBuilder]  
org.apache.geronimo.common.DeploymentException: Unable to resolve  
reference "ServerInfo" in gbean org.apache.geronimo.configs/rmi- 
naming/1.2-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/rmi- 
naming/1.2-SNAPSHOT/car,j2eeType=GBean,name=SystemProperties to a  
gbean matching the pattern [? 
j2eeType=GBean,name=ServerInfo#org.apache.geronimo.system.serverinfo.Ser 
verInfo]
Unable to resolve reference "PluginAttributeStore" in gbean  
org.apache.geronimo.configs/rmi-naming/1.2-SNAPSHOT/car? 
ServiceModule=org.apache.geronimo.configs/rmi-naming/1.2-SNAPSHOT/ 
car,j2eeType=GBean,name=PluginInstaller to a gbean matching the  
pattern [? 
j2eeType=AttributeStore,name=AttributeManager#org.apache.geronimo.system 
.configuration.PluginAttributeStore]
Unable to resolve reference "ConfigStore" in gbean  
org.apache.geronimo.configs/rmi-naming/1.2-SNAPSHOT/car? 
ServiceModule=org.apache.geronimo.configs/rmi-naming/1.2-SNAPSHOT/ 
car,j2eeType=GBean,name=PluginInstaller to a gbean matching the  
pattern [? 
j2eeType=ConfigurationStore,name=Local#org.apache.geronimo.kernel.config 
.ConfigurationStore]
Unable to resolve reference "ConfigManager" in gbean  
org.apache.geronimo.configs/rmi-naming/1.2-SNAPSHOT/car? 
ServiceModule=org.apache.geronimo.configs/rmi-naming/1.2-SNAPSHOT/ 
car,j2eeType=GBean,name=PluginInstaller to a gbean matching the  
pattern [? 
j2eeType=ConfigurationManager,name=ConfigurationManager#org.apache.geron 
imo.kernel.config.ConfigurationManager]
Unable to resolve reference "Repository" in gbean  
org.apache.geronimo.configs/rmi-naming/1.2-SNAPSHOT/car? 
ServiceModule=org.apache.geronimo.configs/rmi-naming/1.2-SNAPSHOT/ 
car,j2eeType=GBean,name=PluginInstaller to a gbean matching the  
pattern [? 
j2eeType=Repository,name=Repository#org.apache.geronimo.kernel.repositor 
y.WritableListableRepository]
Unable to resolve reference "ServerInfo" in gbean  
org.apache.geronimo.configs/rmi-naming/1.2-SNAPSHOT/car? 
ServiceModule=org.apache.geronimo.configs/rmi-naming/1.2-SNAPSHOT/ 
car,j2eeType=GBean,name=PluginInstaller to a gbean matching the  
pattern [? 
j2eeType=GBean,name=ServerInfo#org.apache.geronimo.system.serverinfo.Ser 
verInfo]
org.apache.geronimo.common.DeploymentException: Unable to resolve  
reference "ServerInfo" in gbean org.apache.geronimo.configs/rmi- 
naming/1.2-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/rmi- 
naming/1.2-SNAPSHOT/car,j2eeType=GBean,name=SystemProperties to a  
gbean matching the pattern [? 
j2eeType=GBean,name=ServerInfo#org.apache.geronimo.system.serverinfo.Ser 
verInfo]
Unable to resolve reference "PluginAttributeStore" in gbean  
org.apache.geronimo.configs/rmi-naming/1.2-SNAPSHOT/car? 
ServiceModule=org.apache.geronimo.configs/rmi-naming/1.2-SNAPSHOT/ 
car,j2eeType=GBean,name=PluginInstaller to a gbean matching the  
pattern [? 
j2eeType=AttributeStore,name=AttributeManager#org.apache.geronimo.system 
.configuration.PluginAttributeStore]
Unable to resolve reference "ConfigStore" in gbean  
org.apache.geronimo.configs/rmi-naming/1.2-SNAPSHOT/car? 
ServiceModule=org.apache.geronimo.configs/rmi-naming/1.2-SNAPSHOT/ 
car,j2eeType=GBean,name=PluginInstaller to a gbean matching the  
pattern [? 
j2eeType=ConfigurationStore,name=Local#org.apache.geronimo.kernel.config 
.ConfigurationStore]
Unable to resolve reference "ConfigManager" in gbean  
org.apache.geronimo.configs/rmi-naming/1.2-SNAPSHOT/car? 
ServiceModule=org.apache.geronimo.configs/rmi-naming/1.2-SNAPSHOT/ 
car,j2eeType=GBean,name=PluginInstaller to a gbean matching the  
pattern [? 
j2eeType=ConfigurationManager,name=ConfigurationManager#org.apache.geron 
imo.kernel.config.ConfigurationManager]
Unable to resolve reference "Repository" in gbean  
org.apache.geronimo.configs/rmi-naming/1.2-SNAPSHOT/car? 
ServiceModule=org.apache.geronimo.configs/rmi-naming/1.2-SNAPSHOT/ 
car,j2eeType=GBean,name=PluginInstaller to a gbean matching the  
pattern [? 
j2eeType=Repository,name=Repository#org.apache.geronimo.kernel.repositor 
y.WritableListableRepository]
Unable to resolve reference "ServerInfo" in gbean  
org.apache.geronimo.configs/rmi-naming/1.2-SNAPSHOT/car? 
ServiceModule=org.apache.geronimo.configs/rmi-naming/1.2-SNAPSHOT/ 
car,j2eeType=GBean,name=PluginInstaller to a gbean matching the  
pattern [? 
j2eeType=GBean,name=ServerInfo#org.apache.geronimo.system.serverinfo.Ser 
verInfo]
         at  
org.apache.geronimo.deployment.DeploymentContext.getConfigurationData 
(DeploymentContext.java:381)
         at org.apache.geronimo.deployment.Deployer.deploy 
(Deployer.java:304)
         at org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$ 
$734a235d.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:852)
         at org.apache.geronimo.kernel.basic.BasicKernel.invoke 
(BasicKernel.java:239)
         at  
org.apache.geronimo.plugin.car.PackageBuilder.invokeDeployer 
(PackageBuilder.java:510)
         at org.apache.geronimo.plugin.car.PackageBuilder.execute 
(PackageBuilder.java:346)
         at  
org.apache.geronimo.plugin.car.PackageMojo.executePackageBuilderShell 
(PackageMojo.java:262)
         at org.apache.geronimo.plugin.car.PackageMojo.doExecute 
(PackageMojo.java:170)
         at org.apache.geronimo.plugin.MojoSupport.execute 
(MojoSupport.java:42)
         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  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle 
(DefaultLifecycleExecutor.java:891)
         at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle 
(DefaultLifecycleExecutor.java:734)
         at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals 
(DefaultLifecycleExecutor.java:505)        at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec 
ycle(DefaultLifecycleExecutor.java:475)
         at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal 
(DefaultLifecycleExecutor.java:454)
         at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle 
Failures(DefaultLifecycleExecutor.java:306)
         at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( 
DefaultLifecycleExecutor.java:273)
         at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute 
(DefaultLifecycleExecutor.java:140)
         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java: 
322)
         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
         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.codehaus.classworlds.Launcher.launchEnhanced 
(Launcher.java:315)
         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
         at org.codehaus.classworlds.Launcher.mainWithExitCode 
(Launcher.java:430)
         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO]  
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]  
------------------------------------------------------------------------
[INFO] Unable to resolve reference "ServerInfo" in gbean  
org.apache.geronimo.configs/rmi-naming/1.2-SNAPSHOT/car? 
ServiceModule=org.apache.geronimo.configs/rmi-naming/1.2-SNAPSHOT/ 
car,j2eeType=GBean,name=SystemProperties to a gbean matching the  
pattern [? 
j2eeType=GBean,name=ServerInfo#org.apache.geronimo.system.serverinfo.Ser 
verInfo]
Unable to resolve reference "PluginAttributeStore" in gbean  
org.apache.geronimo.configs/rmi-naming/1.2-SNAPSHOT/car? 
ServiceModule=org.apache.geronimo.configs/rmi-naming/1.2-SNAPSHOT/ 
car,j2eeType=GBean,name=PluginInstaller to a gbean matching the  
pattern [? 
j2eeType=AttributeStore,name=AttributeManager#org.apache.geronimo.system 
.configuration.PluginAttributeStore]
Unable to resolve reference "ConfigStore" in gbean  
org.apache.geronimo.configs/rmi-naming/1.2-SNAPSHOT/car? 
ServiceModule=org.apache.geronimo.configs/rmi-naming/1.2-SNAPSHOT/ 
car,j2eeType=GBean,name=PluginInstaller to a gbean matching the  
pattern [? 
j2eeType=ConfigurationStore,name=Local#org.apache.geronimo.kernel.config 
.ConfigurationStore]
Unable to resolve reference "ConfigManager" in gbean  
org.apache.geronimo.configs/rmi-naming/1.2-SNAPSHOT/car? 
ServiceModule=org.apache.geronimo.configs/rmi-naming/1.2-SNAPSHOT/ 
car,j2eeType=GBean,name=PluginInstaller to a gbean matching the  
pattern [? 
j2eeType=ConfigurationManager,name=ConfigurationManager#org.apache.geron 
imo.kernel.config.ConfigurationManager]
Unable to resolve reference "Repository" in gbean  
org.apache.geronimo.configs/rmi-naming/1.2-SNAPSHOT/car? 
ServiceModule=org.apache.geronimo.configs/rmi-naming/1.2-SNAPSHOT/ 
car,j2eeType=GBean,name=PluginInstaller to a gbean matching the  
pattern [? 
j2eeType=Repository,name=Repository#org.apache.geronimo.kernel.repositor 
y.WritableListableRepository]
Unable to resolve reference "ServerInfo" in gbean  
org.apache.geronimo.configs/rmi-naming/1.2-SNAPSHOT/car? 
ServiceModule=org.apache.geronimo.configs/rmi-naming/1.2-SNAPSHOT/ 
car,j2eeType=GBean,name=PluginInstaller to a gbean matching the  
pattern [? 
j2eeType=GBean,name=ServerInfo#org.apache.geronimo.system.serverinfo.Ser 
verInfo]
</snip>

--jason