Error when Connect to Oracle using JSP

DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver()); There is no problem with this code in Java, but when i used it in JSP, the error occured.
java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
I am using JRUN Web Server, i don't know how to Configure JRUN to use JSP with Oracle.

the problem is that your JDBC driver is not in the classpath of your servlet. Add the jar file to the WEB-INF\lib folder of your web application.
i don't know how to Configure JRUNSorry, but in order to achieve anything, you'll have to RTFM.

Similar Messages

  • Sun Ray error when connecting to Oracle VDI - No Kiosk Sessions Available

    When the Sun Ray DTUs go to connect to the Oracle VDI cluster at times they will throw the error "Error starting Kiosk session: No Kiosk accounts configured." We have tried going through the steps to confirm that the Kiosk sessions are configured on the two secondary hosts but the problem persists. When the Sun Ray DTUs do connect they will work for a while and then when left idle for a period of time will loose their connection and be unable to restart the connection with the error mentioned. The Screen Blanking option on the Sun Ray DTUs is set to "0" to prevent them from going into power-save mode but this makes no difference. The Sun Ray DTUs are all updated with the latest GUI firmware and there are no custom options set in the Sun Ray Session Servers.
    The thing that bothers me the most is I have not seen any error messages in the logs. I will post up the logs as links in a follow-up post.
    Has anyone had any similar issues while connecting with a Sun Ray DTU?
    Currently we are running Oracle VDI 3.2.1 on the cluster.
    Here are the commands we used to reset the Sun Ray Kiosk accounts:
    # /opt/SUNWkio/bin/kioskstatus -c
    # /opt/SUNWkio/bin/kioskuseradm status
    # /opt/SUNWkio/bin/kioskuseradm delete
    # /opt/SUNWkio/bin/kioskuseradm create -l utku -g utkiosk -i auto -u –c

    I was trying to transfer data from oracle to sql server 2008 on a daily basis.
    I have very hard time connecting to oracle from ssis package on windows server 2008. I am almost dead and cannot find any help. i was able to connect to oracle using import/export 64 bit feature of SQL Server 2008 using Oracle provider for OLEDB. But I am not sure why the same does not work with BIDS?
    Here's the environment info:
    1. Oracle Client 10g
    2. SQL Server 2008
    3. Windows Server 2008
    Appreciate your help. Please save me.
    Thanks,

  • Interconnect DB adapter Error when connecting to DB Using Oracle Wallet

    Hi all,
    I have installed multiple DB adapters on a unix m/c and when i am starting the DB adapter( name ex: B) i am getting the following error.
    when i Hash (#)the passwd in adapter.ini without using oracle wallet my DB adapter gets connected if the same is removed i am getting the following Error.
    "java.sql.SQLException: invalid arguments in call"
    Oracle Wallet password have been set correctly and works fine with one of the DB adapter( name ex: A) and the same setting of A has been used in B.
    Would be glad if someone could help to give solution to track oracle wallet and database connectivity.
    Oailog.txt
    ~~~~~~~~~~
    Initializing the Bridge oracle.oai.agent.adapter.database.DBBridge..
    Initializing connection to the Repository...
    Connected to the Repository.
    B could not connect to the database
    regards
    yenyes

    The issue was solved.The workaround involved synchronising the security folders the one below the /interconnect and one below /adapters.

  • ORA-12504 error when connecting to Oracle 11G DB using OCI and instantclient-basic-nt-11.2.0.3.0.zip

    Dear Friends,
    I am using OCI and instant_client (11.2.0.3.0)  in my C++ program (on Windows 7) to connect remotely to 11G database.
    While doing a connection using server name as well as servername:port/service_name as connection strings, I am getting error of ORA-12504 TNS:listener was not given the SERVICE_NAME in CONNECT_DATA.
    According to instant client FAQ & white paper at http://www.oracle.com/technetwork/database/features/instant-client/index.html, no tnsnames.ora is required for instant client. Then why could I be getting this error?
    I ensured that only the instant client directory is in Path environment variable. There was a ODBC driver installed on this same host. Could that be modifying the behavior of instant client?
    Kindly guide.
    Many thanks in advance for your help and time.
    Best Regards,
    - ganesh

    >>what is the exact connect string you are using?
    For connection, I am using the plain hostname on which the DB server is running.
    >>are you calling OCIServerAttach before OCISessionBegin?
    I am not using OCISessionBegin. For connecting to DB server, I am using the following sequence of OCI calls (in this same order):
    1) g_OCIEnvNlsCreate
    2) g_OCIHandleAlloc //-- error handle: OCI_HTYPE_ERROR
    3) g_OCIHandleAlloc // --- sevice context: OCI_HTYPE_SVCCTX
    4) Setting driver name and application name for the session:
        OCISession* usersession = 0;
        ret = g_OCIAttrGet(m_pSvcCtx, OCI_HTYPE_SVCCTX, &usersession, NULL,
                                 OCI_ATTR_SESSION, m_pErrHdl);
        if (ret == OCI_SUCCESS)
            ret = g_OCIAttrSet(usersession, OCI_HTYPE_SESSION, (void*)"OCI_DRV", 2,OCI_ATTR_DRIVER_NAME, m_pErrHdl);
            ret = g_OCIAttrSet(usersession, OCI_HTYPE_SESSION, (void*)"ClientApplication", <ub4>(strlen("DataReconScanning")), OCI_ATTR_CLIENT_IDENTIFIER, m_pErrHdl);
    5) g_OCILogon() using the user, password and host name, as below:
    g_OCILogon(m_pDbCon, m_pErrHdl, &m_pSvcCtx,
                                   (text*)user.c_str(), static_cast<ub4>(user.length()),
                                   (text*)pass.c_str(), static_cast<ub4>(pass.length()),
                                   (text*)host.c_str(), static_cast<ub4>(host.length()));
    Thanks.

  • I met an error when connect to oracle db with tag sql:DataSource

    When I use the jstl tag <sql:DataSource> connect to oracle db ,I met an error as :
    javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: No suitable driver"
    My Source code as follow:
    <sql:setDataSource var="dataSource" driver="oracle.jdbc.driver.OracleDriver" url="jdbc:oracle:thin:@192.168.1.220:1521:gzserver" scope="request" user="lnmisscall" password="lnmcadmin"/>
    <sql:query dataSource="{$dataSource}" var="data">
    I am sure the connection information are right (I can connecte to the db with them in jsp & java bean) , and I have put the oracle's jdbc driver under the tomcat/common/lib folder,
    Please help me to fit it ,thanks.

    Sabrina,
    Its all dependent on the application and whether its 32-bit or 64-bit.  For example, SSRS reporting services 2008 R2 is a 64-bit application, so load the 64-bit oracle client there for report execution.  Report builder is a 32-bit client application,
    assuming its running on a different machine, so load the 32-bit oracle client on any user computers using RB 3.0 and working with Oracle.  If the computers are one in the same, then do as the post above says, load both...

  • Error when connecting an oracle DB with Integration gateway

    I followed the steps from the blog How to connect an Oracle DB with Integration Gateway in SMP3 and the ojdbc was deployed successfully to SMP. Still, i'm getting "Driver class oracle.jdbc.driver.OracleDriver not found" error message when i try to test my connection. The first difference i saw when completing these steps was that I'm using SMP3 SP05, could this be the issue?

    Joao D Franco Net
    Could you share below information:
    Can you cross check if deployed driver are OSGi enabled? Refer this.
    Can you share screenshot of the destination settings and error ?
    note: The blog you followed is referring to SP03 (1st GA of SMP3)..You should not have any problem in connecting to Oracle DB being on any SP.
    Regards,
    JK

  • Error when connecting linux oracle dataabse for replication thru oms

    I have installed oracle 8.1.7 ee on Redhat linux 7.1 and 6.2 both and also on windows2000.
    When i try to access database of any oracle installed on linux machines from any of management server it gives following errors:
    ora-01034 oracle not available
    ora-27101 shared memory realm does not exist
    linux error:2: file or dir does not exist.
    if i try to access dataabse without login to any management server ( i.e thru dba studio) then it connects to it.
    i want to setup master replication with two linux machine database.
    if any person has solution for this then please help me.
    Thx in advance
    if possible mail me at [email protected]
    thx in advance
    pranav shah
    null

    1010056 wrote:
    When iam connecting getting the following error
    [rmancln@orawave ~]$ sqlplus '/as sysdba'
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Jun 5 21:16:53 2013
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> select status from v$instance;
    STATUS
    MOUNTED
    SQL> alter database open;
    alter database open
    ERROR at line 1:
    ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: '/u01/rmancln/oradata/CLN/system01.dbf'provide details on what events lead up to this situation.
    [oracle@localhost ~]$ oerr ora 1152
    01152, 00000, "file %s was not restored from a sufficiently old backup "
    // *Cause:  An incomplete recovery session was started, but an insufficient
    //         number of logs were applied to make the database consistent. This
    //         file is still in the future of the last log applied. The most
    //         likely cause of this error is forgetting to restore the file
    //         from a backup before doing incomplete recovery.
    // *Action: Either apply more logs until the database is consistent or
    //         restore the database file from an older backup and repeat recovery.

  • ODBC Error when connecting to Oracle

    Dear All,
    Linking one of the tables in Access 2000 to Oracle using ODBC connection (multiuser). I created a System DSN in every user m/c. In one system DSN creatrion was successful,
    but when accessing the linked data in the form I got this error "Reserved error (-7709); there is no message for this error." How do I solve this?
    In another m/c I got an error while creating a DSN. Error msg: "The Oracle(TM) client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3
    (or greater) client software installation. You will be unable to use this driver until these components have been installed". What is that I need to install?
    Any help highly appreciated.
    Thank you in advance.
    Rajesh Candmaourty

    You can also get this message if you connect using a user account that does not have the correct privileges to query the table/view.
    Also say you query with say a user called sqluser and the table resides in the schema esstables then you would need to query it using select * from esstables.tablename
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Error in connection to oracle using java

    hi ,
    i am tring to make a connection to oracle database using java with this code
    public class DataBase {
    public DataBase(){
    Connection connection = null;
    try {
    // Load the JDBC driver
    String driverName = "oracle.jdbc.dirver.OracleDriver";
    Class.forName(driverName);
    // Create a connection to the database
    String serverName = "http://localhost:7777";
    String portNumber = "1521";
    String sid = "ora9i";
    String url = "jdbc:oracle:thin:@" + serverName + ":" + portNumber + ":" + sid;
    String username = "scott";
    String password = "tiger";
    connection = DriverManager.getConnection(url, username, password);
    } catch (ClassNotFoundException e) {
    JOptionPane.showMessageDialog(null,"Coud not find the database driver ");
    // Could not find the database driver
    } catch (SQLException e) {
    JOptionPane.showMessageDialog(null,"Coud not connect to the database ");
    // Could not connect to the database
    public static void main(String[] args) {
    new DataBase();
    i always got the compilation error Coud not find the database driver
    i am using oracle9i and jdk1.5.0_04 and my classpath is C:\oracle\ora92\jdbc\lib\ojdbc14.zip;C:\oracle\ora92\jdbc\lib\orai18n.zip
    i am realy stuck with this so any one can help me with this probelm
    thanks alot,

    thanks for your reply,
    yes i changed the server name and i verified the location of the JDBC driver file(s) on my computer. any way i solved my problem.
    you know there was a misunderstanding in what you mean by classpath, i thought that i have to change the classpath from control panel>system>advance>enviroment variable
    and then select classpaht and edit it. i was doing this but this is didn't work.
    then i don't know why i did that
    i went to java program and select my project,right click on it and then select properties>java build path and then select "add external Jars" button and then i simply choose them and add them to my project. and finaly it worked.
    thanks alot

  • Get error when CONNECT BY PRIOR used by where

    Hi
    I get "No more data to read from socket" error when the result of CONNECT BY PRIOR used after where, is there anybody encounter this error?
    example SQL:
    select
    from table_A
    where exists
    (select 1 from table_b
    START WITH table_b.col1 = 'value'
    CONNECT BY PRIOR table_b.col1 = table_b.col2)
    The sql select 1 from table_b START WITH table_b.col1 = 'value' CONNECT BY PRIOR table_b.col1 = table_b.col2 can return 2 row correct, but the whole sql does not work.

    Hi! Rahul,
    Thank you for your reply first. Your method doesn't work in my case.  Can you tell me the steps of creating a new layout for added records and draft documents.  I have created a quotation layout which work with added records only, the steps has been show below and please comments, thanks.
    1. In Crystal Report > new blank report > create new connection > Choose "SAP Business One" > Select OQUT under "B1 Tables".
    2. Insert "CardName" field to report > Create DocKey@ parameter and  set it equal to DocEntry in select expert record function
    3. Click Add-ins > SAP Business One > Save > Choose company database and input manager password.
    Regards,
    Ivan

  • Apache is throwing NLS_LANG error when connecting via HTTPS using a DAD

    Our Apache server is throwing this error
    [Wed May  6 11:53:52 2009] [alert] [client 69.246.251.48] [ecid: 223452213192,1] mod_plsql: Unable to issue alter session : alter session set nls_language= "AMERICAN" ""
    every time we connect to the server using HTTPS (the connection is using DAD -- see below for the DAD configuration).
    If we run the same connection using HTTP it works fine.
    Anyone know why this would happen and how we can correct it?
    DAD configuration:
    <Location /plshes>
    SetHandler pls_handler
    Order allow,deny
    Allow from All
    AllowOverride None
    PlsqlDatabaseUsername hes
    PlsqlDatabasePassword @<password here>=
    PlsqlDatabaseConnectString hpprd NetServiceNameFormat
    PlsqlNLSLanguage AMERICAN_AMERICA_WE8ISO8859P1
    PlsqlAuthenticationMode PerPackageOwa
    PlsqlSessionStateManagement StatelessWithFastResetPackageState
    PlsqlErrorStyle ModPlsqlStyle
    PlsqlAlwaysDescribeProcedure Off
    </Location>

    @AMN -- I'm sort of in your camp in that I don't think I should have to remove that line (which I've not been able to test yet, by the way). It's possible removing the line might bypass the issue since the statement will never get issued in the first place, but I will know there is some sort of issue between HTTP and HTTPS that is throwing this error.
    To answer your questions:
    1. The portal database (IASDB) returns:
    PARAMETER VALUE
    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CHARACTERSET WE8ISO8859P1
    2. What do you mean by "pls/hes"?
    3b. Which type of OAS? Can you clarify this question? OAS 10g (which means IASDB is version 9i). We run Apache using Webcache. This OAS serves up a custom application written largely in Forms and PL/SQL. Hmmm, maybe that's not what you mean by this question , though...
    3a. Explain our SSL configuration -- I'll try. I configfured this 4 to 5 years ago and haven't changed it at all other than to update the Oracle Wallet certificates every year or two. We have a single physical server that hosts our infrsastructure and mid-tier components and nothing more. As mentioned, Apache is our webserver and we run Oracle's Webcache. The twist in our configuration (and probably the source of this issue we are having is somewhere in this twist) is that we use one physical server and one Apache web server to serve up both HTTP and HTTPS using a virtual host within Apache and then we deifned multiple sites and origin servers with several redirects on various ports so we can handle SSL and non-SSL connections depending on whether they come to us externally (inTERnet) or internally (inTRAnet).
    Webcache sites (hes2 is the server name):
    Site Origin Server
    hes2:7778 hes2:7779
    www.OurWebSite.com:80 hes2:8000
    hes2:80 hes2:7779
    sso.OurWebSite.com:80 hes2:7777
    www.OurWebSite.com:443 hes2:4444
    Webcache origin servers:
    hes2:7777 HTTP
    hes2:7779 HTTP
    hes2:8000 HTTP
    www.OurWebSite.com:4444 HTTPS
    Webcache listen ports:
    443 HTTPS -- has Oracle wallet defined for it
    7778 HTTP
    80 HTTP
    Navigating to http://www.OurWebSite.com will redirect to hes2:8000, which is our virtual server (configuration below). Navigating to https://www.OurWebSite.com will redirect to hes2:4444.
    There is probably a little more I need to provide to answer the "SSL configuration" question, but I think that is enough for now as this is already a long response -- my apologies for that.
    Virtual host configuration in httpd.conf:
    <VirtualHost *:8000>
    ServerName www.OurWebsiteName.com
    ServerAdmin [email protected]
    Port 80
    DocumentRoot "/u01/app1/oracle/10gasm/Apache/Apache/htdocs"
    RewriteEngine on
    RewriteOptions inherit
    RewriteCond %{HTTP_HOST}!^www\.OurWebSite\.com [NC]
    RewriteRule ^/(.*) http://www.OurWebSite.com/$1 [L,R]
    OssoIpCheck off
    OssoConfigFile /u01/app1/oracle/10gasm/Apache/Apache/conf/osso/osso-www.conf
    <Location /portal>
    Order Deny,Allow
    Deny from all
    Allow from (list of allowed IP addresses)
    </Location>
    <Location /forms>
    Order Deny,Allow
    Deny from all
    Allow from (list of allowed IP addresses)
    </Location>
    <Location /discoverer>
    Order Deny,Allow
    Deny from all
    Allow from (list of allowed IP addresses)
    </Location>
    <Directory /u01/app1/oracle/10gasm/Apache/Apache/htdocs/docs>
    Order Deny,Allow
    Deny from all
    Allow from (list of allowed IP addresses)
    </Directory>
    <Directory /u01/app1/oracle/10gasm/Apache/Apache/htdocs/images>
    Order Deny,Allow
    Deny from all
    Allow from (list of allowed IP addresses)
    </Directory>
    <Directory /u01/app1/oracle/10gasm/Apache/Apache/htdocs/optiform>
    Order Deny,Allow
    Deny from all
    Allow from (list of allowed IP addresses)
    </Directory>
    LogLevel error
    ErrorLog "|/u01/app1/oracle/10gasm/Apache/Apache/logs/www_error_log 43200"
    </VirtualHost>

  • Error when connecting  to Oracle DataSource in a clustered environment

    Trying to connect to a ORACLE 9.1 datasource in a remote clustered environment. Getting the following exception. The code works fine when connecting to a local non-clustered server. Any help will be greatly appreciated.
    ---------------------Stack trace--------------
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Failed to generate
    class for weblogic.jdbc.rmi.internal.ConnectionImpl_weblogic_jdbc_wrapper_JTACon
    nection_weblogic_jdbc_wrapper_XAConnection_oracle_jdbc_driver_LogicalConnection_
    812_WLStub ] - with nested exception:
    [java.lang.reflect.InvocationTargetException - with target exception:
    [java.lang.ArrayIndexOutOfBoundsException: 164]]
    at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:8
    07)
    at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:7
    90)
    at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:79)
    at weblogic.rmi.utils.io.RemoteObjectReplacer.resolveObject(RemoteObject
    Replacer.java:237)
    at weblogic.rmi.internal.StubInfo.readResolve(StubInfo.java:142)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at java.io.ObjectStreamClass.invokeReadResolve(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
    at java.io.ObjectInputStream.readSerialData(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
    bjectInputStream.java:119)
    at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.ja
    va:112)
    at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:56)
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:159)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
    ef.java:285)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
    ef.java:244)
    at weblogic.jdbc.common.internal.RmiDataSource_812_WLStub.getConnection(
    Unknown Source)

    Trying to connect to a ORACLE 9.1 datasource in a remote clustered environment. Getting the following exception. The code works fine when connecting to a local non-clustered server. Any help will be greatly appreciated.
    ---------------------Stack trace--------------
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Failed to generate
    class for weblogic.jdbc.rmi.internal.ConnectionImpl_weblogic_jdbc_wrapper_JTACon
    nection_weblogic_jdbc_wrapper_XAConnection_oracle_jdbc_driver_LogicalConnection_
    812_WLStub ] - with nested exception:
    [java.lang.reflect.InvocationTargetException - with target exception:
    [java.lang.ArrayIndexOutOfBoundsException: 164]]
    at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:8
    07)
    at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:7
    90)
    at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:79)
    at weblogic.rmi.utils.io.RemoteObjectReplacer.resolveObject(RemoteObject
    Replacer.java:237)
    at weblogic.rmi.internal.StubInfo.readResolve(StubInfo.java:142)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at java.io.ObjectStreamClass.invokeReadResolve(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
    at java.io.ObjectInputStream.readSerialData(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
    bjectInputStream.java:119)
    at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.ja
    va:112)
    at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:56)
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:159)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
    ef.java:285)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
    ef.java:244)
    at weblogic.jdbc.common.internal.RmiDataSource_812_WLStub.getConnection(
    Unknown Source)

  • ORA-03106  Error when connecting to Oracle 10g from Forms 6i

    I have migrated my database from Oracle 8.0.5 to Oracle 10g, version 10.0.1.0.3 through import-export utility. During migration, one difference I made was to change the NLS_LANG to UTF8 from ANSI.
    The NLS_LANG for client is AMERICAN_AMERICA.WE81S08859P1.
    I am using HP ML370 Proliant Server and running Red Hat Enterprise Linux AS version 3 with Oracle 10g
    My client-server application is based on Oracle Developer version 2.1. I am using forms 5.0 and reports 3.0 only.
    The problem with me is that the client-server application is working against the upgraded database, but with greatly downgraded speed. The .fmb files cannot be compiled, however some of the .rdf files are compiled successfully, but remaining not.
    My question is that is Developer 2000 (Forms 5.0.6 and Reports 3.0.5) compatable with Oracle 10 database, as my application is running very slow ?
    I tried Forms 6i to remove this problem. I used Forms Developer 6i Recut version and successfully installed on Windows XP, however, when try to create connection using Net 8 Easy Utility, the connection does not establish with following error:
    ORA-03106 : fatal two-task communication protocol error
    The entry has been checked in tnsnames.ora and is found correct. I also tried connecting through SQL, but the application closes.
    The patch set 17 for installation on Windows XP has also been applied, but still the same error persits.
    The same installation has also been checked on Windows 2000, but the same problem persists.
    I would be thankful if any one provide me solution for the same. Where I am mistaken and what do I do to get out of this problem.
    Regards
    Naveen.

    Naveen,
    Forms 5.0 is not certified and not tested with Oracle DB 10g because it was desupported before 10g got released.
    The other problem is hard to give a generic answer for and I suggest to address this to metalink.oracle.com
    Frank

  • Ora-12203 error when connecting to oracle 9i on win2003 - urgent help reqd

    hi
    one of our clients who is on same N3 network and is trying to log on to our oracle 9i database which is installed on windows 2003 + srv pack 1 but is getting ora-12203 erorr.
    the ip address of the client machine has been allowed thr our firewalls and been allowed to use sqlnet on oracle port 1521
    following setting have also been done
    in registry HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME(0) i have set
    USED_SHARED_SOCKET=TRUE
    using Net manager, i have set connection type as DEDICATED_SERVER.
    protocol as TCP/IP and Port no =1521.
    At O/S level we have given oracle_home for 9i access (read, modify execute ..etc) to all sub-folders under e:\orant\ora9i
    i have restarted the listener service and also the windows 2003 server.
    Is there any specific setup criteria which we need to cater when users connect to windows 2003 server
    thanks
    kedar

    Hi Paul
    we have 2 external machine which have been given access thr our firewalls
    our database is in Wales and the machines are in england.
    everything is ok on the server as i have checked the settings which i could know of
    All these machines are on same N3 network , the 2 client machines have DNSlookup set which goes thr all the necessary firewalls and when the following command is run on client machine it can see the server
    c:\> nslookup < machine_name >
    the access to our database is given thr range of ip address as we dont have static IP and when the above command is run it returns dynamic IP address for the database in Wales
    H:\>nslookup krusty.hsw.wales.nhs.uk
    Server: bwd-dc1.bwd.xelpct.nhs.uk
    Address: 10.xxx.xx.xx
    Non-authoritative answer:
    Name: krusty.hsw.wales.nhs.uk
    Address: 194.xxxx.x.xx <---- ip address of databse
    Thanks
    Kedar

  • Error when working with TableView using JCA

    Hi sdns,
    I am getting an iview rutnime error when working with Tableview using JCA. Here i am putting all my code, go thorugh it and tell me if any error is there.One more thing is Usermappping and all properties are set to system object.
    Now you can throught he code which is followed by error also.
    <u>Java file.</u>
    public class DisplayComponent extends PageProcessorComponent {
         public DynPage getPage() {
              return new DisplayComponentDynPage();
         public static class DisplayComponentDynPage extends JSPDynPage {
              private JCATviewBean bean;
              public void doInitialization() {
                   IPortalComponentProfile profile =
                        ((IPortalComponentRequest) getRequest())
                             .getComponentContext()
                             .getProfile();
                   Object o = profile.getValue("myBean");
                   if (o == null || !(o instanceof JCATviewBean)) {
                        bean = new JCATviewBean();
                        profile.putValue("myBean", bean);
                   } else {
                        bean = (JCATviewBean) o;
                   // fill your bean with data here...
                   IPortalComponentRequest request =
                        (IPortalComponentRequest) this.getRequest();
                   doJca(request);
              public void doProcessAfterInput() throws PageException {
              public void doProcessBeforeOutput() throws PageException {
                   this.setJspName("Report.jsp");
              private IConnection getConnection(
                   IPortalComponentRequest request,
                   String alias)
                   throws Exception {
                   IConnectorGatewayService cgService =
                        (IConnectorGatewayService) PortalRuntime
                             .getRuntimeResources()
                             .getService(
                             IConnectorService.KEY);
                   ConnectionProperties prop =
                        new ConnectionProperties(
                             request.getLocale(),
                             request.getUser());
                   return cgService.getConnection(alias, prop);
              public void doJca(IPortalComponentRequest request) {
                   IConnectionFactory connectionFactory = null;
                   IConnection client = null;
                   String rfm_name = "BAPI_COMPANYCODE_GETLIST";
                   try {
                        try {
                             //       pass the request & system alias
                             //       Change the alias to whatever the alias is for your R/3 system
                             client = getConnection(request, "MyIDES");
                        } catch (Exception e) {
                             System.out.println(
                                  "Couldn't establish a connection with a target system.");
                             return;
    Start Interaction
                        IInteraction interaction = client.createInteractionEx();
                        IInteractionSpec interactionSpec =
                             interaction.getInteractionSpec();
                        interactionSpec.setPropertyValue("Name", rfm_name);
    CCI api only has one datatype: Record
                        RecordFactory recordFactory = interaction.getRecordFactory();
                        MappedRecord importParams =
                             recordFactory.createMappedRecord(
                                  "CONTAINER_OF_IMPORT_PARAMS");
                        IFunctionsMetaData functionsMetaData =
                             client.getFunctionsMetaData();
                        IFunction function = functionsMetaData.getFunction(rfm_name);
                        if (function == null) {
                             System.out.println(
                                  "Couldn't find " + rfm_name + " in a target system.");
                             return;
    How to invoke Function modules
                        System.out.println("Invoking... " + function.getName());
                        MappedRecord exportParams =
                             (MappedRecord) interaction.execute(
                                  interactionSpec,
                                  importParams);
    How to get structure values
                        IRecord exportStructure = (IRecord) exportParams.get("RETURN");
                        String columnOne = exportStructure.getString("TYPE");
                        String columnTwo = exportStructure.getString("CODE");
                        String columnThree = exportStructure.getString("MESSAGE");
                        System.out.println("  RETURN-TYPE    = " + columnOne);
                        System.out.println("  RETURN-CODE    = " + columnTwo);
                        System.out.println("  RETURN-MESSAGE =" + columnThree);
    How to get table values
                        IRecordSet exportTable =
                             (IRecordSet) exportParams.get("COMPANYCODE_LIST");
                        exportTable.beforeFirst();
                        // Moves the cursor before the first row.
                        while (exportTable.next()) {
                             String column_1 = exportTable.getString("COMP_CODE");
                             String column_2 = exportTable.getString("COMP_NAME");
                             System.out.println(
                                  "  COMPANYCODE_LIST-COMP_CODE = " + column_1);
                             System.out.println(
                                  "  COMPANYCODE_LIST-COMP_NAME = " + column_2);
                        //       create the tableview mode in the bean
                        bean.createData(exportTable);
    Closing the connection
                        client.close();
                   } catch (ConnectorException e) {
                        //       app.putValue("error", e);
                        System.out.println("Caught an exception: \n" + e);
                   } catch (Exception e) {
                        System.out.println("Caught an exception: \n" + e);
    <u>Bena file</u>
    package com.sap.JCA.bean;
    import java.util.Vector;
    import com.sapportals.connector.execution.structures.IRecordSet;
    import com.sapportals.htmlb.table.DefaultTableViewModel;
    import com.sapportals.htmlb.table.TableViewModel;
    public class JCATviewBean {
         public DefaultTableViewModel model;
         public TableViewModel getModel() {
         return this.model;
         public void setModel(DefaultTableViewModel model) {
         this.model = model;
         public void createData(IRecordSet table) {
    //       this is your column names
         Vector column = new Vector();
         column.addElement("Company Code");
         column.addElement("Company Name");
    //       all this logic is for the data part.
         Vector rVector = new Vector();
         try {
         table.beforeFirst();
         while (table.next()) {
         Vector data = new Vector();
         data.addElement(table.getString("COMP_CODE"));
         data.addElement(table.getString("COMP_NAME"));
         rVector.addElement(data);
         } catch (Exception e) {
         e.printStackTrace();
    //       this is where you create the model
         this.setModel(new DefaultTableViewModel(rVector, column));
    <b>JSP File:</b>
    <%@ taglib uri="tagLib" prefix="hbj" %>
    <jsp:useBean id="myBean" scope="application" class="com.sap.JCA.bean.JCATviewBean" />
    <hbj:content id="myContext" >
      <hbj:page title="PageTitle">
       <hbj:form id="myFormId" >
       <br>
       <hbj:textView id = "tv1" text = "<b>TableView Example Using JCA</b> <br>"/>
    <hbj:tableView
        id="myTableView1"
        model="myBean.model"
        design="ALTERNATING"
        headerVisible="true"
        footerVisible="true"
        fillUpEmptyRows="true"
        navigationMode="BYLINE"
        selectionMode="MULTISELECT"
        headerText="TableView example1"
        visibleFirstRow="1"
        visibleRowCount="30"
        width="500 px"
        />
       </hbj:form>
      </hbj:page>
    </hbj:content>
    <b>Error when Executing this component:</b><u></u>
      Portal Runtime Error
    <b>An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    com/sapportals/portal/htmlb/page/PageProcessorComponent.
    Exception id: 12:21_28/10/05_0173_94105150
    See the details for the exception ID in the log file</b>  
    If anybody find the error please reply to this post.
    Regards,
    sireesha.

    Thanks for your response Martin,
    I have already seen the log file but im couldn't findout anything from that since it is so long here im putting some part of please see this.if u able to find it clarify me,
    <b>Here the log file:</b>
    1.5#001321FD6213005D0000907100001CB000040419258FBF4E#1130405957843#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler/JobStore#Plain###With in the acquireLockForNextAvailableJob DataStore#
    #1.5#001321FD6213005D0000907200001CB00004041925916735#1130405957953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Acquired the job null#
    #1.5#001321FD6213005D0000907300001CB0000404192591688D#1130405957953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Did not find any job.So, Waiting for sometime for the next job#
    #1.5#001321FD621300650000120E00001CB00004041925C953D7#1130405961625#com.sap.aii.af.sample.adapter.ra.SPIManagedConnectionFactory##com.sap.aii.af.sample.adapter.ra.SPIManagedConnectionFactory.XIManagedConnectionFactoryController.run()######04d7f690469311da8d52001321fd6213#Thread[Thread-114,5,SAPEngine_System_Thread[impl:5]_Group]##0#0#Debug#1#/Applications/ExchangeInfrastructure/AdapterFramework/ThirdPartyRoot/comsap/Server/Adapter Framework#Java###MCF with GUID is running. (,)#3#964bfca0444711dabb51001321fd6213#com.sap.engine.services.deploy.server.ApplicationLoader@1586c77#964bfca0444711dabb51001321fd6213#
    #1.5#001321FD6213005D0000907400001CB000040419275B24FC#1130405987953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###within the infinite of the Scheduler Thread#
    #1.5#001321FD6213005D0000907500001CB000040419275B25D9#1130405987953#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler/JobStore#Plain###With in the acquireLockForNextAvailableJob DataStore#
    #1.5#001321FD6213005D0000907600001CB000040419275B2E27#1130405987953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Acquired the job null#
    #1.5#001321FD6213005D0000907700001CB000040419275B2EFA#1130405987953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Did not find any job.So, Waiting for sometime for the next job#
    #1.5#001321FD6213005D0000907800001CB0000404192924ED59#1130406017953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###within the infinite of the Scheduler Thread#
    #1.5#001321FD6213005D0000907900001CB0000404192924EE36#1130406017953#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler/JobStore#Plain###With in the acquireLockForNextAvailableJob DataStore#
    #1.5#001321FD6213005D0000907A00001CB0000404192924F652#1130406017953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Acquired the job null#
    #1.5#001321FD6213005D0000907B00001CB0000404192924F710#1130406017953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Did not find any job.So, Waiting for sometime for the next job#
    #1.5#001321FD621300650000120F00001CB000040419295CCD8B#1130406021625#com.sap.aii.af.sample.adapter.ra.SPIManagedConnectionFactory##com.sap.aii.af.sample.adapter.ra.SPIManagedConnectionFactory.XIManagedConnectionFactoryController.run()######04d7f690469311da8d52001321fd6213#Thread[Thread-114,5,SAPEngine_System_Thread[impl:5]_Group]##0#0#Debug#1#/Applications/ExchangeInfrastructure/AdapterFramework/ThirdPartyRoot/comsap/Server/Adapter Framework#Java###MCF with GUID is running. (,)#3#964bfca0444711dabb51001321fd6213#com.sap.engine.services.deploy.server.ApplicationLoader@1586c77#964bfca0444711dabb51001321fd6213#
    #1.5#001321FD6213005D0000907C00001CB0000404192AEEB1E2#1130406047953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###within the infinite of the Scheduler Thread#
    #1.5#001321FD6213005D0000907D00001CB0000404192AEEB2C0#1130406047953#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler/JobStore#Plain###With in the acquireLockForNextAvailableJob DataStore#
    #1.5#001321FD6213005D0000907E00001CB0000404192AEEBAD8#1130406047968#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Acquired the job null#
    #1.5#001321FD6213005D0000907F00001CB0000404192AEEBB9E#1130406047968#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Did not find any job.So, Waiting for sometime for the next job#

Maybe you are looking for