Hi Arun,
I think in openshift you need to enable port forwarding in order to have
access to the server. By default that isn't enabled. There is this command
: rhc port-forward -a <name_of_application>
Read more about it in the following link:
regards
\n\b
On Thu, Sep 25, 2014 at 9:46 AM, Sebastian Łaskawiec <slaskawi(a)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
<
http://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>(a)javaee7-milestogo.rhcloud.com
<
http://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(a)gmail.com> <arun.gupta(a)gmail.com>
Date: Wed, Sep 24, 2014 at 4:50 PM
Subject: Running an Arquillian test with WildFly on OpenShift
To: Farah Juma <fjuma(a)redhat.com> <fjuma(a)redhat.com>, Brian
Stansberry<brian.stansberry(a)redhat.com> <brian.stansberry(a)redhat.com>, Aslak
Knutsen <aslak(a)4fs.no> <aslak(a)4fs.no>, Grant
Shipley <gshipley(a)redhat.com> <gshipley(a)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"
<
http://jboss.org/schema/arquillian>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<
http://www.w3.org/2001/XMLSchema-instance>
xsi:schemaLocation="http://jboss.org/schema/arquillian
http://jboss.org/schema/arquillian/arquillian_1_0.xsd"
<
http://jboss.org/schema/arquillianhttp://jboss.org/schema/arquillian/arqu...
<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.mehttp://twitter.com/arungupta
_______________________________________________
wildfly-dev mailing list
wildfly-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/wildfly-dev