tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allistair Crossley" <>
Subject RE: Client Deployer 5.5.11 NullPointerException
Date Thu, 25 Aug 2005 11:47:26 GMT

No I don't think that's it, both ant and javac work on my command line. I do use Ant for build,
I'm just trying deployer for the first time. JAVA_HOME, ANT_HOME are also both defined. Ant
is also the latest version 1.6.5

Usage: javac <options> <source files>
where possible options include:
  -g                         Generate all debugging info
  -g:none                    Generate no debugging info
  -g:{lines,vars,source}     Generate only some debugging info
  -nowarn                    Generate no warnings
  -verbose                   Output messages about what the compiler is doing
  -deprecation               Output source locations where deprecated APIs are u
  -classpath <path>          Specify where to find user class files
  -cp <path>                 Specify where to find user class files
  -sourcepath <path>         Specify where to find input source files
  -bootclasspath <path>      Override location of bootstrap class files
  -extdirs <dirs>            Override location of installed extensions
  -endorseddirs <dirs>       Override location of endorsed standards path
  -d <directory>             Specify where to place generated class files
  -encoding <encoding>       Specify character encoding used by source files
  -source <release>          Provide source compatibility with specified release

  -target <release>          Generate class files for specific VM version
  -version                   Version information
  -help                      Print a synopsis of standard options
  -X                         Print a synopsis of nonstandard options
  -J<flag>                   Pass <flag> directly to the runtime system

-- snip --

C:\deployer>ant -Dserver=webtest compile
Buildfile: build.xml

   [delete] Deleting directory C:\deployer\build

     [copy] Copying 500 files to C:\deployer\build\webapp\ROOT
     [copy] Copied 165 empty directories to 1 empty directory under C:\deployer\
  [jasper2] java.lang.NullPointerException
  [jasper2]     at org.apache.jasper.JspCompilationContext.createCompiler(JspCom
  [jasper2]     at org.apache.jasper.JspC.processFile(
  [jasper2]     at org.apache.jasper.JspC.execute(
  [jasper2]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  [jasper2]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
  [jasper2]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
  [jasper2]     at java.lang.reflect.Method.invoke(
  [jasper2]     at
  [jasper2]     at
  [jasper2]     at
  [jasper2]     at
  [jasper2]     at
  [jasper2]     at
  [jasper2]     at

  [jasper2]     at
  [jasper2]     at
  [jasper2]     at
  [jasper2]     at
  [jasper2]     at
  [jasper2]     at

C:\deployer\build.xml:45: org.apache.jasper.JasperException

Total time: 7 seconds

Many thanks, Allistair.

> -----Original Message-----
> From: Remy Maucherat []
> Sent: 25 August 2005 12:40
> To: Tomcat Users List
> Subject: Re: Client Deployer 5.5.11 NullPointerException
> On 8/25/05, Allistair Crossley <> wrote:
> > Hi,
> > 
> > I've decided to try out the Deployer tool for the first 
> time to see if it makes like a little easier for deployments 
> to our test servers.
> > 
> > I've used the 5.5.11 Alpha Deployer as I noted some threads 
> indicating a problem with 5.5.9's version.
> > 
> > I've come across the following when running it pretty much 
> out of box. I setup a file. Am I missing 
> some kind of classpath or could this be caused by a file in 
> my web application?
> > 
> No Java compiler available. With the deployer package, you're supposed
> to be using Ant+javac (given that Ant wants JAVA_HOME and likes a
> JDK). If not, add the JDT JAR that is in common/lib.
> -- 
> xxxxxxxxxxxxxxxxxxxxxxxxx
> Rémy Maucherat
> Developer & Consultant
> JBoss Group (Europe) SàRL
> xxxxxxxxxxxxxxxxxxxxxxxxx
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

QAS Ltd.
Registered in England: No 2582055
Registered in Australia: No 082 851 474

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message