5 Replies Latest reply on Apr 4, 2003 10:54 AM by juhalindfors

    How to Change JMX Console Port

    mauricio.ramos

      Hello, I have just installed JBoss 3.0.0 in my RedHat 7.1 server. I?m using JDK 1.3.1. I also have an Oracle 9i DB running in this server. I have another service running on port 8080 (OSE - Oracle Servlet Engine) so I have to change the port of the jmx console. I found this configuration of port 8080 in just 2 files, xo I changed this files:
      -> server.xml at $JBOSS_HOME/catalina/conf
      -> tomcat4-service.xml at $JBOSS_HOME/server/default/deploy

      When I start JBoss and try to access the console it gives me an HTTP error 500! Does anybody know which files I must change this configuration in order to change the default 8080 port for jmx-console? Thanks in advance!

        • 1. Re: How to Change JMX Console Port

          error 500 might be due to missing or misconfigured JAVA_HOME env variable. jmx-console needs this to be set in order to compile the JSP pages

          • 2. Re: How to Change JMX Console Port
            mauricio.ramos

            Hello, thanks for your reply! My JAVA_HOME was set to /usr/local/j2sdk1.3.1 which is the HOME direcotory of my JDK 1.3.1 installation. I saw some messages like the following one when I try to access jmx-console:

            "08:21:28,112 INFO [Engine] StandardHost[localhost]: MAPPING configuration error for request URI"

            This time there is no OSE running in port 8080. This is a new installation I perform in a server just like the other one of my previous post (RedHat 7.1 + Oracle 9i).

            My .bash_profile is configures as follows:

            export JAVA_HOME=/usr/local/j2sdk1.3.1
            export CLASSPATH=<some pathes to Oracle>:$JAVA_HOME/lib
            export JBOSS_HOME=/usr/local/jboss/


            I also have an OS user named jboss that is the owner of the installation!

            Any idea of what could be my problem? Thanks!!!

            • 3. Re: How to Change JMX Console Port

              no idea.. try to dig up some more log from the server.log and see if it provides something more revealing

              • 4. Re: How to Change JMX Console Port
                mauricio.ramos

                Hello, I checked my localhost_access.log and there I can read the following log entries:

                192.168.39.47 - - [04/Apr/2003:09:54:39 -0300] "GET /jmx-console/ HTTP/1.1" 500 756

                The exact error message the browser returns to me is : The server encountered an internal error (No Context configured to process this request) that prevented it from fulfilling this request.

                In my server.log file, I can read only DEBUG and INFO messages. There are just 3 WARN messages which are:

                1) 2003-04-04 09:41:47,965 WARN [org.jboss.system.ServiceController] jboss.jca:service=RARDeployment,name=Minerva JDBC XATransaction ResourceAdapter does not implement any Service methods

                2) 2003-04-04 09:41:48,296 WARN [org.jboss.system.ServiceController] jboss.jca:service=RARDeployment,name=JBoss LocalTransaction JDBC Wrapper does not implement any Service methods

                3)2003-04-04 09:41:48,297 WARN [org.jboss.system.ServiceController] jboss.jca:service=LocalTxDS,name=hsqldbDS does not implement any Service methods


                There are not other error messages or java stack trace errors. Any idea? Thanks in advance!

                • 5. Re: How to Change JMX Console Port

                  no clue