You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by si...@insession.com on 2005/01/17 07:08:57 UTC

Build failed - ActiveMQ compile failure

Is anyone else getting this compile error in ActiveMQ?

I did the following to build:

maven m:update
maven m:rebuild -Dmaven.test.skip=true -Dmaven.itest.skip=true

Thanks,

John

+----------------------------------------
| Executing default ActiveMQ :: GBeans
| Memory: 32M/36M
+----------------------------------------
Attempting to download activemq-core-2.0-SNAPSHOT.jar.
Attempting to download activemq-core-test-2.0-SNAPSHOT.jar.
Artifact /activemq/jars/activemq-core-test-2.0-SNAPSHOT.jar doesn't exists 
in remote repository, but it exists locally
Attempting to download geronimo-kernel-1.0-SNAPSHOT.jar.
Attempting to download geronimo-system-1.0-SNAPSHOT.jar.
Attempting to download activemq-store-jdbm-2.0-SNAPSHOT.jar.
Attempting to download activemq-store-jdbc-2.0-SNAPSHOT.jar.

jar:install:


build:end:

build:start:

default:
java:prepare-filesystem:
    [mkdir] Created dir: 
D:\Projects\J2EE\geronimo\activemq\modules\gbean\target\classes

java:compile:
    [depend] Deleted 0 out of date files in 0 seconds
    [echo] Compiling to 
D:\Projects\J2EE\geronimo\activemq\modules\gbean/target/classes
    [javac] Compiling 6 source files to 
D:\Projects\J2EE\geronimo\activemq\modules\gbean\target\classes
D:\Projects\J2EE\geronimo\activemq\modules\gbean\src\java\org\codehaus\activemq\store\jdbc\JDBCPersistenceAdapterGBean.java:97: 
cann
ot resolve symbol
symbol  : method createTransactionStore ()
location: class org.codehaus.activemq.store.jdbc.JDBCPersistenceAdapter
        return pa.createTransactionStore();
                 ^
1 error

BUILD FAILED
File...... C:\Documents and 
Settings\john\.maven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly
Element... maven:reactor
Line...... 217
Column.... 9
Unable to obtain goal [default] -- C:\Documents and 
Settings\john\.maven\cache\maven-java-plugin-1.5\plugin.jelly:63:48: 
<ant:javac>
 Compile failed; see the compiler error output for details.
Total time: 2 minutes 51 seconds
Finished at: Mon Jan 17 14:06:23 EST 2005

D:\Projects\J2EE\geronimo>

Maven download retry?

Posted by Mark <de...@hotmail.com>.
While doing a build last night, it stopped part way through since it 
failed to download an artifact dependency.    I pulled up my web browser 
and had a look at the directory contents of 
www.ibiblio.org/maven/avalon/jars and the logtkit 1.2.2.jar was 
present.  So I assume that I experienced a network disruption.

Is there a way to have maven retry the download if it receives an 
exception?   I can understand not retrying if the server specifically 
returns a 404.

Attempting to download avalon-logkit-1.2.2.jar.
Downloading: url: 
http://www.apache.org/~jlaskowski/maven/avalon/jars/avalon-logkit-1.2.2.
jar, file: C:\Documents and 
Settings\delafran\.maven\repository\avalon\jars\avalon-logkit-
1.2.2.jar
Downloading: url:  
http://www.mortbay.org/maven/avalon/jars/avalon-logkit-1.2.2.jar, file:
 C:\Documents and 
Settings\delafran\.maven\repository\avalon\jars\avalon-logkit-1.2.2.jar
Downloading: url:  
http://www.openejb.org/maven/avalon/jars/avalon-logkit-1.2.2.jar, file:
 C:\Documents and 
Settings\delafran\.maven\repository\avalon\jars\avalon-logkit-1.2.2.jar
Downloading: url:  
http://dist.codehaus.org/avalon/jars/avalon-logkit-1.2.2.jar, file: C:\
Documents and 
Settings\delafran\.maven\repository\avalon\jars\avalon-logkit-1.2.2.jar
Downloading: url:  
http://www.ibiblio.org/maven/avalon/jars/avalon-logkit-1.2.2.jar, file:
 C:\Documents and 
Settings\delafran\.maven\repository\avalon\jars\avalon-logkit-1.2.2.jar
Error retrieving artifact from [ 
http://www.ibiblio.org/maven/avalon/jars/avalon-logkit-1.
2.2.jar]: java.net.ConnectException: Connection timed out: connect
WARNING: Failed to download avalon-logkit-1.2.2.jar.

BUILD FAILED
File...... D:\Apache\geronimo\maven.xml
Element... maven:reactor
Line...... 380

Re: MEJB question

