<!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;"> </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;"> </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;"> </p><p>13:45:40,036 INFO  [org.jboss.modules] JBoss Modules version 1.0.1.GA</p><p>13:45:41,166 INFO  [org.jboss.msc] JBoss MSC version 1.0.0.GA</p><p>13:45:41,346 INFO  [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>    awt.toolkit = sun.awt.windows.WToolkit</p><p>    file.encoding = Cp1252</p><p>    file.encoding.pkg = sun.io</p><p>    file.separator = \</p><p>    java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment</p><p>    java.awt.printerjob = sun.awt.windows.WPrinterJob</p><p>    java.class.path = C:\Program Files\JBoss\jboss-as-web-7.0.0.Final\jboss-modules.jar</p><p>    java.class.version = 50.0</p><p>    java.endorsed.dirs = C:\Program Files\Java\jdk1.6.0_26\jre\lib\endorsed</p><p>    java.ext.dirs = C:\Program Files\Java\jdk1.6.0_26\jre\lib\ext;C:\Windows\Sun\Java\lib\ext</p><p>    java.home = C:\Program Files\Java\jdk1.6.0_26\jre</p><p>    java.io.tmpdir = C:\Users\pedro\AppData\Local\Temp\</p><p>    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>    java.runtime.name = Java(TM) SE Runtime Environment</p><p>    java.runtime.version = 1.6.0_26-b03</p><p>    java.specification.name = Java Platform API Specification</p><p>    java.specification.vendor = Sun Microsystems Inc.</p><p>    java.specification.version = 1.6</p><p>    java.util.logging.manager = org.jboss.logmanager.LogManager</p><p>    java.vendor = Sun Microsystems Inc.</p><p>    java.vendor.url = <a class="jive-link-external-small" href="http://java.sun.com/" target="_blank">http://java.sun.com/</a></p><p>    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>    java.version = 1.6.0_26</p><p>    java.vm.info = mixed mode</p><p>    java.vm.name = Java HotSpot(TM) 64-Bit Server VM</p><p>    java.vm.specification.name = Java Virtual Machine Specification</p><p>    java.vm.specification.vendor = Sun Microsystems Inc.</p><p>    java.vm.specification.version = 1.0</p><p>    java.vm.vendor = Sun Microsystems Inc.</p><p>    java.vm.version = 20.1-b02</p><p>    javax.xml.datatype.DatatypeFactory = __redirected.__DatatypeFactory</p><p>    javax.xml.parsers.DocumentBuilderFactory = __redirected.__DocumentBuilderFactory</p><p>    javax.xml.parsers.SAXParserFactory = __redirected.__SAXParserFactory</p><p>    javax.xml.stream.XMLEventFactory = __redirected.__XMLEventFactory</p><p>    javax.xml.stream.XMLInputFactory = __redirected.__XMLInputFactory</p><p>    javax.xml.stream.XMLOutputFactory = __redirected.__XMLOutputFactory</p><p>    javax.xml.transform.TransformerFactory = __redirected.__TransformerFactory</p><p>    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>    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>    jboss.home.dir = C:\Program Files\JBoss\jboss-as-web-7.0.0.Final</p><p>    jboss.host.name = pedro-pc</p><p>    jboss.modules.dir = C:\Program Files\JBoss\jboss-as-web-7.0.0.Final\modules</p><p>    jboss.modules.system.pkgs = org.jboss.byteman</p><p>    jboss.node.name = pedro-pc</p><p>    jboss.qualified.host.name = pedro-pc</p><p>    jboss.server.base.dir = C:\Program Files\JBoss\jboss-as-web-7.0.0.Final\standalone</p><p>    jboss.server.config.dir = C:\Program Files\JBoss\jboss-as-web-7.0.0.Final\standalone\configuration</p><p>    jboss.server.data.dir = C:\Program Files\JBoss\jboss-as-web-7.0.0.Final\standalone\data</p><p>    jboss.server.deploy.dir = C:\Program Files\JBoss\jboss-as-web-7.0.0.Final\standalone\data\content</p><p>    jboss.server.log.dir = C:\Program Files\JBoss\jboss-as-web-7.0.0.Final\standalone\log</p><p>    jboss.server.name = pedro-pc</p><p>    jboss.server.temp.dir = C:\Program Files\JBoss\jboss-as-web-7.0.0.Final\standalone\tmp</p><p>    line.separator = </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>    logging.configuration = file:C:\Program Files\JBoss\jboss-as-web-7.0.0.Final/standalone/configuration/logging.properties</p><p>    module.path = C:\Program Files\JBoss\jboss-as-web-7.0.0.Final\modules</p><p>    org.jboss.boot.log.file = C:\Program Files\JBoss\jboss-as-web-7.0.0.Final\standalone\log\boot.log</p><p>    org.jboss.resolver.warning = true</p><p>    org.xml.sax.driver = __redirected.__XMLReaderFactory</p><p>    os.arch = amd64</p><p>    os.name = Windows Vista</p><p>    os.version = 6.0</p><p>    path.separator = ;</p><p>    program.name = standalone.bat</p><p>    sun.arch.data.model = 64</p><p>    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>    sun.boot.library.path = C:\Program Files\Java\jdk1.6.0_26\jre\bin</p><p>    sun.cpu.endian = little</p><p>    sun.cpu.isalist = amd64</p><p>    sun.desktop = windows</p><p>    sun.io.unicode.encoding = UnicodeLittle</p><p>    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>    sun.java.launcher = SUN_STANDARD</p><p>    sun.jnu.encoding = Cp1252</p><p>    sun.management.compiler = HotSpot 64-Bit Tiered Compilers</p><p>    sun.os.patch.level = Service Pack 2</p><p>    sun.rmi.dgc.client.gcInterval = 3600000</p><p>    sun.rmi.dgc.server.gcInterval = 3600000</p><p>    user.country = BR</p><p>    user.dir = C:\Program Files\JBoss\jboss-as-web-7.0.0.Final\bin</p><p>    user.home = C:\Users\pedro</p><p>    user.language = pt</p><p>    user.name = pedro</p><p>    user.timezone = GMT-03:00</p><p>    user.variant = </p><p>13:45:44,726 INFO  [org.jboss.as] creating http management service using network interface (management) port (9990) securePort (-1)</p><p>13:45:44,776 INFO  [org.jboss.as.logging] Removing bootstrap log handlers</p><p>13:47:40,558 INFO  [org.jboss.as.logging] Restored bootstrap log handlers</p><p>13:47:40,628 INFO  [com.arjuna.ats.jbossatx] ARJUNA32018: Destroying TransactionManagerService</p><p>13:47:40,638 INFO  [com.arjuna.ats.jbossatx] ARJUNA32014: Stopping transaction recovery manager</p><p>13:47:40,648 INFO  [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  [org.jboss.as] JBoss AS 7.0.0.Final "Lightning" stopped in 143ms</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Server.log</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>13:45:44,836 INFO  [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  [org.jboss.as.clustering.infinispan.subsystem] (Controller Boot Thread) Activating Infinispan subsystem.</p><p>13:45:45,266 INFO  [org.jboss.as.naming] (Controller Boot Thread) Activating Naming Subsystem</p><p>13:45:45,306 INFO  [org.jboss.as.osgi] (Controller Boot Thread) Activating OSGi Subsystem</p><p>13:45:45,356 INFO  [org.jboss.as.security] (Controller Boot Thread) Activating Security Subsystem</p><p>13:45:45,406 INFO  [org.jboss.as.naming] (MSC service thread 1-1) Starting Naming Service </p><p>13:45:45,436 INFO  [org.jboss.remoting] (MSC service thread 1-4) JBoss Remoting version 3.2.0.Beta2</p><p>13:45:45,466 INFO  [org.xnio] (MSC service thread 1-4) XNIO Version 3.0.0.Beta3</p><p>13:45:45,516 INFO  [org.xnio.nio] (MSC service thread 1-4) XNIO NIO Implementation Version 3.0.0.Beta3</p><p>13:45:46,326 INFO  [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  [org.jboss.as.ee] (Controller Boot Thread) Activating EE subsystem</p><p>13:45:46,416 INFO  [org.jboss.as.remoting] (MSC service thread 1-2) Listening on /127.0.0.1:9999</p><p>13:45:46,766 INFO  [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  [org.jboss.as.jmx.JMXConnectorService] (MSC service thread 1-3) Starting remote JMX connector</p><p>13:45:47,562 INFO  [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  [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  [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  [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>