<!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="http://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;">
    Re: JBoss As 7 problem with jndi port
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/pd.rocha">Pedro Rocha</a> in <i>JNDI and Naming</i> - <a href="http://community.jboss.org/message/619279#619279">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Peter,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I'm using the app server in my computer with default configuration in standalone.xml.</p><p>When I start the server I'm using standalone.bat</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span class="hps">The strange thing is</span> <span class="hps">that the</span> <span class="hps">JNDI</span> <span class="hps">port 1099</span> <span class="hps">works</span> <span class="hps">right on my</span> <span class="hps">machine</span> <span class="hps">with JBoss</span> <span class="hps">5</span></p><p><span class="hps"><br/></span></p><p>Boot.log</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>13:45:40,036 INFO&#160; [org.jboss.modules] JBoss Modules version 1.0.1.GA</p><p>13:45:41,166 INFO&#160; [org.jboss.msc] JBoss MSC version 1.0.0.GA</p><p>13:45:41,346 INFO&#160; [org.jboss.as] JBoss AS 7.0.0.Final "Lightning" starting</p><p>13:45:41,346 DEBUG [org.jboss.as.config] Configured system properties:</p><p>&#160;&#160;&#160; awt.toolkit = sun.awt.windows.WToolkit</p><p>&#160;&#160;&#160; file.encoding = Cp1252</p><p>&#160;&#160;&#160; file.encoding.pkg = sun.io</p><p>&#160;&#160;&#160; file.separator = \</p><p>&#160;&#160;&#160; java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment</p><p>&#160;&#160;&#160; java.awt.printerjob = sun.awt.windows.WPrinterJob</p><p>&#160;&#160;&#160; java.class.path = C:\Program Files\JBoss\jboss-as-web-7.0.0.Final\jboss-modules.jar</p><p>&#160;&#160;&#160; java.class.version = 50.0</p><p>&#160;&#160;&#160; java.endorsed.dirs = C:\Program Files\Java\jdk1.6.0_26\jre\lib\endorsed</p><p>&#160;&#160;&#160; java.ext.dirs = C:\Program Files\Java\jdk1.6.0_26\jre\lib\ext;C:\Windows\Sun\Java\lib\ext</p><p>&#160;&#160;&#160; java.home = C:\Program Files\Java\jdk1.6.0_26\jre</p><p>&#160;&#160;&#160; java.io.tmpdir = C:\Users\pedro\AppData\Local\Temp\</p><p>&#160;&#160;&#160; java.library.path = C:\Program Files\Java\jdk1.6.0_26\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Oracle\product\11.2.0\client_1\bin;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\PHP\;C:\Program Files (x86)\Borland\Delphi7\Bin;C:\Program Files (x86)\Borland\Delphi7\Projects\Bpl\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\CyberLink\Power2Go\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Common Files\Microsoft Shared\Windows Live;.;C:\Program Files\Java\jdk1.6.0_26;C:\Program Files\Java\jdk1.6.0_26\bin;C:\Program Files (x86)\Apache Software Foundation\apache-maven-3.0.3\bin;C:\Program Files\JBoss\jboss-5.1.0.GA\bin;.</p><p>&#160;&#160;&#160; java.runtime.name = Java(TM) SE Runtime Environment</p><p>&#160;&#160;&#160; java.runtime.version = 1.6.0_26-b03</p><p>&#160;&#160;&#160; java.specification.name = Java Platform API Specification</p><p>&#160;&#160;&#160; java.specification.vendor = Sun Microsystems Inc.</p><p>&#160;&#160;&#160; java.specification.version = 1.6</p><p>&#160;&#160;&#160; java.util.logging.manager = org.jboss.logmanager.LogManager</p><p>&#160;&#160;&#160; java.vendor = Sun Microsystems Inc.</p><p>&#160;&#160;&#160; java.vendor.url = <a class="jive-link-external-small" href="http://java.sun.com/" target="_blank">http://java.sun.com/</a></p><p>&#160;&#160;&#160; java.vendor.url.bug = <a class="jive-link-external-small" href="http://java.sun.com/cgi-bin/bugreport.cgi" target="_blank">http://java.sun.com/cgi-bin/bugreport.cgi</a></p><p>&#160;&#160;&#160; java.version = 1.6.0_26</p><p>&#160;&#160;&#160; java.vm.info = mixed mode</p><p>&#160;&#160;&#160; java.vm.name = Java HotSpot(TM) 64-Bit Server VM</p><p>&#160;&#160;&#160; java.vm.specification.name = Java Virtual Machine Specification</p><p>&#160;&#160;&#160; java.vm.specification.vendor = Sun Microsystems Inc.</p><p>&#160;&#160;&#160; java.vm.specification.version = 1.0</p><p>&#160;&#160;&#160; java.vm.vendor = Sun Microsystems Inc.</p><p>&#160;&#160;&#160; java.vm.version = 20.1-b02</p><p>&#160;&#160;&#160; javax.xml.datatype.DatatypeFactory = __redirected.__DatatypeFactory</p><p>&#160;&#160;&#160; javax.xml.parsers.DocumentBuilderFactory = __redirected.__DocumentBuilderFactory</p><p>&#160;&#160;&#160; javax.xml.parsers.SAXParserFactory = __redirected.__SAXParserFactory</p><p>&#160;&#160;&#160; javax.xml.stream.XMLEventFactory = __redirected.__XMLEventFactory</p><p>&#160;&#160;&#160; javax.xml.stream.XMLInputFactory = __redirected.__XMLInputFactory</p><p>&#160;&#160;&#160; javax.xml.stream.XMLOutputFactory = __redirected.__XMLOutputFactory</p><p>&#160;&#160;&#160; javax.xml.transform.TransformerFactory = __redirected.__TransformerFactory</p><p>&#160;&#160;&#160; javax.xml.validation.SchemaFactory:<a class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema" target="_blank">http://www.w3.org/2001/XMLSchema</a> = __redirected.__SchemaFactory</p><p>&#160;&#160;&#160; javax.xml.xpath.XPathFactory:<a class="jive-link-external-small" href="http://java.sun.com/jaxp/xpath/dom" target="_blank">http://java.sun.com/jaxp/xpath/dom</a> = __redirected.__XPathFactory</p><p>&#160;&#160;&#160; jboss.home.dir = C:\Program Files\JBoss\jboss-as-web-7.0.0.Final</p><p>&#160;&#160;&#160; jboss.host.name = pedro-pc</p><p>&#160;&#160;&#160; jboss.modules.dir = C:\Program Files\JBoss\jboss-as-web-7.0.0.Final\modules</p><p>&#160;&#160;&#160; jboss.modules.system.pkgs = org.jboss.byteman</p><p>&#160;&#160;&#160; jboss.node.name = pedro-pc</p><p>&#160;&#160;&#160; jboss.qualified.host.name = pedro-pc</p><p>&#160;&#160;&#160; jboss.server.base.dir = C:\Program Files\JBoss\jboss-as-web-7.0.0.Final\standalone</p><p>&#160;&#160;&#160; jboss.server.config.dir = C:\Program Files\JBoss\jboss-as-web-7.0.0.Final\standalone\configuration</p><p>&#160;&#160;&#160; jboss.server.data.dir = C:\Program Files\JBoss\jboss-as-web-7.0.0.Final\standalone\data</p><p>&#160;&#160;&#160; jboss.server.deploy.dir = C:\Program Files\JBoss\jboss-as-web-7.0.0.Final\standalone\data\content</p><p>&#160;&#160;&#160; jboss.server.log.dir = C:\Program Files\JBoss\jboss-as-web-7.0.0.Final\standalone\log</p><p>&#160;&#160;&#160; jboss.server.name = pedro-pc</p><p>&#160;&#160;&#160; jboss.server.temp.dir = C:\Program Files\JBoss\jboss-as-web-7.0.0.Final\standalone\tmp</p><p>&#160;&#160;&#160; line.separator = </p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160; logging.configuration = file:C:\Program Files\JBoss\jboss-as-web-7.0.0.Final/standalone/configuration/logging.properties</p><p>&#160;&#160;&#160; module.path = C:\Program Files\JBoss\jboss-as-web-7.0.0.Final\modules</p><p>&#160;&#160;&#160; org.jboss.boot.log.file = C:\Program Files\JBoss\jboss-as-web-7.0.0.Final\standalone\log\boot.log</p><p>&#160;&#160;&#160; org.jboss.resolver.warning = true</p><p>&#160;&#160;&#160; org.xml.sax.driver = __redirected.__XMLReaderFactory</p><p>&#160;&#160;&#160; os.arch = amd64</p><p>&#160;&#160;&#160; os.name = Windows Vista</p><p>&#160;&#160;&#160; os.version = 6.0</p><p>&#160;&#160;&#160; path.separator = ;</p><p>&#160;&#160;&#160; program.name = standalone.bat</p><p>&#160;&#160;&#160; sun.arch.data.model = 64</p><p>&#160;&#160;&#160; sun.boot.class.path = C:\Program Files\Java\jdk1.6.0_26\jre\lib\resources.jar;C:\Program Files\Java\jdk1.6.0_26\jre\lib\rt.jar;C:\Program Files\Java\jdk1.6.0_26\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.6.0_26\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.6.0_26\jre\lib\jce.jar;C:\Program Files\Java\jdk1.6.0_26\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.6.0_26\jre\lib\modules\jdk.boot.jar;C:\Program Files\Java\jdk1.6.0_26\jre\classes</p><p>&#160;&#160;&#160; sun.boot.library.path = C:\Program Files\Java\jdk1.6.0_26\jre\bin</p><p>&#160;&#160;&#160; sun.cpu.endian = little</p><p>&#160;&#160;&#160; sun.cpu.isalist = amd64</p><p>&#160;&#160;&#160; sun.desktop = windows</p><p>&#160;&#160;&#160; sun.io.unicode.encoding = UnicodeLittle</p><p>&#160;&#160;&#160; sun.java.command = C:\Program Files\JBoss\jboss-as-web-7.0.0.Final\jboss-modules.jar -mp C:\Program Files\JBoss\jboss-as-web-7.0.0.Final\modules -logmodule org.jboss.logmanager -jaxpmodule javax.xml.jaxp-provider org.jboss.as.standalone -Djboss.home.dir=C:\Program Files\JBoss\jboss-as-web-7.0.0.Final</p><p>&#160;&#160;&#160; sun.java.launcher = SUN_STANDARD</p><p>&#160;&#160;&#160; sun.jnu.encoding = Cp1252</p><p>&#160;&#160;&#160; sun.management.compiler = HotSpot 64-Bit Tiered Compilers</p><p>&#160;&#160;&#160; sun.os.patch.level = Service Pack 2</p><p>&#160;&#160;&#160; sun.rmi.dgc.client.gcInterval = 3600000</p><p>&#160;&#160;&#160; sun.rmi.dgc.server.gcInterval = 3600000</p><p>&#160;&#160;&#160; user.country = BR</p><p>&#160;&#160;&#160; user.dir = C:\Program Files\JBoss\jboss-as-web-7.0.0.Final\bin</p><p>&#160;&#160;&#160; user.home = C:\Users\pedro</p><p>&#160;&#160;&#160; user.language = pt</p><p>&#160;&#160;&#160; user.name = pedro</p><p>&#160;&#160;&#160; user.timezone = GMT-03:00</p><p>&#160;&#160;&#160; user.variant = </p><p>13:45:44,726 INFO&#160; [org.jboss.as] creating http management service using network interface (management) port (9990) securePort (-1)</p><p>13:45:44,776 INFO&#160; [org.jboss.as.logging] Removing bootstrap log handlers</p><p>13:47:40,558 INFO&#160; [org.jboss.as.logging] Restored bootstrap log handlers</p><p>13:47:40,628 INFO&#160; [com.arjuna.ats.jbossatx] ARJUNA32018: Destroying TransactionManagerService</p><p>13:47:40,638 INFO&#160; [com.arjuna.ats.jbossatx] ARJUNA32014: Stopping transaction recovery manager</p><p>13:47:40,648 INFO&#160; [org.apache.catalina.core.StandardContext] Container org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/] has not been started</p><p>13:47:40,668 INFO&#160; [org.jboss.as] JBoss AS 7.0.0.Final "Lightning" stopped in 143ms</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Server.log</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>13:45:44,836 INFO&#160; [org.jboss.as.connector.subsystems.datasources] (Controller Boot Thread) Deploying JDBC-compliant driver class org.h2.Driver (version 1.2)</p><p>13:45:44,866 INFO&#160; [org.jboss.as.clustering.infinispan.subsystem] (Controller Boot Thread) Activating Infinispan subsystem.</p><p>13:45:45,266 INFO&#160; [org.jboss.as.naming] (Controller Boot Thread) Activating Naming Subsystem</p><p>13:45:45,306 INFO&#160; [org.jboss.as.osgi] (Controller Boot Thread) Activating OSGi Subsystem</p><p>13:45:45,356 INFO&#160; [org.jboss.as.security] (Controller Boot Thread) Activating Security Subsystem</p><p>13:45:45,406 INFO&#160; [org.jboss.as.naming] (MSC service thread 1-1) Starting Naming Service </p><p>13:45:45,436 INFO&#160; [org.jboss.remoting] (MSC service thread 1-4) JBoss Remoting version 3.2.0.Beta2</p><p>13:45:45,466 INFO&#160; [org.xnio] (MSC service thread 1-4) XNIO Version 3.0.0.Beta3</p><p>13:45:45,516 INFO&#160; [org.xnio.nio] (MSC service thread 1-4) XNIO NIO Implementation Version 3.0.0.Beta3</p><p>13:45:46,326 INFO&#160; [org.apache.catalina.core.AprLifecycleListener] (MSC service thread 1-1) The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_26\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Oracle\product\11.2.0\client_1\bin;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\PHP\;C:\Program Files (x86)\Borland\Delphi7\Bin;C:\Program Files (x86)\Borland\Delphi7\Projects\Bpl\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\CyberLink\Power2Go\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Common Files\Microsoft Shared\Windows Live;.;C:\Program Files\Java\jdk1.6.0_26;C:\Program Files\Java\jdk1.6.0_26\bin;C:\Program Files (x86)\Apache Software Foundation\apache-maven-3.0.3\bin;C:\Program Files\JBoss\jboss-5.1.0.GA\bin;.</p><p>13:45:46,416 INFO&#160; [org.jboss.as.ee] (Controller Boot Thread) Activating EE subsystem</p><p>13:45:46,416 INFO&#160; [org.jboss.as.remoting] (MSC service thread 1-2) Listening on /127.0.0.1:9999</p><p>13:45:46,766 INFO&#160; [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-4) Starting Coyote HTTP/1.1 on http--127.0.0.1-8080</p><p>13:45:46,976 INFO&#160; [org.jboss.as.jmx.JMXConnectorService] (MSC service thread 1-3) Starting remote JMX connector</p><p>13:45:47,562 INFO&#160; [org.jboss.as.connector] (MSC service thread 1-1) Starting JCA Subsystem (JBoss IronJacamar 1.0.0.CR2)</p><p>13:45:47,652 INFO&#160; [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) Bound data source [java:jboss/datasources/ExampleDS]</p><p>13:45:48,692 INFO&#160; [org.jboss.as.deployment] (MSC service thread 1-1) Started FileSystemDeploymentService for directory C:\Program Files\JBoss\jboss-as-web-7.0.0.Final\standalone\deployments</p><p>13:45:48,822 INFO&#160; [org.jboss.as] (Controller Boot Thread) JBoss AS 7.0.0.Final "Lightning" started in 9646ms - Started 92 of 147 services (55 services are passive or on-demand)</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/619279#619279">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JNDI and Naming at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2083">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


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

</div>

</body>
</html>