Posted by John Childs <jc...@yahoo.ca>.
Thanks David...I'll give it a shot.

John

David Jencks wrote:
> 
> On Jan 17, 2005, at 2:38 PM, John Childs wrote:
> 
>> Hi All,
>>
>> I was wondering about the MEJB class which is in the
>> j2ee module.  Specifically, do you have any
>> suggestions on how I could expose this to play around
>> with it a bit?   It looks like it's kind of a hybrid
>> gbean and ejb.
> 
> 
> Yes indeed.
> 
> I think your best bet right now is to deploy it as a gbean and then from 
> a j2ee component do something like this:
> 
> Kernel kernel = Kernel.getSingelKernel(); //really bad method, but 
> otherwise you need to know the kernel name
> ProxyManager proxyManager = kernel.getProxyManager(); //this method is 
> not guaranteed to be there forever
> Management mejb = 
> (Mananagement)proxyManager.createProxy(MEJB_OBJECT_NAME, Management.class);
> try {
>    /play with it
> } finally {
>   proxyManager.destroyProxy(mejb);
> }
> 
> It might not take that much more work to deploy it as a local ejb.  I 
> don't know what state remote notifications are in at the moment so I 
> doubt it would be so easy to access it remotely.
> 
> AFAIK this is 100% untested code so I'd be interested in knowing how far 
> you get.
> 
> thanks
> david jencks
> 
>>
>> john
>>
>> ______________________________________________________________________
>> Post your free ad now! http://personals.yahoo.ca
>>
> 
> 

Re: MEJB question

Posted by David Jencks <dj...@gluecode.com>.
On Jan 17, 2005, at 2:38 PM, John Childs wrote:

> Hi All,
>
> I was wondering about the MEJB class which is in the
> j2ee module.  Specifically, do you have any
> suggestions on how I could expose this to play around
> with it a bit?   It looks like it's kind of a hybrid
> gbean and ejb.

Yes indeed.

I think your best bet right now is to deploy it as a gbean and then 
from a j2ee component do something like this:

Kernel kernel = Kernel.getSingelKernel(); //really bad method, but 
otherwise you need to know the kernel name
ProxyManager proxyManager = kernel.getProxyManager(); //this method is 
not guaranteed to be there forever
Management mejb = 
(Mananagement)proxyManager.createProxy(MEJB_OBJECT_NAME, 
Management.class);
try {
    /play with it
} finally {
   proxyManager.destroyProxy(mejb);
}

It might not take that much more work to deploy it as a local ejb.  I 
don't know what state remote notifications are in at the moment so I 
doubt it would be so easy to access it remotely.

AFAIK this is 100% untested code so I'd be interested in knowing how 
far you get.

thanks
david jencks

>
> john
>
> ______________________________________________________________________
> Post your free ad now! http://personals.yahoo.ca
>


MEJB question

Posted by John Childs <jc...@yahoo.ca>.
Hi All,

I was wondering about the MEJB class which is in the
j2ee module.  Specifically, do you have any
suggestions on how I could expose this to play around
with it a bit?   It looks like it's kind of a hybrid
gbean and ejb.

john    

______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca

Re: Build failed - ActiveMQ compile failure

Posted by David Blevins <db...@gluecode.com>.
If you do a simple:

maven clean default

The build will go fine.  Make sure you build online.

-David


On Jan 17, 2005, at 7:12 AM, Mark wrote:

