From owner-freebsd-java@FreeBSD.ORG Tue Nov 20 22:36:20 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 6C956B27 for ; Tue, 20 Nov 2012 22:36:20 +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 425798FC0C for ; Tue, 20 Nov 2012 22:36:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.sd63.bc.ca (Postfix) with ESMTP id C9D651F407B1; Tue, 20 Nov 2012 14:36:19 -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 8xay2AiZxzCp; Tue, 20 Nov 2012 14:36:18 -0800 (PST) Received: from mail.sd63.bc.ca (localhost [127.0.0.1]) by mail.sd63.bc.ca (Postfix) with ESMTP id A810F1F406B1; Tue, 20 Nov 2012 14:36:18 -0800 (PST) Date: Tue, 20 Nov 2012 14:36:18 -0800 (PST) From: Marc Fournier To: Alexander Yerenkow Message-ID: <22157425.52.1353450978084.JavaMail.mfournier@Marcs-Mac-Pro.local> In-Reply-To: <21367370.47.1353450131039.JavaMail.mfournier@Marcs-Mac-Pro.local> 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 22:36:20 -0000 ignore that ... found the jboss-cli.sh, ran it from hudson VPS, connects *a= nd* deploys no problem ... so it seems like something in hudson (or my huds= on config) that is awry ...=20 ----- Original Message ----- > From: "Marc Fournier" > To: "Alexander Yerenkow" > Cc: freebsd-java@freebsd.org > Sent: Tuesday, November 20, 2012 2:22:13 PM > Subject: Re: Hudson -> Jboss7 Auto deploy ... > is there a CLI that I can use to test doign a remote deploy *outside* > of hudson? just to confirm which side is potentially causing the > issue ... ? > ----- Original Message ----- > > From: "Alexander Yerenkow" >=20 > > To: "Marc Fournier" >=20 > > Cc: freebsd-java@freebsd.org >=20 > > Sent: Tuesday, November 20, 2012 1:37:09 PM >=20 > > Subject: Re: Hudson -> Jboss7 Auto deploy ... >=20 > > 2012/11/20 Marc Fournier >=20 > > > >=20 > > > 'k, can't find 7.1.3: http://www.jboss.org/jbossas/downloads only >=20 > > > 7.1.1.Final is listed ... >=20 > > > >=20 > > http://lists.freebsd.org/pipermail/freebsd-ports/2012-November/079529.h= tml >=20 > > In this thread I posted port archive; soon it will be in ports > > tree, > > also >=20 > > there some kinda of explanation why 7.1.3 not in their site.\ >=20 > > > As for the hosts file ... will try that ou t... thx >=20 > > > >=20 > > > >=20 > > > >=20 > > > ------------------------------ >=20 > > > >=20 > > > *From: *"Alexander Yerenkow" >=20 > > > *To: *"Marc Fournier" >=20 > > > *Cc: *freebsd-java@freebsd.org >=20 > > > *Sent: *Tuesday, November 20, 2012 12:26:44 PM >=20 > > > *Subject: *Re: Hudson -> Jboss7 Auto deploy ... >=20 > > > >=20 > > > >=20 > > > Are you using 7.1.1 JBoss? Could you try 7.1.3 ? >=20 > > > >=20 > > > Also, JBoss for some tasks using $hostname, which should be > > > specified in >=20 > > > hosts file, this could be cause which leads to auth failing. >=20 > > > >=20 > > > >=20 > > > 2012/11/20 Marc Fournier >=20 > > > >=20 > > > > >=20 > > > > I'm having a bugger of a time here, and even one of the Hudson > > > > developers >=20 > > > > seems to be stump'd =E2=80=A6 >=20 > > > > >=20 > > > > I have a physical server with 3 jails on it =E2=80=A6 one running > > > > Tomcat7, one >=20 > > > > running jBoss7 and one running Hudson =E2=80=A6 Hudson has no probl= ems >=20 > > > > auto-deploying to Tomcat7, but we can't get it to auto-deploy > > > > to > > > > jBoss7 >=20 > > > > >=20 > > > > I'm running both Hudson and jBoss7 using OpenJDK7 =E2=80=A6 and all > > > > three > > > > are >=20 > > > > installed from ports updated to today, so the newest versions =E2= =80=A6 > > > > I'm also >=20 > > > > running the newest version of the Hudson Deploy Plugin (1.8), > > > > which does >=20 > > > > list jBoss7 as one of the supported deploy servers. >=20 > > > > >=20 > > > > After I installed jBoss, I: >=20 > > > > >=20 > > > > 1. bin/add_user.sh >=20 > > > > 2. edited standalone/configuration/standalone.xml and replaced > > > > 127.0.0.1 >=20 > > > > with the IP of the jail it is running in >=20 > > > > 3. bin/standalone.sh >=20 > > > > >=20 > > > > But when I do a deploy from Hudson, I get an error about: >=20 > > > > >=20 > > > > Caused by: java.net.ConnectException: JBAS012174: Could not > > > > connect to >=20 > > > > remote://10.5.254.56:9999. The connection failed >=20 > > > > at >=20 > > > > >=20 > > > org.jboss.as.protocol.ProtocolChannelClient.connectSync(ProtocolChann= elClient.java:164) >=20 > > > > at >=20 > > > > >=20 > > > org.jboss.as.protocol.mgmt.ManagementClientChannelStrategy$Establishi= ng.getChannel(ManagementClientChannelStrategy.java:166) >=20 > > > > at >=20 > > > > >=20 > > > org.jboss.as.controller.client.impl.RemotingModelControllerClient.get= OrCreateChannel(RemotingModelControllerClient.java:138) >=20 > > > > at >=20 > > > > >=20 > > > org.jboss.as.controller.client.impl.RemotingModelControllerClient$1.g= etChannel(RemotingModelControllerClient.java:62) >=20 > > > > at >=20 > > > > >=20 > > > org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(Ma= nagementChannelHandler.java:106) >=20 > > > > at >=20 > > > > >=20 > > > org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(Ma= nagementChannelHandler.java:89) >=20 > > > > at >=20 > > > > >=20 > > > org.jboss.as.controller.client.impl.AbstractModelControllerClient.exe= cuteRequest(AbstractModelControllerClient.java:252) >=20 > > > > at >=20 > > > > >=20 > > > org.jboss.as.controller.client.impl.AbstractModelControllerClient.exe= cute(AbstractModelControllerClient.java:151) >=20 > > > > at >=20 > > > > >=20 > > > org.jboss.as.controller.client.impl.AbstractModelControllerClient.exe= cuteAsync(AbstractModelControllerClient.java:111) >=20 > > > > ... 23 more >=20 > > > > Caused by: javax.security.sasl.SaslException: Authentication > > > > failed: all >=20 > > > > available authentication mechanisms failed >=20 > > > > at >=20 > > > > >=20 > > > org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.= handleEvent(ClientConnectionOpenListener.java:315) >=20 > > > > at >=20 > > > > >=20 > > > org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.= handleEvent(ClientConnectionOpenListener.java:214) >=20 > > > > at >=20 > > > > org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.ja= va:72) >=20 > > > > at >=20 > > > > >=20 > > > org.xnio.channels.TranslatingSuspendableChannel.handleReadable(Transl= atingSuspendableChannel.java:189) >=20 > > > > at >=20 > > > > >=20 > > > org.xnio.channels.TranslatingSuspendableChannel$1.handleEvent(Transla= tingSuspendableChannel.java:103) >=20 > > > > at >=20 > > > > org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.ja= va:72) >=20 > > > > at >=20 > > > > >=20 > > > org.xnio.channels.TranslatingSuspendableChannel.handleReadable(Transl= atingSuspendableChannel.java:189) >=20 > > > > at >=20 > > > > >=20 > > > org.xnio.ssl.JsseConnectedSslStreamChannel.handleReadable(JsseConnect= edSslStreamChannel.java:180) >=20 > > > > at >=20 > > > > >=20 > > > org.xnio.channels.TranslatingSuspendableChannel$1.handleEvent(Transla= tingSuspendableChannel.java:103) >=20 > > > > at >=20 > > > > org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.ja= va:72) >=20 > > > > at org.xnio.nio.NioHandle.run(NioHandle.java:90) >=20 > > > > at org.xnio.nio.WorkerThread.run(WorkerThread.java:184) >=20 > > > > at ...asynchronous invocation...(Unknown Source) >=20 > > > > at >=20 > > > > org.jboss.remoting3.EndpointImpl.doConnect(EndpointImpl.java:270) >=20 > > > > at >=20 > > > > org.jboss.remoting3.EndpointImpl.doConnect(EndpointImpl.java:251) >=20 > > > > at >=20 > > > org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:349) >=20 > > > > at >=20 > > > org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:337) >=20 > > > > at >=20 > > > > >=20 > > > org.jboss.as.protocol.ProtocolChannelClient.connect(ProtocolChannelCl= ient.java:125) >=20 > > > > at >=20 > > > > >=20 > > > org.jboss.as.protocol.ProtocolChannelClient.connectSync(ProtocolChann= elClient.java:134) >=20 > > > > ... 31 more >=20 > > > > >=20 > > > > I've tested the connection from Hudson -> jBoss:9999 using > > > > telnet, to >=20 > > > make >=20 > > > > sure there were no unknown blocks in place, and it all seems > > > > fine > > > > =E2=80=A6 and, >=20 > > > > again, it works fine to Tomcat7 on the same physical server, > > > > with > > > > the >=20 > > > jails >=20 > > > > setup the same way =E2=80=A6 >=20 > > > > >=20 > > > > Has anyone else successfully gotten Hudson -> jBoss7 Auto > > > > Deploy > > > > to work >=20 > > > =E2=80=A6 >=20 > > > > ? If so, thoughts about what I may be overlooking? A port I > > > > need > > > > to >=20 > > > > install, maybe? >=20 > > > > >=20 > > > > Thx >=20 > > > > >=20 > > > > _______________________________________________ >=20 > > > > freebsd-java@freebsd.org mailing list >=20 > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-java >=20 > > > > To unsubscribe, send any mail to > > > > "freebsd-java-unsubscribe@freebsd.org" >=20 > > > > >=20 > > > >=20 > > > >=20 > > > >=20 > > > -- >=20 > > > Regards, >=20 > > > Alexander Yerenkow >=20 > > > _______________________________________________ >=20 > > > freebsd-java@freebsd.org mailing list >=20 > > > http://lists.freebsd.org/mailman/listinfo/freebsd-java >=20 > > > To unsubscribe, send any mail to > > > "freebsd-java-unsubscribe@freebsd.org" >=20 > > > >=20 > > > >=20 > > > >=20 > > -- >=20 > > Regards, >=20 > > Alexander Yerenkow >=20 > > _______________________________________________ >=20 > > freebsd-java@freebsd.org mailing list >=20 > > http://lists.freebsd.org/mailman/listinfo/freebsd-java >=20 > > To unsubscribe, send any mail to > > "freebsd-java-unsubscribe@freebsd.org" >=20