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
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
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
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
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
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
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
--
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
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
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.
-
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
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
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
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
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 "
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)
16 matches
Mail list logo