Bugs item #856309, was opened at 2003-12-08 17:41
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=856309&group_id=22866

Category: CatalinaBundle
Group: v3.2
Status: Open
Resolution: None
Priority: 5
Submitted By: St�phane BOCQUET (sbocquet)
Assigned to: Scott M Stark (starksm)
Summary: JAVAC_JAR in run.bat is never use !

Initial Comment:
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:{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

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]

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=856309&group_id=22866


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to