Txt-reader (not really a database question)

Hello! I found this txt-reading class when googling for such a thing. http://www.kodejava.org/examples/28.html
I am able to use this class to read text from a file, however, the swedish characters ÅÄÖ are causing trouble in the output text. Is there any way to add support for these characters in this class?
I know very little about file management, I was simply looking for a finished class to do the job for me. since I am not capable of solving this problem by myself, I need your help!
is there a way to avoid the trouble I am having with the foreign characters, or is there a better way to display text from *.txt files? My quest is to display text in a JTextArea.
Edited by: uj2n on Sep 11, 2009 7:58 AM

uj2n wrote:
I tested replacing that line with the code you posted, but it got the same output as last time. UTF-8 should be fine since that is what I am using on my linux system.That's not a guarantee. Where did the file come from? That's what's important. I could make a text file with whatever character set I choose and send it to you; that doesn't mean that you using UTF-8 will be able to read it. I highly recommend reading [this article|http://www.joelonsoftware.com/articles/Unicode.html].
Anyhow, how do I check if "åäöÅÄÖ" is included in UTF-8? Or might anything else be wrong?Those are surely included in UTF-8, as UTF-8 is a Unicode transformation format (UTF) and can represent (I believe) any Unicode code point. I would rather make sure that the font you're using to display the console (be it from Eclipse, from a terminal, etc) has support for those characters.

Similar Messages

  • I'm tired of constantly reading "not yet" for any questions regarding a 64-bit Firefox. Exactly WHEN will there be a FF 64-bit?

    I'm tired of constantly reading the simplified answer of "not yet" for any questions regarding a 64-bit Firefox. Exactly WHEN will there be a Firefox 64-bit?

    That hasn't been decided yet for Windows PC's. So instead of "not yet", how about '''when it is ready for release'''?

  • Not really a motherboard question ......

    just kinda curious as to how i can save all my files on one hard drive , format the original hard drive, then reload all the files back to the original .
    do the files need to be xp type.....for example if i have a win ME on one hard drive and xp home on the other...

    Howdy...
    If you have large amount of files.....let's say...in GIGBYTES....then create another partiton on your HD ...and move your important files to that partiton..and format other partiton...and then its up to you ..what you do next....You can leave those files on that partiton..so..you dont have to worry about them when you format your HD ...just dont format that partition......you know what i mean...
    Its much faster...and safer ....(you dont have to worry about cd scratches...)
    but if you need those files with you ..then use...Del UK  ...example...

  • Not really a development question but I need some help

    I install Internet explorer 11 on my pc running windows 7x64 Ultimate, however once installed any site I go to that asks for a user name and password, when I click on the textbox I get NO cursor, if I press tab on my keyboard nothing happens, if I attempt
    to highlight text on a page it does not select anything, does anyone know how to fix this issue, if I use enterprise mode all of the above issues do not happen but god its a headache to try to figure that enterprise mode out, I am only 17 and this is just a
    home pc that I use for homework and gaming and I would like to have the html5 ability but when I cannot use internet explorer 11 for the above reasons then I am stuck down grading to Internet explorer 10... Please Help?

    The IE user forum is at answers.microsoft.com. If you get directed here, the direction is wrong.
    Web developers expect customers's browsers to be in working condition and there is no malware hijacking their web sites. It is like TV show producers expecting viewers to have a working TV.
    Visual C++ MVP

  • & nbsp; and pre Question: OT- Not Really a DW Thing

    I posted a question on this a couple of weeks ago.  The poet that I'm building this site for makes pictures with words and does so using spaces and returns.  It means that depending on the editor she uses, we end up with awful looking code absolutely chocka with <br />, or <p>'s and these  s.  Anyway, the nett result from the discussion previously was to use the <pre> element which, handily is offered as an option in the wordpress post editor.
    So now I have decided to go with <pre> as a container for the picotpoems, I'm still a little confused.
    If the poet uses Notepad and cut's and pastes into the Wordpress editor she can introduce a million   characters but if I reproduce the poem and strip all that out, and add the spaces in teh wordpress editor I don't see any   characters and the code looks a lot cleaner.  Incidentally, so far, I only see them using Firebug and the view source option in FF and IE8 don't show them.
    Here's the poet using Notepad: http://www.pictopoetry.co.uk/2011/01/whip-lash-2/
    Here's my version typed direct: http://www.pictopoetry.co.uk/2011/01/whip/
    Both poems indicate adult content: They are not really Adult, just a bit er... suggestive.
    Here are my questions:
    Is either way better?
    Am I losing sleep needlessly worrying about those  s
    Why does Firebug show them and Veiw>Source in the browser doesn't
    Thanks
    Martin

    Firefox's Web Developer Toolbar allows you to edit HTML code that is inside the <body> tags and your CSS files. 
    https://addons.mozilla.org/en-US/firefox/addon/web-developer/
    When you get things how you want them.  Copy the code and paste it into Notepad, NoteTab or some other plain text editor.
    Nancy O.

  • I recently forgot the password for my iTunes UK account with 100 pounds of credit. I called apple and said no one could help me if I did not know the security questions. Really?

    I recently forgot the password for my iTunes UK account with 100 pounds of credit. I called apple and said no one could help me if I did not know the security questions. Really? This company that pretty much can do anything is not able to tell me what the password is?
    Any help i appreciated!!!! what doe aApple do with all the unclaimed money from lost or forgotten accounts?
    Jeffrey

    For a forgotten password: go to http://iforgot.apple.com and sign in with your iCloud login. A new password will be sent to your associated email address. If this doesn't work you will have to contact Support. Go to https://getsupport.apple.com; click' See all products and services', then 'More Products and Services, then 'Apple ID', then 'Other Apple ID Topics' then 'Lost or forgotten Apple ID password'.
    For forgotten security questions log in at http://appleid.apple.com and click 'Password and Security' in the sidebar. There should be a link in the Security Questions section to send the answers to an email you have specified. Failing this, go to https://getsupport.apple.com click 'See all products and services', then 'More Products and Services, then 'Apple ID', then 'Other Apple ID Topics' then 'Forgotten Apple ID security questions'.

  • Siri go down all day long!  did not respond to any questions, always: "I'm really sorry about this, but i can't take any re questa right now. Please try again in a little while. "

    Siri go down all day long!  did not respond to any questions, always: "I'm really sorry about this, but i can't take any re questa right now. Please try again in a little while. " please help me!

    very very thanks!!!

  • Error: Could not read Metadata from Portal Database !

    Hi All!
    My problem is when i am trying to open the portal page (Oracle 10G)
    http://domain/portal/page?_pageid=6,1,6_13&_dad=portal&_schema=PORTAL
    then i have an Error: Could not read Metadata from Portal Database.
    And i do not know why because everything is up and running. I can connect and browse my database schema with portal user. I can connect to pls/orasso and where ever i want.
    [07/Feb/2006:00:57:23 +0100] "GET /pls/portal/htp.p?cbuf=Test HTTP/1.1" 200 5
    plz help i am trying to fix this in the last 2 weeks :)
    thx kEndE

    Hi Andreas,
    I've changed the permissions to 775 and changed the ownership of /sapcd (volume name) to orasid:dba (including all files within the staging area /sapcd/ora-patch).
    So the permissions and ownership seems to be fine.
    I've also ran your suggested commands but the issue still exists.
    I'm now liasing with our UNIX guy to check if there is any underlying permission issues on the volume (sapcd) that may be causing this problem.
    In the mean time, let me know if you have any further thoughts.
    Thanks,
    Chris

  • Question about finding whether a reference number is NOT in the database?

    Hello,
    I use the following code to test whether the reference number is in the database
    <ul><li>CURSOR cur_yellow</li></ul>
    <ul><li>IS SELECT</li></ul>
    <ul><li>REFERENCE_NO,</li></ul>
    <ul><li>COMPANY_NAME</li></ul>
    <ul><li>FROM CONSULTANTS;</li></ul>
    <ul><li>rec_yellow cur_yellow%ROWTYPE;</li></ul>
    <ul><li>BEGIN</li></ul>
    <ul><li> OPEN cur_yellow;</li></ul>
    <ul><li> LOOP</li></ul>
    <ul><li> FETCH cur_yellow INTO rec_yellow;</li></ul>
    <ul><li> EXIT WHEN cur_yellow%NOTFOUND;</li></ul>
    <ul><li> IF ref_no = rec_yellow.REFERENCE_NO</li></ul>
    <ul><li> THEN</li></ul>
    HTP.print ('<ul><li><span class="style5">The information concerning the consultant selected has been deleted from the database.</span></li></ul>');
    <ul><li> exp := 1; -- used to make code bullet proof</li></ul>
    <ul><li> END IF;</li></ul>
    <ul><li> END LOOP;</li></ul>
    <ul><li> CLOSE cur_yellow;</li></ul>
    Do you have any ideas for how to write code to test whether the reference number is NOT in the database.
    Thanks
    Doug

    Hallo,
    in general, yes, but I think , it will be better without cursor:
    declare
    v_dummy number;
    BEGIN
    EXECUTE IMMEDIATE 'select 1 from dual where
    exists (select 1 from user_indexes where index_name = : ind_name) USING ''DOUGLASMYINDEX'
    INTO v_1;
    -- something
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    NULL;
    END;
    Is it necessary to perform it in dynamic SQL ?
    declare
    v_dummy number;
    BEGIN
    select 1 into v_1 from dual where
    exists (select 1 from user_indexes where index_name = ''DOUGLASMYINDEX''')
    INTO v_1;
    -- something
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    NULL;
    END;
    Regards
    Dmytro Dekhtyaryuk

  • Why signed and get "access denied (java.io.FilePermission hello.txt read)"?

    I am learning the Java tools and policy to create some local browser application for personal use. So I signed a jar file with jarsigner, keytool and policytool and still trying to figure out why my browser application cannot read a simple local text file.
    My question are
    1. Why use java policy tool (policytool.exe)? If I signed a .jar with keytool and jarsigner, do I really need java policytool to write a policy?
    2. What is the maximum validity days? 365? or more? Do I need to sign again when validity expire?
    3. I don't want any of my local browser application gets to internet but only work with local files (read, write, or execute). how do I do that?
    4. how to use java security policy to grant access to the jar applet? where do I place and import the policy file so the hosting web browser and the applet can work?
    My java applet is a simple class that read a text line from a local file in the same folder, and pass the result to a calling web browser Javascript.
    Currently the result in the web page is the error message below, even though the jar is signed correctly.
    access denied (java.io.FilePermission hello.txt read)
    Someone please help and enlight the newbie!

    leoku wrote:
    I am learning the Java tools and policy to create some local browser application for personal use.Why would you wrap a mostly useless and unhelpful browser window around a Java app. for 'local' use?
    .. So I signed a jar file with jarsigner, keytool and policytool and still trying to figure out why my browser application cannot read a simple local text file.
    My question are
    1. Why use java policy tool (policytool.exe)? If I signed a .jar with keytool and jarsigner, do I really need java policytool to write a policy?No. In fact, don't stuff around with policy files - they are a path to madness.
    2. What is the maximum validity days? 365? or more?Keytool accepts an argument for the number of days to remain valid. I do not believe it has an upper limit, but it might be best to experiment with it and find out for yourself. Please report your findings back.
    (2a) Do I need to sign again when validity expire?No, but the end user gets a huge warning that the certificate has expired. Further, if it was a certificate that was certified by a CA, the 'always trust' check box which used to default to true, would now default to false.
    3. I don't want any of my local browser application gets to internet but only work with local files (read, write, or execute). how do I do that?I am not sure I understand, but if you only offer a JFileChooser for the applet to access resources, that should restrict it to resources off the local file-system. Of course, that would not restrict the end user from downloading something from the internet to their local disks, then accessing it using the applet.
    4. how to use java security policy to grant access to the jar applet? where do I place and import the policy file so the hosting web browser and the applet can work?The only place it will work is in the JRE directories of the end-user's machine. Even if you find a way to install your local policy file, do not go messing with the end-user's policy files.
    My java applet is a simple class that read a text line from a local file in the same folder,.. In the 'same folder' as what? (1)
    ..and pass the result to a calling web browser Javascript. That might be the problem. AFAIR, using JS with trusted applets causes the security to be tightened. Perhaps it could be fixed by calling System.setSecurityManager(null) on applet init(), but I have also seen references to using [AccessController.doPrivileged()|http://java.sun.com/j2se/1.4.2/docs/api/java/security/AccessController.html] to wrap the problematic code. I am hazy on the details of how/if that works.
    Currently the result in the web page is the error message below, even though the jar is signed correctly.
    access denied (java.io.FilePermission hello.txt read)
    1) If the answer to my question is what I suspect, there may be better ways to access the resource that are usable even in a sand-boxed app.

  • Volume control not working , which database controls volume?

    I have read this solution elsehwhere, but I came to the blackberry forums to see if you guys can help me up with this question.
     [quote]
    Originally Posted by ArtSmart
    I had the same failure. You can verify that the button has physically failed by going under Options / Screen/Keyboard / Key Tone On / Save. Now you can hear every other button, even the volume down button, but not the broken volume up button.
    Here was my workaround to get the media player volume back up to 50% (not 100%, but it's a heck of a lot better than zero):
    1. Launch desktop manager
    2. Synchronize with Outlook
    3. Backup everything to a new database (not really needed, but just a precaution)
    4. Restore old database (before volume got stuck at 0%)
    5. Change synchronization conflict resolution options so that Outlook wins
    6. Synchronize with Outlook
    7. Change synchronization conflict resolution option back to "ask me what to do"
    Voila. Now my media player volume is back to 50%, which is where it was when I did the last backup before accidentally ratcheting it down to 0%.
    Whenever I restore a database, it always loses my Internet Browser. To get it back, go under Options / Advanced Options / Host Routing Table / Menu Key / Register Now / Ok. Unfortunately, I'm back to all the old bookmarks as they were in the old database, but I can always re-do those changes.
    [quote]
    Okay I Could restore an old database where the volume was at 50%, but the Desktop Media Manager also has an option to restore specific options that were previously backed up .
    SO my question is, does anyone know what specific database controls the volume control? SO I won't have to do a FULL Database restore?
    Thank You :smile:

    Long shot, but...
    Open Audio Midi Setup in Applications>Utilities, see the input & output options & KHz setting there, some things will change it for their own use, then not set it back.

  • Native SQL "Table does not exist in database"

    Hi Developers,
    I'm doing a database connection to an Oracle db and trying to read data using native SQL - I keep getting the runtime error "table does not exist in database" on the statement Fetch Next Cursor. The following is the code snippet (I've commented out the Exec SQL and Fetch Next to make sure I have a connection and I do). HR is a schema in the database and T_Donation is a table in HR.
    Data: w1(3),
             c1 type cursor.
    start-of-selection.
      if con_name is initial.
        write: 'No connection specified'.                       "#EC NOTEXT
        return.
      endif.
    try to open the connection and catch the errors (if any)
      try.
          con_ref = cl_sql_connection=>get_connection( con_name ).
        catch cx_sql_exception into sqlerr_ref.
        error occured
          write:
            'Could not open connection', con_name, '.'.         "#EC NOTEXT
          if sqlerr_ref->unknown_connection = 'X'.
            write:
              / con_name, 'is not defined in DBCON'.            "#EC NOTEXT
          elseif sqlerr_ref->db_error = 'X'.
            write:
              / 'sql error', sqlerr_ref->sql_code, 'occured:',
              / sqlerr_ref->sql_message.                        "#EC NOTEXT
          else.
            perform get_trace_file using dev_file.
            write:
              / 'DBI error', sqlerr_ref->internal_error, 'occured.',
              / 'See trace file for further info:',
                icon_read_file as icon hotspot, dev_file.       "#EC NOTEXT
          endif.
          return.
      endtry.
    connection successfully opened
      write:
        / 'Connection', con_name, 'successfully opened.'.       "#EC NOTEXT
    *- Get the data from MS-SQL Server
      EXEC SQL.
        open C1 for
        SELECT HR.T_DONATION.DN_DONATIONYEAR
        FROM HR.T_DONATION
      ENDEXEC.
      do.
        EXEC SQL.
          FETCH NEXT C1 into :w1
        ENDEXEC.
        if sy-subrc = 0.
          perform loop_output.
        else.
          exit.
        endif.
      enddo.
      EXEC SQL.
        CLOSE C1
      ENDEXEC.
    close connection again
      con_ref->close( ).
      write:
        / 'Connection', con_name, 'closed'.                     "#EC NOTEXT
    end-of-selection.
    *& Form LOOP_OUTPUT
    Output
    form loop_output .
      write: /5 w1.
    endform. " LOOP_OUTPUT
    Thanks for your help.
    Jim
    Message was edited by:
            James Barnes

    Well my advice is to check the question in the sql tutorial, it will be quicker then getting an answere.

  • 11gR2 Install Error, Listener is not up or database service is not registered with it

    Hi all,
    I'm currently studying towards my OCA, I've passed 1z0-051 (SQL Fundementals I), and now I'm moving onto 1z0-052 (Admin 1).
    Im really having trouble creating a database in Oracle 11g R2 Enterprise Edition. I install the software no problem. Then I create a database, and during the creation I have to createsa listener which uses TCP (default port:1521) and IPC. whilst creating the database I get the following error
    'Listener is not up or database service is not registered with it. Start the Listener and register database service and run EM configuration Assistant again.'
    Now, before you lynch me, I have searched this forum for answer to this for a day and a half. I've also tried google, i just can't find a answer that sorts out my problem. please assist me.
    I'm running on Windows 7 Professional (32bit) (I have previously tried on the 64 bit version with teh same results).
    Here's teh contents of my listener.ora file:
    # listener.ora Network Configuration File: C:\app\Damien\product\11.2.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\app\Damien\product\11.2.0\dbhome_1)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:C:\app\Damien\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = ipc))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.10.4)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    ADR_BASE_LISTENER = C:\app\Damien
    Here's the contents of my tsnames.ora:
    # tnsnames.ora Network Configuration File: C:\app\Damien\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    Here is the last fe lines of my emConfig.log:
    Jan 18, 2014 9:38:22 AM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
    CONFIG: isLocalConnectionRequired: true
    Jan 18, 2014 9:38:22 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
    Jan 18, 2014 9:38:22 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine connecting with SID: orcl, oracleHome: C:\app\Damien\product\11.2.0\dbhome_1, and user: SYSMAN
    Jan 18, 2014 9:38:22 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine created successfully and connected
    Jan 18, 2014 9:38:23 AM oracle.sysman.emcp.ParamsManager checkListenerStatusForDBControl
    CONFIG: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1655)
    at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeSql(SQLEngine.java:1903)
    at oracle.sysman.emcp.ParamsManager.checkListenerStatusForDBControl(ParamsManager.java:3230)
    at oracle.sysman.emcp.EMReposConfig.unlockMGMTAccount(EMReposConfig.java:1001)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:346)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:158)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:253)
    at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:583)
    at oracle.sysman.assistants.dbca.backend.PostDBCreationStep.executeImpl(PostDBCreationStep.java:968)
    at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
    at oracle.sysman.assistants.util.step.Step.execute(Step.java:140)
    at oracle.sysman.assistants.util.step.StepContext$ModeRunner.run(StepContext.java:2667)
    at java.lang.Thread.run(Thread.java:595)
    Jan 18, 2014 9:38:23 AM oracle.sysman.emcp.EMConfig perform
    SEVERE: Listener is not up or database service is not registered with it. Start the Listener and register database service and run EM Configuration Assistant again .
    Refer to the log file at C:\app\Damien\cfgtoollogs\dbca\orcl\emConfig.log for more details.
    Jan 18, 2014 9:38:23 AM oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Listener is not up or database service is not registered with it. Start the Listener and register database service and run EM Configuration Assistant again .
    at oracle.sysman.emcp.ParamsManager.checkListenerStatusForDBControl(ParamsManager.java:3245)
    at oracle.sysman.emcp.EMReposConfig.unlockMGMTAccount(EMReposConfig.java:1001)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:346)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:158)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:253)
    at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:583)
    at oracle.sysman.assistants.dbca.backend.PostDBCreationStep.executeImpl(PostDBCreationStep.java:968)
    at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
    at oracle.sysman.assistants.util.step.Step.execute(Step.java:140)
    at oracle.sysman.assistants.util.step.StepContext$ModeRunner.run(StepContext.java:2667)
    at java.lang.Thread.run(Thread.java:595)
    Jan 18, 2014 9:38:23 AM oracle.sysman.emcp.EMConfig restoreOuiLoc
    CONFIG: Restoring oracle.installer.oui_loc to C:\app\Damien\product\11.2.0\dbhome_1\oui
    My Listner status output is here:
    LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 18-JAN-2014 10:14:39
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=ipc)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Production
    Start Date                18-JAN-2014 09:27:34
    Uptime                    0 days 0 hr. 47 min. 6 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   C:\app\Damien\product\11.2.0\dbhome_1\network\admin\listener.ora
    Listener Log File         c:\app\damien\diag\tnslsnr\LONDON\listener\alert\log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\ipcipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.10.4)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    I can login as sys into my database through sqlplus, so it seems the database is up and running, it just seems to be a listener problem maybe??
    Many thanks for any assistance that you give. I'm learning so be gentle...
    Damien

    SOLVED!
    OK all solved now, thanks to the link to Ed Stevens website that Baris posted (mucho respect )
    Seems that like Barus said I was not using Dynamic Registration, which means that I would need to manua
    ly update the listerner.ora file. On top of that it seems that for some my tnsnames.ora wasn't resolving mt database name so the tnsping wasfailing.
    What I did to solve the name resolution problem
    1. Opened the
    Network Configuration Assistant and saw that my listener didnt have my DB registered with it. So I added it. What this horrible GUI tool does is update the tnsnames and listener.ora files for you. So once that was done I went to the command prompt and did ;'tnsping <dn name> and hey presto it was getting a nice response.
    Then I re-ran my DB Configuration Assistant and tried to reconfigure my database. However it aing failed and gave me the same message that I was originally getting about the DB Service not being registered etc..the lister status still said that same thing:
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    the 'unknown' means that the DB  didnt tell the listener that it was there but instead the listener is in manual mode and will just use the configuration in the listener.ora to know where the DB is.
    So then I followed the steps on the ED Stevens website (follow the link). He has steps which show how to enable Dynanmic registration so that your DB regusters itself with the listener. In a nutshell, he states that he listener actually doesnt need the listerner.ora if using dynamic registration. I shutdown the DB, stopped the listener then I renamed the lsitener.ora to listerner.old, then started the lietener and checked the status and it said 'the listener supports no service' I then started the DB and, then resched teh listener status, it then read 'status: READY'... hooray!, the DB had dynamically registered itself with the listener. I then was able to successfully start up and run Enterprise Manager.
    Thanks for all your help Baris, and Ed Steven website.
    I know more now than when I started so I'm happy.
    Thanks.

  • Files disappeared from library, "missing" files not really missing

    I had a folder with 3 files in different formats for each image.  These were imported several days ago, grouped into stacks, captioned, tagged, etc. and synced to the files.  They continued to exist in the library some time afterward, but today when I opened lightroom all of the jpg versions of all of the images and all 3 formats of one image in particular had vanished from the library.  It did not claim that it could not find them on disk (and in fact the files *do* still exist on disk right where they should), they just didn't show up.  I was able to re-import all of the jpg images without trouble, but for the other two formats of the one missing image, importing one of them fails because it "already exists in the library," and the other one is willing to import but then doesn't show up in the folder or the recently imported files list.  When I try to synchronize the folder, it suggests that I import that file, but it never actually does.  Since importing the jpgs, it also suggests that I remove 53 "missing" files, the number of jpgs imported.  When I view the missing files in the library, it shows only 2 of the jpgs, one of which belongs with the files that will not import and neither of which is actually missing--they can both be synchronized just fine by clicking the little synchronize icon on the actual photo.
    Does anyone know what's going on here and how I might be able to get the files that won't import back into the library?  And how to be sure that files won't just go away on their own again?
    Edit: to be clear, missing versions of files were definitely not stacked with the other ones and the "don't import duplicates" box was not checked when re-importing the ones that won't re-import

    I managed to get the photos that wouldn't import back in by deleting them directly out of the database and then reimporting them into lightroom. I'm a little concerned that they disappeared in the library view in the first place, though.  Does this sort of thing happen often, and under what circumstances?  I'm still in the free trial period and was very close to buying the program, but now I'm not so sure.  If I'm using an application to manage my photos, I want to know that it's actually managing all of the photos I put into it and not randomly forgetting about them.
    I'm still having the not-really-missing files problem, though.  I think it may actually be because they got associated as "sidecar" files somehow and are now in there twice, once as the sidecar file and another time as a separate jpg image.  I'm not really sure why only one of them shows up in the missing images view, I think it might be because I edited that one so it's in a slightly different state from the others?  If there are any tips on how to resolve that state, I'm all ears, I'd like it to stop telling me I have 53 missing files when I don't.

  • 11.5.10.2 to R12.1.1 upgrade : AutoPatch warning : Product Data File $APPL_TOP/admin/*prod.txt does not exist for product

    Hello Sir,
    OS version : AIX 6.1
    DB version : 11.2.0.3
    EBS version : 11.5.10.2
    As a part of 11.5.10.2 to R12.1.1 upgrade, I am applying merged patch (9179588:R12.AD.B) with 9477107:R12.AD.B and patch 7461070(R12.AD.B.1 upgrade driver).
    I can see AutoPatch warning messages during adpatch session as below so I have not yet started this merged patch. Please suggest.
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    drix10:/fmstop/patches/R1211AD/merge>adpatch
                         Copyright (c) 2002 Oracle Corporation
                            Redwood Shores, California, USA
                             Oracle Applications AutoPatch
                                     Version 12.0.0
    NOTE: You may not use this utility for custom development
          unless you have written permission from Oracle Corporation.
    Attention: AutoPatch no longer checks for unapplied pre-requisite patches.
    You must use OAM Patch Wizard for this feature. Alternatively, you can
    review the README for pre-requisite information.
    Your default directory is '/fmstop/r12apps/apps/apps_st/appl'.
    Is this the correct APPL_TOP [Yes] ?
    AutoPatch records your AutoPatch session in a text file
    you specify.  Enter your AutoPatch log file name or press [Return]
    to accept the default file name shown in brackets.
    Filename [adpatch.log] : adpatch_u_merged_R12AD11.log
    You can be notified by email if a failure occurs.
    Do you wish to activate this feature [No] ?
    Please enter the batchsize [1000] : 2000
    Please enter the name of the Oracle Applications System that this
    APPL_TOP belongs to.
    The Applications System name must be unique across all Oracle
    Applications Systems at your site, must be from 1 to 30 characters
    long, may only contain alphanumeric and underscore characters,
    and must start with a letter.
    Sample Applications System names are: "prod", "test", "demo" and
    "Development_2".
    Applications System Name [FMSTEST] : FMSTEST *
    NOTE: If you do not currently have certain types of files installed
    in this APPL_TOP, you may not be able to perform certain tasks.
    Example 1: If you don't have files used for installing or upgrading
    the database installed in this area, you cannot install or upgrade
    the database from this APPL_TOP.
    Example 2: If you don't have forms files installed in this area, you cannot
    generate them or run them from this APPL_TOP.
    Example 3: If you don't have concurrent program files installed in this area,
    you cannot relink concurrent programs or generate reports from this APPL_TOP.
    Do you currently have files used for installing or upgrading the database
    installed in this APPL_TOP [YES] ? YES *
    Do you currently have Java and HTML files for HTML-based functionality
    installed in this APPL_TOP [YES] ? YES *
    Do you currently have Oracle Applications forms files installed
    in this APPL_TOP [YES] ? YES *
    Do you currently have concurrent program files installed
    in this APPL_TOP [YES] ? YES *
    Please enter the name Oracle Applications will use to identify this APPL_TOP.
    The APPL_TOP name you select must be unique within an Oracle Applications
    System, must be from 1 to 30 characters long, may only contain
    alphanumeric and underscore characters, and must start with a letter.
    Sample APPL_TOP Names are: "prod_all", "demo3_forms2", and "forms1".
    APPL_TOP Name [drix10] : drix10 *
    You are about to apply a patch to the installation of Oracle Applications
    in your ORACLE database 'FMSTEST'
    using ORACLE executables in '/fmstop/r12apps/apps/tech_st/10.1.2'.
    Is this the correct database [Yes] ?
    AutoPatch needs the password for your 'SYSTEM' ORACLE schema
    in order to determine your installation configuration.
    Enter the password for your 'SYSTEM' ORACLE schema:
    The ORACLE username specified below for Application Object Library
    uniquely identifies your existing product group: APPLSYS
    Enter the ORACLE password of Application Object Library [APPS] :
    AutoPatch is verifying your username/password.
    The status of various features in this run of AutoPatch is:
                                               <-Feature version in->
    Feature                          Active?   APPLTOP    Data model    Flags
    CHECKFILE                        Yes       1          1             Y N N Y N Y
    PREREQ                           Yes       6          6             Y N N Y N Y
    CONCURRENT_SESSIONS              No        2          2             Y Y N Y Y N
    PATCH_TIMING                     Yes       2          2             Y N N Y N Y
    PATCH_HIST_IN_DB                 Yes       6          6             Y N N Y N Y
    SCHEMA_SWAP                      Yes       1          1             Y N N Y Y Y
    JAVA_WORKER                      No        1          -1            Y N N Y N N
    CODELEVEL                        No        1          -1            Y N N Y N N
    Identifier for the current session is 2987
    Reading product information from file...
    Reading language and territory information from file...
    Reading language information from applUS.txt ...
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/eaaprod.txt
    does not exist for product "eaa".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/abmprod.txt
    does not exist for product "abm".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/evmprod.txt
    does not exist for product "evm".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/ipdprod.txt
    does not exist for product "ipd".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/zfaprod.txt
    does not exist for product "zfa".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/zsaprod.txt
    does not exist for product "zsa".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/cssprod.txt
    does not exist for product "css".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/meprod.txt
    does not exist for product "me".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/xnmprod.txt
    does not exist for product "xnm".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/xncprod.txt
    does not exist for product "xnc".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/xnsprod.txt
    does not exist for product "xns".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/fptprod.txt
    does not exist for product "fpt".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/okrprod.txt
    does not exist for product "okr".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/cueprod.txt
    does not exist for product "cue".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/ibaprod.txt
    does not exist for product "iba".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/ozpprod.txt
    does not exist for product "ozp".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/ozsprod.txt
    does not exist for product "ozs".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/rlaprod.txt
    does not exist for product "rla".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/vehprod.txt
    does not exist for product "veh".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/rhxprod.txt
    does not exist for product "rhx".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/imtprod.txt
    does not exist for product "imt".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/ahmprod.txt
    does not exist for product "ahm".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/okbprod.txt
    does not exist for product "okb".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/okoprod.txt
    does not exist for product "oko".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/xniprod.txt
    does not exist for product "xni".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/jtsprod.txt
    does not exist for product "jts".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/amfprod.txt
    does not exist for product "amf".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    AutoPatch warning:
    Product Data File
    /fmstop/r12apps/apps/apps_st/appl/admin/cunprod.txt
    does not exist for product "cun".
    This product is registered in the database but the
    above file does not exist in APPL_TOP.  The product
    will be ignored without error.
    Reading database to see what industry is currently installed.
    Reading FND_LANGUAGES to see what is currently installed.
    Currently, the following language is installed:
    Code   Language                                Status
    US     American English                        Base
    Your base language will be AMERICAN.
    Setting up module information.
    Reading database for information about the modules.
    Saving module information.
    Reading database for information about the products.
    Reading database for information about how products depend on each other.
    Reading topfile.txt ...
    Saving product information.
    Trying to obtain a lock...
      Attempting to instantiate the current-view snapshot...
      No baseline bug-fixes info available. Will attempt next time.
         **************** S T A R T   O F   U P L O A D ****************
    Start date: Sun Aug 04 2013 18:45:12
    0 "left over" javaupdates.txt files uploaded to DB: Sun Aug 04 2013 18:45:12
    0 patches uploaded from the ADPSV format patch history files: Sun Aug 04 2013 18:45:12
    Uploading information about files copied during the previous runs ...
    0 "left over" filescopied_<session_id>.txt files uploaded to DB: Sun Aug 04 2013 18:45:12
         ****************** E N D   O F   U P L O A D ******************
    End date: Sun Aug 04 2013 18:45:12
    Enter the directory where your Oracle Applications patch has been unloaded
    The default directory is [/fmstop/patches/R1211AD/merge] :
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

    I checked under 11i $APPL_TOP/admin directory, I can see only one izuprod.txt file apart from applprod.txt.
    drix10:/fmstop/fmstest/fmstestappl/admin>ls -lrt *prod.txt
    -rwxr-xr-x    1 appltest dba          231650 Oct 30 2004  applprod.txt
    -rwxr-xr-x    1 appltest dba            4966 Sep 21 2007  izuprod.txt
    R12 code tree is newly installed so there is only applprod.txt
    drix10:/fmstop/r12apps/apps/apps_st/appl/admin>ls -lrt *prod.txt
    -rwxr-xr-x    1 appltest dba          226340 Jul 29 15:19 applprod.txt
    Please suggest if I can ignore these warning to proceed with applying merged patch.

Maybe you are looking for

  • I have a MacBook Pro 5,5 2.26 Ghz 2GB memory . Can I run OSX 10.7 . I am on 10.6.8 and am told software is up to date?

    I would like to be able to run OSX 7 on my wife's MacBook Pro , as I have a new printer which required  OSX7 or above. Her Macbook Pro is Model MacBook Pro 5,5 2,26GHz speed and 2GB memory. When I look for software updates I get the message that soft

  • Invalid XML Character from Jarred file

    I have a server class that attempts to load an XML file and parse the same. The entire code works fine when the class is extracted and parses correctly. However, when a distribution jar is created, the extraction of the XML file fails with an invalid

  • Link control - open in new tab

    Hi all, I've defined a Link control with the following code: new sap.ui.commons.Link().bindProperty("text",   "filename").bindProperty("href", "file").setTarget("_blank") everything works smoothly, only the link is being opened in the same window, in

  • Dreamweaver4 Hangs at Splash Screen on First Use

    I recently moved to a new computer with 10 terabytes of hard drive space and 4 gigs of ram running winXP2 w/sp2. The computer itself is a generic HP Workstation XW4200 with an old ATI FireGL graphics card - fairly vanilla. I installed Dreamweaver4 (y

  • Latest Photoshop CC UPDATE - ERROR Message U44MIP7

    I have tried to download this update, on the last two days and I get the same Error Message U44MIP7.  MyOS is Windows 7 on a Dell 620 with losts of memory and speed.  The update seems to download (it gets to 100% and then in a few seconds I get this