Discussions

EJB programming & troubleshooting: jsp-oracle-weblogic problem

  1. jsp-oracle-weblogic problem (1 messages)

    my requirement is to build jsp which involves data base conncetions to oracle and server is weblogic4.5.1


    I have developed jsp and loaded in weblogic 4.5.1 server.
    but it is giving database driver problems,even after setting
    data base connections in the weblogic property sheet.

    the same settings working well in the case of servelts loaded in the weblogic.

    I really want to help in this regard.

    If it is the configuration problem,let me know how to do it.

    Threaded Messages (1)

  2. jsp-oracle-weblogic problem[ Go to top ]

    Register driver first in your code
    try code like this
    try{
    con=DriverManager.getConnection(dbUrl,"ops$net2people","people2net");
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    con = DriverManager.getConnection("jdbc:oracle:thin:@aakash:1521:n2people", "ops$net2people", "people2net");
    catch{}
    bye
    regrds
    venkata
    www.csc.com
    UK
    mutyalahari at hotmail dot com