Client Deployer 5.5.11 NullPointerException

2005-08-25 Thread Allistair Crossley
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 deployer.properties file. Am I missing some kind of classpath or could this 
be caused by a file in my web application?
 
Regards, Allistair.
 
compile:
 [copy] Copying 2235 files to C:\deployer-intratest\build\webapp
 [copy] Copied 521 empty directories to 2 empty directories under C:\d
r-intratest\build\webapp
  [jasper2] java.lang.NullPointerException
  [jasper2] at org.apache.jasper.JspCompilationContext.createCompiler(
pilationContext.java:220)
  [jasper2] at org.apache.jasper.JspC.processFile(JspC.java:913)
  [jasper2] at org.apache.jasper.JspC.execute(JspC.java:1061)
  [jasper2] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Met
  [jasper2] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMetho
sorImpl.java:39)
  [jasper2] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Delegat
hodAccessorImpl.java:25)
  [jasper2] at java.lang.reflect.Method.invoke(Method.java:585)
  [jasper2] at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.ja
)
  [jasper2] at org.apache.tools.ant.UnknownElement.execute(UnknownElem
va:269)
  [jasper2] at org.apache.tools.ant.Task.perform(Task.java:364)
  [jasper2] at org.apache.tools.ant.Target.execute(Target.java:301)
  [jasper2] at org.apache.tools.ant.Target.performTasks(Target.java:32
  [jasper2] at org.apache.tools.ant.Project.executeTarget(Project.java
 
  [jasper2] at org.apache.tools.ant.Project.executeTargets(Project.jav
)
  [jasper2] at org.apache.tools.ant.Main.runBuild(Main.java:632)
  [jasper2] at org.apache.tools.ant.Main.startAnt(Main.java:183)
  [jasper2] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:
  [jasper2] at org.apache.tools.ant.launch.Launcher.main(Launcher.java
 
BUILD FAILED
C:\deployer-intratest\build.xml:45: org.apache.jasper.JasperException
 
Total time: 1 minute 33 seconds


FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT



Re: Client Deployer 5.5.11 NullPointerException

2005-08-25 Thread Dirk Weigenand
Allistair,

looks like the missing ant taskdef for jasper.

I thought that to be fixed.

 --- Ursprüngliche Nachricht ---
 Von: Allistair Crossley [EMAIL PROTECTED]
 An: tomcat-user@jakarta.apache.org
 Betreff: Client Deployer 5.5.11 NullPointerException
 Datum: Thu, 25 Aug 2005 11:09:40 +0100
 
 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 deployer.properties file. Am I missing some kind of classpath or
 could this be caused by a file in my web application?
  
 Regards, Allistair.
  
 compile:
  [copy] Copying 2235 files to C:\deployer-intratest\build\webapp
  [copy] Copied 521 empty directories to 2 empty directories under C:\d
 r-intratest\build\webapp
   [jasper2] java.lang.NullPointerException
   [jasper2] at org.apache.jasper.JspCompilationContext.createCompiler(
 pilationContext.java:220)
   [jasper2] at org.apache.jasper.JspC.processFile(JspC.java:913)
   [jasper2] at org.apache.jasper.JspC.execute(JspC.java:1061)
   [jasper2] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Met
   [jasper2] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMetho
 sorImpl.java:39)
   [jasper2] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Delegat
 hodAccessorImpl.java:25)
   [jasper2] at java.lang.reflect.Method.invoke(Method.java:585)
   [jasper2] at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.ja
 )
   [jasper2] at org.apache.tools.ant.UnknownElement.execute(UnknownElem
 va:269)
   [jasper2] at org.apache.tools.ant.Task.perform(Task.java:364)
   [jasper2] at org.apache.tools.ant.Target.execute(Target.java:301)
   [jasper2] at org.apache.tools.ant.Target.performTasks(Target.java:32
   [jasper2] at org.apache.tools.ant.Project.executeTarget(Project.java
  
   [jasper2] at org.apache.tools.ant.Project.executeTargets(Project.jav
 )
   [jasper2] at org.apache.tools.ant.Main.runBuild(Main.java:632)
   [jasper2] at org.apache.tools.ant.Main.startAnt(Main.java:183)
   [jasper2] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:
   [jasper2] at org.apache.tools.ant.launch.Launcher.main(Launcher.java
  
 BUILD FAILED
 C:\deployer-intratest\build.xml:45: org.apache.jasper.JasperException
  
 Total time: 1 minute 33 seconds
 
 
 FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
 ---
 QAS Ltd.
 Registered in England: No 2582055
 Registered in Australia: No 082 851 474
 ---
 /FONT
 
 

-- 
5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail
+++ GMX - die erste Adresse für Mail, Message, More +++

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Client Deployer 5.5.11 NullPointerException

2005-08-25 Thread Remy Maucherat
On 8/25/05, Allistair Crossley [EMAIL PROTECTED] 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 deployer.properties 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.

-- 
x
Rémy Maucherat
Developer  Consultant
JBoss Group (Europe) SàRL
x

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Client Deployer 5.5.11 NullPointerException

2005-08-25 Thread Allistair Crossley
Hi,

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

C:\deployerjavac
Usage: javac options source files
where possible options include:
  -g Generate all debugging info
  -g:noneGenerate no debugging info
  -g:{lines,vars,source} Generate only some debugging info
  -nowarnGenerate no warnings
  -verbose   Output messages about what the compiler is doing
  -deprecation   Output source locations where deprecated APIs are u
sed
  -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 dirsOverride 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
  -Jflag   Pass flag directly to the runtime system

-- snip --

C:\deployerant -Dserver=webtest compile
Buildfile: build.xml

clean:
   [delete] Deleting directory C:\deployer\build

compile:
 [copy] Copying 500 files to C:\deployer\build\webapp\ROOT
 [copy] Copied 165 empty directories to 1 empty directory under C:\deployer\
build\webapp\ROOT
  [jasper2] java.lang.NullPointerException
  [jasper2] at org.apache.jasper.JspCompilationContext.createCompiler(JspCom
pilationContext.java:220)
  [jasper2] at org.apache.jasper.JspC.processFile(JspC.java:913)
  [jasper2] at org.apache.jasper.JspC.execute(JspC.java:1061)
  [jasper2] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  [jasper2] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
  [jasper2] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
  [jasper2] at java.lang.reflect.Method.invoke(Method.java:585)
  [jasper2] at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:123
)
  [jasper2] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:275)
  [jasper2] at org.apache.tools.ant.Task.perform(Task.java:364)
  [jasper2] at org.apache.tools.ant.Target.execute(Target.java:341)
  [jasper2] at org.apache.tools.ant.Target.performTasks(Target.java:369)
  [jasper2] at org.apache.tools.ant.Project.executeSortedTargets(Project.jav
a:1216)
  [jasper2] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)

  [jasper2] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(De
faultExecutor.java:40)
  [jasper2] at org.apache.tools.ant.Project.executeTargets(Project.java:1068
)
  [jasper2] at org.apache.tools.ant.Main.runBuild(Main.java:668)
  [jasper2] at org.apache.tools.ant.Main.startAnt(Main.java:187)
  [jasper2] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
  [jasper2] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)

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

