6 Replies Latest reply on Nov 19, 2007 11:40 AM by ruki009

    When I Click JMX Consol in Localhost it does not load the pa

    ruki009

      when i click th JMX console link it doesnt load the page.this kind of exeptions displays.

      HTTP Status 500 -

      --------------------------------------------------------------------------------

      type Exception report

      message

      description The server encountered an internal error () that prevented it from fulfilling this request.

      exception

      org.apache.jasper.JasperException: Unable to compile class for JSP
      org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:97)
      org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:346)
      org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414)
      org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
      org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
      org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
      org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:810)


      root cause

      Unable to find a javac compiler;
      com.sun.tools.javac.Main is not on the classpath.
      Perhaps JAVA_HOME does not point to the JDK
      org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java:106)
      org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935)
      org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764)
      org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382)
      org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
      org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
      org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
      org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:810)


      note The full stack trace of the root cause is available in the Apache Tomcat/5.0.26 logs.


      --------------------------------------------------------------------------------

      Apache Tomcat/5.0.26




      PLease help..i know there is a cure.i m in a hurry..so reply to this.THANKX.

        • 1. Re: When I Click JMX Consol in Localhost it does not load th
          peterj

          What version of JBoss AS are you using? What JVM are you using (run 'java -version')? What is JAVA_HOME set to? What OS are you running on?

          • 2. Re: When I Click JMX Consol in Localhost it does not load th
            ruki009

            Jboss Version 4.0 in Microsoft Windows Platform.JVM 1.5..
            Thanks for askin.please send me the solution as soon as possible.Im new to this JBOSS server so i think TOMCAT running on PORT 8009.

            • 3. Re: When I Click JMX Consol in Localhost it does not load th
              peterj

              Which version of 4.0? And you never said what JAVA_HOME is set to. So let's try this a different way: when you start up the app server, many lines of output appear in the command prompt window - post the entire output.

              • 4. Re: When I Click JMX Consol in Localhost it does not load th
                ruki009

                OK.JAVA home is not set.here is whole massage when i run batch file..advice me how to set JAVA_HOME.

                JAVA_HOME is not set. Unexpected results may occur.
                Set JAVA_HOME to the directory of your local JDK to avoid this message.
                ===============================================================================
                .
                JBoss Bootstrap Environment
                .
                JBOSS_HOME: J:\jboss-4.0.0\bin\\..
                .
                JAVA: java
                .
                JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m
                .
                CLASSPATH: \lib\tools.jar;J:\jboss-4.0.0\bin\\run.jar
                .
                ===============================================================================
                .
                21:20:14,656 INFO [Server] Starting JBoss (MX MicroKernel)...
                21:20:14,671 INFO [Server] Release ID: JBoss [Zion] 4.0.0 (build: CVSTag=JBoss_
                4_0_0 date=200409200418)
                21:20:14,687 INFO [Server] Home Dir: J:\jboss-4.0.0
                21:20:14,687 INFO [Server] Home URL: file:/J:/jboss-4.0.0/
                21:20:14,687 INFO [Server] Library URL: file:/J:/jboss-4.0.0/lib/
                21:20:14,687 INFO [Server] Patch URL: null
                21:20:14,687 INFO [Server] Server Name: default
                21:20:14,687 INFO [Server] Server Home Dir: J:\jboss-4.0.0\server\default
                21:20:14,687 INFO [Server] Server Home URL: file:/J:/jboss-4.0.0/server/default
                /
                21:20:14,687 INFO [Server] Server Data Dir: J:\jboss-4.0.0\server\default\data
                21:20:14,687 INFO [Server] Server Temp Dir: J:\jboss-4.0.0\server\default\tmp
                21:20:14,703 INFO [Server] Server Config URL: file:/J:/jboss-4.0.0/server/defau
                lt/conf/
                21:20:14,703 INFO [Server] Server Library URL: file:/J:/jboss-4.0.0/server/defa
                ult/lib/
                21:20:14,703 INFO [Server] Root Deployment Filename: jboss-service.xml
                21:20:14,703 INFO [Server] Starting General Purpose Architecture (GPA)...
                21:20:16,437 INFO [ServerInfo] Java version: 1.5.0-beta2,Sun Microsystems Inc.
                21:20:16,437 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0-beta2-
                b51,Sun Microsystems Inc.
                21:20:16,437 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
                21:20:17,828 INFO [Server] Core system initialized
                21:20:22,625 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resour
                ce:log4j.xml
                21:20:22,953 INFO [WebService] Using RMI server codebase: http://rukshan_statio
                n:8083/
                21:20:23,750 INFO [NamingService] Started jnpPort=1099, rmiPort=1098, backlog=5
                0, bindAddress=/0.0.0.0, Client SocketFactory=null, Server SocketFactory=org.jbo
                ss.net.sockets.DefaultSocketFactory@ad093076
                21:20:30,625 INFO [Embedded] Catalina naming disabled
                21:20:31,593 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0
                -8080
                21:20:31,656 INFO [Catalina] Initialization processed in 906 ms
                21:20:31,656 INFO [StandardService] Starting service jboss.web
                21:20:31,671 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.0.2
                8
                21:20:31,703 INFO [StandardHost] XML validation disabled
                21:20:31,734 INFO [Catalina] Server startup in 78 ms
                21:20:32,187 INFO [TomcatDeployer] deploy, ctxPath=/ebxmlrr, warUrl=file:/J:/jb
                oss-4.0.0/server/default/deploy/ebxmlrr-service.sar/ebxmlrr.war/
                21:20:32,812 INFO [WebappLoader] Dual registration of jndi stream handler: fact
                ory already defined
                21:20:33,359 INFO [STDOUT] Initialized REST
                21:20:33,625 INFO [SAAJServlet] init
                21:20:34,828 INFO [SAAJServlet] init
                21:20:35,312 INFO [TomcatDeployer] deploy, ctxPath=/ws4ee, warUrl=file:/J:/jbos
                s-4.0.0/server/default/tmp/deploy/tmp1723jboss-ws4ee-exp.war/
                21:20:35,671 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=file:/J:/jboss-4.0
                .0/server/default/deploy/jbossweb-tomcat50.sar/ROOT.war/
                21:20:39,609 INFO [STDOUT] [ jacorb.home unset! Will use '.' ]
                21:20:39,609 INFO [STDOUT] [ File .\jacorb.properties for configuration jacorb
                not found ]
                21:20:40,093 INFO [interceptors] InterceptorManager started with 2 SIs, 2 CIs a
                nd 4 IORIs
                21:20:40,296 INFO [orb] ORB run
                21:20:40,515 INFO [CorbaNamingService] Naming: [IOR:000000000000002B49444C3A6F6
                D672E6F72672F436F734E616D696E672F4E616D696E67436F6E746578744578743A312E300000000
                0000200000000000000E8000102000000000C3139322E3136382E312E32000DC80000000000114A4
                26F73732F4E616D696E672F726F6F74000000000000060000000000000008000000004A414300000
                000010000001C0000000000010001000000010501000100010109000000010501000100000014000
                000080000001A00000DC90000002100000050000000000000000100000000000000240000001E000
                0007E00000000000000010000000C3139322E3136382E312E32000DC900000000000000000000000
                00000000000000000000000000000000000000000002000000004000000000000001F00000004000
                0000300000001000000440000000000000003000000010000001C000000000001000100000001050
                100010001010900000001050100010000002000000004000000000000001F0000000400000003]
                21:20:40,750 INFO [naming] re-Bound name: TransactionService
                21:20:40,750 INFO [CorbaTransactionService] TransactionFactory: [IOR:0000000000
                00003049444C3A6F72672F6A626F73732F746D2F69696F702F5472616E73616374696F6E46616374
                6F72794578743A312E30000000000200000000000000E8000102000000000C3139322E3136382E31
                2E32000DC80000000000144A426F73732F5472616E73616374696F6E732F46000000060000000000
                000008000000004A414300000000010000001C000000000001000100000001050100010001010900
                0000010501000100000014000000080000001A00000DC90000002100000050000000000000000100
                000000000000240000001E0000007E00000000000000010000000C3139322E3136382E312E32000D
                C9000000000000000000000000000000000000000000000000000000000000000000200000000400
                0000000000001F000000040000000300000001000000440000000000000003000000010000001C00
                00000000010001000000010501000100010109000000010501000100000020000000040000000000
                00001F0000000400000003]
                21:20:40,765 INFO [naming] re-Bound name: UserTransaction
                21:20:42,421 INFO [RARDeployment] Required license terms exist view the META-IN
                F/ra.xml: file:/J:/jboss-4.0.0/server/default/deploy/jms/jms-ra.rar
                21:20:42,640 INFO [RARDeployment] Required license terms exist view the META-IN
                F/ra.xml: file:/J:/jboss-4.0.0/server/default/deploy/jboss-local-jdbc.rar
                21:20:42,796 INFO [RARDeployment] Required license terms exist view the META-IN
                F/ra.xml: file:/J:/jboss-4.0.0/server/default/deploy/jboss-xa-jdbc.rar
                21:20:44,890 INFO [ConnectionFactoryBindingService] Bound connection factory fo
                r resource adapter for ConnectionManager 'jboss.jca:service=ConnectionFactoryBin
                ding,name=JmsXA to JNDI name 'java:JmsXA'
                21:20:45,078 INFO [WrapperDataSourceService] Bound connection factory for resou
                rce adapter for ConnectionManager 'jboss.jca:service=DataSourceBinding,name=Defa
                ultDS to JNDI name 'java:DefaultDS'
                21:20:45,625 INFO [A] Bound to JNDI name: queue/A
                21:20:45,640 INFO [B] Bound to JNDI name: queue/B
                21:20:45,640 INFO [C] Bound to JNDI name: queue/C
                21:20:45,640 INFO [D] Bound to JNDI name: queue/D
                21:20:45,656 INFO [ex] Bound to JNDI name: queue/ex
                21:20:45,687 INFO [testTopic] Bound to JNDI name: topic/testTopic
                21:20:45,687 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
                21:20:45,703 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic

                21:20:45,703 INFO [testQueue] Bound to JNDI name: queue/testQueue
                21:20:45,750 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.
                0.0:8093
                21:20:45,906 INFO [DLQ] Bound to JNDI name: queue/DLQ
                21:20:47,187 INFO [MailService] Mail Service bound to java:/Mail
                21:20:48,578 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=file:/J
                :/jboss-4.0.0/server/default/deploy/jmx-console.war/
                21:20:50,218 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=file:/J
                :/jboss-4.0.0/server/default/deploy/management/web-console.war/
                21:20:52,171 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-808
                0
                21:20:52,437 INFO [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8009
                21:20:52,437 INFO [JkMain] Jk running ID=0 time=0/94 config=null
                21:20:52,453 INFO [Server] JBoss (MX MicroKernel) [4.0.0 (build: CVSTag=JBoss_4
                _0_0 date=200409200418)] Started in 37s:406ms


                thnkx.

                • 5. Re: When I Click JMX Consol in Localhost it does not load th
                  peterj

                  You must set JAVA_HOME to your JDK's installation directory. For example, when I installed JDK 1.5.0_13, I placed it at d:\apps\jdk1.5.0_13, which is what I have JAVA_HOME set to.

                  • 6. Re: When I Click JMX Consol in Localhost it does not load th
                    ruki009

                    THANK YOU very much Peter.My problem is solved.
                    Regurds.Rukshan::