tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roar Skullestad" <r...@skullestad.com>
Subject javac: invalid flag: C:\Program
Date Tue, 01 Apr 2003 14:58:58 GMT
I moved my webapp to another Tomcat installation, and I now get an exception that indicates
that the java file name parameter to javac is truncated (javac: invalid flag: C:\Program).
All other webapps works fine.
Any ideas?
- Roar
org.apache.jasper.JasperException: Unable to compile class for JSP

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

Generated servlet error:
Project base dir set to: C:\Program Files\Apache Group\Tomcat 4.1
Detected Java version: 1.4 in: C:\j2sdk1.4.1_02\jre
Detected OS: Windows XP
    [javac] index_jsp.java added as C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\nacka\index_jsp.class
doesn't exist.
    [javac] Since fork is true, ignoring compiler setting.
    [javac] Compiling 1 source file
    [javac] Using external javac compiler
    [javac] Since fork is true, ignoring compiler setting.
    [javac] Compilation arguments:
    [javac] '-classpath'
    [javac] 'C:\Program Files\Apache Group\Tomcat 4.1\bin\bootstrap.jar;C:\idega\webs\nacka\idegaweb\bundles\com.idega.block.banner.bundle\classes;C:\idega\webs\nacka\idegaweb\bundles\com.idega.block.boxoffice.bundle\classes;C:\idega\webs\nacka\idegaweb\bundles\com.idega.block.building.bundle\classes;C:\idega\webs\nacka\idegaweb\bundles\com.idega.block.calendar.bundle\classes;C:\idega\webs\nacka\idegaweb\bundles\com.idega.block.contract.bundle\classes;C:\idega\webs\nacka\idegaweb\bundles\com.idega.block.dictionary.bundle\classes;C:\idega\webs\nacka\idegaweb\bundles\com.idega.block.documents.bundle\classes;C:\idega\webs\nacka\idegaweb\bundles\com.idega.block.email.bundle\classes;C:\idega\webs\nacka\idegaweb\bundles\com.idega.block.forum.bundle\classes;C:\idega\webs\nacka\idegaweb\bundles\com.idega.block.image.bundle\classes;C:\idega\webs\nacka\idegaweb\bundles\com.idega.block.importer.bundle\classes;C:\idega\webs\nacka\idegaweb\bundles\com.idega.block.login.bundle\classes;C:\idega\webs\nacka\idegaweb\bundles\com.idega.block.media.bundle\classes;C:\idega\webs\nacka\idegaweb\bundles\com.idega.block.messenger.bundle\classes;C:\idega\webs\nacka\idegaweb\bundles\com.idega.block.navigation.bundle\classes;C:\idega\webs\nacka\idegaweb\bundles\com.idega.block.news.bundle\classes;C:\idega\webs\nacka\idegaweb\bundles\com.idega.block.poll.bundle\classes;C:\idega\webs\nacka\idegaweb\bundles\com.idega.block.process.bundle\classes;C:\idega\webs\nacka\idegaweb\bundles\com.idega.block.questions.bundle\classes;C:\idega\webs\nacka\idegaweb\bundles\com.idega.block.quote.bundle\classes;C:\idega\webs\nacka\idegaweb\bundles\com.idega.block.reports.bundle\classes;C:\idega\webs\nacka\idegaweb\bundles\com.idega.block.school.bundle\classes;C:\idega\webs\nacka\idegaweb\bundles\com.idega.block.staff.bundle\classes;C:\idega\webs\nacka\idegaweb\bundles\com.idega.block.text.bundle\classes;C:\idega\webs\nacka\idegaweb\bundles\com.idega.block.trade.bundle\classes;C:\idega\webs\nacka\idegaweb\bundles\com.idega.block.websearch.bundle\classes;C:\idega\webs\nacka\idegaweb\bundles\com.idega.builder.bundle\classes;C:\idega\webs\nacka\idegaweb\bundles\com.idega.core.bundle\classes;C:\idega\webs\nacka\idegaweb\bundles\com.idega.core.user.bundle\classes;C:\idega\webs\nacka\idegaweb\bundles\com.idega.developer.bundle\classes;C:\idega\webs\nacka\idegaweb\bundles\com.idega.idegaweb.bundle\classes;C:\idega\webs\nacka\idegaweb\bundles\com.idega.user.bundle\classes;C:\idega\webs\nacka\idegaweb\bundles\se.idega.idegaweb.commune.bundle\classes;C:\idega\webs\nacka\WEB-INF\classes;C:\idega\webs\nacka\WEB-INF\lib\activation.jar;C:\idega\webs\nacka\WEB-INF\lib\ant.jar;C:\idega\webs\nacka\WEB-INF\lib\classes12.jar;C:\idega\webs\nacka\WEB-INF\lib\connector.jar;C:\idega\webs\nacka\WEB-INF\lib\cvslib.jar;C:\idega\webs\nacka\WEB-INF\lib\cvslib_trunk.jar;C:\idega\webs\nacka\WEB-INF\lib\ejb.jar;C:\idega\webs\nacka\WEB-INF\lib\firebirdjmx.jar;C:\idega\webs\nacka\WEB-INF\lib\firebirdsql.jar;C:\idega\webs\nacka\WEB-INF\lib\hsqldb.jar;C:\idega\webs\nacka\WEB-INF\lib\iText.jar;C:\idega\webs\nacka\WEB-INF\lib\icu4j.jar;C:\idega\webs\nacka\WEB-INF\lib\idega-jmodule.jar;C:\idega\webs\nacka\WEB-INF\lib\informixjdbc.jar;C:\idega\webs\nacka\WEB-INF\lib\interclient.jar;C:\idega\webs\nacka\WEB-INF\lib\itext-xml.jar;C:\idega\webs\nacka\WEB-INF\lib\iwtravel.jar;C:\idega\webs\nacka\WEB-INF\lib\jaas.jar;C:\idega\webs\nacka\WEB-INF\lib\jai_codec.jar;C:\idega\webs\nacka\WEB-INF\lib\jai_core.jar;C:\idega\webs\nacka\WEB-INF\lib\jakarta-poi-1.5.1-final-20020615.jar;C:\idega\webs\nacka\WEB-INF\lib\java-regex.jar;C:\idega\webs\nacka\WEB-INF\lib\jaxp-api.jar;C:\idega\webs\nacka\WEB-INF\lib\jdbc2_0-stdext.jar;C:\idega\webs\nacka\WEB-INF\lib\jdom.jar;C:\idega\webs\nacka\WEB-INF\lib\jimi.jar;C:\idega\webs\nacka\WEB-INF\lib\jmxri.jar;C:\idega\webs\nacka\WEB-INF\lib\jmxtools.jar;C:\idega\webs\nacka\WEB-INF\lib\jta-spec1_0_1.jar;C:\idega\webs\nacka\WEB-INF\lib\log4j-core.jar;C:\idega\webs\nacka\WEB-INF\lib\log4j-full-1.jar;C:\idega\webs\nacka\WEB-INF\lib\log4j-full.jar;C:\idega\webs\nacka\WEB-INF\lib\log4j.jar;C:\idega\webs\nacka\WEB-INF\lib\lucene-1.2.jar;C:\idega\webs\nacka\WEB-INF\lib\mail.jar;C:\idega\webs\nacka\WEB-INF\lib\mimjdbc-1_3.jar;C:\idega\webs\nacka\WEB-INF\lib\mysql.jar;C:\idega\webs\nacka\WEB-INF\lib\optional.jar;C:\idega\webs\nacka\WEB-INF\lib\oracle.jar;C:\idega\webs\nacka\WEB-INF\lib\orapts.jar;C:\idega\webs\nacka\WEB-INF\lib\oreilly-tools.jar;C:\idega\webs\nacka\WEB-INF\lib\pgjdbc2.jar;C:\idega\webs\nacka\WEB-INF\lib\sapdbc.jar;C:\idega\webs\nacka\WEB-INF\lib\strengur.jar;C:\idega\webs\nacka\WEB-INF\lib\transaction.jar;C:\Program