Total time: 7 seconds

Many thanks, Allistair.

 -Original Message-
 From: Remy Maucherat [mailto:[EMAIL PROTECTED]
 Sent: 25 August 2005 12:40
 To: Tomcat Users List
 Subject: Re: Client Deployer 5.5.11 NullPointerException
 
 
 On 8/25/05, Allistair Crossley [EMAIL PROTECTED] 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 deployer.properties 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.
 
 -- 
 x
 Rémy Maucherat
 Developer  Consultant
 JBoss Group (Europe) SàRL
 x
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


FONT SIZE=1

Re: Client Deployer 5.5.11 NullPointerException

2005-08-25 Thread Remy Maucherat
On 8/25/05, Allistair Crossley [EMAIL PROTECTED] wrote:
 Hi,
 
 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
 

Great. Then go look in the code and try to explain the exception by
something other than No Java compiler available.

-- 
x
Rémy Maucherat
Developer  Consultant
JBoss Group (Europe) SàRL
x

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Client Deployer 5.5.11 NullPointerException

2005-08-25 Thread Allistair Crossley
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? 

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.

Regards, Allistair.

 */
public Compiler createCompiler() throws JasperException {
if (jspCompiler != null ) {
return jspCompiler;
}
jspCompiler = null;
if (options.getCompiler() == null) {
jspCompiler = 
createCompiler(org.apache.jasper.compiler.JDTCompiler);
if (jspCompiler == null) {
jspCompiler = 
createCompiler(org.apache.jasper.compiler.AntCompiler);
}
} else {
jspCompiler = 
createCompiler(org.apache.jasper.compiler.AntCompiler);
if (jspCompiler == null) {
jspCompiler = 
createCompiler(org.apache.jasper.compiler.JDTCompiler);
}
}
jspCompiler.init(this, jsw);
return jspCompiler;
}

private static Compiler createCompiler(String className) {
Compiler compiler = null; 
try {
compiler = (Compiler) Class.forName(className).newInstance();
} catch (Throwable t) {
// Log ?
// FIXME: log
}
return compiler;
}

 -Original Message-
 From: Remy Maucherat [mailto:[EMAIL PROTECTED]
 Sent: 25 August 2005 13:05
 To: Tomcat Users List
 Subject: Re: Client Deployer 5.5.11 NullPointerException
 
 
 On 8/25/05, Allistair Crossley [EMAIL PROTECTED] wrote:
  Hi,
  
  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
  
 
 Great. Then go look in the code and try to explain the exception by
 something other than No Java compiler available.
 
 -- 
 x
 Rémy Maucherat
 Developer  Consultant
 JBoss Group (Europe) SàRL
 x
 
 -
 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]



Re: Client Deployer 5.5.11 NullPointerException

2005-08-25 Thread Remy Maucherat
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 :)

