geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ajay Panagariya" <apana...@gmail.com>
Subject More problems exporting a plugin and importing into minimal assembly
Date Sun, 08 Jul 2007 02:49:51 GMT
Hi,

I just checked out the current trunk, and deployed the minimal tomcat
assembly. I exported it from the regular assembly and tried importing it
into the minimal, here's the output of that operation (followed by my
geronimo-plugin.xml file). I asked a similar question one or two days ago,
and all had gone well, but that was on an older build. This install is using
the latest trunk.

If posting the output in geonimo.log would help, I will be happy to provide
that as well. Thanks ahead of time.


$ target/geronimo-tomcat6-minimal-2.0-SNAPSHOT/bin/deploy.bat install-plugin
amq.car
Using GERONIMO_BASE:   C:\g5\target\geronimo-tomcat6-minimal-2.0-SNAPSHOT
Using GERONIMO_HOME:   C:\g5\target\geronimo-tomcat6-minimal-2.0-SNAPSHOT
Using GERONIMO_TMPDIR: var\temp
Using JRE_HOME:        C:\Program Files\Java\jdk1.5.0_12\jre
Checking for status every 1000ms:
Searching for org.apache.geronimo.configs/system-database//car at
http://geronimo.apache.org/plugins/geronimo-2.0/repository/
Downloading org.apache.geronimo.configs/system-database/2.0-SNAPSHOT/car...
(9%)
Downloading org.apache.derby/derby/10.2.2.0/jar...
Downloading org.apache.derby/derby/10.2.2.0/jar... (4%)
Downloading org.apache.derby/derby/10.2.2.0/jar... (11%)
Downloading org.apache.derby/derby/10.2.2.0/jar... (19%)
Downloading org.apache.derby/derby/10.2.2.0/jar... (26%)
Downloading org.apache.derby/derby/10.2.2.0/jar... (34%)
Downloading org.apache.derby/derby/10.2.2.0/jar... (42%)
Downloading org.apache.derby/derby/10.2.2.0/jar... (48%)
Downloading org.apache.derby/derby/10.2.2.0/jar... (56%)
Downloading org.apache.derby/derby/10.2.2.0/jar... (64%)
Downloading org.apache.derby/derby/10.2.2.0/jar... (69%)
Downloading org.apache.derby/derby/10.2.2.0/jar... (75%)
Downloading org.apache.derby/derby/10.2.2.0/jar... (83%)
Downloading org.apache.derby/derby/10.2.2.0/jar... (90%)
Downloading org.apache.derby/derby/10.2.2.0/jar... (93%)
Searching for org.apache.geronimo.configs/transaction-jta11//car at
http://geronimo.apache.org/plugins/geronimo-2.0/repository/
Searching for org.apache.geronimo.modules/geronimo-transaction-jta11/2.0-SNAPSHOT/jar
at http://geronimo.apache.org/plugins/geroni
mo-2.0/repository/
Searching for org.apache.geronimo.modules/geronimo-derby/2.0-SNAPSHOT/jar at
http://geronimo.apache.org/plugins/geronimo-2.0/repos
itory/
Downloading org.apache.geronimo.modules/geronimo-derby/2.0-SNAPSHOT/jar...
Downloading org.apache.derby/derbyclient/10.2.2.0/jar...
Downloading org.apache.derby/derbyclient/10.2.2.0/jar... (24%)
Downloading org.apache.derby/derbyclient/10.2.2.0/jar... (50%)
Downloading org.apache.derby/derbyclient/10.2.2.0/jar... (71%)
Searching for org.apache.geronimo.modules/geronimo-timer/2.0-SNAPSHOT/jar at
http://geronimo.apache.org/plugins/geronimo-2.0/repos
itory/
Downloading org.apache.geronimo.modules/geronimo-timer/2.0-SNAPSHOT/jar...
(26%)
Downloading org.apache.derby/derbynet/10.2.2.0/jar...
Downloading org.apache.derby/derbynet/10.2.2.0/jar... (17%)
Downloading org.apache.derby/derbynet/10.2.2.0/jar... (77%)
Searching for org.apache.geronimo.modules/geronimo-activemq/2.0-SNAPSHOT/jar
at http://geronimo.apache.org/plugins/geronimo-2.0/re
pository/
Downloading org.apache.geronimo.modules/geronimo-activemq/2.0-SNAPSHOT/jar...
(25%)
Searching for org.apache.geronimo.modules/geronimo-activemq-management/2.0-SNAPSHOT/jar
at http://geronimo.apache.org/plugins/gero
nimo-2.0/repository/
Downloading org.apache.activemq/activemq-core/4.1.1/jar...
Downloading org.apache.activemq/activemq-core/4.1.1/jar... (5%)
Downloading org.apache.activemq/activemq-core/4.1.1/jar... (14%)
Downloading org.apache.activemq/activemq-core/4.1.1/jar... (25%)
Downloading org.apache.activemq/activemq-core/4.1.1/jar... (35%)
Downloading org.apache.activemq/activemq-core/4.1.1/jar... (45%)
Downloading org.apache.activemq/activemq-core/4.1.1/jar... (55%)
Downloading org.apache.activemq/activemq-core/4.1.1/jar... (61%)
Downloading org.apache.activemq/activemq-core/4.1.1/jar... (69%)
Downloading org.apache.activemq/activemq-core/4.1.1/jar... (77%)
Downloading org.apache.activemq/activemq-core/4.1.1/jar... (83%)
Downloading org.apache.activemq/activemq-core/4.1.1/jar... (91%)
Downloading org.apache.activemq/activeio-core/3.0.0-incubator/jar...
Downloading org.apache.activemq/activeio-core/3.0.0-incubator/jar... (10%)
Downloading backport-util-concurrent/backport-util-concurrent/2.2/jar...
Downloading backport-util-concurrent/backport-util-concurrent/2.2/jar...
(20%)
Downloading backport-util-concurrent/backport-util-concurrent/2.2/jar...
(61%)
Downloading backport-util-concurrent/backport-util-concurrent/2.2/jar...
(95%)
Finished downloading
backport-util-concurrent/backport-util-concurrent/2.2/jar (318 kB) (100%)

    **** Installation Complete!
    Used existing: org.objectweb.howl/howl/1.0.1-1/jar
    Used existing:
    org.apache.geronimo.modules/geronimo-persistence-jpa10/2.0-SNAPSHOT/jar
    Used existing: org.apache.geronimo.specs/geronimo-jpa_3.0_spec//jar
    Used existing:
    org.apache.geronimo.modules/geronimo-transformer/2.0-SNAPSHOT/jar
    Used existing: org.apache.geronimo.configs/j2ee-server//car
    Used existing:
    org.apache.geronimo.modules/geronimo-transaction/2.0-SNAPSHOT/jar
    Used existing:
    org.apache.geronimo.modules/geronimo-connector/2.0-SNAPSHOT/jar
    Used existing:
    org.apache.geronimo.modules/geronimo-core/2.0-SNAPSHOT/jar
    Used existing: org.apache.geronimo.configs/j2ee-security//car
    Installed new: org.apache.geronimo.configs/system-database//car
    Installed new: org.apache.derby/derby/10.2.2.0/jar
    Installed new: org.apache.geronimo.configs/transaction-jta11//car
    Installed new:
    org.apache.geronimo.modules/geronimo-transaction-jta11/2.0-SNAPSHOT/jar
    Installed new:
    org.apache.geronimo.modules/geronimo-derby/2.0-SNAPSHOT/jar
    Installed new: org.apache.derby/derbyclient/10.2.2.0/jar
    Installed new:
    org.apache.geronimo.modules/geronimo-timer/2.0-SNAPSHOT/jar
    Installed new: org.apache.derby/derbynet/10.2.2.0/jar
    Installed new:
    org.apache.geronimo.modules/geronimo-activemq/2.0-SNAPSHOT/jar
    Installed new:
    org.apache.geronimo.modules
