Meaningless Drivel is fun!*
The moose likes JBoss/WildFly and the fly likes JBoss AS 7: starts but can't connect (Linux, remote) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBoss AS 7: starts but can Watch "JBoss AS 7: starts but can New topic

JBoss AS 7: starts but can't connect (Linux, remote)

Karsten Wutzke
Ranch Hand

Joined: Jul 20, 2010
Posts: 106

This is my first time installing a server on a remote webspace, so beware. (I know it could turn out to be a non-JBAS question in the end.)

I've installed a JRE, put JBoss AS 7 into some dir, and executed The server starts up regularly:

As you can see from the trace I have the default datasource hooked up, ExampleDS. Port is 8080, all unchanged. In Windows localhost environments this usually suffices to get a connection to the server via http://localhost:8080/.

However, when I enter my domain name and/or IP address plus port 8080 I can't connect. Must be something missing in my Linux configuration. But what? Might there be a service not listening to the port? How do I find out? Does the standalone.xml need something I haven't set?

What would a Windows user not know to configure on a remote Linux machine (running in a regular virtual server env)?


PS: this is a standard JBoss AS 7 install, no cluster or anything.

OCJP JavaSE 6 (86%)
Jaikiran Pai

Joined: Jul 20, 2005
Posts: 9930

Replied here

[My Blog] [JavaRanch Journal]
Karsten Wutzke
Ranch Hand

Joined: Jul 20, 2010
Posts: 106

Correct, thanks! I was copying standalone.xml to and from my localhost and I must have overwritten the server file sometime without noticing.

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: JBoss AS 7: starts but can't connect (Linux, remote)
Similar Threads
want to ran wicket in Jboss
Jboss 7 Datasource configured correctly...But unable to connect
JBoss 7 Final - ERROR [] - Empty name segment is not allowed
Failed to start service jboss.deployment.unit
Where is my wsdl path?