Hi, Hm :(
Are you able to clarify what you mean by "a well configured Ant which is able to use a Java compiler." Perhaps this is where the problem lies? My Ant setup is such that I have ANT_HOME and JAVA_HOME env vars set. I have ANT_HOME/bin and JAVA_HOME/bin on the PATH. The ant and javac commands work on the command line. I can run the Tomcat build script and many other build scripts with ant to build software (including Tomcat). This for me looks like at least a configured Ant. Am I missing some link that you know of? In terms of installing the deployer, I literally did the following: 1. Downloaded 5.5.11-alpha Deployer 2. Unzipped to c:\jakarta-tomcat-5.5.11-deployer 3. Created deployer.properties, setting the 4 or 5 properties required for the web application 4. Moved to c:\jakarta-tomcat-5.5.11-deployer 5. Executed ant compile 6. File copy works etc... but then I get the exception with the jasper2 task. Then I got your suggestion 7. Copy jdt compiler jar frmo common/lib to c:\jakarta-tomcat-5.5.11-deployer\lib 8. Executed ant compile Same error occurs however. I don't _think_ I have done anything funny but you never know ;) Your help is appreciated, Allistair. > -----Original Message----- > From: Remy Maucherat [mailto:[EMAIL PROTECTED] > Sent: 25 August 2005 14:55 > To: Tomcat Users List > Subject: Re: Client Deployer 5.5.11 NullPointerException > > > On 8/25/05, Allistair Crossley <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I'd really love to I assure you, but I really don't > > > > a) have years and years of architecting Tomcat development > to trace through how Jasper2 works and > > b) the time whilst I am sat here working for a corporation > trying to get Tomcat working for the business > > > > For what it's worth (which is nothing I realise) I do > realise that jspCompiler.init(this, jsw) is throwing the > exception because the jspCompiler returned from the compiler > = (Compiler) Class.forName(className).newInstance(); is null > due to what must be a CNFE (looks like logging is needed > there). I also see that this was why you asked me to copy the > JDT compiler jar from common/lib into the deployer/lib. > > > > However, I did just that, and this still does not solve the > resolution of the compiler class. Can I clarify that wnated > me to copy common/lib/jasper-compiler-jdt.jar into deployer/lib? > > > > Of course. No compiler is found, so you should add one. > > > Finally, is it documented anywhere that deployer won't work > out of the box? If not, I'd be happy to make a comment on the > Deployer doc page. > > > > The deployer does work out of the box, assuming you have a well > configured Ant which is able to use a Java compiler. So you did > something funny :) > > -- > xxxxxxxxxxxxxxxxxxxxxxxxx > Rémy Maucherat > Developer & Consultant > JBoss Group (Europe) SàRL > xxxxxxxxxxxxxxxxxxxxxxxxx > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > <FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE> ------------------------------------------------------- QAS Ltd. Registered in England: No 2582055 Registered in Australia: No 082 851 474 ------------------------------------------------------- </FONT> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]