/geronimo-activemq-management/2.0-SNAPSHOT/jar
    Installed new: org.apache.activemq/activemq-core/4.1.1/jar
    Installed new: org.apache.activemq/activeio-core/3.0.0-incubator/jar
    Installed new:
    backport-util-concurrent/backport-util-concurrent/2.2/jar

    Downloaded 10346 kB in 153s (67 kB/s)
    Now starting
    org.apache.geronimo.configs/activemq-broker/2.0-SNAPSHOT/car...
org.apache.geronimo.kernel.config.LifecycleException: start of
org.apache.geronimo.configs/activemq-broker/2.0-SNAPSHOT/car failed

        at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration
(SimpleConfigurationManager.java:547)
        at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration
(SimpleConfigurationManager.java:511)
        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:127)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(
GBeanInstance.java:865)
        at org.apache.geronimo.kernel.basic.BasicKernel.invoke(
BasicKernel.java:239)
        at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java
:342)
        at
org.apache.geronimo.kernel.KernelGBean$$FastClassByCGLIB$$1cccefc9.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:127)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(
GBeanInstance.java:865)
        at org.apache.geronimo.kernel.basic.BasicKernel.invoke(
BasicKernel.java:239)
        at org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(
MBeanGBeanBridge.java:168)
        at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(
DynamicMetaDataImpl.java:213)
        at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java
