We help IT Professionals succeed at work.

org.apache.jasper.JasperException

funkypunkydrunky
on
Medium Priority
300 Views
Last Modified: 2010-04-01
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
Comment
Watch Question

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

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

________
radarsh

Commented:
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

Author

Commented:
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
Commented:
PAQed with points refunded (125)

GranMod
Community Support Moderator

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.