-- 
x
Rémy Maucherat
Developer  Consultant
JBoss Group (Europe) SàRL
x

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Client Deployer 5.5.11 NullPointerException

2005-08-25 Thread Allistair Crossley
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 :)
 
 -- 
 x
 Rémy Maucherat
 Developer  Consultant
 JBoss Group (Europe) SàRL
 x
 
 -
 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]



Re: Client Deployer 5.5.11 NullPointerException

2005-08-25 Thread Remy Maucherat
On 8/25/05, Allistair Crossley [EMAIL PROTECTED] wrote:
 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 ;)
 

To start with something, I use a known-to-be-working Ant 1.6.2 release.

-- 
x
Rémy Maucherat
Developer  Consultant
JBoss Group (Europe) SàRL
x

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Client Deployer 5.5.11 NullPointerException

2005-08-25 Thread Remy Maucherat
On 8/25/05, Remy Maucherat [EMAIL PROTECTED] wrote:
 To start with something, I use a known-to-be-working Ant 1.6.2 release.

I just installed and tested with 1.6.5, and it works too. I just added
some debug logging too for the classloading exceptions.

-- 
x
Rémy Maucherat
Developer  Consultant
JBoss Group (Europe) SàRL
x

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Client Deployer 5.5.11 NullPointerException

2005-08-25 Thread Allistair Crossley
Well that's really unexpected. The only other 2 differences are perhaps that I 
am on Windows, and that I did this with the 5.5.11-alpha download from the 
site. I can't think of anything else if you say that copying the JDT jar should 
work. It simply doesn't here and I have tested this with pure downloads with no 
interference or funny business.

I've been able to move forward with deployer by commenting out the jasper2 task 
in the build.xml file at least which is something, although I see that undeploy 
fails to remove all libs in the WEB-INF/lib which goes on to cause a redeploy 
problems, but that's anothe thread to be had ;)

It looks like I will just have to continue with commenting out jasper2 for now 
as I am simply out of ideas and I cannot reduce the problem any more, my Ant 
and Javac work well independently of deployer.

