[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jboss-user
Subject:    [jboss-user] [Beginner's Corner] - Cannot access JBoss 7.0.2 Web Interfaces (TCP port 8080, 9990) on
From:       Michael Peoples <do-not-reply () jboss ! com>
Date:       2012-01-31 15:58:36
Message-ID: 2-649697-3-97030-1328025512892.jivesbs.jivemailuser () https://community ! jboss ! org
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Michael Peoples [https://community.jboss.org/people/mp4783] created the discussion

"Cannot access JBoss 7.0.2 Web Interfaces (TCP port 8080, 9990) on Linux"

To view the discussion, visit: https://community.jboss.org/message/649697#649697

--------------------------------------------------------------
I have just completed a fresh installation of JBoss 7.0.2 on a Linux Centos 5 server. \
I start the server at the command line (problem occurs in both standalone and domain \
modes) and JBoss starts without errors.

When I attempt, from my local Windows workstation, to access the Welcome screen at \
TCP port 8080 or the management console at port 9990, the connection fails.

I have confirmed that the processes are listening at those ports (netstat -anop | \
grep 8080 or netstat -anop | grep 9990).

I have confirmed that the Linux firewall (iptables) is set to allow access to these \
ports.   I have confirmed that I can access other applications (e.g., Apache, Webmin) \
at their respective ports.

On the localhost, I can telnet to port 8080 and it connects.   I have also tried to \
telnet from another host on the same subnet to eliminate the possibility of an \
upstream firewall blocking the connection (there are none to my knowledge). This \
fails.

Are there additional configuration changes necessary to allow external access to \
these interfaces?   I have searched through the documentation, but there isn't even a \
mention of a firewalls or network access restrictions.

Any help would be very much appreciated.

Thanks.

Following are the initial messages shown when JBoss is started in standalone mode:

=========================================================================

   JBoss Bootstrap Environment

   JBOSS_HOME: /opt/jboss

   JAVA: /usr/java/latest/bin/java

   JAVA_OPTS: -server -Xms64m -Xmx512m -XX:MaxPermSize=256m \
-Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true \
-Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 \
-Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true

=========================================================================

10:56:42,354 INFO   [org.jboss.modules] JBoss Modules version 1.0.2.GA
10:56:42,881 INFO   [org.jboss.msc] JBoss MSC version 1.0.1.GA
10:56:43,010 INFO   [org.jboss.as] JBoss AS 7.0.2.Final "Arc" starting
10:56:44,918 WARN   [org.jboss.as] No security realm defined for native management \
service, all access will be unrestricted. 10:56:45,188 INFO   [org.jboss.as] creating \
http management service using network interface (management) port (9990) 10:56:45,192 \
WARN   [org.jboss.as] No security realm defined for http management service, all \
access will be unrestricted. 10:56:45,213 INFO   [org.jboss.as.logging] Removing \
bootstrap log handlers 10:56:45,272 INFO   \
[org.jboss.as.connector.subsystems.datasources] (Controller Boot Thread) Deploying \
JDBC-compliant driver class org.h2.Driver (version 1.2) 10:56:45,305 INFO   \
[org.jboss.as.clustering.infinispan.subsystem] (Controller Boot Thread) Activating \
Infinispan subsystem. 10:56:45,532 INFO   [org.jboss.as.naming] (Controller Boot \
Thread) JBAS011800: Activating Naming Subsystem 10:56:45,567 INFO   \
[org.jboss.as.naming] (MSC service thread 1-2) JBAS011802: Starting Naming Service \
10:56:45,582 INFO   [org.jboss.as.osgi] (Controller Boot Thread) JBAS011910: \
Activating OSGi Subsystem 10:56:45,637 INFO   [org.jboss.remoting] (MSC service \
thread 1-4) JBoss Remoting version 3.2.0.Beta2 10:56:45,638 INFO   \
[org.jboss.as.security] (Controller Boot Thread) Activating Security Subsystem \
10:56:45,661 INFO   [org.xnio] (MSC service thread 1-4) XNIO Version 3.0.0.Beta3 \
10:56:45,703 INFO   [org.xnio.nio] (MSC service thread 1-4) XNIO NIO Implementation \
Version 3.0.0.Beta3 10:56:46,204 INFO   \
[org.apache.catalina.core.AprLifecycleListener] (MSC service thread 1-4) The Apache \
Tomcat Native library which allows optimal performance in production environments was \
not found on the java.library.path: \
/usr/java/jdk1.6.0_30/jre/lib/i386/server:/usr/java/jdk1.6.0_30/jre/lib/i386:/usr/java/jdk1.6.0_30/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
 10:56:46,293 INFO   [org.jboss.as.remoting] (MSC service thread 1-3) Listening on \
/127.0.0.1:9999 10:56:46,295 INFO   [org.jboss.as.ee] (Controller Boot Thread) \
Activating EE subsystem 10:56:46,555 INFO   [org.jboss.as.jmx.JMXConnectorService] \
(MSC service thread 1-1) Starting remote JMX connector 10:56:46,601 INFO   \
[org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-2) Starting Coyote \
HTTP/1.1 on http--127.0.0.1-8080 10:56:46,954 INFO   [org.jboss.as.connector] (MSC \
service thread 1-2) Starting JCA Subsystem (JBoss IronJacamar 1.0.3.Final) \
10:56:47,080 INFO   [org.jboss.as.connector.subsystems.datasources] (MSC service \
thread 1-3) Bound data source [java:jboss/datasources/ExampleDS] 10:56:47,849 INFO   \
[org.jboss.as.deployment] (MSC service thread 1-4) Started \
FileSystemDeploymentService for directory /opt/jboss/standalone/deployments \
10:56:47,924 INFO   [org.jboss.as] (Controller Boot Thread) JBoss AS 7.0.2.Final \
"Arc" started in 6045ms - Started 93 of 148 services (55 services are passive or \
                on-demand)
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/649697#649697]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]



[Attachment #5 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; \
margin: 0; padding: 20px;">

<div>
	<table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: \
1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; \
-webkit-border-radius: 6px;">  <tbody>
			<tr>

				<td>

					<table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" \
style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: \
6px; -webkit-border-radius: 6px;">  <tbody>
							<tr>
								<td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px \
solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; \
-moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; \
                -webkit-border-top-left-radius: 5px;">
									<h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; \
                margin: 0; display: block !important;">
									<!-- To have a header image/logo replace the name below with your img tag \
                -->
									<!-- Email clients will render the images when the message is read so any \
                image -->
									<!-- must be made available on a public server, so that all recipients can \
                load the image. -->
									<a href="https://community.jboss.org/index.jspa" style="text-decoration: \
none; color: #E1E1E1">JBoss Community</a></h1>  </td>

							</tr>
							<tr>
								<td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; \
color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; \
-moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; \
-webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: \
17px; font-weight: normal;">  Cannot access JBoss 7.0.2 Web Interfaces (TCP port \
8080, 9990) on Linux </h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/mp4783">Michael \
Peoples</a> in <i>Beginner's Corner</i> - <a \
href="https://community.jboss.org/message/649697#649697">View the full discussion</a> \
</span> <hr style="margin: 20px 0; border: none; background-color: #dadada; height: \
1px;">

<div class="jive-rendered-content"><p>I have just completed a fresh installation of \
JBoss 7.0.2 on a Linux Centos 5 server.&#160; I start the server at the command line \
(problem occurs in both standalone and domain modes) and JBoss starts without \
errors.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>When I \
attempt, from my local Windows workstation, to access the Welcome screen at TCP port \
8080 or the management console at port 9990, the connection fails.</p><p \
style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I have confirmed \
that the processes are listening at those ports (netstat -anop | grep 8080 or netstat \
-anop | grep 9990).</p><p style="min-height: 8pt; height: 8pt; padding: \
0px;">&#160;</p><p>I have confirmed that the Linux firewall (iptables) is set to \
allow access to these ports.&#160; I have confirmed that I can access other \
applications (e.g., Apache, Webmin) at their respective ports.</p><p \
style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>On the localhost, I \
can telnet to port 8080 and it connects.&#160; I have also tried to telnet from \
another host on the same subnet to eliminate the possibility of an upstream firewall \
blocking the connection (there are none to my knowledge). This fails.</p><p \
style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Are there additional \
configuration changes necessary to allow external access to these interfaces?&#160; I \
have searched through the documentation, but there isn't even a mention of a \
firewalls or network access restrictions.</p><p style="min-height: 8pt; height: 8pt; \
padding: 0px;">&#160;</p><p>Any help would be very much appreciated.</p><p \
style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Thanks.</p><p \
style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Following are the \
initial messages shown when JBoss is started in standalone mode:</p><p \
style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span \
style="font-family: courier \
new,courier;">=========================================================================</span></p><p \
style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span \
style="font-family: courier new,courier;">&#160; JBoss Bootstrap \
Environment</span></p><p style="min-height: 8pt; height: 8pt; padding: \
0px;">&#160;</p><p><span style="font-family: courier new,courier;">&#160; JBOSS_HOME: \
/opt/jboss</span></p><p style="min-height: 8pt; height: 8pt; padding: \
0px;">&#160;</p><p><span style="font-family: courier new,courier;">&#160; JAVA: \
/usr/java/latest/bin/java</span></p><p style="min-height: 8pt; height: 8pt; padding: \
0px;">&#160;</p><p><span style="font-family: courier new,courier;">&#160; JAVA_OPTS: \
-server -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true \
-Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 \
-Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman \
-Djava.awt.headless=true</span></p><p style="min-height: 8pt; height: 8pt; padding: \
0px;">&#160;</p><p><span style="font-family: courier \
new,courier;">=========================================================================</span></p><p \
style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span \
style="font-family: courier new,courier;">10:56:42,354 INFO&#160; [org.jboss.modules] \
JBoss Modules version 1.0.2.GA</span></p><p><span style="font-family: courier \
new,courier;">10:56:42,881 INFO&#160; [org.jboss.msc] JBoss MSC version \
1.0.1.GA</span></p><p><span style="font-family: courier new,courier;">10:56:43,010 \
INFO&#160; [org.jboss.as] JBoss AS 7.0.2.Final "Arc" starting</span></p><p><span \
style="font-family: courier new,courier;">10:56:44,918 WARN&#160; [org.jboss.as] No \
security realm defined for native management service, all access will be \
unrestricted.</span></p><p><span style="font-family: courier \
new,courier;">10:56:45,188 INFO&#160; [org.jboss.as] creating http management service \
using network interface (management) port (9990)</span></p><p><span \
style="font-family: courier new,courier;">10:56:45,192 WARN&#160; [org.jboss.as] No \
security realm defined for http management service, all access will be \
unrestricted.</span></p><p><span style="font-family: courier \
new,courier;">10:56:45,213 INFO&#160; [org.jboss.as.logging] Removing bootstrap log \
handlers</span></p><p><span style="font-family: courier new,courier;">10:56:45,272 \
INFO&#160; [org.jboss.as.connector.subsystems.datasources] (Controller Boot Thread) \
Deploying JDBC-compliant driver class org.h2.Driver (version 1.2)</span></p><p><span \
style="font-family: courier new,courier;">10:56:45,305 INFO&#160; \
[org.jboss.as.clustering.infinispan.subsystem] (Controller Boot Thread) Activating \
Infinispan subsystem.</span></p><p><span style="font-family: courier \
new,courier;">10:56:45,532 INFO&#160; [org.jboss.as.naming] (Controller Boot Thread) \
JBAS011800: Activating Naming Subsystem</span></p><p><span style="font-family: \
courier new,courier;">10:56:45,567 INFO&#160; [org.jboss.as.naming] (MSC service \
thread 1-2) JBAS011802: Starting Naming Service</span></p><p><span \
style="font-family: courier new,courier;">10:56:45,582 INFO&#160; [org.jboss.as.osgi] \
(Controller Boot Thread) JBAS011910: Activating OSGi Subsystem</span></p><p><span \
style="font-family: courier new,courier;">10:56:45,637 INFO&#160; \
[org.jboss.remoting] (MSC service thread 1-4) JBoss Remoting version \
3.2.0.Beta2</span></p><p><span style="font-family: courier new,courier;">10:56:45,638 \
INFO&#160; [org.jboss.as.security] (Controller Boot Thread) Activating Security \
Subsystem</span></p><p><span style="font-family: courier new,courier;">10:56:45,661 \
INFO&#160; [org.xnio] (MSC service thread 1-4) XNIO Version \
3.0.0.Beta3</span></p><p><span style="font-family: courier new,courier;">10:56:45,703 \
INFO&#160; [org.xnio.nio] (MSC service thread 1-4) XNIO NIO Implementation Version \
3.0.0.Beta3</span></p><p><span style="font-family: courier new,courier;">10:56:46,204 \
INFO&#160; [org.apache.catalina.core.AprLifecycleListener] (MSC service thread 1-4) \
The Apache Tomcat Native library which allows optimal performance in production \
environments was not found on the java.library.path: \
/usr/java/jdk1.6.0_30/jre/lib/i386/server:/usr/java/jdk1.6.0_30/jre/lib/i386:/usr/java \
/jdk1.6.0_30/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib</span></p><p><span \
style="font-family: courier new,courier;">10:56:46,293 INFO&#160; \
[org.jboss.as.remoting] (MSC service thread 1-3) Listening on \
/127.0.0.1:9999</span></p><p><span style="font-family: courier \
new,courier;">10:56:46,295 INFO&#160; [org.jboss.as.ee] (Controller Boot Thread) \
Activating EE subsystem</span></p><p><span style="font-family: courier \
new,courier;">10:56:46,555 INFO&#160; [org.jboss.as.jmx.JMXConnectorService] (MSC \
service thread 1-1) Starting remote JMX connector</span></p><p><span \
style="font-family: courier new,courier;">10:56:46,601 INFO&#160; \
[org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-2) Starting Coyote \
HTTP/1.1 on http--127.0.0.1-8080</span></p><p><span style="font-family: courier \
new,courier;">10:56:46,954 INFO&#160; [org.jboss.as.connector] (MSC service thread \
1-2) Starting JCA Subsystem (JBoss IronJacamar 1.0.3.Final)</span></p><p><span \
style="font-family: courier new,courier;">10:56:47,080 INFO&#160; \
[org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) Bound data \
source [java:jboss/datasources/ExampleDS]</span></p><p><span style="font-family: \
courier new,courier;">10:56:47,849 INFO&#160; [org.jboss.as.deployment] (MSC service \
thread 1-4) Started FileSystemDeploymentService for directory \
/opt/jboss/standalone/deployments</span></p><p><span style="font-family: courier \
new,courier;">10:56:47,924 INFO&#160; [org.jboss.as] (Controller Boot Thread) JBoss \
AS 7.0.2.Final "Arc" started in 6045ms - Started 93 of 148 services (55 services are \
passive or on-demand)</span></p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a \
href="https://community.jboss.org/message/649697#649697">going to Community</a></p>  \
<p style="margin: 0;">Start a new discussion in Beginner's Corner at <a \
href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075">Community</a></p>
 </div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>



_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic