Link to home
Create AccountLog in
Avatar of funkypunkydrunky
funkypunkydrunky

asked on

org.apache.jasper.JasperException

My OS is Debian Linux. I am using TOMCAT5 with Kaffe VM. I want to install JAMM which is a java interface for virtual mail domains management. But it is not working. I try it many times but no way i cant understand the problem. Here is my Tomcat error report. Thanks to everone.
 
HTTP Status 500 -

--------------------------------------------------------------------------------

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException
      org.apache.jasper.servlet.JspServletWrapper.service (JspServletWrapper.java:372)
      org.apache.jasper.servlet.JspServlet.serviceJspFile (JspServlet.java:292)
      org.apache.jasper.servlet.JspServlet.service (JspServlet.java:236)
      javax.servlet.http.HttpServlet.service (HttpServlet.java:802)
      java.lang.reflect.Method.invoke0 (Method.java)
      java.lang.reflect.Method.invoke (Method.java:255)
      org.apache.catalina.security.SecurityUtil$1.run (SecurityUtil.java:243)
      java.security.AccessController.doPrivileged (AccessController.java:195)
      javax.security.auth.Subject.doAsPrivileged (Subject.java:250)
      org.apache.catalina.security.SecurityUtil.execute (SecurityUtil.java:272)
      org.apache.catalina.security.SecurityUtil.doAsPrivilege (SecurityUtil.java:161)


root cause

java.lang.NullPointerException
      org.apache.struts.util.RequestUtils.computeURL (RequestUtils.java:521)
      org.apache.struts.util.RequestUtils.computeURL (RequestUtils.java:436)
      org.apache.struts.util.RequestUtils.computeURL (RequestUtils.java:396)
      org.apache.struts.taglib.logic.RedirectTag.doEndTag (RedirectTag.java:294)
      org.apache.jsp.index_jsp._jspx_meth_logic_redirect_0 (index_jsp.java:146)
      org.apache.jsp.index_jsp._jspService (index_jsp.java:82)
      org.apache.jasper.runtime.HttpJspBase.service (HttpJspBase.java:94)
      javax.servlet.http.HttpServlet.service (HttpServlet.java:802)
      org.apache.jasper.servlet.JspServletWrapper.service (JspServletWrapper.java:324)
      org.apache.jasper.servlet.JspServlet.serviceJspFile (JspServlet.java:292)
      org.apache.jasper.servlet.JspServlet.service (JspServlet.java:236)
      javax.servlet.http.HttpServlet.service (HttpServlet.java:802)
      java.lang.reflect.Method.invoke0 (Method.java)
      java.lang.reflect.Method.invoke (Method.java:255)
      org.apache.catalina.security.SecurityUtil$1.run (SecurityUtil.java:243)
      java.security.AccessController.doPrivileged (AccessController.java:195)
      javax.security.auth.Subject.doAsPrivileged (Subject.java:250)
      org.apache.catalina.security.SecurityUtil.execute (SecurityUtil.java:272)
      org.apache.catalina.security.SecurityUtil.doAsPrivilege (SecurityUtil.java:161)


note The full stack trace of the root cause is available in the Apache Tomcat/5.0 logs.


--------------------------------------------------------------------------------

Apache Tomcat/5.0
Avatar of suprapto45
suprapto45
Flag of Singapore image

Hi,

Your main problem is on
java.lang.NullPointerException in org.apache.struts.util.RequestUtils.computeURL (RequestUtils.java:521)

I have never used JAMM but you may try to find the documentation especially for the RequestUtils file

David
Avatar of radarsh
radarsh

RequestUtils.computeURL method is deprecated. I guess replacing the struts jar
with the latest version might help.

________
radarsh
Hi,

It seems from the error that it's happening in the index.jsp and you must be using the redirect tag in it. Is it?
Could you please check for the attributes used for the redirect tag? r they correct?

or post it here..

regards,
fargo
Avatar of funkypunkydrunky

ASKER

Hi guys
Thank you for your responds. As I pointed out i am using Debian sarge. And i used deb. package to setup tomcat and java. I reinstall Tomcat from jakarta.apache.org and JDK from sun. Everything is getting ok. Sorry for taking your valuable time to post. Shortly get rid of the deb. package and use the sources codes:) There is no problem about jamm. But i wish they had pointed out the problem about debian in their documentations. I really spent my time to understand the problem. Thanx
ASKER CERTIFIED SOLUTION
Avatar of GranMod
GranMod

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account