Thanks for your help, perhaps something will come to me, Allistair.

 -Original Message-
 From: Remy Maucherat [mailto:[EMAIL PROTECTED]
 Sent: 25 August 2005 15:56
 To: Tomcat Users List
 Subject: Re: Client Deployer 5.5.11 NullPointerException
 
 
 On 8/25/05, Remy Maucherat [EMAIL PROTECTED] wrote:
  To start with something, I use a known-to-be-working Ant 
 1.6.2 release.
 
 I just installed and tested with 1.6.5, and it works too. I just added
 some debug logging too for the classloading exceptions.
 
 -- 
 x
 Rémy Maucherat
 Developer  Consultant
 JBoss Group (Europe) SàRL
 x
 
 -
 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]



Re: Client Deployer 5.5.11 NullPointerException

2005-08-25 Thread Markus Schönhaber
Am Donnerstag, 25. August 2005 17:03 schrieb Allistair Crossley:
 Well that's really unexpected. The only other 2 differences are perhaps
 that I am on Windows, and that I did this with the 5.5.11-alpha download
 from the site. I can't think of anything else if you say that copying the
 JDT jar should work. It simply doesn't here and I have tested this with
 pure downloads with no interference or funny business.

I also tried it on Windows, also using the 5.5.11-alpha deployer downloaded 
from the jakarta site. It works OOTB.
So, if Rémy thinks there's something funny with your setup, I guess he's 
propably right.

Regards
  mks

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Client Deployer 5.5.11 NullPointerException

2005-08-25 Thread Allistair Crossley
Thanks, that's good to know, it must be something to do with my environment. 
Are you saying then that you did not have to copy any JDT jars into your 
deployer? How have you setup Ant? In any specific manner?

Best, Allistair.

 -Original Message-
 From: Markus Schönhaber [mailto:[EMAIL PROTECTED]
 Sent: 25 August 2005 16:56
 To: Tomcat Users List
 Subject: Re: Client Deployer 5.5.11 NullPointerException
 
 
 Am Donnerstag, 25. August 2005 17:03 schrieb Allistair Crossley:
  Well that's really unexpected. The only other 2 differences 
 are perhaps
  that I am on Windows, and that I did this with the 
 5.5.11-alpha download
  from the site. I can't think of anything else if you say 
 that copying the
  JDT jar should work. It simply doesn't here and I have 
 tested this with
  pure downloads with no interference or funny business.
 
 I also tried it on Windows, also using the 5.5.11-alpha 
 deployer downloaded 
 from the jakarta site. It works OOTB.
 So, if Rémy thinks there's something funny with your setup, I 
 guess he's 
 propably right.
 
 Regards
   mks
 
 -
 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]



Re: Client Deployer 5.5.11 NullPointerException

2005-08-25 Thread Markus Schönhaber
Am Donnerstag, 25. August 2005 17:57 schrieb Allistair Crossley:
 Thanks, that's good to know, it must be something to do with my
 environment. Are you saying then that you did not have to copy any JDT jars
 into your deployer?

No, I didn't have to copy any jars since ant uses sun's javac from tools.jar 
in JAVA_HOME by default. If it doesn't for you, then there's something wrong.

 How have you setup Ant? In any specific manner? 

I extracted the zip, set ANT_HOME accordingly and added %ANT_HOME%\bin to 
PATH.

Regards
  mks

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Client Deployer 5.5.11 NullPointerException

2005-08-25 Thread Allistair Crossley
Hi,

Thanks. Yeah something must be up I guess. Although my environment vars all 
look perfectly ok to me. Here they are echoed.

c:\echo %JAVA_HOME%
c:\Program Files\Java\jdk1.5.0_03

c:\echo %ANT_HOME%
c:\apache-ant-1.6.5

c:\echo %PATH%
c:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;c:\apache-ant-1.6.5\bin;C:\Pro
gram Files\Microsoft SQL Server\80\Tools\BINN;C:\Program Files\GNU\WinCvs 1.3\CV
SNT;C:\jvmstat-3_0\jvmstat\bin;C:\PROGRA~1
\QAS\QUICKA~2;C:\Program Files\Common Files\Autodesk Shared\;C:\Program Files\ba
ckburner 2\;C:\Program Files\Java\jdk1.5.0_03\bin

