Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Nov 2012 23:37:09 +0200
From:      Alexander Yerenkow <yerenkow@gmail.com>
To:        Marc Fournier <mfournier@sd63.bc.ca>
Cc:        freebsd-java@freebsd.org
Subject:   Re: Hudson -> Jboss7 Auto deploy ...
Message-ID:  <CAPJF9w=dHPB=YRtCM4WYHqrM=6ZXdMM9r01gC9Rn7fuY3Zd2%2Bg@mail.gmail.com>
In-Reply-To: <10647000.13.1353446989702.JavaMail.mfournier@Marcs-Mac-Pro.local>
References:  <CAPJF9wkegX93eHr1qCOjUGrh81g3-MQ5xW8jV_nXBpYWiuX7rQ@mail.gmail.com> <10647000.13.1353446989702.JavaMail.mfournier@Marcs-Mac-Pro.local>

next in thread | previous in thread | raw e-mail | index | archive | help
2012/11/20 Marc Fournier <mfournier@sd63.bc.ca>

>
> 'k, can't find 7.1.3: http://www.jboss.org/jbossas/downloads  only
> 7.1.1.Final is listed ...
>

http://lists.freebsd.org/pipermail/freebsd-ports/2012-November/079529.html
In this thread I posted port archive; soon it will be in ports tree, also
there some kinda of explanation why 7.1.3 not in their site.\


> As for the hosts file ... will try that ou t... thx
>
>
>
> ------------------------------
>
> *From: *"Alexander Yerenkow" <yerenkow@gmail.com>
> *To: *"Marc Fournier" <mfournier@sd63.bc.ca>
> *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 <mfournier@sd63.bc.ca>
>
> >
> > I'm having a bugger of a time here, and even one of the Hudson develope=
rs
> > seems to be stump'd =85
> >
> > I have a physical server with 3 jails on it =85 one running Tomcat7, on=
e
> > running jBoss7 and one running Hudson =85 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 =85 and all three are
> > installed from ports updated to today, so the newest versions =85 I'm a=
lso
> > running the newest version of the Hudson Deploy Plugin (1.8), which doe=
s
> > list jBoss7 as one of the supported deploy servers.
> >
> > After I installed jBoss, I:
> >
> > 1. bin/add_user.sh <deploy user> <deploy pass>
> > 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(ProtocolChannelCl=
ient.java:164)
> >         at
> >
> org.jboss.as.protocol.mgmt.ManagementClientChannelStrategy$Establishing.g=
etChannel(ManagementClientChannelStrategy.java:166)
> >         at
> >
> org.jboss.as.controller.client.impl.RemotingModelControllerClient.getOrCr=
eateChannel(RemotingModelControllerClient.java:138)
> >         at
> >
> org.jboss.as.controller.client.impl.RemotingModelControllerClient$1.getCh=
annel(RemotingModelControllerClient.java:62)
> >         at
> >
> org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(Manage=
mentChannelHandler.java:106)
> >         at
> >
> org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(Manage=
mentChannelHandler.java:89)
> >         at
> >
> org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute=
Request(AbstractModelControllerClient.java:252)
> >         at
> >
> org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute=
(AbstractModelControllerClient.java:151)
> >         at
> >
> org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute=
Async(AbstractModelControllerClient.java:111)
> >         ... 23 more
> > Caused by: javax.security.sasl.SaslException: Authentication failed: al=
l
> > available authentication mechanisms failed
> >         at
> >
> org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.hand=
leEvent(ClientConnectionOpenListener.java:315)
> >         at
> >
> org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.hand=
leEvent(ClientConnectionOpenListener.java:214)
> >         at
> > org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:7=
2)
> >         at
> >
> org.xnio.channels.TranslatingSuspendableChannel.handleReadable(Translatin=
gSuspendableChannel.java:189)
> >         at
> >
> org.xnio.channels.TranslatingSuspendableChannel$1.handleEvent(Translating=
SuspendableChannel.java:103)
> >         at
> > org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:7=
2)
> >         at
> >
> org.xnio.channels.TranslatingSuspendableChannel.handleReadable(Translatin=
gSuspendableChannel.java:189)
> >         at
> >
> org.xnio.ssl.JsseConnectedSslStreamChannel.handleReadable(JsseConnectedSs=
lStreamChannel.java:180)
> >         at
> >
> org.xnio.channels.TranslatingSuspendableChannel$1.handleEvent(Translating=
SuspendableChannel.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(ProtocolChannelClient=
.java:125)
> >         at
> >
> org.jboss.as.protocol.ProtocolChannelClient.connectSync(ProtocolChannelCl=
ient.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 =85 a=
nd,
> > again, it works fine to Tomcat7 on the same physical server, with the
> jails
> > setup the same way =85
> >
> > Has anyone else successfully gotten Hudson -> jBoss7 Auto Deploy to wor=
k
> =85
> > ?  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"
>
>
>


--=20
Regards,
Alexander Yerenkow



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPJF9w=dHPB=YRtCM4WYHqrM=6ZXdMM9r01gC9Rn7fuY3Zd2%2Bg>