Oracle 8.0.5.1 EE DBMS_JOB Problem

I am running Oracle 8.0.5.1 EE on Redhat Linux version 6.1 with the glibcpatch applied.
I have come across a problem with regular execution of submitted jobs.
I submit a job(any job) and when execution time comes, it fails. I have dbms_job setup correctly for the database. The init.ora parameters are set correctly and the snp process is running.
I know the job is valid because I can force a job to run using the dbms_job.run procedure.
This tells me everything is running fine. However, when the execute time is reached, the user_jobs table shows a failure.
I have tried the same exact procedure and job on Oracle 8.0.5 EE on Solaris and it works fine.
I am at a loss of what to do next to resolve this issue.
Any help would be greatly appreciated.
Thanks
Christopher Fitch
null

Hi,
I also had a problem with these scripts.
Try : dos2unix oratab.sh and/or dos2unix orainst.sh
(and chmod u+x oratab.sh)
bye
Laurent
Andy Hanas (guest) wrote:
: I must be doing something wrong that's really basic. I'm
: attempting to install Oracle 8.0.5.1 on OpenLinux 2.2. I've
: done everything the documentation has said, but I cannot get
the
: oratab.sh script to run (so, I've really gotting no where).
: When I attempt to run the script I get the follwing:
: bash$ sh oratab.sh
: : command not found
: : command not found
: : command not found
: : command not found
: : command not found
: : command not found
: : command not found
: : command not found
: 'ratab.sh: syntax error near unexpected token `in
: 'ratab.sh: oratab.sh: line 30: `case ${N}$C
: in
: Any ideas on what I'm doing wrong or how I can debug this
thing?
: Thanks for any help!
null

Similar Messages

  • Attempt to load Oracle client libraries threw BadImageFormatException. This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed.

    Hello guys,
                Problem has been solved -
    Attempt to load Oracle client libraries threw BadImageFormatException. This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed.
    1. If you install 64 bit oracle this is not an issue. Install 64 bit oracle.
    2. Download odp.net 32 bit  from below link:-
        ODP.NET Managed Driver Beta Download</title><meta name="Title" content="ODP.NET Managed Driver B…
    3. installed the odp.net.
    4. open the visual studio 2010.
    5.Select new - project - asp.net web application - project name -ok
    6.select tools- > connect to database- then follow the following steps
                             i>  user name - your user name/client username (example -- hr)
                             ii> password -- enter your password/client password  (example- hr)
                            iii>select connection type -- if you want to connect client database then- select EZ connect other wise select tns
                            iv>test the connection- then you will get connection succeed.
                            v> then click ok
    Thanks
    Chandrashekhar

    You do not need to do anything in VS.  You do need to configure both tnsnames.ora files, because the drivers do not share any data.
    Please see:
    http://sqlblog.com/blogs/jorg_klein/archive/2011/06/09/ssis-connect-to-oracle-on-a-64-bit-machine.aspx

  • Oracle intelligent agent executable has encountered a problem and needs to

    Hi All,
    I am getting the following message after commence of OS (windows XP) on my LAPTOP.
    "Oracle Intelligent Agent Executable has Encountered a Problem and needs to close."
    due to the above problem it takes time to be fit to start working. that is; when i start my laptop then it gets ready very shortly but just later on it is seen that my laptop gets to be hanged. it seems that some background process runs and during this time nothing can be done on my laptop (even REFRESH - F5 doesn't respond). then after some time the above message comes. this process seems to be very much annoying.
    there is a small Oracle database (9i) in my laptop along with Oracle developer (10g).
    Thanks in advance.

    Hi Tapash,
    You probably don't want/need that service to run anyway. So go to your control panel/Adminstrative Tools/Services
    and set Start Type to Manual for Oracle<ORACLE_HOME_NAME>Agent service
    [OIA Users Guide|http://lbdwww.epfl.ch/f/teaching/courses/oracle9i/em.920/a96676/toc.htm]
    Regards
    Peter

  • D:\oracle\product\10.2.0-Console access problem-please help urgent.

    I have installed D:\oracle\product\10.2.0, each times i create a db on it the console work fine, but when I close my computer then restarts it I can get in to the console again.
    some people said that one shouldn't be on net while installing it, so I wasn't on net.
    Then I tried to start the service as windows service it can not start.
    where can I look in the oracle config ? to deal with the problem ?
    Thanks.

    Is your computer configured with DHCP? If so, did you configure the loopback adapter?
    http://download-east.oracle.com/docs/cd/B19306_01/install.102/b14316/reqs.htm#BABGCEAI
    Logs are written to ORACLE_HOME/<machine_name>.<dbsid>/sysman/log

  • Do I use same oracle account on 2 cluster nodes cause problem?

    Do I use same oracle account on 2 cluster nodes cause problem?
    If I use same oracle account on 2 cluster nodes running 2 database, when failover happens, 2 database will be running on one node, does 2 oracle account make SHM ... memory conflict?
    or do I have to use oracle01 account on node1, oracle02 account on node2? Can not use same name account?
    Thanks.

    I'm not 100% certain I understood the question, so I'll rephrase them and answer them.
    Q. If I have the same Oracle account on each cluster node, e.g. uid=100 (oracle) gid=100 (oinstall), groups dba=200, can I run two databases, one on each cluster node without problems?
    A. Yes. Having multiple DBs on one node is not a problem and doesn't cause shared memory problems. Obviously each database needs a different database name and thus different SID.
    Q. Can I have two different Oracle accounts on each cluster node e.g. uid=100 (oraclea) gid=100 (oinstall), groups dba=200 and e.g. uid=300 (oracleb) gid=100 (oinstall), groups dba=200, and run two databases, one for each Oracle user?
    A. Yes. The different Oracle user names would need to be associated with different Oracle installations, i.e. Oracle HOMEs. So you might have /oracle/oracle/product/10.2.0/db_1 (oraclea) and /oracle/oracle/product/11.0.1.0/db_1 (oracleb). The ORACLE_HOME is then used to determine the Oracle user name by checking the user of the Oracle binary in the ${ORACLE_HOME}/bin directory.
    Tim
    ---

  • Oracle 10gR2 Install RHEL4 compat-libstdc++-296 problem

    Trying to install Oracle 10gR2 on an Red Hat Enterprise 4 server and having an issue.
    [oracle@xxxxxxxx ~]$ uname -a
    Linux xxxxxxxx.xxxxxxxxxxxxxxxxx.xxx 2.6.9-42.0.3.ELsmp #1 SMP Mon Sep 25 17:28:02 EDT 2006 i686 i686 i386 GNU/Linux
    [oracle@xxxxxxxx ~]$
    The OUI, during Product-Specific Prerequisite Checks reports the following error:
    Checking for compat-libstdc++-296-2.96-132.7.2; found Not found.     Failed <<<<
    However, the rpm package is installed:
    [oracle@xxxxxxxx ~]$ rpm -q compat-libstdc++-296
    compat-libstdc++-296-2.96-132.7.2
    [oracle@xxxxxxxx ~]$
    The only thing I have been able to find so far is to make sure the package is installed.
    There is also another compat-libstdc++ installed:
    [oracle@xxxxxxxx ~]$ rpm -q compat-libstdc++-33
    compat-libstdc++-33-3.2.3-47.3
    [oracle@xxxxxxxx ~]$
    is that somehow causing a problem? How does the OUI actuall check for package dependancies?
    Any pointers or suggestions would be greatly appreciated.
    Jeff

    Hi Jeff, you will have to install other packages from the RHEL4 cd's. Here is a list of what I usually run. Some are in the oracle install docs and some are not. If you are using the CDs then first cd to the cdrom
    cd /media/cdrom
    rpm -ivh ncompress-4.2.4-40.i386.rpm
    rpm -ivh compat-libstdc++-296-2.96-132.7.2.i386.rpm
    rpm -ivh glibc-common-2.3.4-2.i386.rpm
    rpm -ivh gcc-3.4.3-9.EL4.i386.rpm --aid
    rpm -ivh gcc-c++-3.4.3-9.EL4.i386.rpm --aid
    rpm -ivh sysstat-5.0.5-1.i386.rpm
    rpm -ivh libaio-0.3.102-1.i386.rpm
    rpm -ivh compat-libstdc++-33-3.2.3-47.3.i386.rpm
    P.S. I usually copy all the files from the install media to a mounted share on my network and it makes this really easy.
    Michael Cunningham

  • Oracle 9.2.0.8 patch installation problem on top of 9.2.0.4 installation

    I'm trying to install the 9.2.0.8 patch on top of my 9.2.0.4 Oracle installation on Fedora 8 OS and I'm not able to get the installer going. After I get the first screen, it displays for the Oracle_HOME screen and when I press next here, I get the following error:
    java: xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.
    If anyone was successful in this installation, please let me know what I have to do to get past this error and get a successful installation.

    More or less similar problem reported in following thread
    Install 11g on Fedora 8?

  • Oracle 9.2.0.1.0 setup problem

    I install oracle 9.2.0.1.0 on windows XP professional but i have some problem.By the way Oracle 9.2.0.1.0 is the first program of on my PC.(means everything is default value.)
    Firstly,i setup name OraHome92 and c:\oracle\ora92 and select Oracle Database oracle 9.2.0.1.0 then select enterprise edition then General purpose then I write Global Database Name orcl.tr and SID orcl and I install database when I insert 3 cd then finishing but say
    .Create Process.null-new-sid ORCL -startmode m error=2
    then
    ORA-12560:TNS:Protocol adapter error one or more tools have failed.
    It is recommended but not required that these tools succeed for this installation.
    You can now select these tools,read its details to examine why they failed,fix those
    problems,and retry them.Or,you can click "Next" to continue.
    then
    End of installation
    The installation of Oracle 9i database was succesful,but some optional configuration tools
    failed or were cancelled.
    When I open oracle enterprise manager Console,and when I want to connect EXTPROC_CONNECTION_DATA ask username and password I write system as a username and write manager as a password then i click ok but PC do nothing.
    What can i do?

    <snip>
    Please let me know complete details so not going to
    find any issue while installation of oracle 10G.
    Complete details are in the installation guide that comes with the software, and is also available in the complete doc set for your product/version, located at tahiti.oracle.com
    I also have few other question hope you can help me
    out on that
    (1) I have one big production database where uses
    working 24*7 and i want to migrate that database with
    less downtime than what method i have to use for
    migration?
    Less downtime than what. Exactly what are your requirements? What is prompting the migration?
    Second question is:If my linux system is showing 100%
    utilisation than is there any way that temporary i
    can take down to 95% or whatever the minimum
    utilisation i can take..is there any way to reduce
    temporary utilisation?
    100% utilization of what resource?
    Third is:I have created one db file in tablespace
    than after utilisation of datbase get increase so i
    want to remove it from system or that table space but
    there is heavy transaction is going on that table so
    is there any way through which i can remove that
    dbfile without data loss and less downtime?
    If you added a file to a tablespace, and there is now data in that file, how would you expect to remove the file without loss of data? Why do you want to remove the file?

  • Oracle VM Server 3.1.1 Network problem

    I installed Oracle VM Server 3.1.1 on HP ProLiant BL460c G1 Blade Server.
    Installation had no problem, but network doesn't work at all.
    If I write "ipconfig -a" I have this response:
    bond0 Link encap:Ethernet HWaddr 00:1E:0B:8D:5E:5E
    inet addr:192.168.99.160 Bcast:192.168.99.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
    eth0 Link encap:Ethernet HWaddr 00:1E:0B:8D:5E:5E
    UP BROADCAST SLAVE MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
    Interrupt:16 Memory:f6000000-f6012000
    eth1 Link encap:Ethernet HWaddr 00:1E:0B:8D:5E:54
    BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
    Interrupt:16 Memory:fa000000-fa012800
    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:46 errors:0 dropped:0 overruns:0 frame:0
    TX packets:46 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:6820 (6.6 KiB) TX bytes:6820 (6.6 KiB)
    So - I think - my system recognize network cards.
    I can ping loopback and server ifself, but I cannot ping nothing more.
    Can you help me to solve problem?
    Thank you

    This is output:
    Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
    Bonding Mode: fault-tolerance (active-backup)
    Primary Slave: eth0 (primary_reselect always)
    Currently Active Slave: none
    MII Status: down
    MII Polling Interval (ms): 250
    Up Delay (ms): 500
    Down Delay (ms): 500
    Slave Interface: eth0
    MII Status: down
    Speed: 100 Mbps
    Duplex: full
    Link Failure Count: 0
    Permanent HW addr: 00:1e:0b:8d:5e:5e
    Slave queue ID: 0
    Thank you

  • Oracle 8.1.6(bundled CD) install problem (ld failed)

    Hello...
    I tried to install oracle 8.1.6 into server. But I failed 3 more times.
    I don't know why. Please help me...
    According to the Oracle's install guide, I
    1) Added semaphore and shared memory info. to /etc/system
    and
    2) Install Intel Solaris 8 recommended patches.
    3) Install Forte C/C++ compiler. ( I used gcc for install. After failure,
    I cahanged compiler from gcc to Forete).
    I have no problem for mounting CD-ROM. But
    while copying and linking Oracle files, OUI gave me error messages such as " ld failed ..." .
    So I tried do manually such like this, "# make -f ins_plsq.mk install" . But the result was the same.
    Do you have any idea for this error?
    Thsnks.

    Please see error messages...
    chmod 755 /u01/app/oracle/product/8.1.6/bin
    rm -f wrap
    Linking wrap
    LD_RUN_PATH=/u01/app/oracle/product/8.1.6/lib:/u01/app/oracle/product/8.1.6/rdbms/lib:/u01/app/oracle/product/8.1.6/JRE/lib/i386/native_threads;export LD_RUN_PATH; ld -o wrap -L/u01/app/oracle/product/8.1.6/plsql/lib/ -L/u01/app/oracle/product/8.1.6/lib/ -dy /u01/app/oracle/product/8.1.6/lib/SC5.0/crti.o /u01/app/oracle/product/8.1.6/lib/SC5.0/crt1.o /u01/app/oracle/product/8.1.6/lib/SC5.0/crtn.o /u01/app/oracle/product/8.1.6/plsql/lib/s0plsw.o -lpsa8 -lpls8 -lplp8 -lclntsh `cat /u01/app/oracle/product/8.1.6/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lnro8 `cat /u01/app/oracle/product/8.1.6/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lclient8 -lvsn8 -lwtc8 -lcommon8 -lgeneric8 -lwtc8 -lmm -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 `cat /u01/app/oracle/product/8.1.6/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lnro8 `cat /u01/app/oracle/product/8.1.6/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lclient8 -lvsn8 -lwtc8 -lcommon8 -lgeneric8 -ltrace8 -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 -lclient8 -lvsn8 -lwtc8 -lcommon8 -lgeneric8 -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 `cat /u01/app/oracle/product/8.1.6/lib/sysliblist` -lm /u01/app/oracle/product/8.1.6/lib/libplc8.a -lpls8 -lclient8 -lnl8 -lnro8 -ln8 /u01/app/oracle/product/8.1.6/rdbms/lib/kpudfo.o -lmm -ltrace8 -lgeneric8 -lcommon8 -lslax8 -lcore8 -lnls8 -ldbicx8 -lcore8 -lsql8 `cat /u01/app/oracle/product/8.1.6/lib/sysliblist` -Y P,/opt/SUNWspro/lib:/opt/SUNWspro/WS6U2/lib:/u01/app/oracle/product/8.1.6/lib:/usr/openwin/lib:/usr/bin:/usr/lib:/usr/ucb/lib:/usr/java/lib:/usr/ccs/lib:/usr/lib -lc -laio -lm
    Undefined first referenced
    symbol in file
    skgmaddress /u01/app/oracle/product/8.1.6/lib//libclntsh.so
    skgupvectorpost /u01/app/oracle/product/8.1.6/lib//libclntsh.so
    kpummini /u01/app/oracle/product/8.1.6/lib//libclntsh.so
    slfisk /u01/app/oracle/product/8.1.6/lib//libclntsh.so
    sslssunreghdlr /u01/app/oracle/product/8.1.6/lib//libclntsh.so
    sgslun0ReadEnabled /u01/app/oracle/product/8.1.6/lib//libclntsh.so
    osnpor /u01/app/oracle/product/8.1.6/lib//libclntsh.so
    ld: fatal: Symbol referencing errors. No output written to wrap
    *** Error code 1
    make: Fatal error: Command failed for target `wrap'

  • Local Install of Oracle DB 10g Release 2 (10.2) problem

    Good day,
    I have a small problem. I am attempting to install a local instance of the Oracle database 10g r2 (10.2.0.1.0) on a laptop running Windows XP Pro /sp3. When I installed the database I was not connected to my company network. The installation was successful and I was able to connect to the local DB just fine. Now I am connected to the company network and am getting the error: '*ORA-12514: TNS:listener does not currently know of service requested in connect descriptor*'. I am able to connect to the databases on the network, but not to my local install. If I disconnect from the network, I can connect to my local install just fine. I realize it is most likely a configuration issue but I am at a loss as to how to fix this. I would very much like to connect to my local install while logged into the network. I have searched the forums and Google for a solution but have not found a situation that closely matched mine and the suggested solutions did not help. Any assistance you can offer would be greatly appreciated.
    Here is the pertinent information about my laptop.
    OS: Windows XP Professional x/Service Pack 3
    Ram: 2 gb
    CPU: Intel Core Duo 1.83 GHz
    HDD: 80 Gb (45 gb free)
    SQLNET.ora
    # Defines the default domain.
    NAMES.DEFAULT_DOMAIN = world
    # Specifies the order of the naming methods that used for a client
    # to resolve how to connect to a database.
    NAMES.DIRECTORY_PATH= (HOSTNAME, ONAMES, TNSNAMES, EZCONNECT)
    # Defines which Oracle Names servers should be used.
    NAMES.PREFERRED_SERVERS =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = TCP.world)
    (PROTOCOL = TCP)
    (HOST = oranames1.mycompany.com)
    (PORT = 1640)
    (ADDRESS =
    (COMMUNITY = TCP.world)
    (PROTOCOL = TCP)
    (HOST = oranames2.mycompany.com)
    (PORT = 1640)
    (ADDRESS =
    (COMMUNITY = TCP.world)
    (PROTOCOL = TCP)
    (HOST = oranames3.mycompany.com)
    (PORT = 1640)
    NAMES.REQUEST_RETRIES = 1
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    sqlnet.expire_time=10
    TNSNAMES.ora
    # tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORACJB.world =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = oracjb))
    EXTPROC_CONNECTION_DATA.WORLD=
    (DESCRIPTION= (ADDRESS= (PROTOCOL=IPC) (KEY=EXTPROC))
    (CONNECT_DATA= (PRESENTATION=RO) (SID=PLSExtProc))
    MYCOTEST.WORLD=
    (DESCRIPTION= (ADDRESS= (PROTOCOL=TCP) (HOST=mycompany.test.com) (PORT=1543) )
    (CONNECT_DATA= (SERVICE_NAME=MYCOTEST.world)
    MYCOPROD.WORLD=
    (DESCRIPTION= (ADDRESS= (PROTOCOL=TCP) (HOST=mycompany.prod.com) (PORT=1549) )
    (CONNECT_DATA= (SERVICE_NAME=MYCOPROD.world)
    note: I've changed my company entries so they are generic, but suffice it to say, I am able to connect my company databases just fine.
    Sincerely,
    Craig...

    Read the chapter about 'Installing Oracle on a non-networked computer' in the installation guide:
    http://download.oracle.com/docs/cd/B19306_01/install.102/b14316/reqs.htm#BABFHCJG
    Werner

  • Oracle 8.1.7 driver limit causes problems with CMP

    The information below is from Oracle's site and has been noted by a few
    people on various message groups. We had upgraded to 8.1.7 but hadn't put
    the latest classes12.zip (June 2001) in our classpath. When we do, we get
    the following error from the driver/generated code. We believe this is
    because we are hitting the limit cited below. I don't know why the Oracle
    driver has this limit, but since WL generates this code for the EB, I don't
    see an easy way for us to avoid it.
    Anyone have any comments on this? Is my interpretation of the stacktrace
    correct? If we go back to the old classes12.zip (June 2000) then we don't
    have this problem. But in addition to wanting to run the matching zip file
    with the version of the DB, we also want to use some of the functionality in
    the 8.1.7 zip. Does BEA have a workaround for CMP?
    java.rmi.UnexpectedException: Unexpected exception in
    sync.server.system.SystemSessionDataBean.setSessionData():
    java.sql.SQLException: ORA-01483: invalid length for DATE or NUMBER bind
    variable
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:169)
    at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208)
    at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:543)
    at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1405)
    at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:822)
    at
    oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:1610
    at
    oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1535)
    at
    oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java
    :2053)
    at
    oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedState
    ment.java:398)
    at
    weblogic.jdbc20.pool.PreparedStatement.executeUpdate(PreparedStatement.java:
    47)
    at
    sync.server.system.SystemSessionDataPSWebLogic_CMP_RDBMS.update(SystemSessio
    nDataPSWebLogic_CMP_RDBMS.java:318)
    at
    sync.server.system.SystemSessionDataPSWebLogic_CMP_RDBMS.store(SystemSession
    DataPSWebLogic_CMP_RDBMS.java:284)
    at weblogic.ejb.internal.EntityEJBContext.store(EntityEJBContext.java:192)
    at
    weblogic.ejb.internal.EntityEJBContext.beforeCompletion(EntityEJBContext.jav
    a:227)
    at
    weblogic.ejb.internal.StatefulEJBObject.postInvokeNoTx(StatefulEJBObject.jav
    a:355)
    at weblogic.ejb.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:865)
    Using Streams to Avoid Limits on setBytes() and setString()
    There is a limit on the maximum size of the array which can be bound using
    the PreparedStatement class setBytes() method, and on the size of the string
    which can be bound using the setString() method.
    Above the limits, which depend on the version of the server you use, you
    should use setBinaryStream() or setCharacterStream() instead.
    When connecting to an Oracle8 database, the limit for setBytes() is 2000
    bytes (the maximum size of a RAW in Oracle8) and the limit for setString()
    is 4000 bytes (the maximum size of a VARCHAR2 in Oracle8).
    When connecting to an Oracle7 database, the limit for setBytes() is 255
    bytes (the maximum size of a RAW in Oracle7) and the limit for setString()
    is 2000 bytes (the maximum size of a VARCHAR2 in Oracle7).
    The 8.1.6 Oracle JDBC drivers may not raise an error if you exceed the limit
    when using setBytes() or setString(), but you may receive the following
    error:
    ORA-17070: Data size bigger than max size for this type
    Future versions of the Oracle drivers will raise an error if the length
    exceeds these limits.

    Joe Herbers wrote:
    >
    I added some debug output to verify that this problem is definitely caused
    by the WL generated code/Oracle driver. To do this, I used
    the -keepgenerated code on ejbc. Then I modified the generated code to
    print the length of the byte array before calling setBytes. I compiled the
    class and put an updated version in my bean jar.
    When I run our test suite, I see hundreds of calls to setBytes with sizes
    such as 315, 368, 1988, 2020. And then occasionally there are sizes of
    41932 or 19409. These larger sizes are always followed by the ORA-01483
    exceptions.
    This appears to be certain confirmation that the problem is caused by the
    8.1.7 driver's enforcement of the 4k limit on the methods that the
    WL-generated code is using to map our Java byte[] to our Long Raw/BLOB field
    in Oracle. Any suggestions for workarounds?Actually, it indicates the driver's being caught by the limitation that
    Oracle itself imposes with setBytes(). This is a known issue I believe, and
    you should ask support for a patch to ejbc that generates calls to setBinaryStream()
    rather than setBytes().
    Joe Weinstein
    >
    "Joe Herbers" <[email protected]> wrote in message
    news:[email protected]...
    We use WL 5.1, SP10. I've noticed that sp11 is now out, but it doesn'tseem
    to have any fixes for this problem (it mentions Oracle 8.1.6, but not8.1.7,
    which seems to be the release in which Oracle started enforcing thislimit).
    We're kind of stuck at the moment, I'm surprised no one else hasencountered
    this problem with WebLogic (I have seen postings elsewhere about it with
    other AppServers)
    "Slava Imeshev" <[email protected]> wrote in message
    news:[email protected]...
    Hi Joe,
    From your CMP DD it's clear that you use WL 5.1. Which service pack
    do you use?
    AFAIR this problem was fixed in WL 6.1, though I'm not sure about
    5.1. Could you use ejbc with -keepgenerated option and look at
    SystemSessionDataPSWebLogic_CMP_RDBMS.java, particularly
    how bind variable related to you LONG RAW? Is setBytes used? Or
    it's something like setBinaryStream?
    Regards,
    Slava Imeshev
    "Joe Herbers" <[email protected]> wrote in message
    news:[email protected]...
    The table has only three fields: two IDs (Number(18)) and a Long Raw
    that
    we
    are storing a Hashtable in. The field seems to be filled fine most of
    the
    time. With the old driver, it always works. As soon as we switch thenew
    driver in, certain operations fail consistently. I haven't verifiedthat
    the size is indeed > 4k in these cases, but our error matches whatothers
    have seen. Here's the CMP DD but I doubt that helps...
    <weblogic-rdbms-bean>
    <pool-name>oracle</pool-name>
    <table-name>scc_sm_sys_sess_data</table-name>
    <attribute-map>
    <object-link>
    <bean-field>mlSystemSessionDataID</bean-field>
    <dbms-column>sys_sess_data_id</dbms-column>
    </object-link>
    <object-link>
    <bean-field>mlSystemSessionID</bean-field>
    <dbms-column>sys_sess_id</dbms-column>
    </object-link>
    <object-link>
    <bean-field>mBSessionData</bean-field>
    <dbms-column>sys_sess_data</dbms-column>
    </object-link>
    "Slava Imeshev" <[email protected]> wrote in message
    news:[email protected]...
    Hi Joe,
    This limit defines limit written to oracle strings, raws, blobs and
    clobs
    when setBytes is used. It has nothing to do with the exception
    you're
    getting.
    Could you show us your CMP deployment descriptor(s)?
    Regards,
    Slava Imeshev
    "Joe Herbers" <[email protected]> wrote in message
    news:[email protected]...
    The information below is from Oracle's site and has been noted by
    a
    few
    people on various message groups. We had upgraded to 8.1.7 but
    hadn't
    put
    the latest classes12.zip (June 2001) in our classpath. When we
    do,
    we
    get
    the following error from the driver/generated code. We believe th
    is
    is
    because we are hitting the limit cited below. I don't know why
    the
    Oracle
    driver has this limit, but since WL generates this code for the
    EB,
    I
    don't
    see an easy way for us to avoid it.
    Anyone have any comments on this? Is my interpretation of the
    stacktrace
    correct? If we go back to the old classes12.zip (June 2000) then
    we
    don't
    have this problem. But in addition to wanting to run the matching
    zip
    file
    with the version of the DB, we also want to use some of the
    functionality
    in
    the 8.1.7 zip. Does BEA have a workaround for CMP?
    java.rmi.UnexpectedException: Unexpected exception in
    sync.server.system.SystemSessionDataBean.setSessionData():
    java.sql.SQLException: ORA-01483: invalid length for DATE or
    NUMBER
    bind
    variable
    at
    oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:169)
    at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208)
    at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:543)
    at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1405)
    atoracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:822)
    at
    oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:1610
    at
    oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1535)
    at
    oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java
    :2053)
    at
    oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedState
    ment.java:398)
    at
    weblogic.jdbc20.pool.PreparedStatement.executeUpdate(PreparedStatement.java:
    47)
    at
    sync.server.system.SystemSessionDataPSWebLogic_CMP_RDBMS.update(SystemSessio
    nDataPSWebLogic_CMP_RDBMS.java:318)
    at
    sync.server.system.SystemSessionDataPSWebLogic_CMP_RDBMS.store(SystemSession
    DataPSWebLogic_CMP_RDBMS.java:284)
    atweblogic.ejb.internal.EntityEJBContext.store(EntityEJBContext.java:192)
    at
    weblogic.ejb.internal.EntityEJBContext.beforeCompletion(EntityEJBContext.jav
    a:227)
    at
    weblogic.ejb.internal.StatefulEJBObject.postInvokeNoTx(StatefulEJBObject.jav
    a:355)
    atweblogic.ejb.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:865)
    Using Streams to Avoid Limits on setBytes() and setString()
    There is a limit on the maximum size of the array which can be
    bound
    using
    the PreparedStatement class setBytes() method, and on the size of
    the
    string
    which can be bound using the setString() method.
    Above the limits, which depend on the version of the server you
    use,
    you
    should use setBinaryStream() or setCharacterStream() instead.
    When connecting to an Oracle8 database, the limit for setBytes()
    is
    2000
    bytes (the maximum size of a RAW in Oracle8) and the limit forsetString()
    is 4000 bytes (the maximum size of a VARCHAR2 in Oracle8).
    When connecting to an Oracle7 database, the limit for setBytes()
    is
    255
    bytes (the maximum size of a RAW in Oracle7) and the limit forsetString()
    is 2000 bytes (the maximum size of a VARCHAR2 in Oracle7).
    The 8.1.6 Oracle JDBC drivers may not raise an error if you exceed
    the
    limit
    when using setBytes() or setString(), but you may receive the
    following
    error:
    ORA-17070: Data size bigger than max size for this type
    Future versions of the Oracle drivers will raise an error if thelength
    exceeds these limits.
    B.E.A. is now hiring! (12/14/01) If interested send a resume to [email protected]
    DIRECTOR OF PRODUCT PLANS AND STRATEGY San Francisco, CA
    E-SALES BUSINESS DEVELOPMENT REPRESENTATIVE Dallas, TX
    SOFTWARE ENGINEER (DBA) Liberty Corner, NJ
    SENIOR WEB DEVELOPER San Jose, CA
    SOFTWARE ENGINEER (ALL LEVELS), CARY, NORTH CAROLINA San Jose, CA
    SR. PRODUCT MANAGER Bellevue, WA
    SR. WEB DESIGNER San Jose, CA
    Channel Marketing Manager - EMEA Region London, GBR
    DIRECTOR OF MARKETING STRATEGY, APPLICATION SERVERS San Jose, CA
    SENIOR SOFTWARE ENGINEER (PLATFORM) San Jose, CA
    E-COMMERCE INTEGRATION ARCHITECT San Jose, CA
    QUALITY ASSURANCE ENGINEER Redmond, WA
    Services Development Manager (Business Development Manager - Services) Paris, FRA; Munich, DEU
    SENIOR SOFTWARE ENGINEER (PLATFORM) Redmond, WA
    E-Marketing Programs Specialist EMEA London, GBR
    BUSINESS DEVELOPMENT DIRECTOR - E COMMERCE INTEGRATION San Jose, CA
    MANAGER, E-SALES Plano, TX

  • Oracle 10g Express Edition Beta 3 Install Problems

    I made three install attempts for this software, and I'll detail them below.
    This was a fresh install on a computer that previously had no other version running
    ATTEMPT 1
    The installation procedure ran, but even though the OracleServiceXE service started, the server wouldn't work and I couldn't connect to it.
    c:\oraclexe\app\oracle\product\10.2.0\server\config\log\postDBCreation.log contained the following...
    SQL> connect "SYS"/"&&sysPassword" as SYSDBA
    ERROR:
    ORA-01017: invalid username/password; logon denied
    SQL> set echo on
    SQL> //create or replace directory DB_BACKUPS as 'D:\utils\oraclexe\app\oracle\flash_recovery_area';
    SP2-0640: Not connected
    SQL> begin
    2 dbms_xdb.sethttpport('8080');
    3 dbms_xdb.setftpport('0');
    4 end;
    5 /
    SP2-0640: Not connected
    SQL> create spfile='D:\utils\oraclexe\app\oracle\product\10.2.0\server\dbs/spfileXE.ora' FROM pfile='D:\utils\oraclexe\app\oracle\product\10.2.0\server\config\scripts\init.ora';
    SP2-0640: Not connected
    SQL> shutdown immediate;
    ORA-01012: not logged on
    SQL> connect "SYS"/"&&sysPassword" as SYSDBA
    ERROR:
    ORA-01017: invalid username/password; logon denied
    I proceeded to uninstall and then reinstall in attempt 2.
    ATTEMPT 2
    This time, the installation procedure ran but didn't finish. It got up to the point where it said "Creating and starting services for Oracle Database 10g Express Edition..." and it sat there for a long time doing nothing, but there was a process "IDriver.exe" using a large percentage of the CPU all that while.
    I ended up having to kill the installation process with the task manager to stop it, and then since the installation wasn't successful had to manually delete everything in c:\oraclexe
    ATTEMPT 3
    This time the installation went a lot better and after the install, everything in c:\oraclexe\app\oracle\product\10.2.0\server\config\log\postDBCreation.log looks normal.
    I am able to connect to the database with sqlplus now, but the OracleXETNSListener process won't start.
    When starting, it says this, but the OracleXETNSListener doesn't stay running:
    C:\oraclexe\app\oracle\product\10.2.0\server\BIN>net start OracleXETNSListener
    The OracleXETNSListener service was started successfully.
    C:\oraclexe\app\oracle\product\10.2.0\server\BIN>net start OracleServiceXE
    The OracleServiceXE service is starting.
    The OracleServiceXE service was started successfully.
    If I start the service in the windows services application it says "The OracleXETNSListener service on Local Computer started and then stopped..."
    However, if I explicitly run c:\oraclexe\app\oracle\product\10.2.0\server\bin\tnslsnr.exe from the commandline, it works.
    Why won't it start as a service?

    Hello
    I have the same problem.
    My config :
    - XP SP 2
    Other installed products :
    - last version Oracle JDevelopper
    - Oracle Client 9.2.0 (the service does not run)
    By the way,
    JDev needs ORACLE_HOME set (c:\oracle for me).
    Should Oracle XE be installed in %ORACLE_HOME% too or in an new empty folder (like c:\oraclexe) as it is recommended by the installer
    I checked if I already use the port 1521 using netstat /ab but it seems this port is not used.
    On a second PC, it works well.
    How can I access the DB on my secondary PC from jdev on my priomary PC?
    --> how can I only install OracleXE client on my primary PC?
    Rgds
    Guillaume

  • Oracle 9.2.0.8 Binary Data Problem

    Hi Folks,
    need some advice from the experts here about an error I got yesterday while installing a (Java-based) Software at a customer using Oracle 9.2.0.8.
    While being able to work with the database most of the time, I get an error when trying to save binary data. Unfortunately I don't have access to the DB-logs, so I hope the log I have may raise a thought or two from anybody and that may help me bring some light into the darkness I'm poking in at the moment.
    <log>
    java.sql.SQLException: No more data to read from socket
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
         at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:1160)
         at oracle.jdbc.ttc7.MAREngine.unmarshalUB1(MAREngine.java:962)
         at oracle.jdbc.ttc7.MAREngine.unmarshalSB1(MAREngine.java:894)
         at oracle.jdbc.ttc7.Oclose.receive(Oclose.java:103)
         at oracle.jdbc.ttc7.TTC7Protocol.close(TTC7Protocol.java:693)
         at oracle.jdbc.driver.OracleStatement.close(OracleStatement.java:731)
         at oracle.jdbc.driver.OraclePreparedStatement.privateClose(OraclePreparedStatement.java:535)
         at oracle.jdbc.driver.OraclePreparedStatement.close(OraclePreparedStatement.java:440)
         at org.apache.tomcat.dbcp.dbcp.DelegatingStatement.close(DelegatingStatement.java:168)
    </log>
    I searched around and got some results about
    - codepage: The DBA told me that the DB is using "cp1252", so I tried to use both ISO-8859-1 and UTF-8 (both are supported by the application)
    - Session Management: Tried to raise/decrease the limits for idle/maximum connections and the DBA told me to set the parameter "SESSION_CACHED_CURSORS=0", but unfortunately this is not possible when using a connection URL "jdbc:oracle:thin:@..."
    So... if anybody has an idea what to check or ask the DBA to change or almost anything, I'd kindly welcome the feedback.
    Thanks,
    enni

    Hi Sybrand,
    thank you for your clarification for the codepage!
    And no, I don't think that I found a new issue, just wasn't able to find a good answer on the net and after trying to get an evaluation copy (just for the install and first tests) of Oracle 9, the support told me "No way.".
    And yes, you're definitely right, it should be buried.
    But we all know that there are companies out there that allow new applications tests on thier "good'old" DB. Guess that is exactly what happens here.
    Maybe somebody else reads this and had similiar problems in the past, so I keep this "open" for just some more time.
    Thanks,
    have a good time!
    enni

  • Oracle 10g on Windows 2003 Perl.exe problem

    I am using Windows 2003 server and have installed Oracle 10g SEONE. There is a service of OracleDBConsole which starts multiple perl.exe process in background. This results in full utilisation of Hard drive and memory. The task manager shows 100% utilization and over 3GB of Memory including Virtual memory utilization. My server is having 1GB RAM.
    Please help me to reduce server resource consumption....

    We've got the same problem. Installed 10g on a new Dell server running Win 2003 Server.
    We see 2 Perl.exe processes that each take 50% of the cpu, appear to be in a loop, and consume huge amounts of memory until the server pretty much locks-up.
    I've seen this symptom several times on this forum and others, yet no one ever seems to come up with a resolution. Should I dump Oracle and use MySQL?

Maybe you are looking for

  • Find & Replace text in html files

    This is my first real attempt at using Automator, and it has become increasingly frustrating for me. I love the idea of Automator, nice interface, and it appears to be so easy to use. But, I can't get it to actually DO anything and I don't understand

  • I am connected to internet but iTunes diagnosis says I am not connected.

    I was trying to update my iPod touch OS to newer version (4.2.1 to 6.1.3?). To do that I downloaded the operating system and then tried to update. My latest iTunes shows that "iTunes has detected an iPod in recovery mode. You must restore first......

  • Missing  Imports System.Xml.Schema in MDKSAPProxy.vb

    I have recently switched computers and I "believe" I have setup my SAP.NET connector 2.0 properly, but, when I generate my proxy the proxy file is missing the line <b>Imports System.Xml.Schema</b> as well as <b>Form:= XmlSchemaForm.Unqualified</b> fr

  • Inter Segment in New GL

    Hello, I have some queries about Segment reporting in New GL: 1. Do we do Inter Segment trade eliminations when doing Segment Level reporting 2. What is the fuction of Segment Balancing splitter account 3. What are the processes to complete when doin

  • Cancellation of Excise invoice

    Hi Gurus, My sales Infocube on March 10th a challan number(Excise Invoice) was posted and the same challan number is cancelled on 11th of March.Will that challan no. data will come in the report? In my case it is showing but the user is saying that i