You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Justin Bertram (Jira)" <ji...@apache.org> on 2020/01/10 01:57:00 UTC

[jira] [Commented] (ARTEMIS-2539) activemq-artemis example verification fails on PowerPC

    [ https://issues.apache.org/jira/browse/ARTEMIS-2539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17012385#comment-17012385 ] 

Justin Bertram commented on ARTEMIS-2539:
-----------------------------------------

I don't think this has anything to do with PowerPC. This message indicates the problem:
{noformat}
java.net.BindException: Address already in use
{noformat}
This indicates something else in your environment is already using the address to which the broker is trying to bind. Perhaps it is an instance of the broker that leaked from a previous example. However, I've run all the "standard" examples together recently and they worked fine.

> activemq-artemis example verification fails on PowerPC
> ------------------------------------------------------
>
>                 Key: ARTEMIS-2539
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2539
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Web Console
>         Environment: OS : Red Hat Enterprise Linux Server 7.7 (Maipo)
> ARCH : ppc64le
> GIT URL : [https://github.com/apache/activemq-artemis]
> BRANCH: master
> Apache Maven 3.6.0 and Java 1.8
>            Reporter: Vrushali Inamdar
>            Priority: Major
>
> Hi,
> I am trying to build activemq-artemis on PPC64LE architecture.
> *System Details:*
> OS : Red Hat Enterprise Linux Server 7.7 (Maipo)
> ARCH : ppc64le
> GIT URL : [https://github.com/apache/activemq-artemis]
> BRANCH: master
> Apache Maven 3.6.0 and Java 1.8
> *Issue:*
>  
> I am able to build the project using "mvn -Prelease install" and even "mvn package" command is also successful.
> However, when I try to verify the example "examples/features/standard" using "mvn -Pexamples verify" command. It fails with following error:
> server0-out:2019-11-05 06:45:41,802 INFO [org.springframework.web.context.ContextLoader] Root WebApplicationContext initialized in 3709 ms
> server0-err:java.net.BindException: Address already in use
> server0-err: at sun.nio.ch.Net.bind0(Native Method)
> server0-err: at sun.nio.ch.Net.bind(Net.java:433)
> server0-err: at sun.nio.ch.Net.bind(Net.java:425)
> server0-err: at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
> server0-err: at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
> server0-err: at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:298)
> server0-err: at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
> server0-err: at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:236)
> server0-err: at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
> server0-err: at org.eclipse.jetty.server.Server.doStart(Server.java:431)
> server0-err: at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
> server0-err: at org.apache.activemq.artemis.component.WebServerComponent.start(WebServerComponent.java:229)
> server0-err: at org.apache.activemq.artemis.cli.commands.Run.execute(Run.java:95)
> server0-err: at org.apache.activemq.artemis.cli.Artemis.internalExecute(Artemis.java:150)
> server0-err: at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:98)
> server0-err: at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:125)
> server0-err: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> server0-err: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> server0-err: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> server0-err: at java.lang.reflect.Method.invoke(Method.java:498)
> server0-err: at org.apache.activemq.artemis.boot.Artemis.execute(Artemis.java:129)
> server0-err: at org.apache.activemq.artemis.boot.Artemis.main(Artemis.java:49)
> server0-out:2019-11-05 06:45:41,831 ERROR [org.apache.activemq.artemis.core.server] AMQ224018: Failed to create session: ActiveMQSessionCreationException[errorType=SESSION_CREATION_REJECTED message=AMQ229034: Server not started]
> server0-out: at org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQPacketHandler.handleCreateSession(ActiveMQPacketHandler.java:137) [artemis-server-2.11.0-SNAPSHOT.jar:2.11.0-SNAPSHOT]
> server0-out: at org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQPacketHandler.handlePacket(ActiveMQPacketHandler.java:88) [artemis-server-2.11.0-SNAPSHOT.jar:2.11.0-SNAPSHOT]
> server0-out: at org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.handlePacket(ChannelImpl.java:717) [artemis-core-client-2.11.0-SNAPSHOT.jar:2.11.0-SNAPSHOT]
> server0-out: at org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.doBufferReceived(RemotingConnectionImpl.java:408) [artemis-core-client-2.11.0-SNAPSHOT.jar:2.11.0-SNAPSHOT]
> server0-out: at org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:385) [artemis-core-client-2.11.0-SNAPSHOT.jar:2.11.0-SNAPSHOT]
> server0-out: at org.apache.activemq.artemis.core.remoting.server.impl.RemotingServiceImpl$DelegatingBufferHandler.bufferReceived(RemotingServiceImpl.java:654) [artemis-server-2.11.0-SNAPSHOT.jar:2.11.0-SNAPSHOT]
> server0-out: at org.apache.activemq.artemis.core.remoting.impl.netty.ActiveMQChannelHandler.channelRead(ActiveMQChannelHandler.java:73) [artemis-core-client-2.11.0-SNAPSHOT.jar:2.11.0-SNAPSHOT]
> server0-out: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359) [netty-all-4.1.34.Final.jar:4.1.34.Final]
> server0-out: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:345) [netty-all-4.1.34.Final.jar:4.1.34.Final]
> server0-out: at io.netty.channel.AbstractChannelHandlerContextNov 05, 2019 6:45:41 AM org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl fail
> .fireChannelRead(AWARN: AMQ212037: Connection failure to /127.0.0.1:61616 has been detected: AMQ219015: The connection was disconnected because ofbstrac server shutdown [code=DISCONNECTED]
> tChannelHandlerContext.java:337) [netty-all-4.1.34.Final.jar:4.1.34.Final]
> server0-out: at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:323) [netty-all-4.1.34.Final.jar:4.1.34.Final]
> server0-out: at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:310) [netty-all-4.1.34.Final.jar:4.1.34.Final]
> server0-out: at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:426) [netty-all-4.1.34.Final.jar:4.1.34.Final]
> server0-out: at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:278) [netty-all-4.1.34.Final.jar:4.1.34.Final]
> server0-out: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359) [netty-all-4.1.34.Final.jar:4.1.34.Final]
> server0-out: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:345) [netty-all-4.1.34.Final.jar:4.1.34.Final]
> server0-out: at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:337) [netty-all-4.1.34.Final.jar:4.1.34.Final]
> server0-out: at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1408) [netty-all-4.1.34.Final.jar:4.1.34.Final]
> server0-out: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359) [netty-all-4.1.34.Final.jar:4.1.34.Final]
> server0-out: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:345) [netty-all-4.1.34.Final.jar:4.1.34.Final]
> server0-out: at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:930) [netty-all-4.1.34.Final.jar:4.1.34.Final]
> server0-out: at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163) [netty-all-4.1.34.Final.jar:4.1.34.Final]
> server0-out: at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:677) [netty-all-4.1.34.Final.jar:4.1.34.Final]
> server0-out: at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:612) [netty-all-4.1.34.Final.jar:4.1.34.Final]
> server0-out: at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:529) [netty-all-4.1.34.Final.jar:4.1.34.Final]
> server0-out: at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:491) [netty-all-4.1.34.Final.jar:4.1.34.Final]
> server0-out: at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:905) [netty-all-4.1.34.Final.jar:4.1.34.Final]
> server0-out: at org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118) [artemis-commons-2.11.0-SNAPSHOT.jar:2.11.0-SNAPSHOT]
> server0-out:
> [ERROR]
> server0-out:java.lang.reflect.InvocationTargetException2019-11-05 06:45:41,836 WARN [org.apache.activemq.artemis.core.client] AMQ212037: Connection failure to localhost/127.0.0.1:61616 has been
>  detected: AMQ219015: The connection was disconnected because of serveatr shutdown [code=D sun.reflect.NativeMethodAccessorImpl.invoke0ISCONNEC (Native Method)
> TED]
> at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
>  at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke (Method.java:498)
>  at org.apache.activemq.artemis.maven.ArtemisClientPlugin.doExecute (ArtemisClientPlugin.java:61)
>  at org.apache.activemq.artemis.maven.ArtemisAbstractPlugin.execute (ArtemisAbstractPlugin.java:74)
>  at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
>  at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
>  at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
>  at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
>  at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
>  at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
>  at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
>  at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
>  at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
>  at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
>  at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
>  at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
>  at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
>  at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
>  at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
>  at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke (Method.java:498)
>  at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
>  at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
>  at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
>  at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
> Caused by: java.lang.IllegalStateException
>  at org.apache.activemq.artemis.jms.example.CamelExample.main (CamelExample.java:86)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
>  at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
>  at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke (Method.java:498)
>  at org.apache.activemq.artemis.maven.ArtemisClientPlugin.doExecute (ArtemisClientPlugin.java:61)
>  at org.apache.activemq.artemis.maven.ArtemisAbstractPlugin.execute (ArtemisAbstractPlugin.java:74)
>  at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
>  at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
>  at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
>  at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
>  at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
>  at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
>  at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
>  at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
>  at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
>  at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
>  at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
>  at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
>  at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
>  at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
>  at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
>  at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke (Method.java:498)
>  at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
>  at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
>  at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
>  at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary for ActiveMQ Artemis Standard Examples 2.11.0-SNAPSHOT:
> [INFO]
> [INFO] ActiveMQ Artemis Standard Examples ................. SUCCESS [ 4.679 s]
> [INFO] ActiveMQ Artemis JMS Auto Closable Example ......... SUCCESS [ 10.383 s]
> [INFO] ActiveMQ Artemis JMS Browser Example ............... SUCCESS [ 7.854 s]
> [INFO] ActiveMQ Artemis Broker Plugin Example ............. SUCCESS [ 8.932 s]
> [INFO] ActiveMQ Artemis Camel Example ..................... SUCCESS [ 0.076 s]
> [INFO] ActiveMQ Artemis Camel WAR Application ............. SUCCESS [ 3.294 s]
> [INFO] ActiveMQ Artemis Camel Broker ...................... FAILURE [ 11.077 s]
> [INFO] ActiveMQ Artemis CDI Example ....................... SKIPPED
> ...
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 49.530 s
> [INFO] Finished at: 2019-11-05T06:45:41-05:00
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.activemq:artemis-maven-plugin:2.11.0-SNAPSHOT:runClient (runClient) on project camel-broker: null: MojoFailureException -> [Help 1]
> *Please help me to resolve this error.*



--
This message was sent by Atlassian Jira
(v8.3.4#803005)