[esb-dev] build error

Tom Fennelly tom.fennelly at jboss.com
Wed Jun 27 05:43:21 EDT 2007


Can you try it outside Eclipse.  For a start, it'll run really fast - 
like only 10 mins ;-)  Eclipse may also be screwing with yer classpath - 
I doubt it, but easiest thing is to avoid the possibility all together.  
In general I think it's a good idea to run builds on your local machine 
in the same way as they're run on the CI machine (or as near as possible).

T.

Mark Little wrote:
> I'm running clean, dist, test within Eclipse. Took 21 minutes to build 
> everything for me ;-)
>
> I'll do another update to make sure nothing changed since yesterday 
> afternoon, when I did my last one.
>
> I hope the test rule *does not* run the integration tests ;-)
>
> Mark.
>
>
> On 27 Jun 2007, at 10:27, Tom Fennelly wrote:
>
>> What build rule are you using ;-) ?
>>
>> I see it when I run "ant clean dist test".  Should these be 
>> integration tests perhaps, or has the build changed to run the 
>> integration tests under the general "test" build target?
>>
>> T.
>>
>>
>> Mark Little wrote:
>>> I did an update and a build, but didn't see this. What build rule 
>>> were you using?
>>>
>>> Mark.
>>>
>>>
>>> On 26 Jun 2007, at 16:54, Kurt T Stam wrote:
>>>
>>>> Anyone getting this? What do I do to fix this?
>>>>
>>>>     [java] [junit] Testcase:
>>>> org.jboss.soa.esb.listeners.gateway.ReadOnlyRemoteGatewayListenerUnitTest
>>>> took 0 sec
>>>>      [java] [junit]     Caused an ERROR
>>>>      [java] [junit]
>>>> org.jboss.soa.esb.listeners.gateway.remotestrategies.RemoteFileSystemStrategyException:
>>>> org.jboss.soa.esb.listeners.gateway.remotestrategies.cache.FtpFileCacheException:
>>>> org.jgroups.ChannelException: failed to start protocol stack
>>>>      [java] [junit] org.jboss.soa.esb.ConfigurationException:
>>>> org.jboss.soa.esb.listeners.gateway.remotestrategies.RemoteFileSystemStrategyException:
>>>> org.jboss.soa.esb.listeners.gateway.remotestrategies.cache.FtpFileCacheException:
>>>> org.jgroups.ChannelException: failed to start protocol stack
>>>>      [java] [junit]     at
>>>> org.jboss.soa.esb.listeners.gateway.ReadOnlyRemoteGatewayListener.createRemoteFileSystemStrategy(ReadOnlyRemoteGatewayListener.java:222)
>>>>      [java] [junit]     at
>>>> org.jboss.soa.esb.listeners.gateway.ReadOnlyRemoteGatewayListener.<init>(ReadOnlyRemoteGatewayListener.java:83)
>>>>      [java] [junit]     at
>>>> org.jboss.soa.esb.listeners.gateway.ReadOnlyRemoteGatewayListenerUnitTest.createRemoteGatewayListener(ReadOnlyRemoteGatewayListenerUnitTest.java:212)
>>>>      [java] [junit]     at
>>>> org.jboss.soa.esb.listeners.gateway.ReadOnlyRemoteGatewayListenerUnitTest.classSetup(ReadOnlyRemoteGatewayListenerUnitTest.java:76)
>>>>      [java] [junit]     at
>>>> org.junit.internal.runners.BeforeAndAfterRunner.invokeMethod(BeforeAndAfterRunner.java:74)
>>>>      [java] [junit]     at
>>>> org.junit.internal.runners.BeforeAndAfterRunner.runBefores(BeforeAndAfterRunner.java:50)
>>>>      [java] [junit]     at
>>>> org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:33)
>>>>      [java] [junit]     at
>>>> org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
>>>>      [java] [junit]     at
>>>> junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:32)
>>>>      [java] [junit] Caused by:
>>>> org.jboss.soa.esb.listeners.gateway.remotestrategies.RemoteFileSystemStrategyException:
>>>> org.jboss.soa.esb.listeners.gateway.remotestrategies.cache.FtpFileCacheException:
>>>> org.jgroups.ChannelException: failed to start protocol stack
>>>>      [java] [junit]     at
>>>> org.jboss.soa.esb.listeners.gateway.remotestrategies.ReadOnlyRemoteFileSystemStrategy.init(ReadOnlyRemoteFileSystemStrategy.java:63)
>>>>      [java] [junit]     at
>>>> org.jboss.soa.esb.listeners.gateway.ReadOnlyRemoteGatewayListener.createRemoteFileSystemStrategy(ReadOnlyRemoteGatewayListener.java:205)
>>>>      [java] [junit]     ... 15 more
>>>>      [java] [junit] Caused by:
>>>> org.jboss.soa.esb.listeners.gateway.remotestrategies.cache.FtpFileCacheException:
>>>> org.jgroups.ChannelException: failed to start protocol stack
>>>>      [java] [junit]     at
>>>> org.jboss.soa.esb.listeners.gateway.remotestrategies.cache.FtpFileCache.start(FtpFileCache.java:135)
>>>>      [java] [junit]     at
>>>> org.jboss.soa.esb.listeners.gateway.remotestrategies.ReadOnlyRemoteFileSystemStrategy.init(ReadOnlyRemoteFileSystemStrategy.java:59)
>>>>      [java] [junit]     ... 16 more
>>>>      [java] [junit] Caused by: org.jgroups.ChannelException: failed to
>>>> start protocol stack
>>>>      [java] [junit]     at 
>>>> org.jgroups.JChannel.connect(JChannel.java:389)
>>>>      [java] [junit]     at
>>>> org.jboss.cache.TreeCache.startService(TreeCache.java:1263)
>>>>      [java] [junit]     at
>>>> org.jboss.soa.esb.listeners.gateway.remotestrategies.cache.FtpFileCache.start(FtpFileCache.java:130)
>>>>      [java] [junit]     ... 17 more
>>>>      [java] [junit] Caused by: java.lang.Exception: exception caused by
>>>> UDP.start()
>>>>      [java] [junit]     at
>>>> org.jgroups.stack.Protocol.handleSpecialDownEvent(Protocol.java:582)
>>>>      [java] [junit]     at
>>>> org.jgroups.stack.DownHandler.run(Protocol.java:118)
>>>>      [java] [junit] Caused by: java.lang.Exception: problem creating
>>>> sockets (bind_addr=localhost/127.0.0.1, mcast_addr=228.1.2.3:48866)
>>>>      [java] [junit]     at 
>>>> org.jgroups.protocols.UDP.start(UDP.java:372)
>>>>      [java] [junit]     at
>>>> org.jgroups.stack.Protocol.handleSpecialDownEvent(Protocol.java:571)
>>>>      [java] [junit]     ... 1 more
>>>>      [java] [junit] Caused by: java.net.SocketException: bad argument
>>>> for IP_MULTICAST_IF2: No IP addresses bound to interface
>>>>      [java] [junit]     at
>>>> java.net.PlainDatagramSocketImpl.socketSetOption(Native Method)
>>>>      [java] [junit]     at
>>>> java.net.PlainDatagramSocketImpl.setOption(PlainDatagramSocketImpl.java:299)
>>>>      [java] [junit]     at
>>>> java.net.MulticastSocket.setNetworkInterface(MulticastSocket.java:502)
>>>>      [java] [junit]     at
>>>> org.jgroups.protocols.UDP.createSockets(UDP.java:490)
>>>>      [java] [junit]     at 
>>>> org.jgroups.protocols.UDP.start(UDP.java:367)
>>>>      [java] [junit]     ... 2 more
>>>>      [java] BUILD FAILED
>>>>      [java] 
>>>> C:\cygwin\home\kstam\dev\jbossesb\product\build.xml:131: The
>>>> following error occurred while executing this line:
>>>>      [java] 
>>>> C:\cygwin\home\kstam\dev\jbossesb\product\build.xml:141: The
>>>> following error occurred while executing this line:
>>>>      [java]
>>>> C:\cygwin\home\kstam\dev\jbossesb\product\rosetta\build.xml:87: The
>>>> following error occurred while executing this line:
>>>>      [java]
>>>> C:\cygwin\home\kstam\dev\jbossesb\product\rosetta\tests\build.xml:82:
>>>> The following error occurred while executing this line:
>>>>      [java]
>>>> C:\cygwin\home\kstam\dev\jbossesb\product\rosetta\tests\build.xml:109:
>>>> Test
>>>> org.jboss.soa.esb.listeners.gateway.ReadOnlyRemoteGatewayListenerUnitTest
>>>> failed
>>>>      [java] Total time: 3 minutes 57 seconds
>>>>
>>>> BUILD FAILED
>>>> C:\cygwin\home\kstam\dev\jbossesb\product\build.xml:420: The following
>>>> error occurred while executing this line:
>>>> C:\cygwin\home\kstam\dev\jbossesb\product\build.xml:87: Java 
>>>> returned: 1
>>>>
>>>> _______________________________________________
>>>> esb-dev mailing list
>>>> esb-dev at lists.jboss.org <mailto:esb-dev at lists.jboss.org>
>>>> https://lists.jboss.org/mailman/listinfo/esb-dev
>>>
>>> ----
>>>
>>> Mark Little
>>> mlittle at redhat.com <mailto:mlittle at redhat.com>
>>>
>>> JBoss, a Division of Red Hat
>>> Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod 
>>> Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in 
>>> UK and Wales under Company Registration No. 3798903 Directors: 
>>> Michael Cunningham (USA), Charlie Peters (USA) and David Owens (Ireland)
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> esb-dev mailing list
>>> esb-dev at lists.jboss.org <mailto:esb-dev at lists.jboss.org>
>>> https://lists.jboss.org/mailman/listinfo/esb-dev
>>>
>>>   
>>>
>>
>> -- 
>> Red Hat:
>> Registered Address: Red Hat Ltd, Brian O' Donnell and Partners, 62 
>> Merrion Square, Dublin 2, Ireland.
>> Registered in the Companies Registration Office, Parnell House, 14 
>> Parnell Square, Dublin 1, Ireland, at No. 304873
>> Directors: Charlie Peters (USA), Michael Cunningham (USA). David 
>> Owens, Brendan Lane
>>
>
> ----
>
> Mark Little
> mlittle at redhat.com <mailto:mlittle at redhat.com>
>
> JBoss, a Division of Red Hat
> Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod 
> Street, Windsor, Berkshire, 
> SI4 1TE, United Kingdom. 
> Registered in UK and Wales under Company Registration No. 3798903 
> Directors: Michael Cunningham (USA), Charlie Peters (USA) and David 
> Owens (Ireland)
>
>
>
>

-- 
Red Hat:
Registered Address: Red Hat Ltd, Brian O' Donnell and Partners, 62 Merrion Square, Dublin 2, Ireland.
Registered in the Companies Registration Office, Parnell House, 14 Parnell Square, Dublin 1, Ireland, at No. 304873
Directors: Charlie Peters (USA), Michael Cunningham (USA). David Owens, Brendan Lane




More information about the esb-dev mailing list