RE: [Mav-user] Howto: Getting the JSP Example Working

2002-03-15 Thread Jeff Schnitzer

 From: Jordan C N Chong [mailto:[EMAIL PROTECTED]]
 
 Thousand thanks for your tip. I got this error when I start up the
Tomcat:
 log4j:ERROR No appenders could be found for category
 (org.infohazard.maverick.Di
 spatcher).
 log4j:ERROR Please initialize the log4j system properly.
 
 What does it mean???

It means that the logging system is not initialized :-)  Scott included
a link to the FAQ in his email:
http://mav.sourceforge.net/maverick-manual.html#N10722

If you do not desire detailed logging information, feel free to ignore
the message.

 And when I run the friendbook example, the following problems
happened:
 
 javax.servlet.ServletException: Servlet.init() for servlet jsp threw
 exception
   at

org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:875)
   ... ...
 
 Root Cause:
 java.lang.SecurityException: sealing violation
   at java.net.URLClassLoader.defineClass(Unknown Source)
   ... ...

Hmmm, sealing violations.  I have heard much about these but not
experienced them myself.  Which exact versions of tomcat, jdk, and xslt
processor (if you're using one) are you using?  And what is the
remainder of the Root Cause stack trace?

Jeff Schnitzer
[EMAIL PROTECTED]

___
Mav-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mav-user



RE: [Mav-user] Howto: Getting the JSP Example Working

2002-03-15 Thread Jeff Schnitzer


I've got to admit that that stack trace doesn't offer me any clues.  You
should probably upgrade to the 4.0.3 version of Tomcat, because there
are some security issues with prior versions.  I would also try updating
to the latest version of Xalan (you are using xslt, right?).

Switching to JDK1.4, of course, is an option :-)

Does anyone else understand sealing violations?

Jeff

 -Original Message-
 From: Jordan C N Chong [mailto:[EMAIL PROTECTED]]
 Sent: Friday, March 15, 2002 11:19 AM
 To: Jeff Schnitzer
 Subject: RE: [Mav-user] Howto: Getting the JSP Example Working
 
 Dear Jeff... :)
 
 I am not sure which version xalan and I am using.
 but tomcat is 4.0, jdk is jdk1.3.0_02
 and this is the whole page of exception (man... :))
 
 To ease the pain, do you think I should switch the whole thing to
jdk1.4??
 thanks.
 
 Exception Report:
 javax.servlet.ServletException: Servlet.init() for servlet jsp threw
 exception
   at

org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:875)
   at

org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:6
21
 )
   at

org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.
 ja
 va:214)
   at

org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va
 :5
 66)
   at

org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72
 )
   at
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
   at

org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.
 ja
 va:215)
   at

org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va
 :5
 66)
   at

org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72
 )
   at
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
   at

org.apache.catalina.core.StandardContext.invoke(StandardContext.java:236
6)
   at

org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:1
 64
 )
   at

org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va
 :5
 66)
   at

org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462
)
   at

org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va
 :5
 64)
   at

org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72
 )
   at
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
   at

org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
ja
 va
 :163)
   at

org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va
 :5
 66)
   at

org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72
 )
   at
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
   at

org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.j
av
 a:
 1005)
   at

org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:
10
 98
 )
   at java.lang.Thread.run(Unknown Source)
 
 Root Cause:
 java.lang.SecurityException: sealing violation
   at java.net.URLClassLoader.defineClass(Unknown Source)
   at java.net.URLClassLoader.access$100(Unknown Source)
   at java.net.URLClassLoader$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(Unknown Source)
   at

org.apache.catalina.loader.StandardClassLoader.findClass(StandardClassLo
ad
 er
 .java:671)
   at

org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLo
ad
 er
 .java:1090)
   at

org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLo
ad
 er
 .java:989)
   at java.lang.ClassLoader.loadClassInternal(Unknown Source)
   at

org.apache.jasper.compiler.TldLocationsCache.processWebDotXml(TldLocatio
ns
 Ca
 che.java:164)
   at

org.apache.jasper.compiler.TldLocationsCache.(TldLocationsCache.java:138
)
   at

org.apache.jasper.EmbededServletOptions.(EmbededServletOptions.java:324)
   at
org.apache.jasper.servlet.JspServlet.init(JspServlet.java:265)
   at

org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:856)
   at

org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:6
21
 )
   at

org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.
 ja
 va:214)
   at

org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va
 :5
 66)
   at

org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72
 )
   at
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
   at

org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.
 ja
 va:215)
   at

org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va
 :5
 66)
   at

org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4