I need to go home now, I've not had a good day with deployer. It's 3/4 there, 
just need the last 1/4 :)

Thanks, Allistair.

 -Original Message-
 From: Markus Schönhaber [mailto:[EMAIL PROTECTED]
 Sent: 25 August 2005 17:12
 To: Tomcat Users List
 Subject: Re: Client Deployer 5.5.11 NullPointerException
 
 
 Am Donnerstag, 25. August 2005 17:57 schrieb Allistair Crossley:
  Thanks, that's good to know, it must be something to do with my
  environment. Are you saying then that you did not have to 
 copy any JDT jars
  into your deployer?
 
 No, I didn't have to copy any jars since ant uses sun's javac 
 from tools.jar 
 in JAVA_HOME by default. If it doesn't for you, then there's 
 something wrong.
 
  How have you setup Ant? In any specific manner? 
 
 I extracted the zip, set ANT_HOME accordingly and added 
 %ANT_HOME%\bin to 
 PATH.
 
 Regards
   mks
 
 -
 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]



Re: Client Deployer 5.5.11 NullPointerException

2005-08-25 Thread Remy Maucherat
On 8/25/05, Markus Schönhaber [EMAIL PROTECTED] wrote:
 Am Donnerstag, 25. August 2005 17:57 schrieb Allistair Crossley:
  Thanks, that's good to know, it must be something to do with my
  environment. Are you saying then that you did not have to copy any JDT jars
  into your deployer?
 
 No, I didn't have to copy any jars since ant uses sun's javac from tools.jar
 in JAVA_HOME by default. If it doesn't for you, then there's something wrong.

Yes, if you set JAVA_HOME correctly, then Ant should find javac, and
you don't need to add the other compiler.

  How have you setup Ant? In any specific manner?
 
 I extracted the zip, set ANT_HOME accordingly and added %ANT_HOME%\bin to
 PATH.

I'm on Windows too.

Maybe the space in the path for JAVA_HOME is causing problems (mine is
c:\java\jdk1.5.0), but overall the Ant script is hack free, and
there's no .bat to introduce bad behavior (except the Ant one, but
hopefully it is properly done).

-- 
x
Rémy Maucherat
Developer  Consultant
JBoss Group (Europe) SàRL
x

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Client Deployer 5.5.11 NullPointerException

2005-08-25 Thread Markus Schönhaber
Am Donnerstag, 25. August 2005 18:30 schrieb Remy Maucherat:
 On 8/25/05, Markus Schönhaber [EMAIL PROTECTED] wrote:
  Am Donnerstag, 25. August 2005 17:57 schrieb Allistair Crossley:
   Thanks, that's good to know, it must be something to do with my
   environment. Are you saying then that you did not have to copy any JDT
   jars into your deployer?
 
  No, I didn't have to copy any jars since ant uses sun's javac from
  tools.jar in JAVA_HOME by default. If it doesn't for you, then there's
  something wrong.

 Yes, if you set JAVA_HOME correctly, then Ant should find javac, and
 you don't need to add the other compiler.

   How have you setup Ant? In any specific manner?
 
  I extracted the zip, set ANT_HOME accordingly and added %ANT_HOME%\bin to
  PATH.

 I'm on Windows too.

 Maybe the space in the path for JAVA_HOME is causing problems (mine is
 c:\java\jdk1.5.0), but overall the Ant script is hack free, and
 there's no .bat to introduce bad behavior (except the Ant one, but
 hopefully it is properly done).

I don't think it's the space. I just copied my Java SDK-dir to a location with 
a space in the path and set JAVA_HOME to point to the copy. It still worked.

Another wild guess: Maybe Allistair has CLASSPATH set somehow and it f up 
the whole thing. Or maybe his JDK installation is broken somehow. Or his ant 
installation. Or... OK, I don't have a clue.

Regards
  mks

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]