:220)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(
DefaultMBeanServerInterceptor.java:815)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java
:784)
        at javax.management.remote.rmi.RMIConnectionImpl.doOperation(
RMIConnectionImpl.java:1410)
        at javax.management.remote.rmi.RMIConnectionImpl.access$100(
RMIConnectionImpl.java:81)
        at
javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(
RMIConnectionImpl.java:1247)
        at java.security.AccessController.doPrivileged(Native Method)
        at
javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(
RMIConnectionImpl.java:1350)
        at javax.management.remote.rmi.RMIConnectionImpl.invoke(
RMIConnectionImpl.java:784)
        at sun.reflect.GeneratedMethodAccessor256.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java
:294)
        at sun.rmi.transport.Transport$1.run(Transport.java:153)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(
TCPTransport.java:466)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(
TCPTransport.java:707)
        at java.lang.Thread.run(Thread.java:595)
Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unknown
start exception
        at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans
(ConfigurationUtil.java:514)
        at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(
KernelConfigurationManager.java:187)
        at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration
(SimpleConfigurationManager.java:530)
        ... 35 more
Caused by: org.apache.geronimo.gbean.InvalidConfigurationException:
Configuration org.apache.geronimo.configs/transaction-jta11/2.
0-SNAPSHOT/car failed to start due to the following reasons:
  The service ServiceModule=org.apache.geronimo.configs
/transaction-jta11/2.0-SNAPSHOT/car,j2eeType=JCAWorkManager,name=DefaultWor
kManager did not start because org.apache.geronimo.configs
/transaction-jta11/2.0-SNAPSHOT/car?ServiceModule=org.apache.geronimo.co
nfigs/transaction-jta11/2.0-SNAPSHOT/car,j2eeType=TransactionManager,name=TransactionManager
did not start.
  The service ServiceModule=org.apache.geronimo.configs
/transaction-jta11/2.0-SNAPSHOT/car,j2eeType=TransactionManager,name=Transa
ctionManager did not start because org.apache.geronimo.configs
/transaction-jta11/2.0-SNAPSHOT/car?ServiceModule=org.apache.geronim
o.configs/transaction-jta11/2.0-SNAPSHOT/car,j2eeType=TransactionLog,name=HOWLTransactionLog
did not start.
  The service ServiceModule=org.apache.geronimo.configs
/transaction-jta11/2.0-SNAPSHOT/car,j2eeType=TransactionLog,name=HOWLTransa
ctionLog did not start because LogFileManager.open: unable to obtain lock on
file C:\g5\target\geronimo-tomcat6-minimal-2.0-SNAPSH
OT\.\var\txlog\howl_1.log
  The service ServiceModule=org.apache.geronimo.configs
