Re: [Fwd: Can't run jsp pages on tomcat 6.0.10]

2007-09-20 Thread Martin Gainty
Mark Roth */ public class Constants { public static final boolean IS_SECURITY_ENABLED = (System.getSecurityManager() != null); } Martin-- - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Thursday, September 20, 2007 11:09 AM Subject: Re: [Fwd: Can't run j

Re: [Fwd: Can't run jsp pages on tomcat 6.0.10]

2007-09-20 Thread Hassan Schroeder
On 9/20/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Nobody says nothing so i admit it it's something new as i feared. And > probably nobody is using tomcat 6 (wise people). utter nonsense. > My html pages i get without any problem. And the examples work fine. The > same for another weapp

Re: [Fwd: Can't run jsp pages on tomcat 6.0.10]

2007-09-20 Thread samk
See Thread at: http://www.techienuggets.com/Detail?tx=7258 Posted on behalf of a User Did anyone end up with a solution or fix for this issue? I have encountered this problem as well. The one thing I can add is that under http the jsp pages compile and run, however under https, that's where I

Re: [Fwd: [Fwd: Re: [Fwd: Can't run jsp pages on tomcat 6.0.10]]]

2007-04-10 Thread Rui Monteiro
To be honest I didn't try to confirm the hipothesis but the only difference relevant between both it was the jdk being used. The windows xp environment was using jdk 1.5 and centos was using jdk1.6. Anyway problem solved Pid since the really important stuff was the extra jasper jars i loaded on

Re: [Fwd: [Fwd: Re: [Fwd: Can't run jsp pages on tomcat 6.0.10]]]

2007-04-10 Thread Pid
Rui Monteiro wrote: I put the same instalation (the same jars on lib) on a tomcat6.0.10 installed in my windows xp machine and everything goes fine. The problem only occurs on the Centos 4 machine and only for jsp. If anyone knows the inner subtleties of jasper jsp compiler tell me what could b

Re: [Fwd: [Fwd: Re: [Fwd: Can't run jsp pages on tomcat 6.0.10]]]

2007-04-10 Thread Rui Monteiro
So it was true that with the same lib set in my tomcat6 windows xp everything worked fine, but on there i was using jdk1.5 and not jdk1.6 and that seems to make a lot of difference in this particular case. Anyway Filip is right and it was just a matter of removing (in the centos jdk1.6 environm

Re: [Fwd: Can't run jsp pages on tomcat 6.0.10]

2007-04-09 Thread Rashmi Rubdi
Incidentally IS_SECURITY_ENABLED is a field in Tomcat 6 http://tomcat.apache.org/tomcat-6.0-doc/api/org/apache/coyote/Constants.html I too migrated from TC5.x to TC6.x successfully. The only things I had change was the definition of CATALINA_HOME in system environment variables. -Rashmi --

Re: [Fwd: [Fwd: Re: [Fwd: Can't run jsp pages on tomcat 6.0.10]]]

2007-04-09 Thread Filip Hanik - Dev Lists
this is the list that goes into Tomcat lib annotations-api.jar jasper-el.jartomcat-dbcp.jar catalina-ant.jar jasper-jdt.jar tomcat-i18n-es.jar catalina-ha.jar jasper.jar tomcat-i18n-fr.jar catalina-tribes.jar jsp-api.jar tomcat-i18n-ja.jar catalina.jar

Re: [Fwd: Can't run jsp pages on tomcat 6.0.10]

2007-04-09 Thread Rashmi Rubdi
On 4/9/07, Rui Monteiro <[EMAIL PROTECTED]> wrote: java.lang.NoSuchFieldError: IS_SECURITY_ENABLED According to the APIs http://java.sun.com/javase/6/docs/api/ the reason for java.lang.NoSuchFieldError is : Signals that the class doesn't have a field of a specified name. So somewhere in your a

[Fwd: [Fwd: Re: [Fwd: Can't run jsp pages on tomcat 6.0.10]]]

2007-04-09 Thread Rui Monteiro
I put the same instalation (the same jars on lib) on a tomcat6.0.10 installed in my windows xp machine and everything goes fine. The problem only occurs on the Centos 4 machine and only for jsp. If anyone knows the inner subtleties of jasper jsp compiler tell me what could be going wrong. -

Re: [Fwd: Re: [Fwd: Can't run jsp pages on tomcat 6.0.10]]

2007-04-09 Thread Hassan Schroeder
On 4/9/07, Rui Monteiro <[EMAIL PROTECTED]> wrote: Ok that wasn't exactly true. The examples which work ok are only the servlets examples (and by the way a pure zk application uses only servlets thats why the other app goes ok too). If I were you, I'd reinstall Tomcat and test the examples and

[Fwd: Re: [Fwd: Can't run jsp pages on tomcat 6.0.10]]

2007-04-09 Thread Rui Monteiro
Ok that wasn't exactly true. The examples which work ok are only the servlets examples (and by the way a pure zk application uses only servlets thats why the other app goes ok too). The jsp examples don't go ok. In fact they present the same error as the empty webapp. So I am left with a proble

Re: [Fwd: Can't run jsp pages on tomcat 6.0.10]

2007-04-09 Thread Rui Monteiro
Right now I get the problem in an empty webapp! A folder with a jsp inside an empty jsp!!! The funny thing is that I have another ZK aplication (it was supposed to be more complicated than a webapp that it is an empy jspat least from the deployment point of view ;) ) that runs fine. And

Re: [Fwd: Can't run jsp pages on tomcat 6.0.10]

2007-04-09 Thread Hassan Schroeder
On 4/9/07, Rui Monteiro <[EMAIL PROTECTED]> wrote: Nobody says nothing so i admit it it's something new as i feared. And probably nobody is using tomcat 6 (wise people). Hardly :-) Am i the only one who thinks the migration between tomcat versions is too much of a headache? Possibly -- I sw

[Fwd: Can't run jsp pages on tomcat 6.0.10]

2007-04-09 Thread Rui Monteiro
Nobody says nothing so i admit it it's something new as i feared. And probably nobody is using tomcat 6 (wise people). Well i removed every .jar from my lib for testing it out. And reduced my web.xml for minimal (welcome file list stuff). The error HTTP 500 is the same but it presents now a "

Can't run jsp pages on tomcat 6.0.10

2007-04-09 Thread Rui Monteiro
For any of my jsp pages i get: java.lang.NoSuchFieldError: IS_SECURITY_ENABLED org.apache.jasper.compiler.JspRuntimeContext.(JspRuntimeContext.java:136) org.apache.jasper.servlet.JspServlet.init(JspServlet.java:101) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)