Re: precompilation trouble

2005-01-21 Thread Marcus Beyer
Tim Funk schrieb: Oops, my bad. Forget newInstance() being called. But the line: Class bean = ctxt.getClassLoader().loadClass(klass); I believe does force my previous static statements to hold true. The problem was not during static initalizations but during instantiation of the beans. I solved th

Re: precompilation trouble

2005-01-17 Thread Tim Funk
Oops, my bad. Forget newInstance() being called. But the line: Class bean = ctxt.getClassLoader().loadClass(klass); I believe does force my previous static statements to hold true. -Tim Marcus Beyer wrote: Tim Funk schrieb: Ahh. Here is your issue: if (beanName == null) { try { Class be

Re: precompilation trouble

2005-01-17 Thread Marcus Beyer
Tim Funk schrieb: Ahh. Here is your issue: if (beanName == null) { try { Class bean = ctxt.getClassLoader().loadClass(klass); int modifiers = bean.getModifiers(); if (!Modifier.isPublic(modifiers) || Modifier.isInterface(modifiers) || Modifier.isA

Re: precompilation trouble

2005-01-17 Thread Tim Funk
Ahh. Here is your issue: if (beanName == null) { try { Class bean = ctxt.getClassLoader().loadClass(klass); int modifiers = bean.getModifiers(); if (!Modifier.isPublic(modifiers) || Modifier.isInterface(modifiers) || Modifier.isAbstract(modifiers)

Re: precompilation trouble

2005-01-17 Thread Marcus Beyer
Marcus Beyer schrieb: === description === I am using the ant script I found on page . Sorry, I mean this one: Marcus --

Re: precompilation trouble

2005-01-17 Thread Marcus Beyer
Tim Funk schrieb: There here, but your 1st post was a on a Friday afternoon. And the errors were not very clear. Stack traces and a better description is probably in order. I see :-) === description === I am using the ant script I found on page

Re: precompilation trouble

2005-01-17 Thread Tim Funk
There here, but your 1st post was a on a Friday afternoon. And the errors were not very clear. Stack traces and a better description is probably in order. -Tim Marcus Beyer wrote: Marcus Beyer schrieb: Using Tomcat 5.0.26 I have some problems precompiling my pages with: org.apache.jasper.Js

Re: precompilation trouble

2005-01-17 Thread Marcus Beyer
Marcus Beyer schrieb: Using Tomcat 5.0.26 I have some problems precompiling my pages with: org.apache.jasper.JspC The precompiler instantiates some beans, altough I don't exactly know why. During instatiation some beans need to access managed beans, so they call something like this:

Re: precompilation trouble

2005-01-14 Thread Marcus Beyer
Marcus Beyer schrieb: The precompiler instantiates some beans, altough I don't exactly know why. During instatiation some beans need to access managed beans, so they call something like this: FacesContext facesContext = FacesContext.getCurrentInstance ( ); /* * this happens if

precompilation trouble

2005-01-14 Thread Marcus Beyer
Greetings! Using Tomcat 5.0.26 I have some problems precompiling my pages with: org.apache.jasper.JspC The precompiler instantiates some beans, altough I don't exactly know why. During instatiation some beans need to access managed beans, so they call something like this: FacesContex