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.JasperEx ception
org.apache.jasper.servlet. JspServlet Wrapper.se rvice (JspServletWrapper.java:37 2)
org.apache.jasper.servlet. JspServlet .serviceJs pFile (JspServlet.java:292)
org.apache.jasper.servlet. JspServlet .service (JspServlet.java:236)
javax.servlet.http.HttpSer vlet.servi ce (HttpServlet.java:802)
java.lang.reflect.Method.i nvoke0 (Method.java)
java.lang.reflect.Method.i nvoke (Method.java:255)
org.apache.catalina.securi ty.Securit yUtil$1.ru n (SecurityUtil.java:243)
java.security.AccessContro ller.doPri vileged (AccessController.java:195 )
javax.security.auth.Subjec t.doAsPriv ileged (Subject.java:250)
org.apache.catalina.securi ty.Securit yUtil.exec ute (SecurityUtil.java:272)
org.apache.catalina.securi ty.Securit yUtil.doAs Privilege (SecurityUtil.java:161)
root cause
java.lang.NullPointerExcep tion
org.apache.struts.util.Req uestUtils. computeURL (RequestUtils.java:521)
org.apache.struts.util.Req uestUtils. computeURL (RequestUtils.java:436)
org.apache.struts.util.Req uestUtils. computeURL (RequestUtils.java:396)
org.apache.struts.taglib.l ogic.Redir ectTag.doE ndTag (RedirectTag.java:294)
org.apache.jsp.index_jsp._ jspx_meth_ logic_redi rect_0 (index_jsp.java:146)
org.apache.jsp.index_jsp._ jspService (index_jsp.java:82)
org.apache.jasper.runtime. HttpJspBas e.service (HttpJspBase.java:94)
javax.servlet.http.HttpSer vlet.servi ce (HttpServlet.java:802)
org.apache.jasper.servlet. JspServlet Wrapper.se rvice (JspServletWrapper.java:32 4)
org.apache.jasper.servlet. JspServlet .serviceJs pFile (JspServlet.java:292)
org.apache.jasper.servlet. JspServlet .service (JspServlet.java:236)
javax.servlet.http.HttpSer vlet.servi ce (HttpServlet.java:802)
java.lang.reflect.Method.i nvoke0 (Method.java)
java.lang.reflect.Method.i nvoke (Method.java:255)
org.apache.catalina.securi ty.Securit yUtil$1.ru n (SecurityUtil.java:243)
java.security.AccessContro ller.doPri vileged (AccessController.java:195 )
javax.security.auth.Subjec t.doAsPriv ileged (Subject.java:250)
org.apache.catalina.securi ty.Securit yUtil.exec ute (SecurityUtil.java:272)
org.apache.catalina.securi ty.Securit yUtil.doAs Privilege (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
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.JasperEx
org.apache.jasper.servlet.
org.apache.jasper.servlet.
org.apache.jasper.servlet.
javax.servlet.http.HttpSer
java.lang.reflect.Method.i
java.lang.reflect.Method.i
org.apache.catalina.securi
java.security.AccessContro
javax.security.auth.Subjec
org.apache.catalina.securi
org.apache.catalina.securi
root cause
java.lang.NullPointerExcep
org.apache.struts.util.Req
org.apache.struts.util.Req
org.apache.struts.util.Req
org.apache.struts.taglib.l
org.apache.jsp.index_jsp._
org.apache.jsp.index_jsp._
org.apache.jasper.runtime.
javax.servlet.http.HttpSer
org.apache.jasper.servlet.
org.apache.jasper.servlet.
org.apache.jasper.servlet.
javax.servlet.http.HttpSer
java.lang.reflect.Method.i
java.lang.reflect.Method.i
org.apache.catalina.securi
java.security.AccessContro
javax.security.auth.Subjec
org.apache.catalina.securi
org.apache.catalina.securi
note The full stack trace of the root cause is available in the Apache Tomcat/5.0 logs.
--------------------------
Apache Tomcat/5.0
RequestUtils.computeURL method is deprecated. I guess replacing the struts jar
with the latest version might help.
________
radarsh
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
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
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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Your main problem is on
java.lang.NullPointerExcep
I have never used JAMM but you may try to find the documentation especially for the RequestUtils file
David