HTTP Status 500 -

Add_Product.java
import java.io.*;
import java.net.*;
import java.sql.*;
import javax.servlet.*;
import javax.servlet.http.*;
import mysql.daofactory.DaoFactory;
import mysql.daoqueryclass.DaoQueryClass;
import mysql.daoqueryinterface.DaoQueryInterface;
public class Add_Product extends HttpServlet
public void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
response.setContentType("text/html;charset=UTF-8");
PrintWriter out = response.getWriter();
try {
String product_code=request.getParameter("product_code");
String product_name=request.getParameter("product_name");
String quantity=request.getParameter("quantity");
String dom=request.getParameter("dom");
String uom=request.getParameter("uom");
String packag=request.getParameter("packag");
DaoFactory dao=new DaoFactory();
Connection con1=dao.getConnection();
DaoQueryInterface daoi=(DaoQueryInterface) new DaoQueryClass();
Connection con2=dao.getConnection();
// int rs=daoi.addproduct(con2, product_code, product_name, quantity, dom, uom, packag);
int add=daoi.addproduct(con2, product_code, product_name, quantity, dom, uom, packag);
// if(rs.next())
if(add!=0)
request.setAttribute("SUCCESS", "new product addess");
RequestDispatcher rd=getServletContext().getRequestDispatcher("/Product_details.jsp");
rd.forward(request, response);
else
catch (Exception ex) {
request.setAttribute("ERROR","Error While Loading the Form..Now Go ahead...");
RequestDispatcher rd = getServletContext ( ) .getRequestDispatcher ( "/Product_details.jsp" ) ;
rd.forward ( request, response ) ;
ex.printStackTrace();
out.close();
Product_details.jsp
<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@page import="mysql.daofactory.DaoFactory,mysql.daoqueryclass.DaoQueryClass,mysql.daoqueryinterface.DaoQueryInterface"%>
<%@page import="java.sql.*"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script language="javascript" src="JSCRIPTcalendar\calenda.js" type="text/javascript"></script>
<link href="JSCRIPTcalendar\calendar.css" rel="stylesheet" type="text/css"></link>
<SCRIPT src="JSCRIPTcalendar\check.js"></SCRIPT>
<title>JSP Page</title>
</head>
<body>
<form method=post action= "/src/java/Add_Product">
<p> </p>
<center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="77%" id="AutoNumber1">
<tr>
<td width="50%">Product Code</td>
<td width="50%"><input type="text" name="product_code" size="20"></td>
</tr>
<tr>
<td width="50%">Product Name</td>
<td width="50%"><input type="text" name="product_name" size="20"></td>
</tr>
<tr>
<td width="50%">Quantity</td>
<td width="50%"><input type="text" name="quantity" size="20"></td>
</tr>
<tr>
<td width="50%">Date of Manufacture</td>
<td width="50%"><input type="text" name="dom" size="20"></td>
</tr>
<tr>
<td width="50%">Unit of Manufacture</td>
<td width="50%"><input type="text" name="uom" size="20"></td>
</tr>
<tr>
<td width="50%">Package Type</td>
<td width="50%"><input type="text" name="package" size="20"></td>
</tr>
</table></center>
<p> </p>
<p align="center"><input type="submit" value="Submit" name="B1" onclick="javascript:return check();" style="color: #FFFFFF; font-weight: bold; border: 1px solid #FFFFFF; background-color: #003366; width:100; height:30; font-family:Arialsans-serif; font-size:12pt"> <input type="reset" value="Reset" name="B2"></p>
<p align="center"> </p>
</form>
<% if(request.getAttribute("SUCCESS")!=null){%>
<%= request.getAttribute("SUCCESS")%>
</body>
</html>
<script language ="javascript" type="text/javascript">
function check()
if(
isBlank('AddingProject','product_code') && isNumber('AddingProject','product_name') && isNumber('AddingProject','quantity') && isNumber('AddingProject','dom') && isNumber('AddingProject','uom') && isBlank('AddingProject','package')
{ return true; }
else { return false; }
</script>
I have the following error
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: Unable to compile class for JSP
An error occurred at line: -1 in the jsp file: null
Generated servlet error:
[javac] Compiling 1 source file
C:\Program Files\Apache Software Foundation\Tomcat 5.0\work\Catalina\localhost\Logistics\org\apache\jsp\Product_005fdetails_jsp.java:123: 'catch' without 'try'
} catch (Throwable t) {
^
C:\Program Files\Apache Software Foundation\Tomcat 5.0\work\Catalina\localhost\Logistics\org\apache\jsp\Product_005fdetails_jsp.java:34: 'try' without 'catch' or 'finally'
try {
^
C:\Program Files\Apache Software Foundation\Tomcat 5.0\work\Catalina\localhost\Logistics\org\apache\jsp\Product_005fdetails_jsp.java:135: '}' expected
^
3 errors
     org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:127)
     org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:351)
     org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:415)
     org.apache.jasper.compiler.Compiler.compile(Compiler.java:458)
     org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
     org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:553)
     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
     Add_Product.doGet(Add_Product.java:53)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
note The full stack trace of the root cause is available in the Tomcat logs.
Apache Tomcat/5.0.19
please help me.....
Edited by: GeethaKaliyamoorthy on Aug 9, 2008 2:49 AM
Edited by: GeethaKaliyamoorthy on Aug 9, 2008 2:50 AM

hi Mam,
A simple mistake done in your code i.e in jsp code(product_details.jsp)
you open the bracket for jsp code but not closed thats why error coming
just close the bracket after the condition error will be solved

Similar Messages

  • HTTP Status 500 message when attempting to open Financial Report.

    In a new 9.3.1 installation (BI, Essbase, HFM, Planning) I am unable to run Financial Reports in Workspace. As a test, I have created a simple report, using Studio, which has only boilerplate text - no grids or anything else that requires a DB connection. The report previews fine from the Studio client but when I attempt an HTML preview or when I attempt to run the report from within Workspace, I receive an HTTP Status 500 error in the right panel in Workspace. Below is the text of the error. I am using IIS 6 with Tomcat. My troubleshooting effort have been around IIS and BI configuration. I am able to open Web Analysis documents without any trouble. Any suggestions you may have would be appreciated.
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:97)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:346)
         org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
         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)
         com.hyperion.reporting.webviewer.HRLocaleFilter.doFilter(Unknown Source)
    root cause
    Compile failed; see the compiler error output for details.
         org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:944)
         org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764)
         org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
         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)
         com.hyperion.reporting.webviewer.HRLocaleFilter.doFilter(Unknown Source)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.
    I have re-registed with HSS repeatedly as well as scrubbed the logs.

    Hi again Ramana,
    Did you try any of the following:
    1.) Delete Tomcat cache with the following steps
    Stop Tomcat.
    Remove the folders from <Tomcat\work\Catalina\localhost> directory.
    Start Tomcat. (it will delay a few minutes)
    The cache will be recreated automatically.
    2.) Redeploy Explorer application with wdeploy tool (Location: <install_dir>\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\wdeploy)
    Syntax
    wdeploy <WEB_APP_SERVER> [-D<PROPERTY>=<value>] <ACTION>
    Example
    -- Undeploy
    wdeploy tomcat7 -DAPP=explorer undeploy
    -- Deploy
    wdeploy tomcat7 -DAPP=explorer deploy
    Regards,
    Ilias

  • Tomcat - HTTP Status 500 - System Unavailable. Please try again later.

    HI,
    I installed ORACLE XE + TOMCAT 7 + ORACLE XE on windows XP.
    All seems to work under debug session but on normal session I found the following message only when I put a specific parameter on my query.
    The same query with the same parameter runs in the sqldev client whitout errors
    Here below the massages:
    HTTP Status 500 - System Unavailable. Please try again later.
    type Status report
    message System Unavailable. Please try again later.
    description The server encountered an internal error (System Unavailable. Please try again later.) that prevented it from fulfilling this request.
    Apache Tomcat/7.0.2
    and in the log file:
    2011-02-23 18:04:19 Commons Daemon procrun stdout initialized
    APEX Listener version : 1.0.2.238.15.24
    APEX Listener server info: Apache Tomcat/7.0.2
    Using Config file:C:\Programmi\Apache Software Foundation\Tomcat 7.0\temp\apex\apex-config.xml
    -- listing properties --
    PropertyCheckInterval=60
    ValidateConnection=true
    MinLimit=1
    MaxLimit=10
    InitialLimit=3
    AbandonedConnectionTimeout=900
    MaxStatementsLimit=10
    InactivityTimeout=1800
    MaxConnectionReuseCount=50000
    ***********ERROR***********
    init: # headers=46
    declare nm owa.vc_arr := ?;
         vl owa.vc_arr := ?;
    begin
    owa.init_cgi_env( ?, nm, vl );
    htp.init; htp.HTBUF_LEN := 63;
    ? := sys_context('USERENV','SID');
    end;
    SID:18
    CALL:
    begin
    f(p=>?);
    commit;
    end;
    BINDS
    p:106:3:4503262208013405:::::PAGE CALL:
    declare
    nlns number := 999999;
    l_clob CLOB;
    lines htp.htbuf_arr;
    l_buff varchar2(32767);
    l_clob_init boolean:= false;
    l_file varchar2(5);
    begin
    OWA.GET_PAGE(lines, nlns);
    if (nlns > 1) then
    for i in 1..nlns loop
    if ( length(lines(i)) > 0 ) then
    if ( ( lengthb(l_buff) + lengthb(lines(i))) > 32767) then
                   if (NOT l_clob_init) then
                        dbms_lob.createtemporary(l_clob, TRUE);
                        dbms_lob.open(l_clob, dbms_lob.lob_readwrite);
                        l_clob_init:=true;
                   end if;
    dbms_lob.writeappend(l_clob,length(l_buff),l_buff);
    l_buff := lines(i);
    else
    l_buff := l_buff || lines(i);
    end if;
    end if;
    end loop;
    end if;
    if (l_clob_init) then
    dbms_lob.writeappend(l_clob,length(l_buff),l_buff);
    l_buff := '';
    end if;
    ? := l_clob;
    ? := l_buff;
    if (wpg_docload.is_file_download) then l_file:='TRUE'; else l_file := 'FALSE'; end if; ? := l_file;
    end;
    get_page FAILED:ORA-06502: PL/SQL: errore : buffer della stringa di caratteri troppo piccolo di numero o valore
    ORA-06512: a line 32
    ^^^^^^^^^^^^ERROR^^^^^^^^
    ORA-06502: PL/SQL: errore : buffer della stringa di caratteri troppo piccolo di numero o valore
    ORA-06512: a line 32
    ***********ERROR***********
    init: # headers=46
    declare nm owa.vc_arr := ?;
         vl owa.vc_arr := ?;
    begin
    owa.init_cgi_env( ?, nm, vl );
    htp.init; htp.HTBUF_LEN := 63;
    ? := sys_context('USERENV','SID');
    end;
    SID:18
    CALL:
    begin
    f(p=>?);
    commit;
    end;
    BINDS
    p:106:3:3777982020408238:::::PAGE CALL:
    declare
    nlns number := 999999;
    l_clob CLOB;
    lines htp.htbuf_arr;
    l_buff varchar2(32767);
    l_clob_init boolean:= false;
    l_file varchar2(5);
    begin
    OWA.GET_PAGE(lines, nlns);
    if (nlns > 1) then
    for i in 1..nlns loop
    if ( length(lines(i)) > 0 ) then
    if ( ( lengthb(l_buff) + lengthb(lines(i))) > 32767) then
                   if (NOT l_clob_init) then
                        dbms_lob.createtemporary(l_clob, TRUE);
                        dbms_lob.open(l_clob, dbms_lob.lob_readwrite);
                        l_clob_init:=true;
                   end if;
    dbms_lob.writeappend(l_clob,length(l_buff),l_buff);
    l_buff := lines(i);
    else
    l_buff := l_buff || lines(i);
    end if;
    end if;
    end loop;
    end if;
    if (l_clob_init) then
    dbms_lob.writeappend(l_clob,length(l_buff),l_buff);
    l_buff := '';
    end if;
    ? := l_clob;
    ? := l_buff;
    if (wpg_docload.is_file_download) then l_file:='TRUE'; else l_file := 'FALSE'; end if; ? := l_file;
    end;
    get_page FAILED:ORA-06502: PL/SQL: errore : buffer della stringa di caratteri troppo piccolo di numero o valore
    ORA-06512: a line 32
    ^^^^^^^^^^^^ERROR^^^^^^^^
    ORA-06502: PL/SQL: errore : buffer della stringa di caratteri troppo piccolo di numero o valore
    ORA-06512: a line 32
    Could you kindly help me.
    Thanks in advance for your help
    Best Regards

    Hi Paolo,
    which APEX version do you use?
    There are only a few reasons that might lead to the behaviour you describe. These are
    - configured header size for Tomcat Connector is too small
    - configured character encoding for Tomcat Connector doesn't fit for APEX (you need UTF-8)
    - you don't have the required version of OWA_UTIL in your XE if you upgraded to a more recent APEX release (e.g. APEX 4.0)
    Have you configured the Tomcat's HTTP Connector to use the appropriate header size and character encoding?
    (see {thread:id=2174509})
    If you've upgraded your XEs APEX, e.g. to 4.0, you also have to update the OWA_UTIL in your XE. APEX versions from 3.0 onwards require at least 10.1.2.0.6, which is the version provided in the installation package. You may just update to that version by changing to the subdirectory owa of your APEX installation package and running
    @owainst.sqlas sys (just like in the steps before).
    You can check if you have the appropriate version of OWA_UTIL installed by running
    select owa_util.get_version from dual;In addition you may also want to check if you performed all steps of this small [url http://www.oracle.com/technetwork/developer-tools/apex/upgrade-apex-for-xe-154969.html]HowTo for the upgrade of APEX in XE databases.
    -Udo

  • What can I do about http status 500 error report?

    I have Windows and want to log in to a bank website. I click the Log In button and get this message:
    "Http status 500" and that "The server encountered an internal error () that prevented it from fulfilling this request." and "Path webClient.passmark.login does not start with a "/" character" and "he full stack trace of the root cause is available in the Apache Tomcat/5.5.23 logs."
    I have tried the "secure Connection failed" troubleshooting without luck. What can I do?

    Does a direct link to the login page work?
    *https://secure.ally.com/allyWebClient/login.do
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

  • 2 users can't login - HTTP Status 500 - on Teaming 2.0

    I have 2 user that can't login to Teaming 2.0. They get this error: "HTTP Status 500". Even if I enter a bogus password for them the "HTTP Status 500" error occurs. I use LDAP authentication to eDirectory. These users DON'T have duplicate objects in my tree. In eDirectory they have first name, last name, full name, phone number and email address entries. All other users can login. Where are the Apache Tomcat/6.0.18 logs on a SLES 10 install of Teaming 2.0? There are log files in /opt/novell/teaming/
    Browser screen content:
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.springframework.dao.IncorrectResultSizeDataAcc essException: Incorrect result size: expected 1, actual 2
    org.springframework.security.ldap.SpringSecurityLd apTemplate$3.executeWithContext(SpringSecurityLdap Template.java:204)
    org.springframework.ldap.core.LdapTemplate.execute WithContext(LdapTemplate.java:807)
    org.springframework.ldap.core.LdapTemplate.execute ReadOnly(LdapTemplate.java:793)
    org.springframework.security.ldap.SpringSecurityLd apTemplate.searchForSingleEntry(SpringSecurityLdap Template.java:190)
    org.springframework.security.ldap.search.FilterBas edLdapUserSearch.searchForUser(FilterBasedLdapUser Search.java:118)
    org.springframework.security.providers.ldap.authen ticator.BindAuthenticator.authenticate(BindAuthent icator.java:82)
    org.springframework.security.providers.ldap.LdapAu thenticationProvider.authenticate(LdapAuthenticati onProvider.java:229)
    org.springframework.security.providers.ProviderMan ager.doAuthentication(ProviderManager.java:195)
    org.springframework.security.AbstractAuthenticatio nManager.authenticate(AbstractAuthenticationManage r.java:46)
    org.kablink.teaming.module.authentication.impl.Aut henticationModuleImpl.doAuthenticate(Authenticatio nModuleImpl.java:280)
    org.kablink.teaming.module.authentication.impl.Aut henticationModuleImpl.authenticate(AuthenticationM oduleImpl.java:245)
    sun.reflect.GeneratedMethodAccessor660.invoke(Unkn own Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:585)
    org.springframework.aop.support.AopUtils.invokeJoi npointUsingReflection(AopUtils.java:307)
    org.springframework.aop.framework.ReflectiveMethod Invocation.invokeJoinpoint(ReflectiveMethodInvocat ion.java:182)
    org.springframework.aop.framework.ReflectiveMethod Invocation.proceed(ReflectiveMethodInvocation.java :149)
    org.kablink.teaming.search.interceptor.IndexSynchr onizationManagerInterceptor.invoke(IndexSynchroniz ationManagerInterceptor.java:67)
    org.springframework.aop.framework.ReflectiveMethod Invocation.proceed(ReflectiveMethodInvocation.java :171)
    org.springframework.aop.interceptor.AbstractTraceI nterceptor.invoke(AbstractTraceInterceptor.java:11 3)
    org.springframework.aop.framework.ReflectiveMethod Invocation.proceed(ReflectiveMethodInvocation.java :171)
    org.springframework.aop.framework.JdkDynamicAopPro xy.invoke(JdkDynamicAopProxy.java:204)
    $Proxy21.authenticate(Unknown Source)
    org.springframework.security.providers.ProviderMan ager.doAuthentication(ProviderManager.java:195)
    org.springframework.security.AbstractAuthenticatio nManager.authenticate(AbstractAuthenticationManage r.java:46)
    org.springframework.security.ui.webapp.Authenticat ionProcessingFilter.attemptAuthentication(Authenti cationProcessingFilter.java:82)
    org.springframework.security.ui.AbstractProcessing Filter.doFilterHttp(AbstractProcessingFilter.java: 252)
    org.springframework.security.ui.SpringSecurityFilt er.doFilter(SpringSecurityFilter.java:53)
    org.springframework.security.util.FilterChainProxy $VirtualFilterChain.doFilter(FilterChainProxy.java :371)
    org.springframework.security.ui.logout.LogoutFilte r.doFilterHttp(LogoutFilter.java:89)
    org.springframework.security.ui.SpringSecurityFilt er.doFilter(SpringSecurityFilter.java:53)
    org.springframework.security.util.FilterChainProxy $VirtualFilterChain.doFilter(FilterChainProxy.java :371)
    org.springframework.security.context.HttpSessionCo ntextIntegrationFilter.doFilterHttp(HttpSessionCon textIntegrationFilter.java:235)
    org.springframework.security.ui.SpringSecurityFilt er.doFilter(SpringSecurityFilter.java:53)
    org.springframework.security.util.FilterChainProxy $VirtualFilterChain.doFilter(FilterChainProxy.java :371)
    org.kablink.teaming.spring.security.ZoneGrabbingFi lter.doFilterHttp(ZoneGrabbingFilter.java:58)
    org.springframework.security.ui.SpringSecurityFilt er.doFilter(SpringSecurityFilter.java:53)
    org.springframework.security.util.FilterChainProxy $VirtualFilterChain.doFilter(FilterChainProxy.java :371)
    org.springframework.security.util.FilterChainProxy .doFilter(FilterChainProxy.java:174)
    org.springframework.web.filter.DelegatingFilterPro xy.invokeDelegate(DelegatingFilterProxy.java:236)
    org.springframework.web.filter.DelegatingFilterPro xy.doFilter(DelegatingFilterProxy.java:167)
    note The full stack trace of the root cause is available in the Apache Tomcat/6.0.18 logs.

    You need to be sure that it is not an LDAP problem... the best way is to start from LDAP to investigate. Enable the LDAP trace on eDir with imonitor, during the teaming login. Also you can use ldapsearch to have full details on the accounts in order to compare them with a working user (a space somewhere, an additional attribute, etc...).

  • HTTP Status 500 - Exception report

    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.Exception: findByKey failed: Index: 0, Size: 0
    org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:472)
    org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:415)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:119)
    com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:55)
    org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
    org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
    org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
    org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
    org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
    org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
    org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
    org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
    org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
    org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
    org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
    org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
    root cause
    java.lang.Exception: findByKey failed: Index: 0, Size: 0
    com.ncr.enterprisereporting.service.ConfigurationService.findByKey(ConfigurationService.java:103)
    com.ncr.enterprisereporting.domain.SessionData.addStandardPageFeatures(SessionData.java:183)
    com.ncr.enterprisereporting.controller.AdminController.dashboard(AdminController.java:161)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    java.lang.reflect.Method.invoke(Unknown Source)
    org.springframework.web.servlet.mvc.multiaction.MultiActionController.invokeNamedMethod(MultiActionController.java:428)
    org.springframework.web.servlet.mvc.multiaction.MultiActionController.handleRequestInternal(MultiActionController.java:366)
    org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
    org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
    org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:857)
    org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:792)
    org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:460)
    org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:415)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:119)
    com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:55)
    org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
    org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
    org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
    org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
    org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
    org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
    org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
    org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
    org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
    org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
    org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
    org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
    org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
    note The full stack trace of the root cause is available in the Apache Tomcat/6.0.14 logs.
    please help me out, i have a release to QA today

    findbykey method failed because it tried to access 0'th element of the array/list with size 0?
    maybe acegi filters out elements to be returned so it returns empty collection and some logic knows that there should be elements returned so tries to access first element on array/list but there is nothing since acegi has filtered data out?

  • HTTP Status 500 Error java.lang.NullPointerException on BO 4.0 SP2

    Hello,
    we installed BO 4.0 SP2 with Tomcat 6 on Windows Server 2008 R2 64 Bit.
    After installation it is not possible to open the CMC, BI-Launchpad or LCM in a browser. It presents the following error page:
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    java.lang.NullPointerException
         com.businessobjects.servletbridge.customconfig.Config.<init>(Config.java:37)
         com.businessobjects.servletbridge.customconfig.ConfigReader.getConfig(ConfigReader.java:274)
         com.businessobjects.pinger.TimeoutManagerFilter.getSessionState(TimeoutManagerFilter.java:192)
         com.businessobjects.pinger.TimeoutManagerFilter.doFilter(TimeoutManagerFilter.java:75)
    note The full stack trace of the root cause is available in the Apache Tomcat/6.0.24 logs.
    Apache Tomcat/6.0.24
    This is the error message from Tomcat log:
    28.09.2011 08:56:46 org.apache.catalina.core.StandardWrapperValve invoke
    SCHWERWIEGEND: Servlet.service() for servlet equinoxbridgeservlet threw exception
    java.lang.NullPointerException
         at com.businessobjects.servletbridge.customconfig.Config.<init>(Config.java:37)
         at com.businessobjects.servletbridge.customconfig.ConfigReader.getConfig(ConfigReader.java:274)
         at com.businessobjects.pinger.TimeoutManagerFilter.getSessionState(TimeoutManagerFilter.java:192)
         at com.businessobjects.pinger.TimeoutManagerFilter.doFilter(TimeoutManagerFilter.java:75)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
         at java.lang.Thread.run(Thread.java:619)
    The installation of 'SBOP BI Platform Servers 4.0 SP02 Patch 5' didn't affect this problem, it still has the same error.
    BusinessObjects XI 3.1 is running without problems on that server.
    Any help would be very appreciated!
    Thanks in advance.

    Hello together,
    I could fix this issue without any reinstalling of tomcat. I had the same problem after installtion of Patch 9 of SP2 for BOE 4.0.
    Directly after the installation  I changed the session-timeout parameter in some web.xml's because it was requested by our customer. Because I wanted to have a good documentation of those changes in the web.xml's I created a bigger comment in these files.
    First I got 404 errors after that - to solve this I followed Knowledgebase article [1639813|https://websmp230.sap-ag.de/sap/support/notes/1639813] but first it didn't help.
    So the before mentioned bigger comments seemed to be a problem (or maybe the special characters in there) because after shortening these comments and restarting SIA and Tomcat the 404 error disappeared and suddenly the above described 500 error occured.
    After that I changed the Tomcat's localhost directory to localhost.old during downtime of Tomcat (as recommended by Lukas Kostrab). localhost was newly created but it didn't help either.
    So last but not least I redeployed tomcat following article [1639813|https://websmp230.sap-ag.de/sap/support/notes/1639813] (wdeploy.bat tomcat6 u2013DAPP=BOE deploy) and started Tomcat and SIA again. I decided to wait a little bit longer with trying to start CMC - maybe 15min - and suddenly it worked.
    So in conclusion I would say:
    - check any changes you made in any config-files (like e.g. web.xml) and shorten them or remove special characters
    - stop SIA and Tomcat
    - rename localhost directory (or copy and remove) so it will be recreated at startup of Tomcat
    - if that doesn't help check tomcat config according to article [1639813|https://websmp230.sap-ag.de/sap/support/notes/1639813] and redeploy tomcat as mentioned in that arcitle and be a little bit patient
    Hope this might help some of you.
    Best wishes
    Marie

  • Http-Status:  500 Error during conversion of XI message

    i am getting this error, Could you please help us in resolving this
    http-Status:  500 Error during conversion of XI message
    Payload:
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP:Header>
    </SOAP:Header>
    <SOAP:Body>
    <SOAP:Fault xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>SOAP:Client</faultcode><faultstring>Error during conversion of XI message</faultstring><faultactor>http://sap.com/xi/XI/Message/30</faultactor><detail><SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1"><SAP:Category>XIProtocol</SAP:Category><SAP:Code area="PARSER">UNEXPECTED_VALUE</SAP:Code><SAP:P1>Main/@versionMajor</SAP:P1><SAP:P2>000</SAP:P2><SAP:P3>003</SAP:P3><SAP:P4/><SAP:AdditionalText/><SAP:ApplicationFaultMessage namespace=""/><SAP:Stack>XML tag Main/@versionMajor has incorrect value 000; expected value is 003
    </SAP:Stack></SAP:Error></detail></SOAP:Fault>
    </SOAP:Body>
    </SOAP:Envelope>
    Thnaks, ajay

    XML tag Main/@versionMajor has incorrect value 000; expected value is 003
    as mentioned above @versionMajor is expecting 003 as the input....if it a DataType in XI then check if there is some restriction imposed on the above attribute.....if you are importing some XSD/wsdl then check if it has some restriction.......if the restriction is not needed then try removing it....so that versionMajor will accept all the values
    Regards,
    Abhishek.

  • Apache Tomcat/4.0.4 - HTTP Status 500 - Internal Server Error

    Can someone give my a hand with this problem because the unix administrator of my website don't know how to fixes.
    When I try to run a servlet name SimpleServer or other servlet from my website I received the following error:
    Apache Tomcat/4.0.4 - HTTP Status 500 - Internal Server Error
    type Exception report
    message Internal Server Error
    description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Cannot allocate servlet instance for path /servlet/SimpleServlet
         at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:419)
         at org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:180)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:458)
         at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:551)
         at java.lang.Thread.run(Thread.java:484)
    root cause
    java.lang.ClassFormatError: SimpleServlet (Illegal constant pool type)
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
         at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1643)
         at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:937)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1372)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1254)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:867)
         at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:655)
         at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:400)
         at org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:180)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:458)
         at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:551)
         at java.lang.Thread.run(Thread.java:484)
    Thanks in advance,
    Jose

    Hi,
    ClassFormatError is Thrown when the Java Virtual Machine attempts to read a class file and determines that the file is malformed or otherwise cannot be interpreted as a class file.
    So check whether you have properly configured servlet and whether class file is VALID and is in right place or not.
    Sandesh

  • Help  HTTP status 500 error using tomcat 5.0.16

    Hi,
    I am getting the below mentioned erors using Tomcat 5.0.16 in a directory structure like this
    E:\sampleapp\WEB-INF
    \WEB-INF\classes
    \WEB-INF\lib
    \WEB-INF\sourcefile
    \WEB-INF\web.xml
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Wrapper cannot find servlet class package1.structure.HelloServlet or a class it depends on
         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
         org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:211)
         org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:805)
         org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:696)
         org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:605)
         org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:677)
         java.lang.Thread.run(Thread.java:534)
    root cause
    java.lang.ClassNotFoundException: package1.structure.HelloServlet
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1366)
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1213)
         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
         org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:211)
         org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:805)
         org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:696)
         org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:605)
         org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:677)
         java.lang.Thread.run(Thread.java:534)
    Kindly let me know how to come around it.
    Any help would be appreciated.
    Thanks
    AS

    Hi ,
    I got struct here, can any body help me out.
    I am unable to tress it our, where was the error
    Any help will be appreciated.
    Sanju
    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: File "/WEB-INF/struts-tml.tld" not found
         org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50)
         org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
         org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:114)
         org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:159)
         org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418)
         org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
         org.apache.jasper.compiler.Parser.parseElements(Parser.java:1543)
         org.apache.jasper.compiler.Parser.parse(Parser.java:126)
         org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
         org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.9 logs.
    Apache Tomcat/5.5.9

  • Error HTTP Status 500 after installing DS Management Console and IPS Services on BI Enterprise Server

    The following error
    HTTP Status 500 - while trying to invoke the method java.util.Properties.entrySet() of an object loaded from local variable 'globalProperties'
    occurred after installing DS Management Console and IPS Services on BI Enterprise Server
    BI Enterprise Edition 4.1 SP1 and BODS 4.1 SP1

    Hi,
    If you can't see the login screen of the CMC then it's a problem of webapps and not EIM services.
    Try cleaning the Tomcat cache for the BOE webapps and let Tomcat re cache it.  Often it does the job.
    - Stop Tomcat
    - Rename the BOE folder to BOE-OLD in C:\Program Files (x86)\SAP BusinessObjects\tomcat\work\Catalina\localhost\
    - Start Tomcat
    When the Tomcat process in task manager is done working (it can take 10-20 min+) then try again.
    When you're done, you can delete the BOE-OLD folder.
    Let me know!

  • Flickr Server Error - HTTP Status 500 - how to fix?

    Hi,
    Just upgraded to Photoshop Elements 11 on a x64 Dell running Win7. When trying to share photos using Flickr (which worked previously), I get the following:
    Any idea what I can do to fix this? I've tried resetting accounts in Adobe Partner Services, Clearing Online Service Data, and refreshing the list of services - but makes no difference.
    Any help very much appreciated,
    Dan.
    (Here's the text from the above, for search engines to chew on:
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    java.lang.NullPointerException org.apache.jsp.csp.error_jsp._jspService(error_jsp.java:197) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) com.adobe.ols.service.pseflickr.SessionFilter.doFilter(SessionFilter.java:80) com.adobe.ols.service.pseflickr.NoCacheFilter.doFilter(NoCacheFilter.java:56) com.adobe.ols.service.pseflickr.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:48)
    note The full stack trace of the root cause is available in the Apache Tomcat/6.0.28 logs.

    Hi,
    Thanks - I've cleared my browser cache, and tried all the other things available here too, a couple of days ago:
    http://kb2.adobe.com/cps/403/kb403064.html
    When I tried it, it made no difference. Ironically, just using the Flickr service today 'just works'. Server side, as you say, so maybe something got restarted / fixed?
    Given the entire forum web site wasn't accessible yesterday (and that appears to run on Tomcat, too) - perhaps the restart of the one is linked with the restart of the other.
    Anyhow - problem solved - thanks for your support!
    Dan.

  • ** Tomcat JSF App Timeout  ---HTTP Status 500 -could not be restored.

    ** Tomcat JSF App Timeout ---------------HTTP Status 500 -----javax.servlet.ServletException: viewId:/welcome.jsf - View /welcome.jsf could not be restored.
    Hi Guys,
    I have a JSF app running under Tomcat 6. It works great...fast and Stable...
    I have a problem with session timeouts..
    I get this error when I leave the browser open to a page and try to use any links..
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: viewId:/welcome.jsf - View /welcome.jsf could not be restored.
          javax.faces.webapp.FacesServlet.service(FacesServlet.java:270)
          org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:154)
          org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:265)
          org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:376)
          org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:503)
    I have this in my web.xml
    <error-page>
    <error-code>500</error-code>
    <location>/error500.jsp</location>
    <error-code>404</error-code>
    <location>/error500.jsp</location>
    <error-code>400</error-code>
    <location>/error500.jsp</location>
    <error-code>403</error-code>
    <location>/error500.jsp</location>
    </error-page>Any help out there??
    Thanks
    Phil

    Thanks BalusC,
    I have added
    <error-page>
         <exception-type>javax.faces.application.ViewExpiredException</exception-type>
         <location>/errorTimeOut.jsp</location>
    </error-page>
    <error-page>
         <exception-type>java.lang.Exception</exception-type>
         <location>/errorTimeOut.jsp</location>
    </error-page>and
    <context-param>
            <param-name>com.sun.faces.enableRestoreView11Compatibility</param-name>
            <param-value>true</param-value>
    </context-param>It now seems to work without any timeout.
    Have a great weekend and thanks for your help again.
    Phil

  • HTTP status 500 error using OpenSSO, policy agent 3 and glassfish

    Hello,
    I have created a simple secure web app following the agentsample app. When I first start up the server that opensso is deployed on, I can log in to the app and everything works fine. Then when I log into again I get a HTTP status 500 error. I have to restart the server to make it work again. Everything about it is very unpredictable - sometimes it works, sometimes it doesn't.
    I found this in the server logs:
    Exception starting filter Agent
    java.lang.ClassNotFoundException: com.sun.identity.agents.filter.AmAgentFilter
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1498)
         at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:235)
         at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:369)
         at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:103)
         at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4389)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:5189)
         at com.sun.enterprise.web.WebModule.start(WebModule.java:326)
         at com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
         at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
         at com.sun.appserv.management.util.misc.RunnableBase.run(RunnableBase.java:341)
         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
         at java.util.concurrent.FutureTask.run(FutureTask.java:123)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    Thanks
    AT

    Set the log level to mesaage and look into the amFilter logs

  • My First servlet error-HTTP Status 500

    Recently Installed apache-tomcat-5.5.27 ,I followed one documentation when i googled for a while like is here [http://linux-sxs.org/internet_serving/c292.html]
    when i try to access from web-browser ,it came up with errors like
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Error allocating a servlet instance
         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
         org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
         org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
         java.lang.Thread.run(Thread.java:595)
    root cause
    java.lang.UnsupportedClassVersionError: Bad version number in .class file
         java.lang.ClassLoader.defineClass1(Native Method)
         java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1876)
         org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:889)
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1353)
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1232)
         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
         org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
         org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
         java.lang.Thread.run(Thread.java:595)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.27 logs.Here is the directory structure
    #/opt/apache-tomcat-5.5.27/webapps/MyFirst
    #/opt/apache-tomcat-5.5.27/webapps/MyFirst/WEB-INF
    #/opt/apache-tomcat-5.5.27/webapps/MyFirst/WEB-INF/classes
    #/opt/apache-tomcat-5.5.27/webapps/MyFirst/WEB-INF/libI placed web.xml file in WEB-INF directory and HelloWorld.class in WEB-INF/classes and MyFirst.xml in /opt/apache-tomcat-5.5.27/conf/Catalina/localhost/
    the files typically contains
    web.xml
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
        PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
        "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <servlet>
            <servlet-name>HelloWorld</servlet-name>
            <servlet-class>HelloWorld</servlet-class>
    </servlet>
    <servlet-mapping>
            <servlet-name>HelloWorld</servlet-name>
            <url-pattern>/HelloWorld</url-pattern>
    </servlet-mapping>
    </web-app>
    HelloWorld.java
    // Filename : HelloWorld.java                                                                                                                               
    // Description : This servlet merely says hello!                                                                                                            
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class HelloWorld extends HttpServlet {
        public void doGet ( HttpServletRequest request, HttpServletResponse response )
            throws ServletException, IOException    {
            response.setContentType("text/html");
            PrintWriter out = response.getWriter();
            out.println("<html>");
            out.println("<head><title>Hello, Cruel World!</title></head>");
            out.println("<body>");
            out.println("<h1>Hello, Cruel World !</h1>");
            out.println("This is my first servlet.");
            out.println("</body>");
        }// end doGet                                                                                                                                           
    }///:~
    MyFirst.xml
    <!-- MyFirst Context -->
    <Context path="/MyFirst" docBase="MyFirst" debug="0" reloadable="true"/>anybody have idea about this error...

    miriyalasrinivas wrote:
    java.lang.UnsupportedClassVersionError: Bad version number in .class fileThe class is compiled with a JDK version which is newer than the JRE version used to run the class. To solve this, just clean up your Java environment and align the versions. You can get version information of the Java compiler using javac -version and of the Java runtime using java -version.
    That said, this problem is actually not related to servlets. You didn't get a root exception of javax.servlet package. You just got a root exception of java.lang package, which basically makes it a Java SE problem. Questions related to those actually belongs in the 'New to Java' forum.

Maybe you are looking for

  • Issue creating Item Activated Events for a third party form Control in Windows Powershell

    I was asked at work to look into converting some of our VB.Net Applications to PowerShell. We use the QIOS dev Suite for some of the controls to make it more visually appealing. I have been testing to controls out and I can load and create forms with

  • Change Web Service User Language

    Hi , I need to change my service providers(web service) user (EHP5). After creating endpoint with no authentication using soamanager (which only have username and password option ), system don't let me change default login language in SICF . Before E

  • VAT on iTunes purchase

    Can someone please tell me which VAT % is applicable on my iTunes purchases in Belgium. Is it the normal rate of 21% similar to the rate for other cd's in Belgium? Is it the 15 or 12% rate of Luxembourg (headoffice of iTunes Europe Sarl)? This simple

  • Disk will NOT eject nor be recognized. HELP ME!

    My MacBook Pro did NOT recognize this disk & it will NOT eject it. What do I do? Please help me, thanks.

  • I found three question

    1.After use ide edit table , the left navigator tree will refresh , then can't location this table, it's very not convenient. 2.In resultSet window, datetime field can't show hour,minute,second, it's very not convenient. 3. when open 'tools'->SQL mon