4 Replies Latest reply on Feb 27, 2004 9:50 AM by dinesh.nair

    Installation and Configuration

    bharathpu

      Helloo,
      i have installed JBoss 3.2.3 version successfully. but when i run run.sh file in DOS , it says server started, but when i see it in the IE browser it gives the following error. i've took up a j2ee project and i've struck here,
      please help me as soon as possible.



      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

      An error occurred at line: -1 in the jsp file: null

      Generated servlet error:
      [javac] Compiling 1 source file
      [javac] javac: invalid flag: C:\Apache
      [javac] Usage: javac
      [javac] where possible options include:
      [javac] -g Generate all debugging info
      [javac] -g:none Generate no debugging info
      [javac] -g:{lines,vars,source} Generate only some debugging info
      [javac] -nowarn Generate no warnings
      [javac] -verbose Output messages about what the compiler is doing
      [javac] -deprecation Output source locations where deprecated APIs are used
      [javac] -classpath Specify where to find user class files
      [javac] -sourcepath Specify where to find input source files
      [javac] -bootclasspath Override location of bootstrap class files
      [javac] -extdirs Override location of installed extensions
      [javac] -d Specify where to place generated class files
      [javac] -encoding Specify character encoding used by source files
      [javac] -source Provide source compatibility with specified release
      [javac] -target Generate class files for specific VM version
      [javac] -help Print a synopsis of standard options




      at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:130)
      at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293)
      at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:353)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370)
      at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:473)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:190)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
      at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:220)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
      at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
      at org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.invoke(ContainerStatsValve.java:76)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
      at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
      at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:65)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
      at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:197)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
      at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:605)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:677)
      at java.lang.Thread.run(Thread.java:536)


      thank you,
      Bharath

        • 1. Re: Installation and Configuration

          What is this:


          [javac] javac: invalid flag: C:\Apache


          • 2. Re: Installation and Configuration
            dinesh.nair

            I get the same problem except that the javac errors do not get displayed.

            It's a new installation from a download I did today from the JBoss site. It was JBoss-3.2.3. I've run the server using the run script. I then tried to connect to http://localhost:8080/jmx-console. This is what produced the error.

            Looks like it's trying to access Jasper, but I thought that Jasper was taken out of these releases.

            Is this a dodgy JBoss release?

            • 3. Re: Installation and Configuration
              triathlon98

              I think there are two possible problems.

              Either you are using a java runtime kit, while to use JSP your really need to use an SDK (not sure whether everything else would work with just a JRE).

              If you are using an SDK, then try to put both your JBoss and your SDK in a path without spaces.

              Joachim

              • 4. Re: Installation and Configuration
                dinesh.nair

                I've used the defaults for both the sdk (1.4.2_03) and jboss (jboss-3.2.3) so there are no spaces.

                I noticed that the download sites indicated from the JBoss download page indicated different binary sizes than those on the actual download page. I also noticed that in Nov, the 3.2.3 came out, but in Dec a Jasper version was out.

                Could it have been a case of being given the incorrect download?