I'm trying to get my build working for Geronimo and I'm running into
some problem. It looks to be like even though I specified the maven
command with test & itest = true ... it is still trying to run the tests
and hitting some error while starting booting the Geronimo kernel (which
I didn't think it would do without the test specified).
Here's the command I used:
maven m:build -Dmaven.test.skip=true -Dmaven.itest.skip=true
Here is the output:
target/geronimo-1.0-SNAPSHOT
Booting Geronimo Kernel (in Java 1.4.2_08)...
11:29:23,898 WARN
[server:J2EEApplication=null,J2EEModule=org/apache/geronimo/S
erver,J2EEServer=geronimo,j2eeType=GBean,name=JMXService] Error stopping
JMXConn
ector after failure
java.io.IOException: javax.naming.ServiceUnavailableException [Root
exception is
java.rmi.ConnectException: Connection refused to host: 10.150.1.3;
nested excep
tion is:
java.net.ConnectException: Connection timed out: connect]
at mx4j.remote.resolver.rmi.Resolver.unbindServer(Resolver.java:279)
at
javax.management.remote.rmi.RMIConnectorServer.stop(RMIConnectorServe
r.java:172)
....
11:29:23,898 ERROR [GBeanInstanceState] Error while starting; GBean is
now in th
e FAILED state:
objectName="geronimo.server:J2EEApplication=null,J2EEModule=org/
apache/geronimo/Server,J2EEServer=geronimo,j2eeType=GBean,name=JMXService"
java.io.IOException: javax.naming.ServiceUnavailableException [Root
exception is
java.rmi.ConnectException: Connection refused to host: 10.150.1.3;
nested excep
tion is:
java.net.ConnectException: Connection timed out: connect]
at mx4j.remote.resolver.rmi.Resolver.bindServer(Resolver.java:199)
at
javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServ
er.java:152)
at
org.apache.geronimo.jmxremoting.JMXConnector.doStart(JMXConnector.jav
a:112)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanI
nstance.java:850)
at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
(GBeanInstanceState.java:328)
at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
nceState.java:111)
at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(G
BeanInstanceState.java:133)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanI
nstance.java:503)
at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(Basi
cKernel.java:207)
at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(G
BeanInstanceState.java:141)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanI
nstance.java:503)
at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(Basi
cKernel.java:207)
at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:247)
at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:81)
at org.apache.geronimo.system.main.Daemon.main(Daemon.java:320)
Geronimo startup complete
BUILD FAILED
File...... C:\Documents and
Settings\Administrator\.maven\cache\maven-multiproje
ct-plugin-1.3.1\plugin.jelly
Element... maven:reactor
Line...... 217
Column.... 9
Unable to obtain goal [default] --
C:\cygwin\home\bohn\geronimo\modules\assembly
\maven.xml:395:63: <deploy:waitForStarted> Could not connect
Total time: 26 minutes 48 seconds
Finished at: Mon Jul 11 11:43:40 EDT 2005
Thank you,
Joe Bohn