Problem with sql TRIM in PL/SQL package in version 10.1.3.3

I'm getting invalid token on the trim functions in the following function. The package compiles ok in TOAD, and this package worked fine in the previous version of jdeveloper I was using--10.1.3
FUNCTION stu_pidm (
p_profile_name IN VARCHAR2
RETURN NUMBER
IS
v_pidm NUMBER;
BEGIN
BEGIN
SELECT s.szbstdn_pidm
INTO v_pidm
FROM szbstdn s
WHERE trim(s.szbstdn_profile_name) = trim(p_profile_name);
EXCEPTION
WHEN OTHERS THEN
RETURN NULL;
END;
RETURN v_pidm;
END;

Sorry for confusion, version of OC4J does not really meter, but jdk does. It happened that in the case where everything OK (OC4J 10.1.3.1.0) I accidentally used jdk 1.5. Now I tried both (OC4J 10.1.3.1.0 and OC4J 10.1.3.2.0) with j2sdk1.4.2_14 (besides I tried j2sdk1.4.2_09 and _08) and j2sdk1.5.0_06.
With JDK 1.5 everything is OK and with JDK 1.4 we have a problem, described in the previous posting. I believe now I should reformulate my initial question:
Is it possible to configure OC4J 10.1.3 running under j2sdk1.4.2_14 to force Thread Context ClassLoader to behave similar to OC4J 10.1.3 under j2sdk1.5.0_06? If yes, how we could do it?
Thanks

Similar Messages

  • TS5249 Problems with the Korg Legacy Collection in the new version of Garageband in Mavericks.

    Hello!
    I'm having problems with the Korg Legacy Collection in the new version of Garageband in Mavericks. When I try to load the AU, I get this error message:
    "Failed to load Audio Unit, please contact the manufacturer for an updated version or further assistance. (-10110)"
    They seem to work fine in Ableton Live 8 Lite, also running in Mavericks. So, I think it is something with Garageband. In addition, Korg updated to 64bit early last year.
    Anyone know how to fix the problem? Or is Korg or Apple's problem?
    Thanks.

    They seem to work fine in Ableton Live 8 Lite, also running in Mavericks. So, I think it is something with Garageband. In addition, Korg updated to 64bit early last year.
    Have you checked, if you have the newest 64-bit version installed? There may still be an older version sitting around - check both plug-in folders, the one in your Home folder and the one in the system library:
    ~/Library/Audio/Plug-Ins/
    /Library/Audio/Plug-Ins/
    Some programs may still be able to use 64-bit plug-ins, but GarageBand will not use them:  http://support.apple.com/kb/TS5249

  • Hello! Help me please, I have a problem with the program occurred after the upgrade to version 3. 6. 16, namely by pressing the button 'Open a new tab' nothing happens. ?

    Hello! Help me please, I have a problem with the program occurred after the upgrade to version 3. 6. 16, namely by pressing the button 'Open a new tab' nothing happens. ?

    This issue can be caused by the Ask<i></i>.com toolbar (Tools > Add-ons > Extensions)
    See:
    * [[Troubleshooting extensions and themes]]

  • Problem with Latches and Parallelising PL/SQL Cursors

    In 9i i have process that do the following:
    PROCEDURE LoadClients IS
      CURSOR cChanges IS
        SELECT ...
        WHERE MOD(PK,pnTotalJobs>) = pnThisJob To call this I do the following
      nTOTALJOBS CONSTANT := 2;
    BEGIN
      FOR i IN 1..nTOTALJOBS LOOP
        DBMS_JOB.SUBMIT(LoadClient(pnTotalJobs=>nTOTALJOBS, pnThisJob=>i-1));
      END LOOP;
      COMMIT;So by changing the value of the constant - nTOTALJOBS - I can control the number of instances of LoadClient that run. This means I only need one procedure which can be called multiple times, making maintenance simpler than having multiple procedures.
    This process has been running successfully on several procedures of over a year. However recently I have been having trouble with latches in memory. I think these are related to using the variables in the cursor and part of the oracle treating the different queries as being identical. This results in locks in memory and none of the jobs running. In most cases I'm setting nTOTALJOBS to 2. I'm looking into the further with my DBAs.
    My questions are:
    1. Has anyone come across this sort of problem before?
    2. If so is there something I can do in my code or DB parameters to alleviate or test this?
    Notes.
    1. The process uses row by row processing in PL/SQL This done to get row by row error handling. I'm not going to change this in the short-term
    2. The SQL does a call over a database link, I don't know if this has any effect.
    3. This method does have a proven performance benefit
    4. The code snippets above are just illustrative, I'm not asking for syntax corrections.
    Thank you for taking the time to read through this.

    I would first investigate the "problem with latches" to be sure that it has anything to do with these jobs that you are submitting.
    Your concern seems to be "because I am submitting multiple copies of the same PLSQL procedure to run concurrently, am I running into latching issues ?".
    Take a step back and look at
    a. MultiUser OLTP environments : At any time you can have more than a few users running the same SQL queries submitted through Forms / Client Frontends.
    b. ERP Report Extractions (eg in Oracle EBusiness Suite or Peoplesoft) : At any time (say during the daily batch runs ?) you can have multiple copies of the same report (with different bind variables for different business_units / countries etc) running concurrently and extracting reports.
    The question would be : How many concurrent executions of the same code is too much ?
    I would say that latching issues come up on :
    a. Shared Pool : Multiple sessions attempting to load SQL statements and Parse SQL statements
    You could reduce some of this with reusable SQLs and bind variables instead of literals in quick running jobs / user front end screens etc
    b. Buffer Cache : Hot Blocks being frequently pinned -- eg index root blocks or "busy" table blocks.
    If you are running, say 4-8 concurrent copies of the the same code on a 4 CPU or 8 CPU machine, you may not be running into latching issues on the code -- "may not be" -- we can't be too sure, until we identify which latches are under "issue".
    However, if the queries are executing nested loops and frequently accessing the same index blocks, you may more likely be having issues with latches on cache buffer chains.
    So, this is what I would suggest :
    a. Identify the size and scale of the "issues" -- how much CPU time / wait time is accounted for by the latches in relation to the total response time of each of the jobs
    b. Identify which latches are the ones under contention
    c. On the basis of which latches are the holding up performance, decide your next course of action.
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • Newbie: Problem with jdbc-odbc and MS SQL server 2005

    I'm on win vistax64 with SQLSERVER 2005 and I have set up the odbc source as system dsn using the SQL Native Client driver with SQL authentication and the connectivity test in the end succeeds.
    I'm trying to make a simple web app that will connect to the database and perform simple querries. It's a school assignment.
    I'm using the jdbc-odbc bridge because it's the simplest way to do it and it's what we were shown in class.
    I get the following irritating error:
    "Cannot establish a connection to jdbc:odb:sstmdb using sun.jdbc.odbc.JdbcOdbcDriver ([Microsoft][ODBC Driver Manager] Data source name not found and no default driver specifies)".
    I'm working with netbeans 5.5.1 and this error is what I get when in the runtime tab I try to connect with the jdbc-odbc. I get a similar error in the logs when I try to run the app on the j2ee server.
    This is the java class that establishes the connection.
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.SQLException;
    public class Connector {
        private static final String dbUrl="jdbc:odbc:sstmdb";
        private static final String user="kimon";
        private static final String password="jackohara";
        public static Connection getConnection(){
            Connection conn = null;
            try {
                Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                conn = DriverManager.getConnection(dbUrl,user,password);
            } catch (SQLException e) {
                e.printStackTrace(); 
            } catch (ClassNotFoundException e) {
                e.printStackTrace(); 
            return conn;
    }It has worked perfectly on my school PC with winXP and MSDE2000.
    What am I missing?

    Ok, help came from an other way where I was inquiring about a different problem:
    Connectivity works fine by using User DSN instead of System DSN for the ODBC source.

  • Problem with public pages having PL/SQL portlets

    I am having problem with a public page which has PL/SQL portlets.
    When I try to access that page without doing login, it displays everything but the portlets which are database driven.
    Is this the way this public page should behave?
    Is there anyway by which I can display data to my public pages from PL/SQL portlets without doing login?
    FYI PL/SQL portlets are in portal30 schema.

    Yes, it has is_runnable function and it looks like this :
    function is_runnable
    p_provider_id in integer
    ,p_reference_path in varchar2
    return boolean
    is
    begin
    If p_reference_path is null the caller may be the provider
    framework (i.e. the Refresh operation of the Portlet
    Repository).
    if (p_reference_path is null) then
    The following if statement is the security mechanism that
    the portlet implements. It does not have any other semantic
    meaning. Any portlet is expected to implement their own
    security mechanism.
    This security mechanism checks if the current user is logged
    on or just accessing the portal through the public account.
    if (wwctx_api.is_logged_on) then
    return true;
    else
    return false;
    end if;
    else
    If p_reference_path is not null the caller makes this call as
    a security check against the portlet instance.
    The security mechanism implemented by this portlet for portlet
    instances is null so true is returned. Returning this value
    indicates that all users have access to this portlet instance.
    return true;
    end if;
    end is_runnable;
    +++++++++++++++++++++++++++++++++++++++++++
    What should I need to change with that function? And what exactly is its use?
    FYI : The code which I wrote for my portlet is by doing some modification in downloaded service portlet. But I have not altered is_runaable function.

  • Problems with accessing V$SQLAREA, V$SQL, V$SQLTEXT, and V$SQL_PLAN

    Hi there,
    I created a new user account and granted it dba.
    I logged on to this account and I am trying to run select statments on V$SQLAREA, V$SQL, V$SQLTEXT, and V$SQL_PLAN, but I am getting
    ORA-00942: table or view does not exist
    00942. 00000 - "table or view does not exist"
    However, I can get into these views with SYSTEM.
    I loged into system and tried to grant
    grant select on V$SQLTEXT to user_name;
    SQL Error: ORA-01031: insufficient privileges
    01031. 00000 - "insufficient privileges"
    *Cause:    An attempt was made to change the current username or password
    without the appropriate privilege. This error also occurs if
    attempting to install a database without the necessary operating
    system privileges.
    now, I know i'm not trying to change password nor attempting to instal new database.
    I am runnning Oracle XE and the views are
    OBJECT_NAME OBJECT_TYPE STATUS OWNER STATUS
    V$SQL_PLAN SYNONYM VALID PUBLIC VALID
    V$SQLAREA SYNONYM VALID PUBLIC VALID
    V$SQLTEXT SYNONYM VALID PUBLIC VALID
    V$SQL SYNONYM VALID PUBLIC VALID
    Where is the problem?
    Thanks in advance for any effort

    Hi Jana,
    Could you please tell the Oracle Version. I test it and it works. Look:
    $ sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.3.0 - Production on Jue Jul 29 13:57:32 2010
    Copyright (c) 1982, 2006, Oracle.  All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> select granted_role
      2  from dba_role_privs
      3  where grantee='TJ';
    GRANTED_ROLE
    CONNECT
    RESOURCE
    PLUSTRACE
    SQL> conn tj/tj
    Connected.
    SQL> select * from v$sql;
    select * from v$sql
    ERROR at line 1:
    ORA-00942: table or view does not exist
    SQL> conn / as sysdba
    Connected.
    SQL> grant dba to tj;
    Grant succeeded.
    SQL> conn tj/tj
    Connected.
    SQL> select count(8) from v$sql;
      COUNT(8)
          1354
    SQL> select count(8) from v$sqlarea;
      COUNT(8)
          1206
    SQL> select count(8) from v$sql_plan;
      COUNT(8)
          7464
    SQL> select count(8) from v$sqltext;
      COUNT(8)
         11425John

  • Space problems with the SAP Database MS SQL 2000

    Hi,
    Actually, I have a size problem with the database, I have MS SQL Server 2000 with Service Pack4 on a Windows 2003 Server environment that is my DataBase Server of my ERP ECC 6.0. On the other hand I have a storage where I have 229 Gb of free space used only for the database files of the SAP data and the SAP log file.
    But when I check the DB space allocation on trx. DB02 I saw this:
    3 Database files and 1 transaction log:
    The 3 database files are: PRDDATA1 (size 15,313 MB used 15016 MB) , PRDDATA2 (size 14106 MB used 13984 MB), PRDDATA3 (size 14472 MB used 14352 MB) and the log file is PRDLOG1 ( size 1000 MB) all of them with no limit option and growth by 10%.
    So I went to the SQL Enterprise Manager and I saw that my Database PRD properties and I got this information:
    My database size is 44892.48 Mb size with only 1330.36 Mb of free space and that is alarming.
    So the question here is how ,if I have a storage where the sap data is storing with 229 Gb of free space, can I make the database files grow up in order to use all the available space of my storage.
    Can you help me please because it is critical being my productive system?
    Best Regards
    Erik Espinosa

    I resolved this issue myself. Thanks for all your help.
    Best Regards,
    Erik Espinosa

  • Problems with different received message from sql function

    Hello all!
    I have a little problem with my BPEL process. I call a sql function that returns a string. In this string I have a xml. The returned message can be something like:
    <error><id>id_error</id><message>descr_error</message></error>
    or
    <comm>
    <header>
    children tags
    </header>
    <body>
    children tags
    </body>
    </comm>
    As you see, I can receive two types of messages. Of course, the process transforms string -> xml.
    Depending on the type, the process must choose between two flows.
    My questions are: what should be the solution(the steps) to determine what type of message the function returns? In my project, where should I define the same message types in order to assignate them to a variable? In a xsd?
    Thanks in advance!!

    seems like you could solve this with a <pick>. Take a look at the section "One Request, One of Two Possible Responses" in chapter 13 of the bpel developer guide.

  • Problem with Reports Server and invalid DB packages when release code

    Hello,
    I'm not certain that this is a Reports issue or not, but wondered if anyone had encountered similar. We've recently upgraded from Forms and Reports 6i to 10.1.2.0.2. A couple of times now, after doing a release of code to our environment, we find that the next request to the Reports Server generates a 'existing state of packages has been discarded' error. Submitting exactly the same report request a second and subsequent times works fine.
    However, we always make sure we recompile all invalid packages after a code release; and our Forms front-end doesn't encounter any errors like this. Is there some possible issue with using existing Reports engines to run reports after a code release - should we be bouncing the Reports server..?
    Thanks,
    James

    Hi. Thanks for your quick response. The contain of StrSql is:
    "SELECT IdTipo FROM TIPOSTELEFONO", where IdTipo id a column of TIPOSTELEFONO Table.
    I tryied the same sql setence with SQL Server Management Studio Express and it works fine. Already I have tryied with others sql sentences. All they worked fine in SQL Server Management Studio, but not with my java example using sqljdbc4.jar.
    sqljdbc4.jar documentation comment that these driver work with sql server 2000 to sql server 2008. I'll ask this cuestion in Microsoft forums.
    Thanks.

  • Problems with Lync integration in App-V Package for Office 365 ProPlus

    We have problems with setting Lync 2013 to automatic start after Windows start with Office 365 ProPlus App-V Package made by Office Deployment Tool. We use latest version for both (ODT and download package) at Windows 7 Enterprise 64 bit.
    We have done this for Lync 2010 and also for Lync 2013 (MSI installations) and it works correctly.
    User can choose to start Lync automatically, but this settings is ignored and in virtual registry is set wrong. We look for possible ways to set this by GPO (in ADMX is not this option available) by inserting in virtual registry with Package ID and user
    SID in registry path.

    Usually setting apps to auto start sets a registry key under HKCU\Software\Microsoft\Windows\CurrentVersion\Run, but since this registry key is inside the virtual environment, Windows does not read it at logon.
    The workaround is to either set this key in the native registry (perhaps by an App-V script), or easier still, just copy the shortcut to the Start Menu\Programs\Startup folder. Since you can't really modify Office 2013 packages with the sequencer, you'd
    have to add this shortcut by modifying the deployment config file.
    Dan Gough - UK App-V MVP
    Blog: packageology.com
    Twitter: @packageologist
    LinkedIn

  • Getting problem with the new java.util.concurrent package

    i m using the new concurrency package of jdk 1.5 in my code. see the line:
    Executor threadPool = Executors.newCachedThreadPool();
    about this, api doc says Creates a thread pool that creates new threads as needed, but will reuse previously constructed threads when they are available
    but i dont find this method to create new threads whenever required. please tell me about this.
    in my code, in some rare cases many threads r created, and very difficult to detect the number of active threads.
    as the previous one failed i tried with another one newFixedThreadPool(int). but here i got another problem. it works successfully but i dont understand what should be the size of the pool. i tried with 1000, it works well, but in a very rare case, it failed also. then i tried with 10000. but i m still confused, i dont know whether it would work always or not. with traditional threads my code never fails.
    please tell me, what should be the size of the pool and also let me know what is the problem with the first one (newCachedThreadPool)

    The thread pool should not be more than 100 threads. Ideally you should only have a small number of threads per CPU. If your threads are not long running it is possible that you could add 10,000 runnables but on start a small number of threads. Note, adding a thread take a non trivial amount of time so while the thread is added, all the others could finish. This could mean the number of threads could be 140 or smaller.
    Have you looked at the code to see what it does?

  • Problem with reusing saved library file due to iTunes version differences

    I was running iTunes on my Windows PC with Vista 64-Bit since March 17, 2009. Everything was fine until some operating system file got corrupted two days back, and Microsoft had to wipe out my hard drive and reinstall the Operating System to the factory settings.
    I did back up everything, including the iTunes Music files and the Library files to my external hard drive. But, I forgot to note the exact version of my Itunes, except I do remmebr that I had refused all attempts by iTunes over last month or so to install Ver. 8.2 becasue of some bad things I had read in this forum about some of the problems with 8.2. I had a record of the last version I had installed and it was 8.1.0.52.
    So, after the operatng system reinstaled, I downloaded iTunes 8.1.1 and installed it. I then copied the iTunes Music files and the libary file to the exatly same folder structure as before.
    I hold down the SHIFT key and start up iTunes. And, when I point to the Library file, iTunes says that the libray file can not be accessed because it was made by a newer version of iTunes! I just don't understand how that can be!
    In any case, I can use your advice as to what do I do next to be able to use my saved library and start using my iTunes and my iPod!
    Thank you.

    I downloaded and installed iTunes ver. 8.2.0.23 x64, and now, am very happy to say, that iTunes was able to read my library, and it did recognize my iPod just fine. That's the very good news.
    Now, the slight bad news. May be 100 or so, out of some 9000 tracks of music, appear with a '!' to the left of the track listing. It si becasue it does not find it? Why?
    Now, I do have to go back to my Album files and identify each of these. Can some one please help me out as to why this problem occured? I certainly did not move any songs to any place and the folder structure is identical to what they were before!
    Thank you.

  • Problem with replicated partitioning between two BSO db's. version 9.3.0.1

    Hi there,
    I have a problem with partitioning between two BSO db’s.
    I created the partition, it validates and I made an export for the partion definiton(xml file).
    Everything is fine if I set this partition up as transparent partition.
    This means I can see the data from the src in the trg db as ecpected.
    But when I change over to replicated (what in fact I want to do) nothing happens for the trg site - there are still no data. (Yes I have choosen Update all cells.)
    I got no error in any way neither AAS nor in the app logs of src and trg.
    (Mayby this it important: one src-dimension is mapped to void for the trg.)
    Can anyone give me a hint or even confirm this behaviour ?
    Thank you in advance
    Andre
    Below the log infos:
    log of src db:
    [Fri Dec 04 15:29:03 2009]Local/AAA///Info(1013210)
    User [hyperion] set active on database [db]
    [Fri Dec 04 15:29:03 2009]Local/AAA/db/hyperion/Info(1013091)
    Received Command [PutReplicatedCells] from user [hyperion]
    [Fri Dec 04 15:29:03 2009]Local/AAA///Info(1013210)
    User [hyperion] set active on database [db]
    [Fri Dec 04 15:29:03 2009]Local/AAA/db/hyperion/Info(1013091)
    Received Command [XferReplicatedCells] from user [hyperion]
    [Fri Dec 04 15:29:03 2009]Local/AAA///Info(1013214)
    Clear Active on User [hyperion] Instance [1]
    [Fri Dec 04 15:29:03 2009]Local/AAA/db/hyperion/Info(1023005)
    Update of replicated partition elapsed time : [0] seconds
    [Fri Dec 04 15:29:03 2009]Local/AAA/db/hyperion/Info(1243010)
    Partition refreshed
    log of trg db:
    [Fri Dec 04 15:29:03 2009]Local/AAA1///Info(1013210)
    User [hyperion] set active on database [db]
    [Fri Dec 04 15:29:03 2009]Local/AAA1/db/hyperion/Info(1013091)
    Received Command [ReqXferReplicatedCells] from user [hyperion]
    [Fri Dec 04 15:29:03 2009]Local/AAA1///Info(1013210)
    User [hyperion] set active on database [db]
    [Fri Dec 04 15:29:03 2009]Local/AAA1/db/hyperion/Info(1013091)
    Received Command [ProtocolXchg] from user [hyperion]
    [Fri Dec 04 15:29:03 2009]Local/AAA1/db/hyperion/Info(1023044)
    Processing distributed request from [P4B5A856A, AAA, db]
    [Fri Dec 04 15:29:03 2009]Local/AAA1/db/hyperion/Info(1013091)
    Received Command [PutLastUpdatedTime] from user [hyperion]
    [Fri Dec 04 15:29:03 2009]Local/AAA1///Info(1013214)
    Clear Active on User [hyperion] Instance [1]
    [Fri Dec 04 15:29:03 2009]Local/AAA1///Info(1013214)
    Clear Active on User [hyperion] Instance [1]

    It sounds like you are doing it all correctly. One thing you might try just to be sure you are not getting any data in the target database is the following:
    1) clear the target database
    2) Run the replication for all cells
    3) Run an export of all data on the target database
    See if you get anything in the export file, maybe you are getting some of the data or possibly it is a rollup issue. Just a thought.
    Jeff

  • Recently after I connected to hotmail, I can not open the mail, there is no problem with internet explore. I'm using firefox version 3.6.18. thanks in advance

    some time ago I installed firefox version 5 but I had problems with my Norton anti-virus, now once again use the version 3.6.18.
    in principle, this problem with the email had not occurred, it is now more than a month that the problem has occurred without any change in the fate firefox
    thanks
    Giuseppe

    Taken from https://support.mozilla.com/en-US/questions/845171#answer-214912
    Hotmail problem on all browsers - They have changed their security -- Go here ------> http://windowslivehelp.com/thread.aspx?threadid=514780f4-dbdc-4633-adc7-d0e368e8cff6
    Taken from https://support.mozilla.com/en-US/questions/846120#answer-210963
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in Safe Mode to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    Don't make any changes on the Safe mode start window.
    https://support.mozilla.com/kb/Safe+Mode
    https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    Check and tell if its working.

  • Ios 6.1.2 has got the same Problem with Microsoft Exchance Server then Ios 6.1 Version

    I've got Problems with Websites wich using Microsoft Exchance Server. I type in my Text in the Mask an the Website send me an Error.
    My Ios ist the latest Version 6.1.2. I hope Apple will fix this Bug in the next Update.

    victorgurtovoy wrote:
    After renovation before 6.1.2 my iPhone 4S became better to keep the charge to batteries! The Statistics of the use: rotational latency 5 days 6 hours. Time of the use 4 hours. On telephone Wi-Fi enclosed constantly.
    Is that google translate?
    what is rotational latency?
    wifi enclosed constantly?
    После каждого апдейта, люди приходят и жалуются. Процедура проста.
    1. создать бэкап
    2. переставить ОС
    3. переставить бэкап
    если проблема существует по прежнему сделай первые две и не используй 3.
    How is my google translate?

Maybe you are looking for