HELP - HTTP Status 500 exception report when trying to connect MySQL

Hi All,
I downloaded the MySQL Connector/J 3.0 from http://www.mysql.com/downloads/api-jdbc.html and set the classpath according to the documentation. However, when I try to use Servlet to connect to MySQL database, I get 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
java.lang.ClassCastException
     at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:903)
     at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:668)
     at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:416)
     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 filters.ExampleFilter.doFilter(ExampleFilter.java:149)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
     at filters.ExampleFilter.doFilter(ExampleFilter.java:149)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:494)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
     at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2416)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
     at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
     at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:601)
     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
     at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
     at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
     at java.lang.Thread.run(Thread.java:536)
The code of Connect.java is as follows:
import java.sql.*;
public class Connect {
String url;
public Connect() {
try{
Class.forName("com.mysql.jdbc.Driver").newInstance();
url = "jdbc:mysql:http://127.0.0.1:3306/db";
Connection con = DriverManager.getConnection (url, "username", "password");
catch(ClassNotFoundException e){
System.out.println(e.getMessage());
catch(SQLException e){
System.out.println(e.getMessage());
catch(Exception e){
System.out.println(e.getMessage());
Anyone please help me! Thanks!
Andy Stone
P.S. I can connect to the db successfully with JSP.

Try just putting in a main method and compiling and running it.import java.sql.*;
public class Connect {
    String url;
    public Connect() {
    try {
        Class.forName("com.mysql.jdbc.Driver").newInstance();
        url = "jdbc:mysql:http://127.0.0.1:3306/db";
        Connection con = DriverManager.getConnection(url, "username", "password");
    catch (Exception e){ e.printStckTrace() }
    public static void main(String[] args) { new Connect(); }
}

Similar Messages

  • 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 Exception

    Were other institutions getting this HTTP Status 500 Exception earlier this week? We were getting the exception intermittently, before iTunes U launched, and sometimes while navigating around within iTunes U.
    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: ActionBean execution threw an exception.
    edu.udayton.elearn.hbm.AbstractTransactionFilter.doFilter(AbstractTransactionFi lter.java:58)
    org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java: 96)
    root cause
    net.sourceforge.stripes.exception.StripesServletException: ActionBean execution threw an exception.
    net.sourceforge.stripes.controller.DispatcherServlet.doPost(DispatcherServlet.j ava:179)
    net.sourceforge.stripes.controller.DispatcherServlet.doGet(DispatcherServlet.ja va:61)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:18 1)
    com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:39)
    edu.udayton.elearn.hbm.AbstractTransactionFilter.doFilter(AbstractTransactionFi lter.java:26)
    org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java: 96)
    root cause
    java.lang.AssertionError: ITunesU.invokeAction(): I/O Exception java.io.IOException: Server returned HTTP response code: 500 for URL: https://deimos.apple.com/WebObjects/Core.woa/Browse/udayton.edu
    edu.udayton.learn.stripes.actionbeans.ITunesUd.invokeAction(ITunesUd.java:494)
    edu.udayton.learn.stripes.actionbeans.ITunesUd.invokeItunesU(ITunesUd.java:141)
    edu.udayton.learn.stripes.actionbeans.ITunesUd.launchItunes(ITunesUd.java:117)
    sun.reflect.GeneratedMethodAccessor309.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)
    java.lang.reflect.Method.invoke(Method.java:597)
    net.sourceforge.stripes.controller.DispatcherHelper$6.intercept(DispatcherHelpe r.java:410)
    net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.ja va:157)
    net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(Befor eAfterMethodInterceptor.java:107)
    net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.ja va:154)
    net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java: 73)
    net.sourceforge.stripes.controller.DispatcherHelper.invokeEventHandler(Dispatch erHelper.java:408)
    net.sourceforge.stripes.controller.DispatcherServlet.invokeEventHandler(Dispatc herServlet.java:241)
    net.sourceforge.stripes.controller.DispatcherServlet.doPost(DispatcherServlet.j ava:154)
    net.sourceforge.stripes.controller.DispatcherServlet.doGet(DispatcherServlet.ja va:61)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:18 1)
    com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:39)
    edu.udayton.elearn.hbm.AbstractTransactionFilter.doFilter(AbstractTransactionFi lter.java:26)
    org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java: 96)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs.
    Apache Tomcat/5.5.20

    It means that you have a syntax error in your JSP and the server can not compile the file into a servlet.

  • 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

  • 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

  • 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

  • I get the following error when trying to user Show & Share (HTTP Status 500)

    I get the following error when I try to use Show and Share.   I have cycled the power on the server but still the same message.
    How can I correct this?
    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: java.lang.NullPointerException
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:541)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:435)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378)
         org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
         org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
         org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
         com.cisco.vportal.services.security.VPAnonFilter.doFilter(VPAnonFilter.java:51)
         org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
         org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
         org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
         org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
         org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91)
         org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
         org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
         org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
         org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
         org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
         org.springframework.security.securechannel.ChannelProcessingFilter.doFilterHttp(ChannelProcessingFilter.java:116)
         org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
         org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
         org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175)
         org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
         org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
    root cause
    java.lang.NullPointerException
         org.apache.jsp.login_jsp._jspService(login_jsp.java:1002)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378)
         org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
         org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
         org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
         com.cisco.vportal.services.security.VPAnonFilter.doFilter(VPAnonFilter.java:51)
         org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
         org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
         org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
         org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
         org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91)
         org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
         org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
         org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
         org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
         org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
         org.springframework.security.securechannel.ChannelProcessingFilter.doFilterHttp(ChannelProcessingFilter.java:116)
         org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
         org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
         org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175)
         org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
         org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
    note The full stack trace of the root cause is available in the Apache Tomcat/6.0.14 logs.
    Apache Tomcat/6.0.14

    Good morning,
    Please, open a TAC service request to have this investigated further.
    When you do, please, attach the exact steps you follow to get this error, as well as a sysreport from the Show and Share appliance.
    Also, it would be good to confirm whether other users are also seeing the same error or not.
    Regards
    Daniel

  • Apache Tomcat/4.0.4 - HTTP Status 500 - Internal Server Error - I get this when I try to enter a record into one of our Access databases, what do I need to do to fix it, I don't know what it means

    Apache Tomcat/4.0.4 - HTTP Status 500 - Internal Server Error - I don't know what this means or how to fix it, I get it when I try to enter a ticket into one of our custom data bases in Access

    Apache Tomcat/4.0.4 - HTTP Status 500 - Internal Server Error - I don't know what this means or how to fix it, I get it when I try to enter a ticket into one of our custom data bases in Access

  • 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.

  • Trouble to access one website (HTTP Status 500) and to find Apache Tomcat/6.0.20 logs

    Hi to you all!
    It is impossible for me to access one website only for a couple of days, the Yell.com UK phone directory. I asked them to help me with this trouble, but one of the technicians answered «I have had no problems in accessing Yell.com online here and neither have my colleagues. There may have been a temporary bug with the system, but all is fine now. If you are still experiencing problems, I would suggest that it is an issue with your system.»
    It does not help because the trouble persists, whatever the solution I tried to find (clearing history and cache, bookmarking anew, changing slightly the URL). When trying to access to their website, it says:
    «HTTP Status 500 -
    «type Exception report
    «message
    «description The server encountered an internal error () that prevented it from fulfilling this request.
    «exception
    «… (Here are 13 lines about javax.servlet, com.yell.ucs.responder, org.apache.struts.action and 50 lines under achapter titled “root cause”) — then:
    «note The full stack trace of the root cause is available in the Apache Tomcat/6.0.20 logs.
    «Apache Tomcat/6.0.20»
    QUESTIONS —
    1. I have access without any problem to Yell.com with the Safari (after having selected “Safari browser”), but there is no result with Firefox with the Safari browser! How is this possible?
    2. I don't understand anything about what the “Apache Tomcat/6.0.20” - Error report means…
    3. What and where can I find the “Apache Tomcat/6.0.20 logs” on a Mac OS X 10.4 and how can this be solved?
    Many thanks forward for your help (please use ordinary words, I don't understand anything about computer and Web things).
    Cordially
    == URL of affected sites ==
    http://www.yell.com/

    Now, some goblin somewhere put things right and this Yell.com works again, ''without doing anything''… Hope it'll keep on going like this!

  • HTTP Status 500 error

    We have a form in Form Manager that sends us back to the login page after clicking on the submit button. This usually happens when it takes us more than 1 hour to complete the form.
    When I try to login again and click on the link to open the form, I get this message on the right side of Form Manager:
    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.adobe.fm.filter.TimeoutFilter.doFilter(TimeoutFilter.java:214)
    com.adobe.fm.filter.PortalSSOFilter.doFilter(PortalSSOFilter.java:125)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.0.26 logs.
    We suspect that this is a timeout issue. We already changed the web.xml file and increased the session-timeout to 5 hours but the error still occurs. Please help. Thanks.

    Hi Melissa
    I have asked Adobe numerous times about how to modify the default timeout in Form Manager. The response has always been that there is no way to do this.
    I'm not trying to dissuade you from trying, and it would be great to find a solution, but I wouldn't hold out too much hope :-)
    This comes down to a training issue - if the user is going to leave the form for any length of time, they should save the form as a draft.
    Good luck...
    Howard
    http://www.avoka.com
    PS. I haven't tried this yet, but I suspect that this will be much easier to tweak in LiveCycle ES. So another option is to consider upgrading.

  • 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

  • ** 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 Bug might be difficult.

    form action="myGroupRegistration" method="post" name="GroupRegistration" id="GroupRegistration">
    the web.xml file in WEB-INF is the following
    <?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>GroupRegistration</servlet-name>
              <servlet-class>GroupRegistration</servlet-class>
         </servlet>
         <servlet-mapping>
              <servlet-name>GroupRegistration</servlet-name>
              <url-pattern>/Activities/myGroupRegistration</url-pattern>
         </servlet-mapping>
    </web-app>
    The source code of the GroupRegistration.java file is the following:
    package mypackage;
    import java.sql.*;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class GroupRegistration extends HttpServlet
    Connection con;
    public void doPost (HttpServletRequest req, HttpServletResponse res)
                             throws ServletException, java.io.IOException
         handleForm(req, res);
    public void init() throws ServletException {
         try{
         /* Loading the driver for the database */
         Class.forName("com.mysql.jdbc.Driver");
         Connection Con = DriverManager.getConnection("jdbc:mysql://localhost/se?user=luser&password=");
         catch (ClassNotFoundException e) {
         throw new UnavailableException("Couldn't load JdbcOdbcDriver");
         catch (SQLException e) {
         throw new UnavailableException("Couldn't get db connection");
         private void handleForm(HttpServletRequest req, HttpServletResponse res)
         throws ServletException {
         //ServletOutputStream out = res.OutputStream();
         //res.setContentType("text/html");
         //Extract the form Data Here
         String group = req.getParameter("GroupNo");
         String Name1 = req.getParameter("Name1");
         String LoginID1 = req.getParameter("LoginID1");
         String Name2 = req.getParameter("Name2");
         String LoginID2 = req.getParameter("LoginID2");
         String Name3 = req.getParameter("Name3");
         String LoginID3 = req.getParameter("LoginID3");
         String Name4 = req.getParameter("Name4");
         String LoginID4 = req.getParameter("LoginID4");
         String URL = req.getParameter("URL");
         String Title2 = req.getParameter("Title2");
         String date = req.getParameter("date");
         String INSERT = "INSERT INTO registration (groupno, name1, loginid1, name2, loginid2, name3, loginid3, name4, loginid4, url, topic, date) VALUES (" + group + "," + Name1 + "," + LoginID2 + "," + Name2 + "," + LoginID2 + "," + Name3 + "," + LoginID3 + "," + Name4 + "," + LoginID4 + "," + URL + "," + Title2 + "," + date + ")";
         PreparedStatement pstmt = null;
         try{
         pstmt = con.prepareStatement(INSERT);
         pstmt.executeUpdate();
         catch (SQLException e) {
         throw new ServletException(e);
         finally {
         try {
         if (pstmt != null)pstmt.close();
         catch (SQLException ignored){
    I have the class file in \WEB-INF\classes\mypackage directory
    And when i press the submit button it moutputs the following:
    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 GroupRegistration or a class it depends on
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:891)
         at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:668)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
         at java.lang.Thread.run(Thread.java:534)
    root cause
    java.lang.ClassNotFoundException: GroupRegistration
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1443)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1289)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:885)
         at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:668)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
         at java.lang.Thread.run(Thread.java:534)
    CAN SOMEBODY HELP ME PLEASE?

    That did the work ....
    I actually found it before your comment but THANKS ANYWAY.
    I hope your comment will help others.
    The program now has another problem in my 69th line of my servlet code
         PreparedStatement pstmt = null;
         try{
    Here*     pstmt = con.prepareStatement(INSERT);
         pstmt.executeUpdate();
         catch (SQLException e) {
         throw new ServletException(e);
         finally {
         try {
         if (pstmt != null)pstmt.close();
         catch (SQLException ignored){
    the output from the Server is
    java.lang.NullPointerException
         at mypackage.GroupRegistration.handleForm(GroupRegistration.java:69)
    It somethink about the connectivity?
    But if it it why?
    It initialises correct with the database in the init() method...
    :( Weird stuff

  • HTTP Status 500 Apache/Tomcat error

    Hi !
    I'm having trouble getting my Java Plumtree Portal (5.02) to work correctly due to Apache/Tomcat HTTP Status 500 errors that come up when I try to perform certain actions on Content Server objects (PCS v 5.0.2).
    E.g., when I try to preview the 'Main Page' content item from a Content Server Portlet based on a Communauty Directory Portlet Template in Content Server Explorer, I get the following statement :
    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 at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) 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:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2416) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:601) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619) at java.lang.Thread.run(Thread.java:536)
    root cause
    javax.servlet.ServletException at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:536) at org.apache.jsp.navigate_jsp._jspService(navigate_jsp.java:226) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) 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:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2416) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:601) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619) at java.lang.Thread.run(Thread.java:536)
    Apache Tomcat/4.1.27-LE-jdk14
    And when I try to "Create a folder" on the front part of a Communauty Directory Content Portlet I have added to a communauty page, I get the following :
    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
    The system is out of resources.Consult the following stack trace for details.java.lang.OutOfMemoryError
    at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:130) at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293) at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:353) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:473) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:190) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) 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:256) at
    org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.j
    ava:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at
    org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.j
    ava:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2416) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at
    org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.j
    ava:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171) at
    org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.j
    ava:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) at
    org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.j
    ava:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at
    org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.j
    ava:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:601) at
    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.jav
    a:392) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619) at java.lang.Thread.run(Thread.java:536)
    I understand the problem seems to come from Jasper, the jsp engine used by Tomcat and that some jsp files seem to never be found...
    I know that two jar files might be the source of this problem (not existing in a particular directory, or not being refered in a classpath) : "jasper-compiler.jar" and "jasper-runtime.jar"
    I've tried to add these to the CLASSPATH environment variable but it didn't work.
    I've tried to resolve by copying jasper-runtime.jar and jasper-compile to \jakarta-tomcat-4.1.27-LE-j2sdk1.4.1_05\j2sdk1.4.1_05\lib directory but didn't work either.
    Moreover I don't understand because some errors seem to never come up again after having uninstalled the Tomcat Service (we created a special Tomcat Service installation script to launch Tomcat with an added -Djava.endorsed.dirs option to enable the XML Source Portlet to run correctly) and reinstalled another one with the default installation script (the same script but without the -Djava.endorsed.dirs option) This might be because the process calling the jsp files and compiling them to java files, which are then compiled to class files, only happens when the portal needs to request a particular jsp. So it might be that some files would have allready been compiled with Tomcat (based on the original installation script) running and it is only when the portal tries to reach class files that would never have been compiled because never been requested that the error statement comes up...
    Thanks for those who couragesly read this entire Topic.
    I deeply thank those who would have encoutered a similar problem or would know a possible solution and could give me a clue. I'm statring to get desperate...
    Sebastien, Groupe i3m, France.

    The exception is throwing when u r trying to convert null value into integer/float or double..
    Check for this

Maybe you are looking for

  • How to use Home Hub 3 as a 2nd router(access point...

    Hi guys hope you can help; I am trying to add my Home Hub 3 as a 2nd router (ie an access point) to my home network and struggling. What am I trying to achieve. I have a fully functioning home network which is working great but the wireless range doe

  • How to retrieve the data type of a column of a table?

    Hi, I want to retrieve the data type of a column of a table. At the moment I am querying "OCI_ATTR_DATA_TYPE" attribute but it is returning SQLT_CHR for both varchar2 and nvarchar2 data type columns. I need to distinguish between these two data types

  • Mirror Library Catalog "directory"  from Explorer Directory when importing

    I have a Folder on Windows Explorer named "Quick pile for Lightroom" (QPL). It is the singular folder my Lightroom Library accesses.  When I place files into QPL I sort them into separate subfolders, e.g. Landscape, Ice and Cold... When I import them

  • How to adjust space between table lines in smartform

    Hi experts, I created a smartform and use table to display content. But I find the space between 2 table lines is always wider than the space between to text lines. I'm using font 10, 6 lines per inch in the style. Is there any way to adjust the heig

  • Java webservice production deployment

    I have installed JWSDP1.0.01 and created a webservice 'VisitantWS' using the same. I can deploy, access and consume web service alright in the JWSDP deployment environment. Next, I am trying to create a production level environment for which, I have