4 Replies Latest reply on Nov 8, 2011 8:53 AM by Ondra Chaloupka

    I have a problem with this .Please help me!!!

    acruz Newbie

      hello everyone I have a problem with the installation of jboss-as-web-7.0.2.Final,  first I install the jdk-7-linux-i586.rpm, I made that read the manual settings, but when I execute:

      [root@jboss bin]# ./standalone.sh

       

      I get all this:

       

      ____________________________________________________________________________________________________________________________

       

      JBoss Bootstrap Environment

       

       

        JBOSS_HOME: /tmp/jboss-as-web-7.0.2.Final

       

       

        JAVA: 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

       

       

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

       

       

      11:48:54,756 INFO  [org.jboss.modules] JBoss Modules version 1.0.2.GA

      11:48:55,808 INFO  [org.jboss.msc] JBoss MSC version 1.0.1.GA

      11:48:55,985 INFO  [org.jboss.as] JBoss AS 7.0.2.Final "Arc" starting

      11:48:58,886 WARN  [org.jboss.as] No security realm defined for native management service, all access will be unrestricted.

      11:48:58,961 INFO  [org.jboss.as] creating http management service using network interface (management) port (9990)

      11:48:58,971 WARN  [org.jboss.as] No security realm defined for http management service, all access will be unrestricted.

      11:48:59,033 INFO  [org.jboss.as.logging] Removing bootstrap log handlers

      11:48:59,100 INFO  [org.jboss.as.connector.subsystems.datasources] (Controller Boot Thread) Deploying JDBC-compliant driver class org.h2.Driver (version 1.2)

      11:48:59,163 INFO  [org.jboss.as.clustering.infinispan.subsystem] (Controller Boot Thread) Activating Infinispan subsystem.

      11:48:59,530 INFO  [org.jboss.as.naming] (Controller Boot Thread) JBAS011800: Activating Naming Subsystem

      11:48:59,572 INFO  [org.jboss.as.naming] (MSC service thread 1-1) JBAS011802: Starting Naming Service

      11:48:59,608 INFO  [org.jboss.as.osgi] (Controller Boot Thread) JBAS011910: Activating OSGi Subsystem

      11:48:59,704 INFO  [org.jboss.as.security] (Controller Boot Thread) Activating Security Subsystem

      11:48:59,759 INFO  [org.jboss.remoting] (MSC service thread 1-1) JBoss Remoting version 3.2.0.Beta2

      11:48:59,835 INFO  [org.xnio] (MSC service thread 1-1) XNIO Version 3.0.0.Beta3

      11:48:59,907 INFO  [org.xnio.nio] (MSC service thread 1-1) XNIO NIO Implementation Version 3.0.0.Beta3

      11:49:00,785 INFO  [org.apache.catalina.core.AprLifecycleListener] (MSC service thread 1-2) La biblioteca nativa de Apache Tomcat basada en ARP que permite un rendimiento óptimo en entornos de desarrollo no ha sido hallada en java.library.path: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/server:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib

      11:49:00,915 INFO  [org.jboss.as.ee] (Controller Boot Thread) Activating EE subsystem

      11:49:00,960 INFO  [org.jboss.as.remoting] (MSC service thread 1-1) Listening on /127.0.0.1:9999

      11:49:01,141 INFO  [org.jboss.as.jmx.JMXConnectorService] (MSC service thread 1-2) Starting remote JMX connector

      11:49:01,183 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-1) Arrancando Coyote HTTP/1.1 en puerto http--0.0.0.0-8080

      11:49:12,090 WARN  [com.arjuna.ats.arjuna] (Transaction Expired Entry Monitor) ARJUNA12210: Unable to use InetAddress.getLocalHost() to resolve address.

      11:49:12,231 INFO  [org.jboss.as.connector] (MSC service thread 1-1) Starting JCA Subsystem (JBoss IronJacamar 1.0.3.Final)

      11:49:12,498 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) Bound data source [java:jboss/datasources/ExampleDS]

      11:49:12,555 INFO  [org.jboss.as.deployment] (MSC service thread 1-1) Started FileSystemDeploymentService for directory /tmp/jboss-as-web-7.0.2.Final/standalone/deployments

      11:49:12,605 INFO  [org.jboss.as] (Controller Boot Thread) JBoss AS 7.0.2.Final "Arc" started in 18856ms - Started 93 of 149 services (56 services are passive or on-demand)

      __________________________________________________________________________________________________________________________________

       

      How  can I fix the lines that are marked in red, to enter to http://192.XXX.X.XX:8080.

      Thank You so much!!!

        • 1. Re: I have a problem with this .Please help me!!!
          Radoslav Husar Master

          Hi Alessandra,

           

          these are just warnings, so they should be treated with caution but they might not be actual problems.

           

          The first two can be solved with applying these scripts here I think, see my comment here: http://community.jboss.org/message/635383#635383 but I am not sure about the Arjuna warning.

           

          PS: looks like you are running jboss as root. Please, never do that! Run always AS with sufficient but minimal permissions.

           

          HTH,

          Rado

          • 2. Re: I have a problem with this .Please help me!!!
            Roberto Beeman Newbie

            11:48:58,886 WARN  [org.jboss.as] No security realm defined for native management service, all access will be unrestricted.

            11:48:58,961 INFO  [org.jboss.as] creating http management service using network interface (management) port (9990)

            11:48:58,971 WARN  [org.jboss.as] No security realm defined for http management service, all access will be unrestricted.

             

                      The above two warning you are getting because the management ports are not secure by default... So if you don;t want to see those messages then secure the management ports in your "standalong.xml" or "standalone-preview.xml" files as following:

             

            [code]

                <management>

                          <security-realms>

                                    <security-realm name="PropertiesMgmtSecurityRealm">

                                              <authentication>

                                                        <properties path="mgmt-users.properties" relative-to="jboss.server.config.dir" />

                                              </authentication>

                                    </security-realm>

                          </security-realms>

                    <management-interfaces>

                       <native-interface interface="management" port="9999" security-realm="PropertiesMgmtSecurityRealm"/>

                       <http-interface interface="management" port="9990" security-realm="PropertiesMgmtSecurityRealm"/>

                    </management-interfaces>

                </management>

            [/code]

             

            Also make sure to uncomment the username and password in your file :

            /jboss-as-7.0.2.Final/standalone/configuration/mgmt-users.properties

             

            admin=admin

            1 of 1 people found this helpful
            • 3. Re: I have a problem with this .Please help me!!!
              Darran Lofthouse Master

              Rather than uncommenting the default user you should add your own user to the properties file in the form username=password - if you are only going to uncomment the default user you may as well leave it unsecured

              1 of 1 people found this helpful
              • 4. Re: I have a problem with this .Please help me!!!
                Ondra Chaloupka Expert

                The problem with resolving adress could be caused by not set hostname in your "hosts" file.

                Try to look what is hostname of your machine and check whether it is added in the /etc/hosts file.