ORA-29549: class hlpr_pdf_list_java has changed, Java session state cleared

looks like this the simple program.... but i am getting that error
SQL> create or replace and compile java source named "hlpr_pdf_list_java" as
2 import java.io.*;
3 import java.util.*;
4 import java.util.zip.*;
5 import java.text.*;
6 import java.lang.*;
7 import java.sql.*;
8
9 class hlpr_pdf_list_java
10 {
11 public static String hlpr_pdf_list_java(String dirname) throws Exception
12 {
13 Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
14 Connection con = DriverManager.getConnection("jdbc:odbc:hlpr_dsn", "hlpr", "hlpr");
15 Statement stmt = con.createStatement();
16
17 String retval=null;
18 File dir = new File(dirname);
19 String[] files = dir.list();
20 if (files!=null)
21 {
22 for (int i=0;i<files.length;i++)
23 {
24 retval = files;
25 stmt.executeUpdate("insert into hlpr_dir_list(dir_name,file_name) values(dirname,retval)");
26 }
27 }
28 return retval;
29 }
30 }
31 /
Java created.
SQL>
SQL> CREATE OR REPLACE function hlpr_getfilesindir_fn(p_long_path_dir_name varchar2) return varchar2
2 as language java name 'hlpr_pdf_list_java.hlpr_pdf_list_java(java.lang.String) return java.lang.String';
3 /
Function created.
SQL>
SQL> select hlpr_getfilesindir_fn('/d01/oradata/atlanta_gi/2007_10_1_12_31') from dual;
select hlpr_getfilesindir_fn('/d01/oradata/atlanta_gi/2007_10_1_12_31') from dua
l
ERROR at line 1:
ORA-29549: class HLPR.hlpr_pdf_list_java has changed, Java session state cleared
SQL>
any clues?

