Details
-
Bug
-
Resolution: Duplicate
-
Critical
-
None
-
JBossAS-3.2.6 Final
-
None
Description
SourceForge Submitter: sbocquet .
Hi,
O.S : Windows 2000, Windows XP
J.D.K. : Java v1.4.1
JBoss : v3.2.1
I'm trying to start the JMX Console of JBoss (v3.2.1).
My URL is http://localhost:8080/jmx-console, and here
is the error.
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:\Program
[javac] Usage: javac
[javac] where possible options include:
[javac] -g Generate all debugging info
[javac] -g:none Generate no debugging info
[javac] -g:
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
I think that the reason is that JAVA is installed in my
directory "C:\Program Files\Java", and JAVA_HOME set
to "C:\Program Files\Java".
But when JBoss is installed in C:\JBoss, it works !
In fact, it seems that the JAVAC_JAR variable in run.bat
has no effect on Tomcat servlets comp... Tomcat seems
to ignore it.
RUN.BAT lines :
[i]rem Include the JDK javac compiler for JSP pages. The
default is for a Sun JDK
rem compatible distribution to which JAVA_HOME points
set JAVAC_JAR=%JAVA_HOME%\lib\tools.jar[/i]