New at SJSC - login page process

Hi folks!
I came from MS ASP.NET world and I'm trying to learn SJSC. I'd like to implement a login page process and restrict *.JSP internal pagas. Do you know where I can find an article or some tutorial do guide my on this learning process?

Maybe this tech tip will be usefull for you.

Similar Messages

  • New to jsp, login page errors

    I'm totally new to using jsp and as part of a project I need to create a login page which compares the
    entered email and password with those contained in a database.
    I've created the java code and jsp pages, there's no obvious errors (to me anyway) but everytime I try to run it I get the same error.
    The code for the login page is:
    <%@page contentType="text/html" pageEncoding="UTF-8"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    <form action="validate.jsp" method="POST">
    email address - <input type="text" name="emailAddress">
    password - <input type="password" name="passWord">
    <input type="submit" value="Submit">
    <input type="reset" value="Reset">
    new customer? To sign up <a href="new%20customer.jsp">Click here</a>
    </html>The validation page code is:
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%@page import="java.util.*" %>
    <jsp:useBean id="idHandler" class="org.login" scope="request">
        <jsp:setProperty name="idHandler" property="*"/>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
                String username=(String) session.getAttribute("username");
                String password = (String) session.getAttribute("password");
                String emailAddress = request.getParameter("emailAddress");
                String passWord = request.getParameter("passWord");
                if (idHandler.authenticate(emailAddress, passWord)) {
                } else {
    </html>and the java code is:
    package org;
    import java.sql.Connection;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import javax.sql.DataSource;
    public class login {
        private DataSource getJdbcConnectionPool() throws NamingException {
            Context c = new InitialContext();
            return (DataSource) c.lookup("java:comp/env/jdbc/connectionPool");
    //method that is called from validateuser.jsp and this checks for the authentic user and
        public boolean authenticate(String emailAdd, String pass)
                throws SQLException, IOException, IOException, NamingException {
            String emailAddress = null, Password = null;
            // connection instance
            Connection connection = null;
            try {
                DataSource dataSource = getJdbcConnectionPool();
                connection = dataSource.getConnection();
                String sql = "SELECT emailAdd, pword FROM customer WHERE emailAdd='" + emailAdd + "'" + "AND pword='" + pass + "'";
                PreparedStatement ps = connection.prepareStatement(sql);
                ResultSet rs = ps.executeQuery();
                if ( {
                    emailAddress = rs.getString("emailAdd");
                    Password = rs.getString("pword");
                if (emailAddress != null && Password != null && emailAddress.equals(emailAddress) && pass.equals(Password)) {
                    return true;
                } else {
                    return false;
            }finally  {
                // close the connection so it can be returned to
                // the connection pool then return the list           
    }finally the error message I get is:
    type Exception report
    description The server encountered an internal error () that prevented it from fulfilling this request.
    root cause
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.26 logs.
    help? is:
    connection.close();right? So, it looks like the call to getJdbcConnectionPool within authenticate throws an exception and control is passed to the finally block where connection is still null, resulting in the NPE. You should probably catch any exceptions thrown by the lookup for your datasource so you can see what the "real' error is.

  • Issue with adding a new value to the Default Login Page

    Hopefully this is an easy one guys, I've added a select list item to the standard login page (P101) to allow the user to select a DOMAIN as well as entering their username and password.
    When the next page is displayed and I try to retrieve the value held in the new field it has been cleared, but the values entered into items
    P101_USERNAME and P101_PASSWORD are still present.
    I can't figure out why the values held in items P101_USERNAME and P101_PASSWORD are still present but P101_DOMAIN has been cleared.
    I've tried creating a value on page zero and writing the domain value to it using pl/sql and javascript but as soon as the next page is requested the value is cleared.
    Any Ideas how to get around this????
    Thanks in advance

    I suppose your login page contains a process like this:
       wwv_flow_custom_auth_std.login (p_uname           => v ('P101_USERNAME'),
                                       p_password        => :p101_password,
                                       p_session_id      => v ('APP_SESSION'),
                                       p_flow_page       => :app_id || ':1'
       :t_random_number := :p101_random_number; /* this is something I added to my code */
    END;Now, if you go to this page:
    please note the random number assigned to you. Once you login, the same number will appear on the page 1 (near to the top).
    So, that is how you could solve your problem.
       :t_random_numberis an application item.
    Denes Kubicek

  • I am unable to login from my login page after I restarted my mini mac running snow leopard 10.6 server. I am a new user. Need help

    I am unable to login from my login page after I restarted my mini mac running snow leopard 10.6 server. I am a new user. Need help

    Try clearing your cache, [ to clear the cache Instructions here]. Then, try going to [ Google Accounts]. If there is currently an account singed in, sign out, then back in. After that, try going to Google Adwords.

  • Open URL in new window from page process

    I have a Page process that returns a URL (stored in 'l_val' field). Within this process, what is the best way to open that URL (stored in l_val) in a new window?
    DECLARE l_clob clob;
    l_xml xmltype;
    l_val clob;
    for c1 in (select clob001
    from apex_collections
    where collection_name = 'CENTRIS_IEP_VIEWER') loop
    l_clob := c1.clob001;
    end loop;
    l_xml := xmltype.createxml(l_clob);
    l_val := dbms_xmlgen.convert(
    , 'xmlns=""'
    , 1

    You can create a application process using this code and call that process from a javascript function and return that URL to the javascript function there you can open a popup easily.
    If you want you can open a popup from process, you can do that using htp.p() function, I had tried this once but what it does was, it opens a popup but it clears out my parent page, I was not be able to see anything on my parent page.

  • When I try to log into iCloud the login page offers me my old email address rather than my newer one - and for which I have created a new password. I am unable to activate iCloud. Suggestions welcome.

    Earlier, I changed my Apple account details to reflect my new email address. I also changed the password. iCloud seems not to 'know' this. It's service is disabled until I login in. But the default email address shown on the login page is the old email address. I can find no way of telling I cloud that I have new account details.

    To change the account, go to System Preferences>iCloud, sign out, then sign back in with your revised credentials.  If they aren't accepted, recreate the old ID at and changing the primary email address back to the old one (no need to verify the email account).  Then sign out of the old ID on your Mac, providing your current password if prompted.  Once you have signed out, change your ID back again, then go to System Preferences>iCloud and sign back in with your updated credentials.

  • Login page keeps going to "Create new user account" on login

    For about 3 weeks, whenever I log in, the next page I get is nearly always the "Create new user account" page. This happens regardless of whether I wait to let AutoFill enter my user name and password or whether I fill in the correct info myself.
    When I click the back button on my browser and finally arrive at the page with the forums list, I'm always registered as logged in. But sometimes I just end up back on the login page with a blank entry box.
    How do I get to the forums page without having to get out of the "new user account" page first? (While this isn't a huge problem, it's time-wasting and kind of annoying, and it didn't used to happen.)

    Hi Turtlewiz!
    Have you tried deleting your browser cache & cookies?
    Good Luck!
    ali b

  • New Login Page

    I have created a new login page so that when the users enter they are presented with all the available application they have access to. When they click on an application Say the timesheet i am storing there user name in an item on the timesheet page. If there are multiple users the system can not keep track of what user it has and displays someone elses user name to the user.
    Any Ideas?

    Kevin - If your application requires authentication and you don't use the built-in authentication and session management mechanisms provided by wizard-created authentication schemes (and their associated login pages), then you'll have to debug your own code as we have no idea what the design and implementation details are. However, if you are having trouble with some of the built-in mechanisms, please provide more details, preferably an example on

  • Running into Exception while Creating new Login Page for Security

    I am following ADF Developers Guide to create a new login page ,so that whenever a page is run , first it redirects to Login page first and on Button click it
    goes to the Original page which was run.
    This is my Login bean code for doLogin()
    public String doLogin(){
    String un = _username;
    byte[] pw = _password.getBytes();
    FacesContext ctx = FacesContext.getCurrentInstance();
    HttpServletRequest request = (HttpServletRequest)ctx.getExternalContext().getRequest();
    try {
    CallbackHandler handler = new URLCallbackHandler(un, pw);
    Subject mySubj =;, request);
    //String loginUrl = "/adfAuthentication?success_url=/faces/viewactivityname";
    } catch (FailedLoginException fle) {
    FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_ERROR,"Incorrect Username or Password","An incorrect Username or Password" +" was specified");
    ctx.addMessage(null, msg);
    } catch (LoginException le) {
    reportUnexpectedLoginError("LoginException", le);
    return null;
    Now the Dev guide says that :: "Specifically, without specifying a view activity as the
    redirect target, command components, such as the commandButton
    component, will always return to the original page after login."
    Hence I have commented out the code for the call to sendForward().
    As soon as I press the button I am running into an error :: "javax.faces.el.EvaluationException: java.lang.NullPointerException"
    ]] Root cause of ServletException.
    javax.faces.el.EvaluationException: java.lang.NullPointerException
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(
         at com.sun.faces.application.ActionListenerImpl.processAction(
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(
         at javax.faces.component.UIViewRoot.broadcastEvents(
         at javax.faces.component.UIViewRoot.processApplication(
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.NullPointerException
         at oracle.sample.view.LoginBean.doLogin(
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(
         at java.lang.reflect.Method.invoke(
    These are the steps which I followed ::
    a) Created Managed bean class and registered it to adfc.config.xml
    b) Created a Custom Login Page say Login.jspx and created a DataBound Page say EmpDetails.jspx
    c) Made sure that My Login page is custom Login Page
    d) Command Button has the Action Property set to LoginBean.doLogin
    e) Configured security and has only one user, no roles and assigned the user to access the page
    e) When I run EmpDetails.jspx , I am redirected to Login page as expected but as soon as I press
    Login "CommandButton" it throws this error.
    Any pointers.
    Nikhil Misra

    Hi Puthanampatti,
    In that ase what would be my sendForward() mthod look like.
    Currently as per the Dev guide it is :
    private void sendForward(String forwardUrl) {
    FacesContext ctx = FacesContext.getCurrentInstance();
    try {
    } catch (IOException ie) {
    reportUnexpectedLoginError("IOException", ie);
    I understand tat there would be change in parameters like sendForward(HttpServletRequest request,HttpServletResponse response,String forwardUrl),
    but how would the other parameters work.
    Nikhil Misra

  • New email login page scam advert - Beware.

    On 23rd December my other half saw an advert on the new email login page for a 14 day trial of something called RVTL Anti Aging cream, all you had to pay was the postage (£2.99). This is basically a scam as the 14 day clock starts as soon as you click and there is a nasty £95 surprise taken from your credit card 14 days later unless you cancel before. The £95 is not mentioned anywhere you can see it when you place the order.
    In our case with Christmas and New Year holidays the product did not even arrive until day 15 so there was no chance to cancel before the deadline. We called their service desk and was told bluntly that the 14 days had expired and they had taken the money. The bank also informed us they could not stop the transaction, although any future ones will be refused.
    The company names concerned seem to be  Sheridan Labs and JEM Marketing of Cranleigh in Surrey and Equinox Beauties operating from a PO box in Linlithgow.  I did a quick search yesterday when we realised what was going on and it seems to be a well known problem. My Norton anti-virus even flags some of their RVTL web pages as unsafe.
    I am very surprised and shocked that BT would allow such scammers to operate from the BT mail website and have asked BT for an explanation.

    Their T&C below are from the RVTLSKIN company website about the trial offer.
    Trial Offer and Continuity Plan Summary
    For UK Customer: +44 20 3014 0761 | [email protected]
    To help you get started, we offer a 14-days trial of RVTL Anti Aging with the eligibility of automatic enrollment in our home delivery program. You can try RVTL Anti Aging risk free to determine for yourself, if this product is right for you. When you submit your order, you automatically agree to pay the non-refundable discounted shipping & handling cost of £6.95 for your trial for a full 30 day supply of RVTL Anti Aging.
    If you find that the product is not right for you, simply call our Customer Support Center or the numbers shown on your bank statement you can also send an email to cancel your membership before the end of your 14-day trial period and you will not be charged the full price of the RVTL Anti Aging. Your 14-day trial period begins at the date of order our products are normally delivered within 3 to 5 business days from the time of ordering. If you do not receive your trial bottles within five (5) business days of placing the order, please contact our Customer Service Center or numbers shown on your bank statement our support staff is available to give you more updated information on the estimated delivery time along with the tracking info.  
    If you do not cancel before the end of your 14-day trial, we consider you as our valued member of home delivery program and charge the credit card on file the full price of eighty nine pound. £95.95 (£89.00 + £6.95 Shipping & Handling) will be charged on the 30th day from the order and  30days  there after your credit card on file will be billed for the fresh pair of full 30-day supply of RVTL Anti Aging until you choose to cancel the home delivery program. No further notice will be sent by the Company.
    Not really a scam as they clearly state the terms and costs, but still hard to take.

  • LMS 3.2.1 - New user gets white page after login

    Hy Pros.
    Recently I've added a new local user to the LMS, but everytime he logs in, he gets a white page in his browser.
    I've tried the workarounds for bug CSCte29226, but they didn't fix it.
    Do you have any hints?

    Existing user still get their Portal shown, but not new users.
    The LMS is connected to an ACS, but not in ACS Mode. We're only authenticating the users at the ACS. Authorization is still local.
    But this seems to be working, becasue if the new user is mistyping the password, the login page reappears telling that the authentication failed.
    Following your link I get this:
    Bug CSCtb17186 does not exist

  • Username and password with new login page

    i have created an application where in which in login page i have created
    3 items username and password confirm password . where does the
    data entered in the items fall . how can i retrieve the data .

    Just some information :
    - The problem with LOGIN page exists. I don't have that problem with for example GMAIL when defined as external application, but with my applications in Oracle Application Server.
    - There is also another thing I don't understand. The link to external application is something like:
    and couldn't be executed outside pls/orasso
    in other words we can't give that to our users, can we? They should login to orassso and see that?
    We don't want to involve them in Identity Management...
    Any help is appreciated....

  • Error while loading a 10.1.3 ADF application login page on JBoss EAP 6.0.1

    I have a 10.1.3 ADF application that runs well on Web Sphere and OC4J. I'm trying to run it on JBoss EAP 6.0.1. The ear file was deployed successfully to JBOSS and according to ADF logging the connection to Oracle database is established.
    But when I try to load the application login page, I obtain the following exception
    ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/cv].[Faces Servlet]] (http-/ Servlet.service() for servlet Faces Servlet threw exception: oracle.jbo.common.ampool.ApplicationPoolException:
    JBO-30003: The application pool (com.claimvantage.adf.root.Oracle) failed to checkout an application module due to the following exception:
            at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout( [bc4jct.jar:]
            at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule( [bc4jct.jar:]
            at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule( [bc4jct.jar:]
            at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule( [adfmweb.jar:]
            at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule( [bc4jct.jar:]
            at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule( [bc4jct.jar:]
            at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule( [adfm.jar:]
            at oracle.adf.model.bc4j.DCJboDataControl.beginRequest( [adfm.jar:]
            at oracle.adf.model.binding.DCDataControlReference.getDataControl( [adfm.jar:]
            at oracle.adf.model.BindingContext.get( [adfm.jar:]
            at oracle.adf.model.BindingContext.findDataControl( [adfm.jar:]
            at com.claimvantage.web.bean.jsf.JhsPageLifecycle.getMessageHolder( [cv-model.jar:]
            at com.claimvantage.web.bean.jsf.JhsPageLifecycle.reportErrors( [cv-model.jar:]
            at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareRender( [adf-controller.jar:]
            at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareRender( [adf-controller.jar:]
            at oracle.jheadstart.controller.jsf.lifecycle.JhsPageLifecycle.prepareRender( [jhsadfrt-10.1.3.jar:]
            at oracle.adf.controller.v2.lifecycle.Lifecycle$1.execute( [adf-controller.jar:]
            at oracle.adf.controller.v2.lifecycle.Lifecycle.executePhase( [adf-controller.jar:]
            at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase( [adf-controller.jar:]
            at oracle.adf.controller.faces.lifecycle.ADFPhaseListener$1.before( [adf-controller.jar:]
            at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.beforePhase( [adf-controller.jar:]
            at com.sun.faces.lifecycle.Phase.handleBeforePhase( [jsf-impl-2.1.13-redhat-1.jar:2.1.13-redhat-1]
            at com.sun.faces.lifecycle.Phase.doPhase( [jsf-impl-2.1.13-redhat-1.jar:2.1.13-redhat-1]
            at com.sun.faces.lifecycle.LifecycleImpl.render( [jsf-impl-2.1.13-redhat-1.jar:2.1.13-redhat-1]
            at javax.faces.webapp.FacesServlet.service( [jboss-jsf-api_2.1_spec-2.0.7.Final-redhat-1.jar:2.0.7.Final-redhat-1]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter( [jbossweb-7.0.17.Final-redhat-1.jar:]
            at oracle.adf.model.servlet.ADFBindingFilter.doFilter( [adfm.jar:]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter( [jbossweb-7.0.17.Final-redhat-1.jar:]
            at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter( [adf-faces-impl-no-oracle-desktop-xss.jar:10_1_3_2_0]
            at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl( [adf-faces-impl-no-oracle-desktop-xss.jar:10_1_3_2_0]
            at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter( [adf-faces-impl-no-oracle-desktop-xss.jar:10_1_3_2_0]
            at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter( [adf-faces-api.jar:10_1_3_2_0]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter( [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationDispatcher.invoke( [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationDispatcher.processRequest( [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationDispatcher.doForward( [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationDispatcher.forward( [jbossweb-7.0.17.Final-redhat-1.jar:]
            at com.claimvantage.web.sso.AuthenticationFilter.doFilter( [cv-model.jar:]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter( [jbossweb-7.0.17.Final-redhat-1.jar:]
            at oracle.adf.model.servlet.ADFBindingFilter.doFilter( [adfm.jar:]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter( [jbossweb-7.0.17.Final-redhat-1.jar:]
            at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter( [adf-faces-impl-no-oracle-desktop-xss.jar:10_1_3_2_0]
            at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl( [adf-faces-impl-no-oracle-desktop-xss.jar:10_1_3_2_0]
            at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter( [adf-faces-impl-no-oracle-desktop-xss.jar:10_1_3_2_0]
            at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter( [adf-faces-api.jar:10_1_3_2_0]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter( [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.StandardWrapperValve.invoke( [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.StandardContextValve.invoke( [jbossweb-7.0.17.Final-redhat-1.jar:]
            at [jboss-as-web-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]
            at org.apache.catalina.core.StandardHostValve.invoke( [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.valves.ErrorReportValve.invoke( [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.StandardEngineValve.invoke( [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.connector.CoyoteAdapter.service( [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.coyote.http11.Http11Processor.process( [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process( [jbossweb-7.0.17.Final-redhat-1.jar:]
            at$ [jbossweb-7.0.17.Final-redhat-1.jar:]
            at Source) [rt.jar:1.6.0_16]
    Any help would be really appreciated.

    Thanks Frank for your answer.
    I can't see where the exception states that DB connection was not established!
    In the log, I have:
    21:49:06,874 INFO  [stdout] (http-/ [3011] Created root application module: 'com.claimvantage.adf.root.RootAppModule'
    21:49:06,874 INFO  [stdout] (http-/ [3012] Locale is: 'en_US'
    21:49:06,874 INFO  [stdout] (http-/ [3013] ApplicationPoolImpl.resourceStateChanged wasn't release related. No notify invoked.
    21:49:06,890 INFO  [stdout] (http-/ [3014] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    21:49:06,890 INFO  [stdout] (http-/ [3015] import java.util.*;  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/ [3016] import java.sql.*;  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/ [3017] import*;  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/ [3018] public class JDBCCalls  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/ [3019] {  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/ [3020]    public Connection conn = null;  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/ [3021]    public CallableStatement cStmt = null;  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/ [3022]    public PreparedStatement pStmt = null;  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/ [3023]    public Statement stmt = null;  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/ [3024]    public ResultSet rslt = null;  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/ [3025]    public static void main(String argv[])  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/ [3026]    {  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/ [3027]       DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/ [3028] Creating a new pool resource
    21:49:06,890 INFO  [stdout] (http-/ [3029] Trying connection/2: url='jdbc:oracle:thin:@s1ora01s:1521:s1ora01a' ...
    21:49:07,093 INFO  [stdout] (http-/ [3030]       conn = DriverManager.getConnection("jdbc:oracle:thin:@s1ora01s:1521:s1ora01a", /*properties*/);  // JBO-JDBC-INTERACT
    21:49:07,093 INFO  [stdout] (http-/ [3031]       conn.setAutoCommit(false);  // JBO-JDBC-INTERACT
    21:49:07,093 INFO  [stdout] (http-/ [3032] Successfully logged in
    21:49:07,093 INFO  [stdout] (http-/ [3033] JDBCDriverVersion:
    21:49:07,093 INFO  [stdout] (http-/ [3034] DatabaseProductName: Oracle
    21:49:07,093 INFO  [stdout] (http-/ [3035] DatabaseProductVersion: Oracle Database 10g Enterprise Edition Release - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Don't you think that it indicates that DB connection is well established?

  • Login error in the login page ...

    Hi all,
    I have a few applications in my work space but one of the application I can not run, when try to run getting this error message -
    ORA-06550: line 1, column 10: PLS-00201: identifier 'RATIS_USER.IS_ADMIN' must be declared ORA-06550: line 1, >column 7: PL/SQL: Statement ignoredIn the debug section, it shows the following -
    0.02:0.02: S H O W: application="37206" page="101" workspace="" request="" session="3410044959524885"
    0.03: alter session set nls_language="ENGLISH"
    0.03: alter session set nls_territory="UNITED KINGDOM"
    0.03: NLS: CSV charset=WE8MSWIN1252
    0.03: ...NLS: Set Decimal separator="."
    0.03: ...NLS: Set NLS Group separator=","
    0.03: ...NLS: Set date format="DD-MON-RR"
    0.03: ...Setting session time_zone to -05:00
    0.03: NLS: Language=en-gb
    0.03: Application 37206, Authentication: CUSTOM2, Page Template: 5425767280642058915
    0.03: ...Session ID 3410044959524885 can be used
    0.03: ...New Instance Detected - :4500:4350:4000:50843
    0.03: ...Application session: 3410044959524885, user=TAJUDDIN335
    0.03: ...Determine if user "TAJUDDIN335" workspace "2617034107818392993" can develop application "37206" in workspace "2617034107818392993"
    0.03: Session: Fetch session header information
    0.03: ...Metadata: Fetch page attributes for application 37206, page 101
    0.03: Fetch session state from database
    0.03: Branch point: BEFORE_HEADER
    0.03: Authorization Check: "5474429220436784237" User: "TAJUDDIN335" Component: "APPLICATION"
    0.03: Fetch application meta data
    0.04: Computation point: ON_NEW_INSTANCE
    0.04: ...Perform computation of item: F102_APP, type=STATIC_ASSIGNMENT
    0.04: ...Performing static computation
    0.04: ...Session State: Save "F102_APP" - saving same value: "RATIS - Recreation And Tourism Information System "
    0.04: ...New Session = True
    0.04: Processing point: AFTER_AUTHENTICATION
    0.04: ...Process "set_is_admin": PLSQL (AFTER_AUTHENTICATION) IF ratis_user.is_admin(:APP_USER) THEN :F102_IS_ADMIN := 'TRUE'; ELSE :F102_IS_ADMIN := 'FALSE'; END IF;
    0.04: Encountered unhandled exception in process type PLSQL
    0.04: Show ERROR page...
    0.04: Performing rollback...
    0.05: Processing point: AFTER_ERROR_HEADER
    I could not find anything in the login page 101, I had one custom_authentication package which I have removed but still the same error. Any ideas ....!!!
    Thanks in advance,

    Looks like you have an on-new instance application process that calls a non-existent function "ratis_user.is_admin".

  • Change login page and logout_url

    I created with apex 2.1 a new login page.
    How/where can I reset the login process to page 1 or page 101 ?
    Where can I edit which page corresponds with LOGOUT_URL ?
    In Shared Components > Security > Authentication Schemes > Change > Next
    I can see which page corresponds at the moment, but I do not know where to change these settings
    (Authentication schema is the default Application Express)
    The string looks like:

    I just had a look at the documentation and realize it was slightly different back in 2.1.
    You need to use the LOGOUT procedure rather than just setting it in shared components:
    Here is the link to the documentation:
    If you search for the "LOGOUT Procedure" which part of the Oracle Application Express API's it gives an example of how it used.
    There is also a procedure API for the login which can also be searched for under "LOGIN Procedure" and also has an example of how it can be used.

Maybe you are looking for

  • How to use math symbols in a right to left text properly?

    Hey there When I write a simple mathematical equation or a number(which has sign) in the middle of a right to left text in a text box(I simply set keyboard language to EN for typing expressions & numbers) it's like mathematical symbols are somehow no

  • Servlet packed in EJB project

    Hi, I have a few servlets are pacakged in the same project as some EJBs in OEPE as a EJB project. Will the servlets work? The first try I got 404 error.

  • How to set software updates back to Apples server?

    Hi, I just started using OSX Server. I will be using it to perform hundreds of netboot installs of Leopard which I have working. I also want to use it to serve software updates which I also have working on one machine using the defaults write

  • Adobe error (-432)

    Can anyone explain what error 432 means and the resolution, so that I can continue to download. Bit of background, my partner and I started with two different authorisations on our computer i.e. on different MS user accounts in Windows XP. Having now

  • Workaround: Oracle Networking - LDAP export to TNSNAMES

    Just posting a workaround to another silly problem: With Oracle10g, ONames is no longer supported. A reasonable alternative is to LDAP using OiD. In the docco, Oracle describes a method to export and import between OID and TNSNAMES.ORA. Specifically