Ora-12705 can not access nls data files or invalid environment specified

platform: win2000,
dev tool: VC++2003
the client machine:only install oracle instant client and XDK
env variable:
NLS_LANG=SIMPLIFIED CHINESE_CHINA.ZHS16GBK
ORA_NLS10=%XDK_HOME%/nls/data
the exception was thrown out when open oracle connection:
env->createConnection (user, password, service);
I will appreciate if anyone can tell me what was going on
Regard

I recently encountered this error (12705 with same text) after installing, de-installing and again installing the Oracle 10.2.01 client. The initial install saved to a path ending in ... /Client1, but hung on the last screen (due to a conflict in my response to a prompt from Semantic to allow "javaw" to run). The second install saved to a path ending in .../Client2.
The error was resolved by removing the path for .../Client1 in the "Path" Environment Variable.

Similar Messages

  • Ora:12705 unable to access NLS data files or  invalid environment specified

    Hi All,
    In our BW production SAP standard job DBA:update_stats is failing  . In Job log we found that  the info like
    Ora:12705 unable to access NLS data files or  invalid environment specified.
    Connect to DB instance failed.
    Brconnect terminated with exit code 3.
    We are on Oracle 10.2 BW 3.5  Sunsolaris 5.10
    The Env is as below:
    HOME=/home/bwpadm
    PATH=/oracle/BWP/102_64/bin:/usr/jdk/j2sdk1.4.2_13/bin:/home/bwpadm:/usr/sap/BWP/SYS/exe/run:/etc:/usr/bin:.:/opt/EMCpower/bin/64:/etc/emc/bin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin
    LOGNAME=bwpadm
    HZ=
    TERM=vt100
    SHELL=/bin/csh
    MAIL=/var/mail/bwpadm
    TZ=US/Pacific
    PWD=/home/bwpadm
    USER=bwpadm
    SAPSYSTEMNAME=BWP
    DIR_LIBRARY=/usr/sap/BWP/SYS/exe/run
    LD_LIBRARY_PATH=/usr/sap/BWP/SYS/exe/run:/opt/j2sdk1.4.2_08/bin
    JAVA_HOME=/usr/jdk/j2sdk1.4.2_13
    THREAD=NOPS
    dbms_type=ORA
    dbs_ora_tnsname=BWP
    dbs_ora_schema=SAPBWP
    ORACLE_PSRV=BWP
    ORACLE_SID=BWP
    DB_SID=BWP
    ORACLE_HOME=/oracle/BWP/102_64
    ORACLE_BASE=/oracle
    ORA_NLS33=/oracle/client/92x_64/ocommon/nls/admin/data
    NLS_LANG=AMERICAN_AMERICA.WE8DEC
    SAPDATA_HOME=/oracle/BWP
    Plz suggest what we have to change to fix the problem.
    Thanks,
    Subhash.G

    Thanks for the reply,
    The below is the orasid env:
    As you suggest  we  found ld_library_path  is not set to  oracle client .
    we still using 9.x client shall we add that path to the above varaible.
    Please suggest..
    HOME=/oracle/RSS
    PATH=/oracle/RSS/102_64/bin:/oracle/RSS:/usr/sap/RSS/SYS/exe/run:/etc:/usr/bin:.:/opt/EMCpower/bin/64:/etc/emc/bin:/usr/ccs/bin:/usr/ucb
    LOGNAME=orarss
    HZ=
    TERM=vt100
    SHELL=/bin/csh
    MAIL=/var/mail/orarss
    TZ=US/Pacific
    PWD=/oracle/RSS/102_64/dbs
    USER=orarss
    SAPSYSTEMNAME=RSS
    DIR_LIBRARY=/usr/sap/RSS/SYS/exe/run
    LD_LIBRARY_PATH=/usr/sap/RSS/SYS/exe/run:/oracle/RSS/102_64/lib
    THREAD=NOPS
    dbms_type=ORA
    dbs_ora_tnsname=RSS
    dbs_ora_schema=SAPRSS
    ORACLE_SID=RSS
    DB_SID=RSS
    ORACLE_BASE=/oracle
    ORACLE_HOME=/oracle/RSS/102_64
    NLS_LANG=AMERICAN_AMERICA.UTF8
    SAPDATA_HOME=/oracle/RSS.
    Thanks,
    Subhash.G

  • ORA-12705: Cannot access NLS data files or invalid environment specified

    Hi,
    I am using Oracle 10g Express, ojdbc14.jar , apache tomcat 5 server on Linux (Fedora 6).
    In CustDisp.JSP I have following code:
    <%
    try {
    Class.forName ("oracle.jdbc.driver.OracleDriver").newInstance();
    out.println("JDBC driver loaded.<br>");
    catch (ClassNotFoundException e) {
    %>
    error :<br>
    <%=e.toString() %>
    <%
    String sql = "SELECT custid, fname, lname FROM customers";
    try {
    Connection con = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:XE","myid", "mypassword");
    out.println("Connection made.<br><br>");
    Statement s = con.createStatement();
    ResultSet rs = s.executeQuery(sql);
    %>
    When Itry to access http://localhost:8080/jsps/CustDisp.jsp,I get following error:
    java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1 ORA-12705: Cannot access NLS data files or invalid environment specified.
    When I display enviorenment parameters in this JSP, I get follwing:
    JDBC driver loaded.
    Oracle Home = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server
    Language = en_US.UTF8
    NLS Language = AMERICAN_AMERICA.AL32UTF8
    Path = /usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin
    Class Path = /usr/lib/jvm/java/lib/tools.jar:/usr/share/tomcat5/bin/bootstrap.jar:/usr/share/tomcat5/bin/commons-logging-api.jar:/usr/share/java/mx4j/mx4j-impl.jar:/usr/share/java/mx4j/mx4j-jmx.jar
    Charset = null
    Home = /usr/share/tomcat5
    Log Name = tomcat
    LD LIB PATH = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib:/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/nls/data/ojdbc14.jar:
    Locale = en_US
    nls data directory : /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/nls/data
    I have checked permissions for nls data folder, they are :
    Owner: Oracle
    Folder Access: Create and delete files
    Group: Dba
    Folder Access: Access files
    Others
    Folder Access: Access files
    Execute: Allow executing file as program.
    I have written a java program and used same drivers,customers table and connection i.e
    Class.forName ("oracle.jdbc.driver.OracleDriver").newInstance();
    String sql = "SELECT custid, fname, lname FROM customers";
    Connection con = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:XE","myid", "mypassword");
    it works fine and displays customers.
    Only when I try to access my CustDisp.JSP, I get
    java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1 ORA-12705: Cannot access NLS data files or invalid environment specified. Error.
    Can some one please help me sorting out this problem?
    Thanks in advance.
    AQK

    Hi,
    Relevant code for CustDisp.JSP is given below:
    <%@ page session="false" %>
    <%@ page import="java.io.*" %>
    <%@ page import="java.util.*" %>
    <%@ page import="java.sql.*" %>
    <%@ page import="oracle.jdbc.*" %>
    <%
    try {
    Class.forName ("oracle.jdbc.driver.OracleDriver").newInstance();
    out.println("JDBC driver loaded.<br>");
    catch (ClassNotFoundException e) {
    %>
    error :
    <%=e.toString() %>
    <%
    String sql = "SELECT custid, fname, lname FROM customers";
    try {
    Connection con = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:XE","myid", "mypassword");
    out.println("Connection made.<br><br>");
    Statement s = con.createStatement();
    ResultSet rs = s.executeQuery(sql);
    %>
    Permissions for nls data folder
    /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/nls/data/
    are :
    Owner: Oracle
    Folder Access: Create and delete files
    Group: tomcat
    Folder Access: Access files
    Others
    Folder Access: Access files
    Execute: Allow executing file as program.
    In CustDisp.JSP I have following code which accesses ojdbc14.jar
    // Check access to the nls data files.
    cfile = "";
    try{
    File myfile = new File("/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/nls/data/ojdbc14.jar");
    if (myfile.exists() == true){
    cfile="ojdbc14.jar exists in the data directory. Its length is "+ myfile.length()+" It can be read =" myfile.canRead() " , can be written = " + myfile.canWrite();
    }else{
    cfile="ojdbc14.jar does not exist.";
    catch (Exception er){
    %>
    error in reading file:<br>
    <%=er.toString() %>
    <%
    This code gives following output:
    File ojdbc14.jar exists in the data directory. Its length is 1536979 It can be read =true , can be written = false
    Every things seems to be OK but when I try to access http://localhost:8080/jsps/CustDisp.jsp, Iget:
    Sql Error:
    java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1 ORA-12705: Cannot access NLS data files or invalid environment specified
    Best regards.
    AQK

  • [exec] ORA-12705: Cannot access NLS data files or invalid environment specified

    Hi all,
    We have an app running ok on WinXP, But if run on Win7 it gets error:
        [exec] Caused by: java.sql.SQLException: ORA-00604: error occurred at recur
    sive SQL level 1
         [exec] ORA-12705: Cannot access NLS data files or invalid environment speci
    fied
    Is this a sqlnet client issue?
    Thanks a lot,
    zxy

    yxes2013 wrote:
    I already google it but I am not confident about my result
    I need validation from genius guys like you
    And as long as you rely on being spoon-fed everything, you will never be confident about your result.
    Try the following:
    >change jre versión (donwload from http:www.sun.com) and declare the new JAVA_HOME variable.
    >try calling this code: Locale.setDefault(Locale.ENGLISH);
        before you open a database connection.
    > The NLS_LANG must be unset in the Windows registry (re-named is best).  Look for the NLS_LANG subkey in the registry at \HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE, and rename it.
    And where did you find that solution?
    Lie On The Internet - YouTube

  • ORA-12705: Cannot access NLS data files or invalid enviroment specified

    Hi, I am using Oracle 11g R2 and using the client Navicat.
    I can connect through command promt and SqlPlus absolutely fine but when I try to connect with Navicat, it wont allow me to and gives me the error in the topic. I have changed the NLS_LANG to NLS_LANG1 and double checked the ORACLE_HOME which is fine. Im not sure on how to connect with Navicat so could someone try and assist me on getting this to work?
    Thanks in advance.

    939711 wrote:
    Hi, I am using Oracle 11g R2 and using the client Navicat.
    I can connect through command promt and SqlPlus absolutely fine but when I try to connect with Navicat, it wont allow me to and gives me the error in the topic. I have changed the NLS_LANG to NLS_LANG1 and double checked the ORACLE_HOME which is fine. Im not sure on how to connect with Navicat so could someone try and assist me on getting this to work?
    Thanks in advance.
    PLEASE stop spamming this forum with issues about non-Oracle products!
    Consider to bother the actual support folks from Navicat.
    http://www.navicat.com/en/support/live.html

  • Configuring Apach(ORA-12705: Cannot access NLS data files .. )

    Hello,
    I receive this error while configure an HTTP Server for Oracle XE Database.
    ORA-604 LogOn ORA-00604: error occurred at recursive SQL level 1\nORA-12705: Cannot access NLS data files or invalid environment specified
    The database NLS parameters is
    SQL> select * from nls_database_parameters;
    PARAMETER VALUE
    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_NUMERIC_CHARACTERS .,
    NLS_CHARACTERSET CL8MSWIN1251
    NLS_CALENDAR GREGORIAN
    NLS_DATE_FORMAT DD-MON-RR
    NLS_DATE_LANGUAGE AMERICAN
    NLS_NCHAR_CHARACTERSET AL16UTF16
    NLS_RDBMS_VERSION 10.2.0.1.0
    DADs configuration:
    <Location /elxe>
    Order deny,allow
    PlsqlDocumentPath docs
    AllowOverride None
    PlsqlMaxRequestsPerSession 10
    PlsqlDocumentProcedure wwv_flow_file_mgr.process_download
    PlsqlDatabaseConnectString elxe:1521:XE ServiceNameFormat
    PlsqlNLSLanguage AMERICAN_AMERICA.CL8MSWIN1251
    PlsqlAuthenticationMode Basic
    SetHandler pls_handler
    PlsqlDocumentTablename wwv_flow_file_objects$
    PlsqlDatabaseUsername APEX_PUBLIC_USER
    PlsqlDefaultPage apex
    PlsqlDatabasePassword xxxx
    Allow from all
    </Location>
    What is wrong?

    It is most likely that the NLS files are missing from the server/pc.
    Also look at the apachectl file.
    Find the following line:
    NLS_LANG=${NLS_LANG=""}; export NLS_LANG
    Modify this line to look like the following:
    NLS_LANG=AMERICAN_AMERICA.CL8MSWIN1251; export NLS_LANG
    Christopher Soza
    Oracle BI DBA
    Orix Consultancy Services Ltd
    b: http://sozaman.blogspot.com

  • Can not open database - data file missing

    I connected to the database as sysdba and issued STARTUP OPEN command.
    How can I restore the datafile?
    ORA-01157: cannot identify/lock data file 32 - see DBWR trace file
    ORA-01110: data file 32: 'F:\ORACLE\DATABASE\M23.DAT'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.

    Thank you for your advice.
    To Issue ALTER TABLESPACE M23 OFFLINE IMMEDIATE, the database should be in OPEN mode.
    I couldn't open the database.
    What shall I do put it in OPEN MODE?
    Thank you in advance.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Randall Roberts ([email protected]):
    You have to STARTUP MOUNT and take the tablespace that M23.DAT belongs to offline... probably OFFLINE IMMEDIATE.
    Once you do that you may ALTER DATABASE OPEN. Then you can replace your data file with a backup and use the recover command to recover the tablespace IF you are in archive log mode. If you are not in archive log mode, you'll have to drop the tablespace, recreate it and hopefully you have an export file of its contents you can import.
    Best!
    Randall<HR></BLOCKQUOTE>
    null

  • Can not access my iphone files in itunes

    I can no longer access my music files in itunes. When I sync my iphone to my computer, the songs and my playlists show up. For some reason, I can not click on anything or change my playlists. My computer is authorized, but will not allow me to change anything! How can I fix this problem? Will I have to restore my iphone and reload my music in order for it to work?
    HELP! Thanks!

    If you manually manage music, be sure that Manually Manage is still checked.

  • Can not restore all data/files after disk crash.

    I have a intel MacBook Pro (2008). Hard drive crashed. I replaced the drive and all is well with that. I re-installed Leopard and the Snow Leopard upgrade. Now I am trying to restore all my files/data from my external LaCie drive. All I am seeing is it says "copying to volumes". I don't see the files or anything on my new drive. What am I doing wrong??

    Not sure, but here is a link that may help:
    http://discussions.apple.com/thread.jspa?threadID=435350&tstart=0
    Good luck!

  • Sprint says Q10 can not access internet/data in Chas/Hunt WV area

    So I upgraded to a new Q10 and spent a few hours loading and configuing all my emails, etc. 
    Driving to work this morning, I noted that there was no emails received after I left my house (wifi-enabled).  Tried to open the Browser and received the error stating there was no connection to the internet.  Wasted most of the workday fiddling with the settings --- no joy.  So on the way home I stop at the Sprint store.  I walk in and showed the guy my phone and said, "I need some help with this."
    He immediately said, "No internet or data?"  Dayum.  He went on to say that BB 3G/4G v10 won't work in this area and that BB was aware of the problem.  Something about Sprint sharing towers with Intelos and the phones won't recognize something.  Over my head, but all other smartphones work here...just the BB Q10 won't. 
    Really bites --- when I'm on WiFi the thing rocks and is everything I need in a smartphone.  So much better than my daughters iPhone 5...except for this.

    Not sure if the same but
    my brother is unable to get Data on his Sprint iphone unless its on LTE and most where he is is not LTE enabled.
    It still makes calls and recieves calls but no data.
    Click here to Backup the data on your BlackBerry Device! It's important, and FREE!
    Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
    Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals
    BESAdmin's, please make a signature with your BES environment info.
    SIM Free BlackBerry Unlocking FAQ
    Follow me on Twitter @knottyrope
    Want to thank me? Buy my KnottyRope App here
    BES 12 and BES 5.0.4 with Exchange 2010 and SQL 2012 Hyper V

  • Error: 12705 Cannot access NLS data

    I have just downloaded and installed 11.2 Express Edition + Oracle SQL developer on Windows 7 but when I tried to connect it returned me an error: 12705 Cannot access NLS data.
    I tried to change NLS_LANG param in registry & skipped NLS settings bit it did not helped.
    How to resolve this?

    923110 wrote:
    The previous locale was set to Russia
    I have Win 7 32xAccording to Installation guide section 9, about supported language configurations, not many language message files are included.
    But I suspect something else is going on here. You could try changing Windows OS back to Russian locale and do:
    set nls_lang=russian_russia.cl8mswin1251
    sqlplus / as sysdba
    Fortunately, there are many people who are able to install successfully by simply adhering to the steps in this GuideAs indicated above, with Oracle at the very minimum you need to read and follow the Installation guide for the product.
    Oracle Database is an extremely capable development and deployment platform for database centric applications. It is also vast and complex, so don't be suprised if you need to spend a couple of years to get well oriented with it. One of the first things a new user should do is to get familiar with the relevant Documentation library.

  • I have been using thelatest ver firefox. Noe I can not access it. I receive the following message" Windows cannot access the specified device, path or file. You may not have appropriate permission to access. I am using windows XP ,

    unable to access firefox. I receive the following message" Windows can not access the specified device, path or file. You may not have appropriate permission to access. I restored the system to an earlier date when I could access Firefox. I removed an re-installed firefox no changes.

    Do a clean (re)install and delete the Firefox program folder (C:\Program Files\Mozilla Firefox\).
    Download a fresh Firefox copy and save the file to the desktop.
    *Firefox 13.0.x: http://www.mozilla.org/en-US/firefox/all.html
    Uninstall your current Firefox version, if possible.
    *Do NOT remove personal data when you uninstall your current Firefox version, because all profile folders will be removed and you will also lose your personal data like bookmarks and passwords from profiles of other Firefox versions.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    *It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    *http://kb.mozillazine.org/Uninstalling_Firefox
    Your bookmarks and other profile data are stored elsewhere in the Firefox Profile Folder and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    *http://kb.mozillazine.org/Profile_backup
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • " Can not interpret the data in file " error while uploading the data in DB

    Dear All ,
    After running the below report I am getting the " Can not interpret the data in file " error.
    Need to upload the data in DB through excel or .txt file.
    Kindly advise to resolve the issue.
    REPORT  ZTEST_4.
    data : it like ZPRINT_LOC occurs 0 with header line,
    FILETABLE type table of FILE_TABLE,
    wa_filetable like line of filetable,
    wa_filename type string,
    rc type i.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_OPEN_DIALOG
    CHANGING
    FILE_TABLE = filetable
    RC = rc.
    IF SY-SUBRC = 0.
    read table filetable into wa_filetable index 1.
    move wa_filetable-FILENAME to wa_filename.
    Else.
    Write: / 'HI'.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    start-of-selection.
    CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
    FILENAME = wa_filename
    FILETYPE = 'ASC'
    HAS_FIELD_SEPARATOR = 'X'
    TABLES
    DATA_TAB = it.
    IF SY-SUBRC = 0.
    Write: / 'HI'.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    insert ZPRINT_LOC from table it.
    if sy-subrc = 0.
    commit work.
    else.
    rollback work.
    endif.
    Regards
    Machindra Patade
    Edited by: Machindra Patade on Apr 9, 2010 1:34 PM

    Dear dedeepya reddy,
    Not able to upload the excel but have sucess to upload the .csv file to db through the below code. Thanks for your advise.
    REPORT  ZTEST_3.
             internal table declaration
    DATA: itab TYPE STANDARD TABLE OF ZPRINT_LOC,
          wa LIKE LINE OF itab,
          wa1 like line of itab.
                       variable  declaration
    DATA: v_excel_string(2000) TYPE c,
           v_file LIKE v_excel_string VALUE    'C:\Documents and Settings\devadm\Desktop\test.csv',  " name of the file
            delimiter TYPE c VALUE ' '.         " delimiter with default value space
         read the file from the application server
      OPEN DATASET v_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
    IF sy-subrc NE 0.
    write:/ 'error opening file'.
      ELSE.
        WHILE ( sy-subrc EQ 0 ).
          READ DATASET v_file INTO wa.
          IF NOT wa IS INITIAL.
            append wa TO itab.
          ENDIF.
          CLEAR wa.
        ENDWHILE.
      ENDIF.
    CLOSE DATASET v_file.
    EXEC SQL.
         TRUNCATE TABLE "ZPRINT_LOC"
    ENDEXEC.
    *------display the data from the internal table
    LOOP AT itab into wa1.
    WRITE:/ wa1-mandt,wa1-zloc_code,wa1-zloc_desc,wa1-zloc,wa1-zstate.
    ENDLOOP.
    insert ZPRINT_LOC from table itab.

  • Can not access the Instance Data of a Singleton class from MBean

    I am working against the deadline and i am sweating now. From past few days i have been working on a problem and now its the time to shout out.
    I have an application (let's call it "APP") and i have a "PerformanceStatistics" MBean written for APP. I also have a Singleton Data class (let's call it "SDATA") which provides some data for the MBean to access and calculate some application runtime stuff. Thus during the application startup and then in the application lifecysle, i will be adding data to the SDATA instance.So, this SDATA instance always has the data.
    Now, the problem is that i am not able to access any of the data or data structures from the PerformanceStatistics MBean. if i check the data structures when i am adding the data, all the structures contains data. But when i call this singleton instance from the MBean, am kind of having the empty data.
    Can anyone explain or have hints on what's happening ? Any help will be appreciated.
    I tried all sorts of DATA class being final and all methods being synchronized, static, ect.,, just to make sure. But no luck till now.
    Another unfortunate thing is that, i some times get different "ServicePerformanceData " instances (i.e. when i print the ServicePerformanceData.getInstance() they are different at different times). Not sure whats happening. I am running this application in WebLogic server and using the JConsole.
    Please see the detailed problem at @ http://stackoverflow.com/questions/1151117/can-not-access-the-instance-data-of-a-singleton-class-from-mbean
    I see related problems but no real solutions. Appreciate if anyone can throw in ideas.
    http://www.velocityreviews.com/forums/t135852-rmi-singletons-and-multiple-classloaders-in-weblogic.html
    http://www.theserverside.com/discussions/thread.tss?thread_id=12194
    http://www.jguru.com/faq/view.jsp?EID=1051835
    Thanks,
    Krishna

    I am working against the deadline and i am sweating now. From past few days i have been working on a problem and now its the time to shout out.
    I have an application (let's call it "APP") and i have a "PerformanceStatistics" MBean written for APP. I also have a Singleton Data class (let's call it "SDATA") which provides some data for the MBean to access and calculate some application runtime stuff. Thus during the application startup and then in the application lifecysle, i will be adding data to the SDATA instance.So, this SDATA instance always has the data.
    Now, the problem is that i am not able to access any of the data or data structures from the PerformanceStatistics MBean. if i check the data structures when i am adding the data, all the structures contains data. But when i call this singleton instance from the MBean, am kind of having the empty data.
    Can anyone explain or have hints on what's happening ? Any help will be appreciated.
    I tried all sorts of DATA class being final and all methods being synchronized, static, ect.,, just to make sure. But no luck till now.
    Another unfortunate thing is that, i some times get different "ServicePerformanceData " instances (i.e. when i print the ServicePerformanceData.getInstance() they are different at different times). Not sure whats happening. I am running this application in WebLogic server and using the JConsole.
    Please see the detailed problem at @ http://stackoverflow.com/questions/1151117/can-not-access-the-instance-data-of-a-singleton-class-from-mbean
    I see related problems but no real solutions. Appreciate if anyone can throw in ideas.
    http://www.velocityreviews.com/forums/t135852-rmi-singletons-and-multiple-classloaders-in-weblogic.html
    http://www.theserverside.com/discussions/thread.tss?thread_id=12194
    http://www.jguru.com/faq/view.jsp?EID=1051835
    Thanks,
    Krishna

  • Can not access the media card files Blackberry 8310 - HELP

    Can not access the media card files Blackberry 8310.
     I had a battery drain problem. The unit would only last 16 hours before completely drained. Purchased a new battery with the same result. I figured that I should try a complete reset so I did a hard wipe. Once that was done and I loaded the unit back up and returned online, the battery drain problem was resolved but now I can not access the media card.
     Here are the messages:
     “A media card has been inserted that contains encrypted content which will be unaccessible by this device”
     I can see the files. I have transferred them to my PC via the SD card but I can not open them. Here are the settings:
     Media card support – ON
    Encryption Mode: - Security Password & Device
    Encrypt Media Files – YES
    Mass Storage Mode Support – OFF
     Please note – I can not change the encryption mode since it is set by policy
     Security Options – General Settings – Content Protection – Disabled
     The version of Desktop Manage I am using is 4.2.1.8. When I try to use the Media Manager to move the files, I get an error message and can’t move the file. If I access the file on the card and try to display it, I get:
     Unable to display file /media card/ pictures/ing000000xx.jpg.rem
     Here is what I have tried (from the advice on this board):
     1)     Read the files directly off the media card – No good
    2)     Create a “new” folder on the media card and move a file into it then try to read it – No good
    3)     Email the file then read it – No good
    4)     Reset Encryption mode to off then try – Can’t do it – IT Policy setting
    5)     Be sure that the password was set the same as before the wipe (setting is password & device) – Can’t do it – The Blackberry prevents me from using an old password.
     So I think I can’t read the files because I can’t replicate the encryption key. Could that be right? My problem is that I do not understand why this would be the case. It is still the same device and since it knows what the old password was (because it would prevent me from using it again), why would it not generate a key to access the files?
     All I am trying to get off the card are pictures on my 6 year old … some are priceless. Can someone help me do this? One would think that this should not be this hard but from all the postings I have found, it seems that it is. And yes, shame on me for not moving the files before I did the reset (THAT will never happen again!) but this being unrecoverable is unconscionable given how many seem to find themselves in this situation.
     Thanks for any help you can offer!

    Not sure why you couldn't see them using mass storage mode. Did you have the pics stored on your media card? Try going to media-menu-explore-media card-blackberry-pictures See what the extension is on your pics. If any have the extension such as .jpg.rem they are encrypted.
    IrwinII
    Please remember to "Accept as Solution" the post which solved your thread. If I or someone else have helped you, please tell us you "Like" what we had to say at the bottom right of the post.

Maybe you are looking for