[wildfly-dev] Fwd: Running an Arquillian test with WildFly on OpenShift
arun.gupta at gmail.com
Thu Sep 25 08:55:32 EDT 2014
On Thu, Sep 25, 2014 at 12:46 AM, Sebastian Łaskawiec
<slaskawi at redhat.com> wrote:
> Hi Arun!
> I think I've seen somewhere that this port is not exposed to the outside
> world. I'm sorry, but I can't find exact link right now...
> However it should be easy to verify it by running:
> "telnet javaee7-milestogo.rhcloud.com 9990"
> According to this thread:
> you should be able to forward ports to your local machine using " rhc
> port-forward app"
> After that you could use localhost:9990
Already tried port forwarding and getting:
Caused by: java.lang.RuntimeException: java.net.ConnectException:
JBAS012174: Could not connect to http-remoting://127.0.0.1:9990. The
I can telnet to localhost 9990 after forwarding the port.
> The other way to solve it is to set up SSH port tunneling like that:
> "ssh -L 9990:localhost:9990 <login>@javaee7-milestogo.rhcloud.com"
> After that try using localhost:9990
This opens up an ssh shell instead. Is this the right command ?
> Please let us know if any of those 2 solutions worked for you :)
> Best regards
> On 09/25/2014 02:39 AM, Arun Gupta wrote:
> Forwarding to a broader alias in case somebody can help.
> ---------- Forwarded message ----------
> From: Arun Gupta <arun.gupta at gmail.com>
> Date: Wed, Sep 24, 2014 at 4:50 PM
> Subject: Running an Arquillian test with WildFly on OpenShift
> To: Farah Juma <fjuma at redhat.com>, Brian Stansberry
> <brian.stansberry at redhat.com>, Aslak Knutsen <aslak at 4fs.no>, Grant
> Shipley <gshipley at redhat.com>
> Trying to run a trivial Arquillian test from my local machine against
> a WildFly instance hosted on OpenShift. Tried using
> in arquillian.xml but keep getting:
> JBAS012144: Could not connect to
> http-remoting://javaee7-milestogo.rhcloud.com:9990. The connection
> timed out
> 127.7.102.129:8080 is timing out as well.
> Hostname to IP address mapping is giving: 18.104.22.168. Tried that and
> didn't work.
> Here is my arquillian.xml:
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
> <arquillian xmlns="http://jboss.org/schema/arquillian"
> <container qualifier="arquillian-wildfly-managed" />
> <container qualifier="arquillian-wildfly-remote">
> <!-- <property name="managementAddress">127.7.102.129</property> -->
> <!-- <property
> <property name="managementAddress">22.214.171.124</property>
> <property name="managementPort">9990</property>
> I can run the test fine against a local WildFly instance.
> Any suggestions ?
More information about the wildfly-dev