> Yes, I am too.    I have also done a "maven m:fresh-checkout" and it  
> still fails.  Interesting though, if you go into the geronimo\activemq  
> and then do a "maven", activemq build without any errors.
>
> Mark
>
> sissonj@insession.com wrote:
>
>> Is anyone else getting this compile error in ActiveMQ?
>>
>> I did the following to build:
>>
>> maven m:update
>> maven m:rebuild -Dmaven.test.skip=true -Dmaven.itest.skip=true
>>
>> Thanks,
>>
>> John
>>
>> +----------------------------------------
>> | Executing default ActiveMQ :: GBeans
>> | Memory: 32M/36M
>> +----------------------------------------
>> Attempting to download activemq-core-2.0-SNAPSHOT.jar.
>> Attempting to download activemq-core-test-2.0-SNAPSHOT.jar.
>> Artifact /activemq/jars/activemq-core-test-2.0-SNAPSHOT.jar doesn't  
>> exists in remote repository, but it exists locally
>> Attempting to download geronimo-kernel-1.0-SNAPSHOT.jar.
>> Attempting to download geronimo-system-1.0-SNAPSHOT.jar.
>> Attempting to download activemq-store-jdbm-2.0-SNAPSHOT.jar.
>> Attempting to download activemq-store-jdbc-2.0-SNAPSHOT.jar.
>>
>> jar:install:
>>
>>
>> build:end:
>>
>> build:start:
>>
>> default:
>> java:prepare-filesystem:
>>    [mkdir] Created dir:  
>> D:\Projects\J2EE\geronimo\activemq\modules\gbean\target\classes
>>
>> java:compile:
>>    [depend] Deleted 0 out of date files in 0 seconds
>>    [echo] Compiling to  
>> D:\Projects\J2EE\geronimo\activemq\modules\gbean/target/classes
>>    [javac] Compiling 6 source files to  
>> D:\Projects\J2EE\geronimo\activemq\modules\gbean\target\classes
>> D: 
>> \Projects\J2EE\geronimo\activemq\modules\gbean\src\java\org\codehaus\a 
>> ctivemq\store\jdbc\JDBCPersistenceAdapterGBean.java:97: cann
>> ot resolve symbol
>> symbol  : method createTransactionStore ()
>> location: class  
>> org.codehaus.activemq.store.jdbc.JDBCPersistenceAdapter
>>        return pa.createTransactionStore();
>>                 ^
>> 1 error
>>
>> BUILD FAILED
>> File...... C:\Documents and  
>> Settings\john\.maven\cache\maven-multiproject-plugin 
>> -1.3.1\plugin.jelly
>> Element... maven:reactor
>> Line...... 217
>> Column.... 9
>> Unable to obtain goal [default] -- C:\Documents and  
>> Settings\john\.maven\cache\maven-java-plugin-1.5\plugin.jelly:63:48:  
>> <ant:javac>
>> Compile failed; see the compiler error output for details.
>> Total time: 2 minutes 51 seconds
>> Finished at: Mon Jan 17 14:06:23 EST 2005
>>
>> D:\Projects\J2EE\geronimo>
>>
>> .
>>
>>


Re: Build failed - ActiveMQ compile failure

Posted by Mark <de...@hotmail.com>.
Yes, I am too.    I have also done a "maven m:fresh-checkout" and it 
still fails.  Interesting though, if you go into the geronimo\activemq 
and then do a "maven", activemq build without any errors.

Mark

sissonj@insession.com wrote:

>Is anyone else getting this compile error in ActiveMQ?
>
>I did the following to build:
>
>maven m:update
>maven m:rebuild -Dmaven.test.skip=true -Dmaven.itest.skip=true
>
>Thanks,
>
>John
>
>+----------------------------------------
>| Executing default ActiveMQ :: GBeans
>| Memory: 32M/36M
>+----------------------------------------
>Attempting to download activemq-core-2.0-SNAPSHOT.jar.
>Attempting to download activemq-core-test-2.0-SNAPSHOT.jar.
>Artifact /activemq/jars/activemq-core-test-2.0-SNAPSHOT.jar doesn't exists 
>in remote repository, but it exists locally
>Attempting to download geronimo-kernel-1.0-SNAPSHOT.jar.
>Attempting to download geronimo-system-1.0-SNAPSHOT.jar.
>Attempting to download activemq-store-jdbm-2.0-SNAPSHOT.jar.
>Attempting to download activemq-store-jdbc-2.0-SNAPSHOT.jar.
>
>jar:install:
>
>
>build:end:
>
>build:start:
>
>default:
>java:prepare-filesystem:
>    [mkdir] Created dir: 
>D:\Projects\J2EE\geronimo\activemq\modules\gbean\target\classes
>
>java:compile:
>    [depend] Deleted 0 out of date files in 0 seconds
>    [echo] Compiling to 
>D:\Projects\J2EE\geronimo\activemq\modules\gbean/target/classes
>    [javac] Compiling 6 source files to 
>D:\Projects\J2EE\geronimo\activemq\modules\gbean\target\classes
>D:\Projects\J2EE\geronimo\activemq\modules\gbean\src\java\org\codehaus\activemq\store\jdbc\JDBCPersistenceAdapterGBean.java:97: 
>cann
>ot resolve symbol
>symbol  : method createTransactionStore ()
>location: class org.codehaus.activemq.store.jdbc.JDBCPersistenceAdapter
>        return pa.createTransactionStore();
>                 ^
>1 error
>
>BUILD FAILED
>File...... C:\Documents and 
>Settings\john\.maven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly
>Element... maven:reactor
>Line...... 217
>Column.... 9
>Unable to obtain goal [default] -- C:\Documents and 
>Settings\john\.maven\cache\maven-java-plugin-1.5\plugin.jelly:63:48: 
><ant:javac>
> Compile failed; see the compiler error output for details.
>Total time: 2 minutes 51 seconds
>Finished at: Mon Jan 17 14:06:23 EST 2005
>
>D:\Projects\J2EE\geronimo>
>
>.
>
>  
>