[wildfly-dev] Fwd: Running an Arquillian test with WildFly on OpenShift
Sebastian Łaskawiec
slaskawi at redhat.com
Thu Sep 25 03:46:36 EDT 2014
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:
https://www.openshift.com/forums/openshift/jboss-as7-management-in-openshift
you should be able to forward ports to your local machine using " /rhc
port-forward app/"
After that you could use localhost:9990
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
Please let us know if any of those 2 solutions worked for you :)
Best regards
Sebastian
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
>
> javaee7-milestogo.rhcloud.com
> 127.7.102.129
> ${env.OPENSHIFT_WILDFLY_IP}
>
> 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: 107.21.74.39. 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"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://jboss.org/schema/arquillian
> http://jboss.org/schema/arquillian/arquillian_1_0.xsd">
> <container qualifier="arquillian-wildfly-managed" />
> <container qualifier="arquillian-wildfly-remote">
> <configuration>
> <!-- <property name="managementAddress">127.7.102.129</property> -->
> <!-- <property name="managementAddress">javaee7-milestogo.rhcloud.com</property>
> -->
> <property name="managementAddress">107.21.74.39</property>
> <property name="managementPort">9990</property>
> </configuration>
> </container>
> </arquillian>
>
> I can run the test fine against a local WildFly instance.
>
> Any suggestions ?
>
> Arun
>
> --
> http://blog.arungupta.me
> http://twitter.com/arungupta
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/wildfly-dev/attachments/20140925/0d87196a/attachment.html
More information about the wildfly-dev
mailing list