geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Bohn <joe.b...@earthlink.net>
Subject Re: build failure
Date Mon, 11 Jul 2005 18:36:47 GMT
Thanks for your help.  I've tried this with the offline option and it 
seems like things went better ... but it still failed.

Now it looks like I'm having problems with OpenEJB and ActiveMQ:   I'm 
getting this:

    Attempting to download activemq-ra-3.1-SNAPSHOT.rar.
    Error retrieving artifact from
    [http://www.ibiblio.org/maven/activemq/rars/activ
    emq-ra-3.1-SNAPSHOT.rar]: java.net.ConnectException: Connection
    timed out: conne
    ct

I also get the same message for  "openejb-core-2.0-SNAPSHOT.jar" and  
"openejb-builder-2.0-SNAPSHOT.jar."

So looking thru earlier appends about failed builds and openEJB.    When 
I ran  "maven m:co"  it says it was successful but the messages don't 
give me a warm fuzzy

    m:checkout:
        [cvs] cvs checkout: warning: failed to open /home/bohn/.cvspass
    for reading:
     No such file or directory
        [cvs] cvs checkout: warning: failed to open /home/bohn/.cvspass
    for reading:
     No such file or directory
        [cvs] cvs checkout: warning: failed to open /home/bohn/.cvspass
    for reading:
     No such file or directory
    BUILD SUCCESSFUL


I then ran "maven m:rebuild-all" as Aaron recommended and I received 
this failure:

    BUILD FAILED
    File...... C:\cygwin\home\bohn\geronimo\maven.xml
    Element... ant:delete
    Line...... 132
    Column.... 52
    Unable to delete file
    C:\cygwin\home\bohn\geronimo\modules\assembly\target\geron
    imo-1.0-SNAPSHOT\bin\server.jar

I'm not sure why it can't delete the server jar ... it isn't protected.  
Is it possible that I have some daemon or service version of Geronimo 
already running?   How would I terminate it?  Any other ideas?

David Jencks wrote:

> I don't know where the IP address comes from, but you might try 
> adding  -Dgeronimo.assemble.offline=true to your command line
>
> Normally during assembly we start the server and deploy a bunch of  
> packages into the running server, to save time and test that the  
> runtime deployer actually works.  This flag makes all deployment 
> happen  without a running server.
>
> david jencks
>
> On Jul 11, 2005, at 10:21 AM, Joe Bohn wrote:
>
>>  That's definitely not the IP address of this machine. 
>>
>>  I'm confused as to even why it is attempting to start the server 
>> with  the skip=true values being set.
>>
>>  Any ideas on why it is starting the server and if I can manually 
>> set  the ip address someplace?
>>
>>  Thanks, Joe
>>
>>  Aaron Mulder wrote:        On that machine, does the host name of 
>> the  machine resolve to
>>
>>> 10.150.1.3, and if so, is that the correct IP address?  It looks 
>>> like  it
>>> might be getting a bogus IP and then timing out while trying to  
>>> connect to
>>> itself.
>>>
>>> Aaron
>>>
>>> On Mon, 11 Jul 2005, Joe Bohn wrote:
>>>
>>>> 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
>>>>
>>>>
>>>>
>>>
>>>
>
>
>

-- 
Joe Bohn     

joe.bohn@earthlink.net 
"He is no fool who gives what he cannot keep, to gain what he cannot lose."   -- Jim Elliot


Mime
View raw message