LDAP HTTP Status 403 Error

I have just upgraded my set up to Sun one AS 7.0 and and sunone web server 6 sp5. And we use LDAP for Basic Authentication
The given example with file realm works good!!!
but when i configure it with LDAP, it does not work ??
I get 403
with the log in the console as
FINE: Authenticator[ser]: Security checking request GET /ser/servlet/test.ser3
FINE: Authenticator[ser]: Checking constraint 'SecurityConstraint[AllUrls]' against GET /servlet/test.ser3 --> true
FINE: Authenticator[ser]: Subject to constraint SecurityConstraint[AllUrls]
FINE: Authenticator[ser]: Calling checkUserData()
FINE: Authenticator[ser]: User data constraint has no restrictions
FINE: Authenticator[ser]: Calling authenticate()
FINEST: Processing login with credentials of type: class com.sun.enterprise.security.auth.login.PasswordCredential
FINE: Logging in user [97779] into realm: ldap using JAAS module: ldapRealm
FINEST: Login module initialized: class com.iplanet.ias.security.auth.login.LDAPLoginModule
FINEST: search: baseDN: dc=my,dc=com filter: uid=97779
FINEST: Found user DN: uid=97779,dc=my,dc=com
FINEST: Group search filter: uniquemember=uid=97779,dc=my,dc=com
FINEST: Group memberships found:
FINEST: LDAP login succeeded for: 97779
FINEST: JAAS login complete.
FINEST: JAAS authentication committed.
INFO: SEC5047: Audit: Authentication granted for [97779].
FINE: Password login succeeded for : 97779
FINE: Set security context as user: 97779
FINE: Authenticator[ser]: Authenticated '97779' with type 'BASIC'
FINE: SingleSignOn[server1]: Registering sso id 'A7BC7C80E7340931CDE1C52A1DF9EBDC' for user '97779' with auth type 'BASIC'
FINE: Authenticator[ser]: Calling accessControl()
FINEST: PRINCIPAL : 97779 hasRole?: myRole
FINEST: PRINCIPAL TABLE: {MyGroup=[myRole]}
INFO: SEC1123: Audit: principal=97779 GET /ser/servlet/test.ser3 session=null DENIED
FINE: Authenticator[ser]: Failed accessControl() test
pls tell me what could be wrong

Hi guys,
i got the issue solved,
it was just that the usr i had in LDAP did not belong to the group i had set in his role.