/transaction-jta11/2.0-SNAPSHOT/car,j2eeType=JCAConnectionTracker,name=Conn
ectionTracker did not start because org.apache.geronimo.configs
/transaction-jta11/2.0-SNAPSHOT/car?ServiceModule=org.apache.geroni
mo.configs/transaction-jta11/2.0-SNAPSHOT/car,j2eeType=TransactionManager,name=TransactionManager
did not start.

        at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans
(ConfigurationUtil.java:477)
        ... 37 more

    Error: Operation failed: start of
    org.apache.geronimo.configs/activemq-broker/2.0-SNAPSHOT/car failed

        Unknown start exception

        Configuration
    org.apache.geronimo.configs/transaction-jta11/2.0-SNAPSHOT/car
    failed to start due to the following reasons:

      The service
    ServiceModule=org.apache.geronimo.configs
/transaction-jta11/2.0-SNAPSHOT/car,j2eeType=JCAWorkManager,name=DefaultWorkManager
    did not start because
    org.apache.geronimo.configs
/transaction-jta11/2.0-SNAPSHOT/car?ServiceModule=
org.apache.geronimo.configs/transaction-jta11/2.0
-SNAPSHOT/car,j2eeType=TransactionManager,name=TransactionManager
    did not start.

      The service
    ServiceModule=org.apache.geronimo.configs
/transaction-jta11/2.0-SNAPSHOT/car,j2eeType=TransactionManager,name=TransactionManag
er
    did not start because
    org.apache.geronimo.configs
/transaction-jta11/2.0-SNAPSHOT/car?ServiceModule=
org.apache.geronimo.configs/transaction-jta11/2.0
-SNAPSHOT/car,j2eeType=TransactionLog,name=HOWLTransactionLog
    did not start.

      The service
    ServiceModule=org.apache.geronimo.configs
/transaction-jta11/2.0-SNAPSHOT/car,j2eeType=TransactionLog,name=HOWLTransactionLog
    did not start because LogFileManager.open: unable to obtain lock on
    file
    C:\g5\target\geronimo-
tomcat6-minimal-2.0-SNAPSHOT\.\var\txlog\howl_1.log

      The service
    ServiceModule=org.apache.geronimo.configs
/transaction-jta11/2.0-SNAPSHOT/car,j2eeType=JCAConnectionTracker,name=ConnectionTrac
ker
    did not start because
    org.apache.geronimo.configs
/transaction-jta11/2.0-SNAPSHOT/car?ServiceModule=
org.apache.geronimo.configs/transaction-jta11/2.0
-SNAPSHOT/car,j2eeType=TransactionManager,name=TransactionManager
    did not start.



and the geronimo-plugin.xml

<?xml version="1.0" encoding="UTF-8"?>
<geronimo-plugin xmlns="http://geronimo.apache.org/xml/ns/plugins-1.2">
<name>org.apache.geronimo.configs/activemq-broker/2.0-SNAPSHOT/car</name>
<module-id>org.apache.geronimo.configs
/activemq-broker/2.0-SNAPSHOT/car</module-id>
<category>Unknown</category>
<description>Please provide a description</description>
<url></url>
<author></author>
<geronimo-versions>
  <version>2.0-SNAPSHOT</version>
</geronimo-versions>
<dependency>org.apache.geronimo.configs/system-database//car</dependency>
<dependency>org.apache.geronimo.modules
/geronimo-activemq/2.0-SNAPSHOT/jar</dependency>
<dependency>org.apache.geronimo.modules
/geronimo-activemq-management/2.0-SNAPSHOT/jar</dependency>
<dependency>org.apache.activemq/activemq-core/4.1.1/jar</dependency>
<dependency>org.apache.activemq
/activeio-core/3.0.0-incubator/jar</dependency>
<dependency>backport-util-concurrent/backport-util-concurrent/2.2/jar</dependency>
<obsoletes>org.apache.geronimo.configs/activemq-broker//car</obsoletes>
  <source-repository>
http://geronimo.apache.org/plugins/geronimo-2.0/repository/
</source-repository>
  <source-repository>http://people.apache.org/repo/m2-incubating-repository/
</source-repository>
  <source-repository>http://www.ibiblio.org/maven2/</source-repository>
</geronimo-plugin>


-Ajay

Mime
View raw message