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
JSP

Avatar of undefined
Last Comment
GranMod

8/22/2022 - Mon
suprapto45

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
radarsh

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

________
radarsh
fargo

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
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
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
GranMod

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.