Hi,
Please from now own put this exact tag => (So that's: four characters, forming the word 'code' between curly brackets)
before and after your examples. That way your indentation and formatting remains intact and we will be able to read and understand faster what's going on.
ORA-29549: class HLPR.hlpr_pdf_list_java has changed, Java session state cleared
any clues?
Probably all you need to do is call your function once more or reconnect.
http://download.oracle.com/docs/cd/B19306_01/server.102/b14219/e29250.htm#sthref8038
+edit+
Also let us know if you've got access to MetaLink/MyOracleSupport
Edited by: hoek on Aug 24, 2009 9:23 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • ORA-29549: class PUBLIC.NLS_SESSION_PARAMETERS has changed, Java session.

    Hi,
    I am getting following errors when using forms. (Version is 11.5.10.2 on Linux)
    ORA-29549: class PUBLIC.NLS_SESSION_PARAMETERS has changed, Java session state cleared.
    oracle.apps.fnd.framework.OAException: java.sql.SQLException: ORA-29550: Java session state cleared
    ORA-06512: at "APPS.XMLPARSERCOVER", line 6
    ORA-06512: at "APPS.XMLPARSER", line 175
    ORA-06512: at "APPS.IRC_XML_UTIL", line 110
    ORA-29549: class PUBLIC.NLS_SESSION_PARAMETERS has changed, Java session state cleared
    ORA-06512: at "APPS.IRC_APPROVALS", line 43
    ORA-06512: at "APPS.IRC_APPROVALS", line 179
    ORA-06512: at "APPS.IRC_APPROVALS", line 328
    ORA-06512: at "APPS.XXCIM_CANDIDATE_SEARCH_PKG", line 333
    ORA-06512: at line 1
    java.sql.SQLException: ORA-29550: Java session state cleared
    Any help would be really appreciated.
    Thanks in advance.

    I am getting following errors when using forms. (Version is 11.5.10.2 on Linux)Are you using Forms 6i Builder?
    ORA-29549: class PUBLIC.NLS_SESSION_PARAMETERS has changed, Java session state cleared.
    oracle.apps.fnd.framework.OAException: java.sql.SQLException: ORA-29550: Java session state cleared
    ORA-06512: at "APPS.XMLPARSERCOVER", line 6
    ORA-06512: at "APPS.XMLPARSER", line 175
    ORA-06512: at "APPS.IRC_XML_UTIL", line 110
    ORA-29549: class PUBLIC.NLS_SESSION_PARAMETERS has changed, Java session state cleared
    ORA-06512: at "APPS.IRC_APPROVALS", line 43
    ORA-06512: at "APPS.IRC_APPROVALS", line 179
    ORA-06512: at "APPS.IRC_APPROVALS", line 328
    ORA-06512: at "APPS.XXCIM_CANDIDATE_SEARCH_PKG", line 333
    ORA-06512: at line 1
    java.sql.SQLException: ORA-29550: Java session state cleared
    Any help would be really appreciated.Please see the solution in (ORA-29550: Java session state cleared encountered during execution of Generate function 'WF_XML.Generate' [ID 1368817.1]).
    Thanks,
    Hussein

  • ORA-29550: Java session state cleared

    Hi all,
    I am using Oracle9i Enterprise Edition Release 9.2.0.6.0 on AIX
    I have created a job that executes daily at 00:00:00 and create files by selecting data from database. But job is breaking daily and subjected error found in alert log file.
    I have checked the metalink and found nothing except following
    Error:     ORA-29550
    Text:     Java session state cleared
    Cause:     The Java state in the current session became inconsistent and was
         cleared.
    Action:     No action required.
    Can anybody help me on this issue?
    Thanks,
    Hassan

    I am getting following errors when using forms. (Version is 11.5.10.2 on Linux)Are you using Forms 6i Builder?
    ORA-29549: class PUBLIC.NLS_SESSION_PARAMETERS has changed, Java session state cleared.
    oracle.apps.fnd.framework.OAException: java.sql.SQLException: ORA-29550: Java session state cleared
    ORA-06512: at "APPS.XMLPARSERCOVER", line 6
    ORA-06512: at "APPS.XMLPARSER", line 175
    ORA-06512: at "APPS.IRC_XML_UTIL", line 110
    ORA-29549: class PUBLIC.NLS_SESSION_PARAMETERS has changed, Java session state cleared
    ORA-06512: at "APPS.IRC_APPROVALS", line 43
    ORA-06512: at "APPS.IRC_APPROVALS", line 179
    ORA-06512: at "APPS.IRC_APPROVALS", line 328
    ORA-06512: at "APPS.XXCIM_CANDIDATE_SEARCH_PKG", line 333
    ORA-06512: at line 1
    java.sql.SQLException: ORA-29550: Java session state cleared
    Any help would be really appreciated.Please see the solution in (ORA-29550: Java session state cleared encountered during execution of Generate function 'WF_XML.Generate' [ID 1368817.1]).
    Thanks,
    Hussein

  • Can I use my javascript to change the session state of an item?

    All,
    I currently have a page that has two regions: a report and a checkbox region. The checkbox region is full of checkboxes that are tied to each column in the report. I have javascript in the page HTML header that hides/displays the report column when they click the corresponding checkbox. The hiding and displaying columns works just fine.
    Here is my problem: my users need to export the report (with some columns hidden) as a CSV file. Unfortunately, the javascript function I use to hide/show the columns does not change the session value of the checkbox region and thus, APEX does not 'know' that some columns have been hidden. Because of this, APEX exports ALL columns.
    Can I add an onChange to my javascript that each time the user checks/unchecks a box, it adds/removes that item from the checkbox region's session value?
    Thanks!
    BoilerUP
    P.S. I do not want to submit the page - I would like for this to be done on the fly, just like the columns hiding/appearing with the javascript. Thanks!
    Message was edited by:
    BoilerUP

    Ok, I still cannot get this to work. I keep getting a javascript page error (yellow exclamation icon in I.E.) I have the following code in the HTML header:
    <script language="JavaScript" type="text/javascript">
    function va_GetCheckboxes(pName)
    var d=document;
    var l_return = "";
    var inputs=d.body.getElementsByTagName('INPUT');
    var l_el;
    for (var j=0;j<inputs.length;j++) {
         l_el = inputs[j];
         if (l_el.type=="checkbox" && l_el.name && l_el.name==pName
             && l_el.checked) {
                l_return += ":" + l_el.value;
    return l_return.substring(1);
    </script>I also have the following code in the HTML Form Element Attributes section for the checkbox item:
    onclick="html_HideBasedOnCheckBox(this,this.value);set_Some_Item('P2_COLUMN_HIDE_CHECKBOXES',that_string)"Do I need to replace "that_string" with something or is there something else that I'm doing wrong?

  • Detecting change to session state

    Apex 4.0.2
    Say I have a form page with a bunch of items. An On Load process populates them using SELECT...INTO. When the page is submitted, is there a way I can identify which page items have changed so they can be recorded in a database table. A generic solution instead of the brute-force way of duplicating all page items as hidden items and comparing values during processing.
    When a page is run in debug mode, I see messages like Saving same value P1_FOO or when viewing session state using the Dev toolbar, there is a status column with Inserted or Updated so it would appear that the Apex engine does track changes to page items beteween the time they are rendered and processed.
    Any ideas? Thanks

    Tony & Jari - Yes, using collections would seem like the best option. It is not as difficult as I had imagined. Something like
    apex_collection.create_or_truncate_collection('FORM_DATA');
    for c1 in (select ... from apex_application_page_items
    where application_id=:APP_ID and page_id=:APP_PAGE_ID and item_name in (...))
    loop
      apex_collection.add_member('FORM_DATA',c1.item_name,v(c1.item_name));
    end loop; can be used to populate the collection in a On Load process.
    An After Submit process would compare v('item_name') to the corresponding value in the collection and do what it needs to do.
    John - Thanks, that would work too I guess.
    Thanks all

  • Blob to Java class that has changed problem

    I wasn't sure how to title this problem, but here's an explanation.
    It is slightly hypothetical but is likely to become an issue soon.
    I am storing my java objects into a database as a Blob, retrieving them and then regenerating them as java objects. The object I'm storing is of, for example, type Team.
    If I were to change the Team class by adding a new field, after having stored the objects, and then retrieved them, would I still be able to cast the object into a Team object, or would they become redundant? Would I need some sort of versioning and mapping?
    Thanks
    Reda

    You are serializing those objects, right? Then it doesn't matter whether you are serializing them into a database blob or a data file or anything else. The answer is probably "Yes you need to do something". Here's the first three links that Google gives me for "java serialization tutorial":
    http://www.deitel.com/articles/java_tutorials/20050923/IntroductionToObjectSerialization.html
    http://java.sun.com/developer/technicalArticles/Programming/serialization/
    http://java.sun.com/products/jndi/tutorial/objects/storing/serial.html

  • Opening files with serialized objects even if class definition has changed.

    Dear all,
    We are deploying an application wich saves serialized objects. But when changing something in the code and especially in the serialized classes we are not able to open files which have been saved with the old 'outfit' of the class.
    I think, that this is probably a common problem and therefore I am interested whether there exists also a common or practical solution.
    What is the direction I have to look in? XML, Serializable or is it something else?
    Thanks for a short answer,
    Axel

    If you add, remove or change a classes variables, then it will be serialized differently.
    Any fields which you do not need to be serialized, may be marked as transient, so you can add and remove them at will.
    In the longer term, you can override the readObject() / writeObject() methods and explicitely load/save what fields you want. This will also allow you to set intelligent defaults, if for example, you added a new field, but your old serialised classes do not have this field. You can also precede all serialised data with version numbers... might help a bit.
    So code ( psuedocode ) might look like this...
    private void readObject(java.io.ObjectInputStream in)
         throws IOException, ClassNotFoundException;
        int ver = in.readInt();
         classfield1 = in.readLong();
        if ( ver >= 2 )
            classfield2 = in.readLong();
        if ( ver >= 3 )
             classfield3 = in.readLong();
    }regards,
    Owen

  • Recently, the language which was English ( united states) has changed to chinese . I have reinstalled  itunes for WINDOWS 7and the problem persists

    rECENTLY THE ITUNES language has changed from United states English to Chinese. I have reinstalled and it persists.tHis is for WINDOW 7

    Hi, welcome to Apple Support Communities.
    Start iTunes. Second menu keyword at the top-left will be Edit. Click this and then click the last item on the menu that drops down which is Preferences. The left-most tab is General and last control on the tab is Language. Click the drop-down, select English UK or English US which should be the 8th & 9th items respectively, click OK. Close iTunes, reopen.
    tt2

  • Trouble setting the session state of a select item.

    Hi,
    I have a requirement whereby I need to change the session state of a select list item in my form without the need to submit. I am using Application Express 4.1.0.00.32. I thought this would be straight forward using a dynamic action or javascript and calling an on demand process for example.
    P1_MY_SELECT onchange="set_option();"
    function set_option() {
    var l_option=$f_SelectValue('P1_MY_SELECT');
    alert( 'My new value is ' + l_option );
    // ON DEMAND Set the new session state value
    var lRequest = new apex.ajax.ondemand
    ('SET_P1_MY_SELECT',function()
    {  /* start the return function */
    var l_s = p.readyState;
    if(l_s == 1||l_s == 2||l_s == 3)
    else if(l_s == 4)
    { gReturn = p.responseText;
         (gReturn)?json_SetItems(gReturn):null;
    else{return false;}
    /* end the return function */
    lRequest.ajax.addParam('x01', l_option );
    lRequest._get()
    My on demand application process
    DECLARE
    l_options varchar2(2000) := wwv_flow.g_x01;
    BEGIN
    APEX_UTIL.SET_SESSION_STATE('P1_MY_SELECT',l_options);
    apex_util.json_from_items('P1_MY_SELECT');
    END;
    Is there a better method to set the session state of my P1_MY_SELECT other than what I am doing as above or can you tell me why the session state of P1_MY_SELECT is not changed?
    Thanks.
    Edited by: 968358 on 01-Nov-2012 08:40

    if you are on 4.1 why don't you use a dynamic action instead of writing the code again?
    create a dynamic action like this
    Event: Change
    Source Type: Item
    Item: P1_MY_SELECT
    True Action:
    =========
    Action: Execute Plsql Code
    Plsql Code: null;
    Page Items to Submit: P1_MY_SELECT
    Page Items to Return: P1_MY_SELECT (this is optional)
    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21674/advnc_dynamic_actions.htm#HTMDB27020

  • JBO-25014: Another user has changed .... can I change myViewRowImpl.java???

    Hi all,
    I'm noob working with jDeveloper and ADF and i'm finding a lot of problems building my application. The first one: "JBO-25014: Another user has changed .."
    I have been reading a lot about this problem and its different causes but seems that nothing helps me so i'm gonna tell you my problem and i hope that someone know how to solve it.
    My page shows a table and below it the details of each row selected in the table in read only mode.
    The table shows fields from a table in database and other fields with information not located in database (CMS). To build it i used the wizard to create a bussines component from a table . After i added the properties that are not located in database to the view and entity object.
    I generated java code for the view (myViewImpl.java & myViewRowImpl.java) and for the aplicacion module (myAmImpl.java) and in java class for the application module I overwrote some methods (findViewObject & getViewObjects) to add the source code needed to get data from CMS and add it to the data obtained from database.
    That works perfecly!
    Now, I wrote a new method in myViewImpl.java which get data from details form and update table in database (moreover other task: send mail, sms....). This method is executed with a command button. Method commits transaction after each operation. Again this works perfectly!
    The problem comes when i try to refresh the table with the new data after update. I tried different solutions:
    - Option 1: Clear cache after commit. Problem: When table is reloaded I'm losing data obteined from CMS and also this process is too heavy, i would like to avoid to go to CMS to reload whole table with every update of a row.
    - Option 2: Set new values directly in object myViewRowImpl.java. That could be the perfect solution, after every update i just inform the row object with the new values. The problem is that when i try to commit the transaction I'm getting a JBO-25014. If I set the new values before commit, the errors comes in this commit, if i set the values after the commit, the error comes in the next row to be updated.
    Any idea of how to avoid the problem in option 2????
    Other general sugestion????
    Thanks in advance!!
    Curro.
    PD: Sorry for my poor english

    Hi,
    Using ADF BC, the default locking behavior is set to pessimistic. Check the ApplicationModule configuration (right mouse click the AM and choose "configuration") and change the locking property to optimistic.
    Also you need to set the EO attributes to refresh after insert and/or refresh after update.
    ~Abhijit

  • Sir i am using datasocket read ,i am communicating with java but my problem is that bcz im using while loop to see if value has changed my labview consumes all the processors time ,sir i want a event like thing so that while loop is not in continuous loop

    sir i have given lot of effort but i am not able to solve my problem either with notifiers or with occurence fn,probably i do not know how to use these synchronisation tools.

    sir i am using datasocket read ,i am communicating with java but my problem is that bcz im using while loop to see if value has changed my labview consumes all the processors time ,sir i want a event like thing so that while loop is not in continuous loopHi Sam,
    I want to pass along a couple of tips that will get you more and better response on this list.
    1) There is an un-written rule that says more "stars" is better than just one star. Giving a one star rating will probably eliminate that responder from individuals that are willing to anser your question.
    2) If someone gives you an answer that meets your needs, reply to that answer and say that it worked.
    3) If someone suggests that you look at an example, DO IT! LV comes with a wonderful set of examples that demonstate almost all of the core functionality of LV. Familiarity with all of the LV examples will get you through about 80% of the Certified LabVIEW Developer exam.
    4) If you have a question first search the examples for something tha
    t may help you. If you can not find an example that is exactly what you want, find one that is close and post a question along the lines of "I want to do something similar to example X, how can I modify it to do Y".
    5) Some of the greatest LabVIEW minds offer there services and advice for free on this exchange. If you treat them good, they can get you through almost every challenge that can be encountered in LV.
    6) If English is not your native language, post your question in the language you favor. There is probably someone around that can help. "We're big, we're bad, we're international!"
    Trying to help,
    Welcome to the forum!
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Session Timeout Alert + login page has changed

    Hello,
    We recently updated our SAP CRM 7.0 from EHP1 to EHP3.
    Since than we get this "Session Timeout Alert" error and it is very annoying.
    I've changed the rdisp/plugin_auto_logout parameter to 7200 s but the session is still ending after about 10min.
    On EHP1 we didn't had this problem.
    Also it seems that the login page has changed because the username and password is not saved anymore and we need to introduce them every time we log in.
    Please help to solve these problems.
    Thanks!

    Hi Sudhir,
    My issue is also not solved!
    The server restart was only another possible solution.
    Very annoying!
    Still searching....
    BR

  • "Your session has timed out,try again." is the message I get every time I try to purchase a song on itunes. My last purchase was June 11, 2011, and nothing has changed since then.

    "Your session has timed out, try again." is the message I get every time I try to purchase a song. My last purchase was june of this year, and nothing has changed since then.

    I had this problem, but it was because I was clicking on an external link. Try instead going straight into iTunes, then going to the Podcast section. At the bottom of the "Podcast Quick Links" section, there's a text, "Submit a Podcast." Click on this instead. Once I did, I got to the same page as before, but it did process the feed.
    Good luck!

  • ORA-20505: Error in DML - Version of data in db has changed

    Hello,
    Application Express 3.1.0.00.32
    I have created a Report and Master Detail in the Sample Application on oracle.application.com. I am receiving an error on my Master Detail Form when clicking the <Previous and Next> buttons. I have viewed other issues like this in the forum but, it looks like everyone is a little different. Can anyone assist me with this error when browsing to the next record(s). Thanks in advance.
    ORA-20505: Error in DML: p_rowid=6, p_alt_rowid=CUSTOMER_ID, p_rowid2=, p_alt_rowid2=. ORA-20503: Current version of data in database has changed since user initiated update process. current checksum = "E9A08EDC02A82871E6865DB254B09ED2" application checksum = "39454529513F24BE60C167752BF71750"
    I created another Master Detail page and I do not have any errors when scrolling using <> buttons. Here is a process that may be causing my error using the original Master Detail page.
    DECLARE
    CUSTOMER_ID VARCHAR(20);
    BEGIN
    SELECT CUSTOMER_ID INTO :P21_CUSTOMER_ID
    FROM DEMO_CUSTOMERS
    WHERE CUST_FIRST_NAME = :P21_CUST_FIRST_NAME;
    -- processing here
    EXCEPTION
      -- Catches all 'no data found' errors
       WHEN NO_DATA_FOUND THEN
         DBMS_OUTPUT.PUT_LINE
           ('No Data found for SEARCH on ' || CUSTOMER_ID);
    END;Edited by: Charles A on Apr 30, 2009 11:40 AM

    Hi Charles,
    I've had a look at your page 21.
    The problem was that the "Fetch Values 2" process was not conditional and was running in the "On Load - Before Header" process point. This meant that it was being run every time the page was being loaded. This process checks for the CUSTOMER_ID relating to the value in P21_CUST_FIRST_NAME which, because the "Fetch Row..." process hasn't been run at that point (it runs "On Load - After Header"), will always return the same CUSTOMER_ID value from when the page was first loaded. The Next/Previous buttons, however, moved the P21_CUSTOMER_ID forward/back one value (this became apparent when this field was changed from "Hidden and Protected" to "Text"). As a result, the data on the page was for "Albert" but the CUSTOMER_ID value was for whatever record was next/previous to the Albert one. Thus, moving next/previous always caused a mix of the actual data.
    I have changed the "Fetch Values 2" process to be conditional on P21_CUSTOMER_ID being NULL. This way, the CUSTOMER_ID value is ONLY found by code when the page is first loaded. Thereafter, it is controlled by the Next/Previous functionality.
    Andy

  • ORA-20001: Current version of data in database has changed since user.....

    Hi,
    I am having a tabular form which I created using the wizard
    I am facing the below error when I try to update or 'Add Row'
    Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-20001: ORA-20001: Current version of data in database has changed since user initiated update process."
    I havenot changed the query but I made certain columns based on select list,gave some default values,etc..
    How can I solve this problem?
    Also,I am getting the above error once I change the query for another tabular form.The client wanted some more fields to be displayed on the page.
    How can I solve this problem too?
    Thanks and Regards,
    K.tanna

    Can somebody help me out?

Maybe you are looking for

  • How doi print Any variable at the end of page in ALV report?

    Hi, Anyone can tell me that How do i print Any variable at the end of page in ALV report? Exmale: at the ende of alv report i want to print total no of employee who has taken house loan or education loan.

  • Have an MP4 video but can't get it into itunes

    I have an MPEG-4 video that I want to import into itunes and then play on ipod video. The file type is fine in terms of the spec that apple says can be played on ipod video. I have tried dragging the file into the library and 'add folder to library',

  • Disk Image too big in iDVD 6.0.1

    I created a 1 hour 27 minute movie in iMovie 6.0.1 and dragged it into a new iDVD 6.0.1 project. Used Travel widescreen theme and the default audio clip for that main menu. Removed the audio clips from the chapter menus. Created a disk image: 4.29GB,

  • Help Factory Resetting!!

    Hello, Recently i have tried to factory reset my Compaq Pressario PC SR5710Y. Every time it gets to 48% a message appears saying "error 1005. If the error persist contact HP Support" and im wondering what can i do about this problem.

  • Oracle Query Performance

    hello, I want to optimize my sql queries. I want to know what statement impact query retrieval / processing. Cany any one help me to guide what to avoid while writing sql queries?