Does anyone know why the documented procedure for creating a second repository throws an error?
https://cwiki.apache.org/GMOxDOC30/configuring-multiple-repositories.html

Unpack geronimo-tomcat7-javaee6-3.0-SNAPSHOT-20111220 as /opt/geronimo3
Or unpack geronimo-tomcat7-javaee6-3.0-beta-1 as /opt/geronimo3

[root@server geronimo3]$ cd /opt/geronimo3
[root@server geronimo3]$ bin/geronimo start
Using GERONIMO_HOME:   /opt/geronimo3
Using GERONIMO_TMPDIR: /opt/geronimo3/var/temp
Using JRE_HOME:        /usr/jdk1.6.0/jre
Using GERONIMO_OUT:    /opt/geronimo3/var/log/geronimo.out

Geronimo started in background. PID: 8625
[root@server geronimo3]$ bin/deploy -port 1099 deploy repo2.xml
Using GERONIMO_HOME:   /opt/geronimo3
Using GERONIMO_TMPDIR: var/temp
Using JRE_HOME:        /usr/jdk1.6.0_25/jre
Username: system
Password: *******
2012-02-22 13:09:32,223 ERROR [DeployTool] Error:
org.apache.geronimo.common.DeploymentException: Unable to deploy repo2.xml: Unable to resolve reference "ServerInfo" in gbean org.example.configs/myrepo/2.2/car?ServiceModule=org.example.configs/myrepo/2.2/car,j2eeType=Repository,name=Repo2 to a gbean matching the pattern [?j2eeType=GBean,name=ServerInfo#org.apache.geronimo.system.serverinfo.ServerInfo] due to: No matches for referencePatterns: [?j2eeType=GBean,name=ServerInfo#org.apache.geronimo.system.serverinfo.ServerInfo] (no matches)

at org.apache.geronimo.deployment.cli.CommandDeploy.runCommand(CommandDeploy.java:43) at org.apache.geronimo.deployment.cli.CommandDistribute.executeOnline(CommandDistribute.java:148) at org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandDistribute.java:124)
        at 
org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:171)
        at 
org.apache.geronimo.system.main.MainBridge.execute(MainBridge.java:64)
        at org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:65)
        at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
        at 
org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:32)

Reply via email to