Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

org.apache.jasper.JasperException

Posted on 2006-03-21
6
Medium Priority
?
260 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
0
Comment
Question by:funkypunkydrunky
5 Comments
 
LVL 16

Expert Comment

by:suprapto45
ID: 16255028
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
0
 
LVL 10

Expert Comment

by:radarsh
ID: 16255049
RequestUtils.computeURL method is deprecated. I guess replacing the struts jar
with the latest version might help.

________
radarsh
0
 
LVL 11

Expert Comment

by:fargo
ID: 16255065
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
0
 

Author Comment

by:funkypunkydrunky
ID: 16256399
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
0
 

Accepted Solution

by:
GranMod earned 0 total points
ID: 16485537
PAQed with points refunded (125)

GranMod
Community Support Moderator
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Dropbox has a relatively new feature called Smart Sync.  This feature allows Dropbox Professional (not plus) and Dropbox Business (if enabled) users to store information in Dropbox WITHOUT storing any files on their computer.
Ready to kick start your career in 2018? Add app developer skills to your resume. January’s Course of the Month features Android App Development training with hands-on learning.  Read on to learn why these skills are important.
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Screencast - Getting to Know the Pipeline
Suggested Courses

581 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question