Files\Apache Group\Tomcat 4.1\shared\classes;C:\Program Files\Apache Group\Tomcat 4.1\common\classes;C:\Program
Files\Apache Group\Tomcat 4.1\common\endorsed\xercesImpl.jar;C:\Program Files\Apache Group\Tomcat
4.1\common\endorsed\xmlParserAPIs.jar;C:\Program Files\Apache Group\Tomcat 4.1\common\lib\activation.jar;C:\Program
Files\Apache Group\Tomcat 4.1\common\lib\ant.jar;C:\Program Files\Apache Group\Tomcat 4.1\common\lib\commons-collections.jar;C:\Program
Files\Apache Group\Tomcat 4.1\common\lib\commons-dbcp.jar;C:\Program Files\Apache Group\Tomcat
4.1\common\lib\commons-logging-api.jar;C:\Program Files\Apache Group\Tomcat 4.1\common\lib\commons-pool.jar;C:\Program
Files\Apache Group\Tomcat 4.1\common\lib\jasper-compiler.jar;C:\Program Files\Apache Group\Tomcat
4.1\common\lib\jasper-runtime.jar;C:\Program Files\Apache Group\Tomcat 4.1\common\lib\jdbc2_0-stdext.jar;C:\Program
Files\Apache Group\Tomcat 4.1\common\lib\jndi.jar;C:\Program Files\Apache Group\Tomcat 4.1\common\lib\jta.jar;C:\Program
Files\Apache Group\Tomcat 4.1\common\lib\mail.jar;C:\Program Files\Apache Group\Tomcat 4.1\common\lib\naming-common.jar;C:\Program
Files\Apache Group\Tomcat 4.1\common\lib\naming-factory.jar;C:\Program Files\Apache Group\Tomcat
4.1\common\lib\naming-resources.jar;C:\Program Files\Apache Group\Tomcat 4.1\common\lib\servlet.jar;C:\Program
Files\Apache Group\Tomcat 4.1\common\lib\tools.jar'
    [javac] '-sourcepath'
    [javac] 'C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\nacka'
    [javac] '-encoding'
    [javac] 'UTF8'
    [javac] '-g'
    [javac] 
    [javac] The ' characters around the executable and arguments are
    [javac] not part of the command.
    [javac] File to be compiled:
    [javac]     C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\nacka\index_jsp.java
    [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




	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.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:2415)
	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.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:223)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
	at java.lang.Thread.run(Thread.java:536)



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message