You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by jklcom99 <je...@intrapos.com> on 2008/06/20 01:00:04 UTC
Cound not find parent configuration:
org/apache/geronimo/configs/activemq-broke
Hi,
I pulled down the nightly build today. I'm getting the following error
with off-line deploy.
[java] Deployer operation failed: Unable to create configuration for
deploy
ment
[java] org.apache.geronimo.common.DeploymentException: Unable to create
con
figuration for deployment
[java] at
org.apache.geronimo.deployment.DeploymentContext.createTempCo
nfiguration(DeploymentContext.java:120)
[java] at
org.apache.geronimo.deployment.DeploymentContext.<init>(Deplo
ymentContext.java:100)
[java] at
org.apache.geronimo.deployment.DeploymentContext.<init>(Deplo
ymentContext.java:80)
[java] at
org.apache.geronimo.j2ee.deployment.EARContext.<init>(EARCont
ext.java:68)
[java] at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildCon
figuration(EARConfigBuilder.java:530)
[java] at
org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:
254)
[java] at
org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:
133)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:597)
[java] at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.inv
oke(ReflectionMethodInvoker.java:34)
[java] at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBean
Operation.java:124)
[java] at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanI
nstance.java:867)
[java] at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKern
el.java:239)
[java] at
org.apache.geronimo.deployment.plugin.local.AbstractDeployCom
mand.doDeploy(AbstractDeployCommand.java:116)
[java] at
org.apache.geronimo.deployment.plugin.local.DistributeCommand
.run(DistributeCommand.java:61)
[java] at java.lang.Thread.run(Thread.java:619)
[java] Caused by: org.apache.geronimo.kernel.config.LifecycleException:
loa
d of test/testJMS/1.0/rar failed
[java] at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.
loadConfiguration(SimpleConfigurationManager.java:327)
[java] at
org.apache.geronimo.deployment.DeploymentConfigurationManager
.loadConfiguration(DeploymentConfigurationManager.java:115)
[java] at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.
loadConfiguration(SimpleConfigurationManager.java:286)
[java] at
org.apache.geronimo.deployment.DeploymentConfigurationManager
.loadConfiguration(DeploymentConfigurationManager.java:111)
[java] at
org.apache.geronimo.deployment.DeploymentContext.createTempCo
nfiguration(DeploymentContext.java:117)
[java] ... 17 more
[java] Caused by:
org.apache.geronimo.kernel.config.InvalidConfigException:
Error starting configuration gbean test/testJMS/1.0/rar
[java] at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.
load(SimpleConfigurationManager.java:352)
[java] at
org.apache.geronimo.deployment.DeploymentConfigurationManager
.load(DeploymentConfigurationManager.java:119)
[java] at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.
loadConfiguration(SimpleConfigurationManager.java:312)
[java] ... 21 more
[java] Caused by:
org.apache.geronimo.kernel.config.InvalidConfigException:
Cound not find parent configuration:
org/apache/geronimo/configs/activemq-broke
r/2.1.2-SNAPSHOT/car
[java] at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.
findParentConfigurations(SimpleConfigurationManager.java:367)
[java] at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.
load(SimpleConfigurationManager.java:346)
[java] ... 23 more
--
View this message in context: http://www.nabble.com/Cound-not-find-parent-configuration%3A-org-apache-geronimo-configs-activemq-broke-tp18019949s134p18019949.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: Cound not find parent configuration: org/apache/geronimo/configs/activemq-broke
Posted by Jarek Gawor <jg...@gmail.com>.
Can you provide more details? Are you using trunk or branches/2.1?
What type of application are you deploying - can you attach your
deployment descriptors?
Jarek
On Thu, Jun 19, 2008 at 7:00 PM, jklcom99 <je...@intrapos.com> wrote:
>
> Hi,
>
> I pulled down the nightly build today. I'm getting the following error
> with off-line deploy.
>
>
> [java] Deployer operation failed: Unable to create configuration for
> deploy
> ment
> [java] org.apache.geronimo.common.DeploymentException: Unable to create
> con
> figuration for deployment
> [java] at
> org.apache.geronimo.deployment.DeploymentContext.createTempCo
> nfiguration(DeploymentContext.java:120)
> [java] at
> org.apache.geronimo.deployment.DeploymentContext.<init>(Deplo
> ymentContext.java:100)
> [java] at
> org.apache.geronimo.deployment.DeploymentContext.<init>(Deplo
> ymentContext.java:80)
> [java] at
> org.apache.geronimo.j2ee.deployment.EARContext.<init>(EARCont
> ext.java:68)
> [java] at
> org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildCon
> figuration(EARConfigBuilder.java:530)
> [java] at
> org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:
> 254)
> [java] at
> org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:
> 133)
> [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> [java] at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
> sorImpl.java:39)
> [java] at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
> hodAccessorImpl.java:25)
> [java] at java.lang.reflect.Method.invoke(Method.java:597)
> [java] at
> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.inv
> oke(ReflectionMethodInvoker.java:34)
> [java] at
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBean
> Operation.java:124)
> [java] at
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanI
> nstance.java:867)
> [java] at
> org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKern
> el.java:239)
> [java] at
> org.apache.geronimo.deployment.plugin.local.AbstractDeployCom
> mand.doDeploy(AbstractDeployCommand.java:116)
> [java] at
> org.apache.geronimo.deployment.plugin.local.DistributeCommand
> .run(DistributeCommand.java:61)
> [java] at java.lang.Thread.run(Thread.java:619)
> [java] Caused by: org.apache.geronimo.kernel.config.LifecycleException:
> loa
> d of test/testJMS/1.0/rar failed
> [java] at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.
> loadConfiguration(SimpleConfigurationManager.java:327)
> [java] at
> org.apache.geronimo.deployment.DeploymentConfigurationManager
> .loadConfiguration(DeploymentConfigurationManager.java:115)
> [java] at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.
> loadConfiguration(SimpleConfigurationManager.java:286)
> [java] at
> org.apache.geronimo.deployment.DeploymentConfigurationManager
> .loadConfiguration(DeploymentConfigurationManager.java:111)
> [java] at
> org.apache.geronimo.deployment.DeploymentContext.createTempCo
> nfiguration(DeploymentContext.java:117)
> [java] ... 17 more
> [java] Caused by:
> org.apache.geronimo.kernel.config.InvalidConfigException:
> Error starting configuration gbean test/testJMS/1.0/rar
> [java] at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.
> load(SimpleConfigurationManager.java:352)
> [java] at
> org.apache.geronimo.deployment.DeploymentConfigurationManager
> .load(DeploymentConfigurationManager.java:119)
> [java] at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.
> loadConfiguration(SimpleConfigurationManager.java:312)
> [java] ... 21 more
> [java] Caused by:
> org.apache.geronimo.kernel.config.InvalidConfigException:
> Cound not find parent configuration:
> org/apache/geronimo/configs/activemq-broke
> r/2.1.2-SNAPSHOT/car
> [java] at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.
> findParentConfigurations(SimpleConfigurationManager.java:367)
> [java] at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.
> load(SimpleConfigurationManager.java:346)
> [java] ... 23 more
> --
> View this message in context: http://www.nabble.com/Cound-not-find-parent-configuration%3A-org-apache-geronimo-configs-activemq-broke-tp18019949s134p18019949.html
> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>
>
Re: Cound not find parent configuration: org/apache/geronimo/configs/activemq-broke
Posted by Jarek Gawor <jg...@gmail.com>.
Looks like the groupId you specified for activemq-broker is wrong:
<groupId>org/apache/geronimo/configs</groupId>
and should be:
<groupId>org.apache.geronimo.configs</groupId>
Jarek
On Fri, Jun 20, 2008 at 10:27 AM, jklcom99 <je...@intrapos.com> wrote:
>
> Hi,
>
> Sorry, I just saw your response.
> Yes, I'm using 2.1.2-SNAPSHOT from
> http://people.apache.org/builds/geronimo/server/binaries/2.1/. The reason I
> pulled the latest build was that off-line deploy was failing with G2.1.1.
> With the second patch I was able to proceed further along. Now it's getting
> that configuration error. Here is the deployment descriptor that is
> failing:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <connector
> xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.2">
> <environment
> xmlns="http://geronimo.apache.org/xml/ns/deployment-1.2">
> <moduleId>
> <groupId>test</groupId>
> <artifactId>testJMS</artifactId>
> <version>1.0</version>
> <type>rar</type>
> </moduleId>
> <dependencies>
> <dependency>
> <groupId>org/apache/geronimo/configs</groupId>
> <artifactId>activemq-broker</artifactId>
> <type>car</type>
> </dependency>
> </dependencies>
> </environment>
>
> <resourceadapter>
> <!-- how to connect to the JMS Server -->
> <resourceadapter-instance>
> <resourceadapter-name>ConnectionFactory</resourceadapter-name>
> <config-property-setting
> name="ServerUrl">tcp://localhost:8093</config-property-setting>
> <config-property-setting
> name="UserName">geronimo</config-property-setting>
> <config-property-setting
> name="Password">geronimo</config-property-setting>
> <workmanager
> xmlns='http://geronimo.apache.org/xml/ns/naming-1.2'>
> <gbean-link>DefaultWorkManager</gbean-link>
> </workmanager>
> </resourceadapter-instance>
> <!-- defines a ConnectionFactory -->
> <outbound-resourceadapter>
> <connection-definition>
>
> <connectionfactory-interface>javax.jms.ConnectionFactory</connectionfactory-interface>
> <connectiondefinition-instance>
> <name>ConnectionFactory</name>
>
> <implemented-interface>javax.jms.QueueConnectionFactory</implemented-interface>
>
> <implemented-interface>javax.jms.TopicConnectionFactory</implemented-interface>
> <connectionmanager>
> <xa-transaction>
> <transaction-caching/>
> </xa-transaction>
> <single-pool>
> <max-size>10</max-size>
> <min-size>0</min-size>
> <match-one/>
> </single-pool>
> </connectionmanager>
> </connectiondefinition-instance>
> </connection-definition>
> </outbound-resourceadapter>
> </resourceadapter>
> <!-- defines a Topic -->
> <adminobject>
> <adminobject-interface>javax.jms.Topic</adminobject-interface>
>
> <adminobject-class>org.activemq.message.ActiveMQTopic</adminobject-class>
> <adminobject-instance>
>
> <message-destination-name>topic/testNodeTreeChange</message-destination-name>
> <config-property-setting
> name="PhysicalName">topic/testNodeTreeChange</config-property-setting>
> </adminobject-instance>
> </adminobject>
> <adminobject>
> <adminobject-interface>javax.jms.Topic</adminobject-interface>
>
> <adminobject-class>org.activemq.message.ActiveMQTopic</adminobject-class>
> <adminobject-instance>
>
> <message-destination-name>topic/testNotification</message-destination-name>
> <config-property-setting
> name="PhysicalName">topic/testNotification</config-property-setting>
> </adminobject-instance>
> </adminobject>
> </connector>
>
> Thanks
>
>
>
> Jacek Laskowski wrote:
>>
>> On Fri, Jun 20, 2008 at 1:00 AM, jklcom99 <je...@intrapos.com> wrote:
>>
>>> [java] Caused by:
>>> org.apache.geronimo.kernel.config.InvalidConfigException:
>>> Error starting configuration gbean test/testJMS/1.0/rar
>> ...
>>> [java] Caused by:
>>> org.apache.geronimo.kernel.config.InvalidConfigException:
>>> Cound not find parent configuration:
>>> org/apache/geronimo/configs/activemq-broke
>>> r/2.1.2-SNAPSHOT/car
>>
>> Hi,
>>
>> It's 2.1.2-SNAPSHOT I believe and you're deploying
>> test/testJMS/1.0/rar a rar module? The plan would be very helpful to
>> look at. You mentioned about offline deployer - what's the error
>> message on its console? Is there anything causing you working with
>> 2.1.2 not 2.2-SNAPSHOT or 2.1.1 (that's what I'm using and I don't
>> think I'll have time to look at the earlier versions, sorry)?
>>
>> Entering mode "Awaiting response..." ;-)
>>
>> Jacek
>>
>> --
>> Jacek Laskowski
>> Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Cound-not-find-parent-configuration%3A-org-apache-geronimo-configs-activemq-broke-tp18019949s134p18030724.html
> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>
>
Re: Cound not find parent configuration:
org/apache/geronimo/configs/activemq-broke
Posted by jklcom99 <je...@intrapos.com>.
Hi,
Sorry, I just saw your response.
Yes, I'm using 2.1.2-SNAPSHOT from
http://people.apache.org/builds/geronimo/server/binaries/2.1/. The reason I
pulled the latest build was that off-line deploy was failing with G2.1.1.
With the second patch I was able to proceed further along. Now it's getting
that configuration error. Here is the deployment descriptor that is
failing:
<?xml version="1.0" encoding="UTF-8"?>
<connector
xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.2">
<environment
xmlns="http://geronimo.apache.org/xml/ns/deployment-1.2">
<moduleId>
<groupId>test</groupId>
<artifactId>testJMS</artifactId>
<version>1.0</version>
<type>rar</type>
</moduleId>
<dependencies>
<dependency>
<groupId>org/apache/geronimo/configs</groupId>
<artifactId>activemq-broker</artifactId>
<type>car</type>
</dependency>
</dependencies>
</environment>
<resourceadapter>
<!-- how to connect to the JMS Server -->
<resourceadapter-instance>
<resourceadapter-name>ConnectionFactory</resourceadapter-name>
<config-property-setting
name="ServerUrl">tcp://localhost:8093</config-property-setting>
<config-property-setting
name="UserName">geronimo</config-property-setting>
<config-property-setting
name="Password">geronimo</config-property-setting>
<workmanager
xmlns='http://geronimo.apache.org/xml/ns/naming-1.2'>
<gbean-link>DefaultWorkManager</gbean-link>
</workmanager>
</resourceadapter-instance>
<!-- defines a ConnectionFactory -->
<outbound-resourceadapter>
<connection-definition>
<connectionfactory-interface>javax.jms.ConnectionFactory</connectionfactory-interface>
<connectiondefinition-instance>
<name>ConnectionFactory</name>
<implemented-interface>javax.jms.QueueConnectionFactory</implemented-interface>
<implemented-interface>javax.jms.TopicConnectionFactory</implemented-interface>
<connectionmanager>
<xa-transaction>
<transaction-caching/>
</xa-transaction>
<single-pool>
<max-size>10</max-size>
<min-size>0</min-size>
<match-one/>
</single-pool>
</connectionmanager>
</connectiondefinition-instance>
</connection-definition>
</outbound-resourceadapter>
</resourceadapter>
<!-- defines a Topic -->
<adminobject>
<adminobject-interface>javax.jms.Topic</adminobject-interface>
<adminobject-class>org.activemq.message.ActiveMQTopic</adminobject-class>
<adminobject-instance>
<message-destination-name>topic/testNodeTreeChange</message-destination-name>
<config-property-setting
name="PhysicalName">topic/testNodeTreeChange</config-property-setting>
</adminobject-instance>
</adminobject>
<adminobject>
<adminobject-interface>javax.jms.Topic</adminobject-interface>
<adminobject-class>org.activemq.message.ActiveMQTopic</adminobject-class>
<adminobject-instance>
<message-destination-name>topic/testNotification</message-destination-name>
<config-property-setting
name="PhysicalName">topic/testNotification</config-property-setting>
</adminobject-instance>
</adminobject>
</connector>
Thanks
Jacek Laskowski wrote:
>
> On Fri, Jun 20, 2008 at 1:00 AM, jklcom99 <je...@intrapos.com> wrote:
>
>> [java] Caused by:
>> org.apache.geronimo.kernel.config.InvalidConfigException:
>> Error starting configuration gbean test/testJMS/1.0/rar
> ...
>> [java] Caused by:
>> org.apache.geronimo.kernel.config.InvalidConfigException:
>> Cound not find parent configuration:
>> org/apache/geronimo/configs/activemq-broke
>> r/2.1.2-SNAPSHOT/car
>
> Hi,
>
> It's 2.1.2-SNAPSHOT I believe and you're deploying
> test/testJMS/1.0/rar a rar module? The plan would be very helpful to
> look at. You mentioned about offline deployer - what's the error
> message on its console? Is there anything causing you working with
> 2.1.2 not 2.2-SNAPSHOT or 2.1.1 (that's what I'm using and I don't
> think I'll have time to look at the earlier versions, sorry)?
>
> Entering mode "Awaiting response..." ;-)
>
> Jacek
>
> --
> Jacek Laskowski
> Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl
>
>
--
View this message in context: http://www.nabble.com/Cound-not-find-parent-configuration%3A-org-apache-geronimo-configs-activemq-broke-tp18019949s134p18030724.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: Cound not find parent configuration: org/apache/geronimo/configs/activemq-broke
Posted by Jacek Laskowski <ja...@laskowski.net.pl>.
On Fri, Jun 20, 2008 at 1:00 AM, jklcom99 <je...@intrapos.com> wrote:
> [java] Caused by:
> org.apache.geronimo.kernel.config.InvalidConfigException:
> Error starting configuration gbean test/testJMS/1.0/rar
...
> [java] Caused by:
> org.apache.geronimo.kernel.config.InvalidConfigException:
> Cound not find parent configuration:
> org/apache/geronimo/configs/activemq-broke
> r/2.1.2-SNAPSHOT/car
Hi,
It's 2.1.2-SNAPSHOT I believe and you're deploying
test/testJMS/1.0/rar a rar module? The plan would be very helpful to
look at. You mentioned about offline deployer - what's the error
message on its console? Is there anything causing you working with
2.1.2 not 2.2-SNAPSHOT or 2.1.1 (that's what I'm using and I don't
think I'll have time to look at the earlier versions, sorry)?
Entering mode "Awaiting response..." ;-)
Jacek
--
Jacek Laskowski
Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl