my dog learned polymorphism*
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBoss AS 7: starts but can Watch "JBoss AS 7: starts but can New topic
Author

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 standalone.sh. 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)?

Karsten

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


OCJP JavaSE 6 (86%)
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9947
    
160

Replied here http://community.jboss.org/message/618795#618795

[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.

Karsten
 
It is sorta covered in the JavaRanch Style Guide.
 
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 [org.jboss.msc.service.fail] - Empty name segment is not allowed
Failed to start service jboss.deployment.unit
Where is my wsdl path?