From owner-freebsd-java@FreeBSD.ORG Wed Nov 21 10:35:50 2012 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 50C498D9 for ; Wed, 21 Nov 2012 10:35:50 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.78]) by mx1.freebsd.org (Postfix) with ESMTP id CB6A78FC08 for ; Wed, 21 Nov 2012 10:35:49 +0000 (UTC) Received: from smtp.greenhost.nl ([213.108.104.138]) by smarthost1.greenhost.nl with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Tb7ee-0006fS-Mz; Wed, 21 Nov 2012 11:35:41 +0100 Received: from [81.21.138.17] (helo=ronaldradial.versatec.local) by smtp.greenhost.nl with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1Tb7ee-0003y0-An; Wed, 21 Nov 2012 11:35:40 +0100 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: freebsd-java@freebsd.org, "Marc Fournier" Subject: Re: Hudson -> Jboss7 Auto deploy ... References: Date: Wed, 21 Nov 2012 11:35:41 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Ronald Klop" Message-ID: In-Reply-To: User-Agent: Opera Mail/12.11 (Win32) X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: / X-Spam-Score: -0.2 X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_40 autolearn=disabled version=3.2.5 X-Scan-Signature: 3a52d1843adabd8eff9dab316373a257 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2012 10:35:50 -0000 Caused by: javax.security.sasl.SaslException: Authentication failed: all available authentication mechanisms failed Telnet does not test your problem. Connecting with the tcp port works, but connecting on the ssl level fails. I don't know why though. Ronald. On Tue, 20 Nov 2012 20:42:43 +0100, Marc Fournier wrote: > > I'm having a bugger of a time here, and even one of the Hudson > developers seems to be stump'd … > > I have a physical server with 3 jails on it … one running Tomcat7, one > running jBoss7 and one running Hudson … Hudson has no problems > auto-deploying to Tomcat7, but we can't get it to auto-deploy to jBoss7 > > I'm running both Hudson and jBoss7 using OpenJDK7 … and all three are > installed from ports updated to today, so the newest versions … I'm also > running the newest version of the Hudson Deploy Plugin (1.8), which does > list jBoss7 as one of the supported deploy servers. > > After I installed jBoss, I: > > 1. bin/add_user.sh > 2. edited standalone/configuration/standalone.xml and replaced 127.0.0.1 > with the IP of the jail it is running in > 3. bin/standalone.sh > > But when I do a deploy from Hudson, I get an error about: > > Caused by: java.net.ConnectException: JBAS012174: Could not connect to > remote://10.5.254.56:9999. The connection failed > at > org.jboss.as.protocol.ProtocolChannelClient.connectSync(ProtocolChannelClient.java:164) > at > org.jboss.as.protocol.mgmt.ManagementClientChannelStrategy$Establishing.getChannel(ManagementClientChannelStrategy.java:166) > at > org.jboss.as.controller.client.impl.RemotingModelControllerClient.getOrCreateChannel(RemotingModelControllerClient.java:138) > at > org.jboss.as.controller.client.impl.RemotingModelControllerClient$1.getChannel(RemotingModelControllerClient.java:62) > at > org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:106) > at > org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:89) > at > org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeRequest(AbstractModelControllerClient.java:252) > at > org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:151) > at > org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeAsync(AbstractModelControllerClient.java:111) > ... 23 more > Caused by: javax.security.sasl.SaslException: Authentication failed: all > available authentication mechanisms failed > at > org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.handleEvent(ClientConnectionOpenListener.java:315) > at > org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.handleEvent(ClientConnectionOpenListener.java:214) > at > org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:72) > at > org.xnio.channels.TranslatingSuspendableChannel.handleReadable(TranslatingSuspendableChannel.java:189) > at > org.xnio.channels.TranslatingSuspendableChannel$1.handleEvent(TranslatingSuspendableChannel.java:103) > at > org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:72) > at > org.xnio.channels.TranslatingSuspendableChannel.handleReadable(TranslatingSuspendableChannel.java:189) > at > org.xnio.ssl.JsseConnectedSslStreamChannel.handleReadable(JsseConnectedSslStreamChannel.java:180) > at > org.xnio.channels.TranslatingSuspendableChannel$1.handleEvent(TranslatingSuspendableChannel.java:103) > at > org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:72) > at org.xnio.nio.NioHandle.run(NioHandle.java:90) > at org.xnio.nio.WorkerThread.run(WorkerThread.java:184) > at ...asynchronous invocation...(Unknown Source) > at org.jboss.remoting3.EndpointImpl.doConnect(EndpointImpl.java:270) > at org.jboss.remoting3.EndpointImpl.doConnect(EndpointImpl.java:251) > at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:349) > at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:337) > at > org.jboss.as.protocol.ProtocolChannelClient.connect(ProtocolChannelClient.java:125) > at > org.jboss.as.protocol.ProtocolChannelClient.connectSync(ProtocolChannelClient.java:134) > ... 31 more > > I've tested the connection from Hudson -> jBoss:9999 using telnet, to > make sure there were no unknown blocks in place, and it all seems fine … > and, again, it works fine to Tomcat7 on the same physical server, with > the jails setup the same way … > > Has anyone else successfully gotten Hudson -> jBoss7 Auto Deploy to work > … ? If so, thoughts about what I may be overlooking? A port I need to > install, maybe? > > Thx > > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org"