geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Russell E Glaue <rgl...@cait.org>
Subject Re: Can't create second repository
Date Wed, 22 Feb 2012 20:52:48 GMT
 From what I could decipher, it appears that in Geronimo 3.0 a GBeanInfo class 
is loaded from a classloader 
org.eclipse.osgi.framework.internal.core.BundleContextImpl

The OSGI is what is different from Geronimo 2.2.

Would this suggest the issue might be within the Geronimo 3.0 OSGI implementation?

-RG


On 02/22/2012 01:50 PM, Russell E Glaue wrote:
> The documented procedures in
> https://cwiki.apache.org/GMOxDOC30/configuring-multiple-repositories.html work
> for /data/geronimo2/geronimo-tomcat6-javaee5-2.2.1
>
> Something changed between 2.2 and 3.0. And ether that change breaks the support
> for multiple repositories, or the documented procedure needs to be updated to
> reflect the changes if that support still exists.
>
> Can anyone weigh in on what they know?
>
> -RG
>
>
>
> On 02/22/2012 01:02 PM, Russell E Glaue wrote:
>> 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)

Mime
View raw message