From owner-freebsd-java@FreeBSD.ORG Tue Nov 20 21:39:33 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 6986060A for ; Tue, 20 Nov 2012 21:39:33 +0000 (UTC) (envelope-from mfournier@sd63.bc.ca) Received: from mail.sd63.bc.ca (mail.sd63.bc.ca [142.31.146.55]) by mx1.freebsd.org (Postfix) with ESMTP id 3CD058FC0C for ; Tue, 20 Nov 2012 21:39:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.sd63.bc.ca (Postfix) with ESMTP id A4FC01F406B4; Tue, 20 Nov 2012 13:29:53 -0800 (PST) X-Virus-Scanned: amavisd-new at sd63.bc.ca Received: from mail.sd63.bc.ca ([127.0.0.1]) by localhost (mail.sd63.bc.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iEkrGxr5+lQm; Tue, 20 Nov 2012 13:29:52 -0800 (PST) Received: from mail.sd63.bc.ca (localhost [127.0.0.1]) by mail.sd63.bc.ca (Postfix) with ESMTP id 87AA81F40399; Tue, 20 Nov 2012 13:29:52 -0800 (PST) Date: Tue, 20 Nov 2012 13:29:52 -0800 (PST) From: Marc Fournier To: Alexander Yerenkow Message-ID: <10647000.13.1353446989702.JavaMail.mfournier@Marcs-Mac-Pro.local> In-Reply-To: Subject: Re: Hudson -> Jboss7 Auto deploy ... MIME-Version: 1.0 X-Originating-IP: [142.31.148.2] X-Mailer: Zimbra 7.2.1_GA_2790 (Zimbra Desktop/7.2.1_11637_Mac) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-java@freebsd.org 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: Tue, 20 Nov 2012 21:39:33 -0000 'k, can't find 7.1.3: http://www.jboss.org/jbossas/downloads only 7.1.1.Fin= al is listed ...=20 As for the hosts file ... will try that ou t... thx=20 ----- Original Message ----- > From: "Alexander Yerenkow" > To: "Marc Fournier" > Cc: freebsd-java@freebsd.org > Sent: Tuesday, November 20, 2012 12:26:44 PM > Subject: Re: Hudson -> Jboss7 Auto deploy ... > Are you using 7.1.1 JBoss? Could you try 7.1.3 ? > Also, JBoss for some tasks using $hostname, which should be specified > in > hosts file, this could be cause which leads to auth failing. > 2012/11/20 Marc Fournier > > > > I'm having a bugger of a time here, and even one of the Hudson > > developers > > seems to be stump'd =E2=80=A6 > > > > I have a physical server with 3 jails on it =E2=80=A6 one running Tomca= t7, > > one > > running jBoss7 and one running Hudson =E2=80=A6 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 =E2=80=A6 and all thr= ee > > are > > installed from ports updated to today, so the newest versions =E2=80=A6= 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(ProtocolChannel= Client.java:164) > > at > > org.jboss.as.protocol.mgmt.ManagementClientChannelStrategy$Establishing= .getChannel(ManagementClientChannelStrategy.java:166) > > at > > org.jboss.as.controller.client.impl.RemotingModelControllerClient.getOr= CreateChannel(RemotingModelControllerClient.java:138) > > at > > org.jboss.as.controller.client.impl.RemotingModelControllerClient$1.get= Channel(RemotingModelControllerClient.java:62) > > at > > org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(Mana= gementChannelHandler.java:106) > > at > > org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(Mana= gementChannelHandler.java:89) > > at > > org.jboss.as.controller.client.impl.AbstractModelControllerClient.execu= teRequest(AbstractModelControllerClient.java:252) > > at > > org.jboss.as.controller.client.impl.AbstractModelControllerClient.execu= te(AbstractModelControllerClient.java:151) > > at > > org.jboss.as.controller.client.impl.AbstractModelControllerClient.execu= teAsync(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.ha= ndleEvent(ClientConnectionOpenListener.java:315) > > at > > org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.ha= ndleEvent(ClientConnectionOpenListener.java:214) > > at > > org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:7= 2) > > at > > org.xnio.channels.TranslatingSuspendableChannel.handleReadable(Translat= ingSuspendableChannel.java:189) > > at > > org.xnio.channels.TranslatingSuspendableChannel$1.handleEvent(Translati= ngSuspendableChannel.java:103) > > at > > org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:7= 2) > > at > > org.xnio.channels.TranslatingSuspendableChannel.handleReadable(Translat= ingSuspendableChannel.java:189) > > at > > org.xnio.ssl.JsseConnectedSslStreamChannel.handleReadable(JsseConnected= SslStreamChannel.java:180) > > at > > org.xnio.channels.TranslatingSuspendableChannel$1.handleEvent(Translati= ngSuspendableChannel.java:103) > > at > > org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:7= 2) > > 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(ProtocolChannelClie= nt.java:125) > > at > > org.jboss.as.protocol.ProtocolChannelClient.connectSync(ProtocolChannel= Client.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 =E2= =80=A6 > > and, > > again, it works fine to Tomcat7 on the same physical server, with > > the jails > > setup the same way =E2=80=A6 > > > > Has anyone else successfully gotten Hudson -> jBoss7 Auto Deploy to > > work =E2=80=A6 > > ? 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" > > > -- > Regards, > Alexander Yerenkow > _______________________________________________ > 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"