Similar Messages

  • HTTP Status 403 - Trust Token failure.

    I was trying to make some changes in the CMC to an Access Level I created and when I hit ok I got this error. Does anyone know what I can do from here? All I wanted to do was add some refresh rights to the Crystal Reports.
    HTTP Status 403 - Trust Token failure. URI[/BOE/CMC/1409050957/CmcAppActions/jsp/common/effectiveRights.faces] Value [] Message[Required SAP BusinessObjects Business Intelligence Platform Trust Token is missing]
    type Status report
    message Trust Token failure. URI[/BOE/CMC/1409050957/CmcAppActions/jsp/common/effectiveRights.faces] Value [] Message[Required SAP BusinessObjects Business Intelligence Platform Trust Token is missing]
    description Access to the specified resource (Trust Token failure. URI[/BOE/CMC/1409050957/CmcAppActions/jsp/common/effectiveRights.faces] Value [] Message[Required SAP BusinessObjects Business Intelligence Platform Trust Token is missing]) has been forbidden.
    Apache Tomcat/6.0.35
    Message was edited by: Erin Shaw
    You can see the status is listed as Granted to refresh the Crystal Reports so I am not sure why my user keeps getting denied access to refresh the shortcut of the report.

    Hi
    1. In which Browser version detail?
    2. Check this SAP KBA 1451000 - Error when trying to schedule a report on InfoView and CMC
    BR
    SS

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

  • HTTP Status 401 error download sdk

    So I guess I'm missing the secret sauce here.   I log  into the portal and click the purple button to download the sdk but all I get is a HTTP Status 401 error:
    type Status report
    message
    description This request requires HTTP authentication ().
    Same thing happens on firefox, safari, and ie 8.   Anyone else run into this?
    Thanks,
    Eric

    Hah fixed my own problem I guess.  I had to create a new account not login with my existing adobe developer account.   Not sure why that didn't work but I got what I wanted.

  • 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

  • HTTP Status 403 after logging out of my JSF application

    I have a JSF application that is using form based authentication (using a custom JSF control that creates a form with an action attribute equal to "j_security_check").
    Everything seems to be working just fine except when Firefox browsers logout and then backup (using the browser's back button) and click on a link or button in my JSF application. Instead of just showing the logon page again it shows the following ugly page:
    HTTP Status 403 - The request body was too large to be cached during the authentication process
    type Status report
    message The request body was too large to be cached during the authentication process
    description Access to the specified resource (The request body was too large to be cached during the authentication process) has been forbidden.
    Apache Tomcat/6.0.14IE shows the logon page when you click the back button.
    Is there some way that I can get Firefox to behave differently? Is there another way to handle authentication that would be better for a JSF application?
    Thank you!
    Dave

    Thank you for pointing me to look closer at the server RaymondDeCampo.
    I'm very new to Web development, Java, and JSF.
    I watched the HTTP Monitor (in NetBeans) as I did the following steps with Firefox, Safari (PC version), and IE:
    1. Log on to my app
    2. Change to a page in my app
    3. Log out of my app
    4. Click the browser's back button
    Firefox and Safari seemed to behave the same way. Clicking the back button displayed the previous page correctly, and NO new HTTP requests are added to the HTTP monitor. I assume these browsers are just loading the previous page from cached history or something? If I then click on a link or command button on the page, I get the HTTP Status 403 page in the browsers and once again NO new HTTP requests are added to the HTTP monitor. Is it possible for Tomcat to reply with the HTTP Status 403 page before the HTTP monitor even gets a chance to see the HTTP request? I'm pretty sure that Tomcat is producing the HTTP Status 403 page since the very last line on the page says "Tomcat 6.0.14."
    IE on the other hand caused an HTTP GET to be posted to the HTTP monitor when the browser's back button was clicked. The GET is for the login page which then gets shown in IE.
    Is there something else I should be looking at on the server side?
    Is there a way to stop Firefox and Safari from using cached pages when the back button is clicked and force them to go to the server for the content again?
    Thank you very much for any answers or advice that you can share!
    Dave

  • Yahoo mail install - HTTP Status 500 error

    I am trying to set-up a Yahoo mail account on my Bosses new Torch.
    I'm going to blackberry.com/yahoo/mail and when I click on Launch Email Setup, I get a HTTP Status 500 error.
    The error description is "The server encountered an internal error () that prevented it from fulfilling this request"
    Then it has exception for javax.servlet and root cause of java.lang.NumberFormatException and note of "The stack trace of the root cause is available in the JBossWeb/2.0.1.GA logs.
    Is this a problem on my end or on the blackberry site?
    Please advise. Thanks in advance!

    Hi and Welcome to the Forums!
    Please try this procedure instead:
    http://us.blackberry.com/support/blackberry101/setup.jsp#tab_tab_email
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • A connection to the server has failed. (status=403) error

    Hi,
    I have created an application with ADF security. When a user is redirected to the login.jspx page, if he clicks on any tab on the menubar(each of which are different jspx pages), it throws a pop up with the following error message-
    "A connection to the server has failed. (status=403)"
    Can someone please tell me where the problem lies.
    Regards
    Apoorva

    Hi Apoorva,
    When there is no welcome page defined in the application's web.xml file you can get a 403 error.
    Also note that when an user has not been authenticated yet, should not have access to any secured pages, any navigation component on the welcome page that points to a secured page. So if that's the case, any component that points to secured pages should be hidden.
    For further information you can take a look at the document available at http://docs.oracle.com/cd/E14571_01/web.1111/b31974/adding_security.htm#BABDEICH
    Hope this helps.
    Thanks,
    Cris

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

  • 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

  • HTTP Status 404 error for FIORI Application deployed on HCP

    Hello Experts,
    I have created a Fiori App using Web IDE and deployed it on my trial account of HCP .
    The Gateway service used is from On Premise system. I have used SAP Cloud Connector to connect Hana cloud Platform and on premise system.
    In Web IDE test application works fine. However, when I deploy it and access the application URL I am getting the error "HTTP Status 404" as shown in the screenshot.
    In Chrome  Developer Console shows below error
    "Failed to load resource: the server responded with a status of 404 (Not Found)".  I have checked many threads but could not find the solutions.
    Thanks and Regards,
    Ashik

    Does your firoi app have index.html file ? If yes, is it placed in the root folder of your app ?
    I guess you're missing out the index.html in your fiori app. You may be having Component.js as the entry point which will run only with Fiori launchpad. But to run fiori app as standalone, you need to create the index.html file.
    You can try accessing your component.js file by adding a '/Component.js' at the end of the url to know if you're app has been deployed properly as of now.
    -Sakthivel

  • Connection - HTTP Status 500 error

    Hi, getting the following error??
    HTTP Status 500 -
    type Exception report
    message
    descriptionThe server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for JSP
    PWC6197: An error occurred at line: 43 in the jsp file: /index.jsp
    PWC6199: Generated servlet error:
    string:///index_jsp.java:104: ')' expected
    PWC6197: An error occurred at line: 43 in the jsp file: /index.jsp
    PWC6199: Generated servlet error:
    string:///index_jsp.java:104: not a statement
    PWC6197: An error occurred at line: 43 in the jsp file: /index.jsp
    PWC6199: Generated servlet error:
    string:///index_jsp.java:104: ';' expected
    PWC6199: Generated servlet error:
    string:///index_jsp.java:122: 'catch' without 'try'
    PWC6199: Generated servlet error:
    string:///index_jsp.java:122: ')' expected
    PWC6199: Generated servlet error:
    string:///index_jsp.java:122: not a statement
    PWC6199: Generated servlet error:
    string:///index_jsp.java:122: ';' expected
    PWC6199: Generated servlet error:
    string:///index_jsp.java:130: 'finally' without 'try'
    PWC6199: Generated servlet error:
    string:///index_jsp.java:33: 'try' without 'catch' or 'finally'
    PWC6199: Generated servlet error:
    string:///index_jsp.java:134: reached end of file while parsing
    The code below+
    +*>>>*+
    <%--
    Document : index
    Created on : Mar 9, 2010, 3:26:07 PM
    Author : Administrator
    --%>
    <%@ page language="java" import="java.sql.*" %>
    <%@page contentType="text/html" pageEncoding="UTF-8"%>
    <% Class.forName("oracle.jdbc.OracleDriver"); %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <HTML>
    <HEAD>
    <TITLE>Fetching Data From a Database</TITLE>
    </HEAD>
    <BODY>
    <H1>Database Lookup</H1>
    <FORM ACTION="index.jsp" METHOD="POST">
    Please enter the ID of the publisher you want to find:
    <BR>
    <INPUT TYPE="TEXT" NAME="id">
    <BR>
    <INPUT TYPE="SUBMIT" value="Submit">
    </FORM>
    <H1>Fetching Data From a Database</H1>
    <%
    Connection connection = DriverManager.getConnection(
    "jdbc:oracle:thin:@localhost:1521:orcl","test","test");
    Statement statement = connection.createStatement();
    String id = request.getParameter("id");
    ResultSet resultset =
    statement.executeQuery("select * from tableName where id = '" id "'") ;
    if(!resultset.next()) {
    out.println("Sorry,could not find that publisher. Please <A HREF='tryAgain.html'>try again</A>.");
    } else {
    %>
    </BODY>
    </HTML>

    The braces seemed to have sorted out??
    The Oracle driver is called oracle.jdbc.OracleDriver is throwing up an error??
    Should it have the path and jar name??
    HTTP Status 500 -
    type Exception report
    message
    descriptionThe server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
    root cause
    java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver

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

  • BT Speedtester: HTTP Status 404 error message

    This is a problem extracted from the thread below as it is a separate issue
    http://community.bt.com/t5/BT-Infinity/Bt-s-speed-tester/td-p/405819
    When trying to use the new Speedtester I get the message below in the banner line.
    HTTP Status 404 - /PerformanceTester/applet/progressbar/progressbar.html
    If I ignore the message and carry on I get  a TEST Error message before any meaningful data is displayed.
    The following is general information about the problem.
    1.The PC involved is running Windows XP and Internet Explorer 8
    2. The problem did not occur with the previous version of the speed tester.
    3. Java does not start as it used to.
    4. The Speedtester works OK using Firefox on the same PC.
    5. When running the Speedtester on a different PC with IE 7  I get the following screen
    6.  Based on the above it looks as if this check is failing with IE 8 on the original PC but other than the 404 message there is no other indication of this including in the event logs in the PC.
    7. At least one other contributor is having this problem.
    8. It is not a JAVA problem otherwise Firefox would not work.
    9. IE 8 is OK for most other activities so it appears to be an IE8 / New Speedtester problem.
    Three final questions
    a) Is anyone else having this problem ?
    b) Has anyone got a suggestion for the cause? 
    c) Has anyone got a cure that involves XP and IE8 ?  (I already have a work around)
    Solved!
    Go to Solution.

    I have just discovered this thread
    http://community.bt.com/t5/BB-Speed-Connection-Issues/bt-speedtest/td-p/409019
    Based on the information there I have created a new favorite
    http://www.speedtester.bt.com/  that as far as I can see is identical to my previous favorite.
    The new one works !!!
    The old one still gives the previous 404 error !!!

Maybe you are looking for