CRS - Making Registry changes to local node while CRS running

Hello All,
Just a curiosity question. I've made created some bad setting in my OCR/OLR. Now I cannot startup CRS.
Is it possible to somewhere manualy edit a certain resource (say network) ?
Oh, and I dod not have a backup of the OLR just a very old one which is useless. I however do have 1 node still running.
Thanks
Jan S.

Please try command crsctl modify res and see whether it gives any error or not. What settings you want to change?

Similar Messages

  • Making later changes to Local Adjustment Tool

    While the local adjustment tool is great  - is there a way of "unpainting" parts of the adjustment, allowing you to refine areas/edges etc, rather than having to delete whole mask ?
    ie like switching from a black to a white brush when using Photoshop masks ?
    Also with gradient masks eg when object portudes into an adjusted sky area

    Pretty basic...hold down the Option (or Alt for Win) key while painting to erase. Note the erase key can have different size and hardness settings than the paint in brush. This is use for painting with a bigger broad brush and using a smaller harder brush to erase the mask.

  • Reader Update installs Chrome, breaks Outlook links requiring registry changes.

    The newest Reader update as you probably know has a box checked by default to also install Google Chrome. Many of my users are just trying to update their Reader and miss the box, inadvertently installing software they do not want, and that we don't want on their computers. Google Chrome rewrites portions of the Windows registry pertaining to hyperlink handling, and effectively BREAKS Microsoft Outlook. Even after you un-install Chrome it leaves all of this BS behind that leaves any Outlook user unable to click hyperlinks in an email. So as a result of Adobe's little trick of sneaking in software during what is intended to be an update, coupled with Google's crappy product, I've been spending the last week un-installing Google Chrome, and making registry changes to 8-10 PC's a day. I've sent out an email telling people to make sure the box isn't checked but the damage has been done.
    First of all let me tell you that it PISSES ME OFF when companies like you leave boxes checked by default for crap that you know most people do not want. YOU ARE TRICKING PEOPLE. NO I DON'T WANT TO BE CONTACTED BY ADOBE ABOUT ADOBE PRODUCTS AND SERVICES, NO I DO NOT WANT YOU TO SHARE MY INFORMATION WITH A 3RD PARTY. NO-ONE WANTS THAT, BUT YOU LEAVE THE BOX CHECKED ANYWAYS PERPETUATING THE DISTRUST THAT PEOPLE HAVE FOR TECHNOLOGY COMPANIES AND DOING THINGS ONLINE, NOT TO MENTION GENERATING TONS OF RAMPANT JUNK MAIL AND OVERALL USELESS CRAP THAT IS STREWN ABOUT THE INTERNET.
    It's wrong, you're wrong, and no-one is going to read, respond or do anything about this anyways so I'll end here. For anyone else who is running into this BS, here is how you fix the garbage that Chrome leaves behind:
    1. Browse to HKEY_CURRENT_USER\Software\Classes\.html
    2. Right click the value for the .html key and select Modify…
    3. Change the value from “ChromeHTML” to “htmlfile” (or from FireFoxHTML to htmlfile)
    Repeat this process for each of the following keys:
    ■[HKEY_CURRENT_USER\Software\Classes\.htm]
    ■[HKEY_CURRENT_USER\Software\Classes\.html]
    ■[HKEY_CURRENT_USER\Software\Classes\.shtml]
    ■[HKEY_CURRENT_USER\Software\Classes\.xht]
    ■[HKEY_CURRENT_USER\Software\Classes\.xhtml]
    Pasted from <http://www.annoyances.org/exec/forum/win7/1274297385>

    We already use a WSUS server for MS products so I'll look into the Enterprise deployment tools right now...
    As a network administrator, how do I deploy Flash Player across my enterprise?
    In order to deploy Flash Player, you must first acquire a license to do so. Distribution licenses are free of charge and can be acquired through the online licensing application.
    Cool I'll get on that right now!   ... Five minutes later... The licence form doesn't work properly and won't enable the 'Accept and Submit' button.  Oh well I tried.  I could always block the adobe site and update manually or via .msi
    P.s. Have you actually tried to deploy Flash within a company?  

  • Mystery Registry Changes

    I have a new T500 (2242-CTO), preloaded with XP Pro, to which I applied my usual registry change to disable the immensely annoying Balloon tips (see http://support.microsoft.com/kb/307729 for details of change.) The fix works and balloon tips are not shown after rebooting, but after the next reboot they reappear.
    Checking the registry I see that something is editing the key after the first reboot, thus causing my change to be lost. The registry key has not been deleted but changed from '0' to '1', so the key isn't simply being restored to how it was before I applied the change - the registry key was not present initially. If parts of the registry were simply being restored to their previous state then I would have expected the key to be deleted rather than being changed to '1'.
    I had a suspicion that one of the Lenovo utilities are trying to stop me from making registry changes. My initial guess is the Client Security Solution (CSS.)
    I have installed a lot of software onto the machine and after uninstalling just about everything Lenovo related and still getting the problem I've done a Lenovo factory restore from the machine's system partition.
    As part of the restore I requested that CSS (and a few other unwanted utilities) is not installed. Unfortunately this request (and the others) was ignored and CSS was installed anyway. I tried disabling CSS through its standard dialog but the utility starts up on every reboot and shows the dialog with the setting disabled. Since I don't want to have to close the dialog on every reboot I just uninstalled CSS. Unfortunately the problem remains. So CSS has been (apparently) successfully uninstalled but the problem remains, so it must be something else. (For info, after the factory restore, Internet Explorer immediately ends after being started, with no events being logged. Since IE is required for Windows Updates I couldn't try and correct via that route. It can be corrected by reinstalling IE7 after downloading using another PC.)
    I would appreciate some assistance from Lenovo. What program is editing the registry and how can I prevent this from happening?

    I've narrowed the problem down to Bluetooth. C:\Program Files\ThinkPad\Bluetooth Software\BTTray.exe is loaded on Windows start-up. Bluetooth uses balloon messages to communicate with the user and presumably switches them on if they are disabled.
    By preventing BTTray.exe from running (using MSConfig.exe / Startup tab) the balloon tips can be switched off and will remain off.
    Is anybody aware of a way of overriding this behaviour?
    Whilst I would like to leave Bluetooth enabled and make use it, given the choice, I'll be leaving it disabled so I can work balloon-free.
    (With BTTray enabled I also tried switching all Bluetooth device notifications to audio only but the balloon tips still get overridden.)

  • Oracle 11g RAC on RHEL 4.0, error on 1 Node while running ./root.sh for CRS

    Hi,
    I am trying to install Oracle 11g RAC on RHEL 4.0 on Vmware and at the end of CRS installation when installer asks to run the two scripts (orainstRoot.sh and root.sh) on one node (on the node where runInstaller is started) throws following error
    [root@LRAC1 crs]# ./root.sh
    WARNING: directory '/xhdd/u01/crs/oracle/product/11.1.0' is not owned by root
    WARNING: directory '/xhdd/u01/crs/oracle/product' is not owned by root
    WARNING: directory '/xhdd/u01/crs/oracle' is not owned by root
    WARNING: directory '/xhdd/u01/crs' is not owned by root
    WARNING: directory '/xhdd/u01' is not owned by root
    WARNING: directory '/xhdd' is not owned by root
    Checking to see if Oracle CRS stack is already configured
    Setting the permissions on OCR backup directory
    Setting up Network socket directories
    /xhdd/u01/crs/oracle/product/11.1.0/crs/bin/ocrconfig: line 78: /xhdd/u01/crs/oracle/product/11.1.0/crs/bin/ocrconfig.bin: cannot execute binary file
    /xhdd/u01/crs/oracle/product/11.1.0/crs/bin/ocrconfig: line 78: /xhdd/u01/crs/oracle/product/11.1.0/crs/bin/ocrconfig.bin: Success
    Failed to upgrade Oracle Cluster Registry configuration
    [root@LRAC1 crs]#
    While on the second node the root.sh script does not give any errors, here the output
    [root@LRAC2 crs]# ./root.sh
    WARNING: directory '/xhdd/u01/crs/oracle/product/11.1.0' is not owned by root
    WARNING: directory '/xhdd/u01/crs/oracle/product' is not owned by root
    WARNING: directory '/xhdd/u01/crs/oracle' is not owned by root
    WARNING: directory '/xhdd/u01/crs' is not owned by root
    WARNING: directory '/xhdd/u01' is not owned by root
    WARNING: directory '/xhdd' is not owned by root
    Checking to see if Oracle CRS stack is already configured
    /etc/oracle does not exist. Creating it now.
    Setting the permissions on OCR backup directory
    Setting up Network socket directories
    Oracle Cluster Registry configuration upgraded successfully
    The directory '/xhdd/u01/crs/oracle/product/11.1.0' is not owned by root. Changing owner to root
    The directory '/xhdd/u01/crs/oracle/product' is not owned by root. Changing owner to root
    The directory '/xhdd/u01/crs/oracle' is not owned by root. Changing owner to root
    The directory '/xhdd/u01/crs' is not owned by root. Changing owner to root
    The directory '/xhdd/u01' is not owned by root. Changing owner to root
    The directory '/xhdd' is not owned by root. Changing owner to root
    Successfully accumulated necessary OCR keys.
    Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
    node <nodenumber>: <nodename> <private interconnect name> <hostname>
    node 1: lrac1 lrac1-priv lrac1
    node 2: lrac2 lrac2-priv lrac2
    Creating OCR keys for user 'root', privgrp 'root'..
    Operation successful.
    Now formatting voting device: /dev/sdd1
    Format of 1 voting devices complete.
    Startup will be queued to init within 30 seconds.
    Adding daemons to inittab
    Expecting the CRS daemons to be up within 600 seconds.
    Cluster Synchronization Services is active on these nodes.
    lrac2
    Cluster Synchronization Services is inactive on these nodes.
    lrac1
    Local node checking complete. Run root.sh on remaining nodes to start CRS daemons.
    Any ideas to solve this issue.
    Thanks in advance,
    Sameer

    I tried reinstalling again and it worked on Vmware Server.Some oracle products are certified on Oracle VM , but not RAC at the moment.
    You can download Oracle VM from otn.oracle.com
    Check ML Note:464754.1 for details about Certified Software on Oracle VM.
    - Virag Sharma
    http://virag.sharma.googlepages.com/

  • Root.sh failed on second node while installing CRS 10g on centos 5.5

    root.sh failed on second node while installing CRS 10g
    Hi all,
    I am able to install Oracle 10g RAC clusterware on first node of the cluster. However, when I run the root.sh script as root
    user on second node of the cluster, it fails with following error message:
    NO KEYS WERE WRITTEN. Supply -force parameter to override.
    -force is destructive and will destroy any previous cluster
    configuration.
    Oracle Cluster Registry for cluster has already been initialized
    Startup will be queued to init within 90 seconds.
    Adding daemons to inittab
    Expecting the CRS daemons to be up within 600 seconds.
    Failure at final check of Oracle CRS stack.
    10
    and run cluvfy stage -post hwos -n all -verbose,it show message:
    ERROR:
    Could not find a suitable set of interfaces for VIPs.
    Result: Node connectivity check failed.
    Checking shared storage accessibility...
    Disk Sharing Nodes (2 in count)
    /dev/sda db2 db1
    and run cluvfy stage -pre crsinst -n all -verbose,it show message:
    ERROR:
    Could not find a suitable set of interfaces for VIPs.
    Result: Node connectivity check failed.
    Checking system requirements for 'crs'...
    No checks registered for this product.
    and run cluvfy stage -post crsinst -n all -verbose,it show message:
    Result: Node reachability check passed from node "DB2".
    Result: User equivalence check passed for user "oracle".
    Node Name CRS daemon CSS daemon EVM daemon
    db2 no no no
    db1 yes yes yes
    Check: Health of CRS
    Node Name CRS OK?
    db1 unknown
    Result: CRS health check failed.
    check crsd.log and show message:
    clsc_connect: (0x143ca610) no listener at (ADDRESS=(PROTOCOL=ipc)(KEY=OCSSD_LL_db2_crs))
    clsssInitNative: connect failed, rc 9
    Any help would be greatly appreciated.
    Edited by: 868121 on 2011-6-24 上午12:31

    Hello, it took a little searching, but I found this in a note in the GRID installation guide for Linux/UNIX:
    Public IP addresses and virtual IP addresses must be in the same subnet.
    In your case, you are using two different subnets for the VIPs.

  • Changing the OS local time while the database is Up and Running

    Hi,
    Will there be any bad effect if I change the OS local time of my servers while the database and application is up and running?
    Why do I need to do this? because the database is RAC configured and I want to avoid "brain-split" because of discrepancies
    in the local time of DB Servers.
    NTP is not yet implemented so I am to adjust the time manually for each servers.
    BTW, I am using database 10gR2 (10.2.0.4) and EBS application (11.5.10.2). My nodes are running in Linux 4, 2.6.9-42ELsmp x86_64.
    Regards,
    Jay A

    But my very concern right now is if there will be negative effect on the data or timestamp in the datafiles of the database
    because I change the local time of the server while the database is running.Change time, that make time in database is changed. and you are changing time at milliseconds. you won't see affect.
    we should worry different time between servers more than time changing
    you can use ntpdate to query time different from server before.
    # ntpdate -q ntp.server.org
    http://linux.die.net/man/1/ntpdate

  • ORA-00607: Internal error occurred while making a change to a data block

    hi
    i hv use testing purpose oracle 10 Xe in unix
    but when today i hv connect database following error occured
    SQL> startup
    ORACLE instance started.
    Total System Global Area 83886080 bytes
    Fixed Size 1257284 bytes
    Variable Size 75497660 bytes
    Database Buffers 4194304 bytes
    Redo Buffers 2936832 bytes
    Database mounted.
    ORA-00607: Internal error occurred while making a change to a data block
    ORA-00600: internal error code, arguments: [4193], [625], [640], [], [], [],
    I hv check alert log , but no proper solution is given , how can start database

    Duh, and of course I missed the significance of
    oracle 10 Xe in unix
    XE is only supported for Linux - according to the downloads page that means "Debian, Mandriva, Novell, Red Hat and Ubuntu".
    Oracle have not publically stated the reasons why XE is only available on Linux and Windows, but my guess is that it is something to do the Intel chip architecture. If this is so it would be possible for Oracle to port XE to run on Solaris for x86. But they have not done so yet.
    Which means, alas, that you are unlikely to get any help for this one, because XE is not supported on any unix platform.
    Good luck, APC

  • Failed to send an environment change notification to a log shipping partner node while revalidating the login???

    Hi All,
    Recently I received the following error message in my SQL instance (Microsoft SQL Server 2012 - 11.0.5532.0 (X64)) :-
    23/02/2015 5:09:05 PM
    Error: 18456, Severity: 14, State: 51.
    Login failed for user 'webapp'. Reason: Failed to send an environment change notification to a log shipping partner node while revalidating the login. [CLIENT: 192.168.82.18]
     23/02/2015 5:09:05 PM
    Error: 18056, Severity: 20, State: 51.
    The client was unable to reuse a session with SPID 98, which had been reset for connection pooling. The failure ID is 51. This error may have been caused by an earlier operation failing. Check the error logs for failed operations immediately before this
    error message.
    I am using database mirroring instead of log shipping actually but why there's some log shipping related error message coming out? Is it some kind of bug error message?  I am just wondering and hope can get some little help about this.
    Thanks and highly appreciated.
    Best Regards,
                  Han

    Hi Harn,
    According to the error message, as my understanding, the issue could be due to that the login 'webapp' has no access to the default database which is configured in log shipping. The database is offline or removed. You could run the command (select * from
    msdb.dbo.log_shipping_primary_secondaries) to verify if that database is configured in log shipping. Another cause is that parallel execution occupies multiple worker threads. When you have many parallel executions, the number of available worker threads might
    run out and you fail to login. Please help to post complete SQL Server error log for analysis.
    To work around the issue, you could follow the two solutions below.
    1.Change the default database for the login 'webapp' according to the following article:
    https://msdn.microsoft.com/en-us/library/ms189828.aspx
    2.Reduce the 'max degree of parallelism' as the following example.
    exec sp_configure 'max degree of parallelism', 4;
    GO
    RECONFIGURE WITH OVERRIDE;
    GO
    Regards,
    Michelle Li

  • Getting Error while saving a transaction without making any changes to it.

    Hi All,
    I have a page where in the advance table I add few rows and save the transaction. First time when I save it everything works fine, but when I save it again without making any changes to the fields I get following error:
    "Unable to perform transaction on the record. \nCause: The record has been deleted by another user. \nAction: Cancel the transaction and re-query the records to get the new data."
    In the same page if I make any changes again it allows me to save the transaction.
    Please guide how we can avoid it..
    I have already checked many threads related to the issue but nothing has worked. Please help!!
    Any help would be highly appreciated..
    Regards,
    Nisheeth

    Hi All,
    please help!!

  • Repairing OCR on Local Node

    Hello everyone,
    while I was going thru docs for ORACLE RAC 10GR2, I didn't understand why the specified steps were necessary for repairing the OCR on a local node:
    http://docs.oracle.com/cd/B19306_01/rac.102/b14197/votocr.htm#CHDJJDEF
    The steps are:
    1 Run the following command to stop Oracle Clusterware on all nodes:
    crsctl stop crs
    2 Run the following command on one node to take a backup of the OCR configuration:
    ocrconfig -export export_filename
    In the preceding command, export_filename is the name of the of the file to which you backed up OCR. You import this file after you repair the OCR configuration.
    3 Run the following command on all nodes to repair the OCR configuration:
    ocrconfig -repair
    4 Run the following command to import the backup to the repaired OCR configuration:
    ocrconfig -import export_filename
    5 Run the following command on one node to overwrite the OCR configuration on disk:
    ocrconfig -overwrite
    6 Run the following command on one node to verify the OCR configuration:
    ocrcheck
    I dont understand why export/import/overwrite is required ?
    Shouldn't just repair be enough ?
    thanks

    Repairing OCR on local nodes comes into picture when OCR configurations were made using ocrconfig and this particular node was shut down or clusterware wasn't up.
    So the OCR is, I think, good and
    hence just this node needs to be made aware of the changes i.e. new OCR/OCRMIRROR file/locations. Why import/export is required then ?
    I'm not sure what import/export on the local node only would do.
    Since the OCR is shared, wont doing import/export operations on it effect the whole cluster again ?
    Or will it just change the cluster configuration on local node like modifying ocr.loc etc ?
    hope I made my doubts clear

  • The action could not be completed because of a conflict with the original item. The conflict may have occurred when an existing item was updated on another computer or device. Open the item again and try making your changes. If the problem continues, cont

    I have a user on an iMac 10.6 connected to our domain.  She uses Outlook web access for email on our exchange server.  Last week she received the following message which is randomly preventing her from sending emails.  She claims no attachment was involved in the original email when this all started.  I have not been able to look at her account as she is out of the office but maybe someone else dealt with this issue.  I realize this may not be Mac related but thought I'd give it a try.  She did say it occurred once over two days while working on a PC but it continued over the past weekend.
    If an internal user tries to send a message with infected attachment using Outlook Web Access, it may report the following error message: The action could not be completed because of a conflict with the original item. The conflict may have occurred when an existing item was updated on another computer or device. Open the item again and try making your changes. If the problem continues, contact technical support for your organization.
    This is because F-Secure Anti-Virus for Microsoft Exchange has detected a virus in the attachment. If the user tries to send the message again, the message will be sent but without the attachment. At the same time a blank message with an attachment named "Attachment_information.txt" will remain in the user's Drafts folder. The "Attachment_information.txt" will contain information about the virus detected in the message.

    PS - have found other posts indicating that clips smaller than 2s or sometimes 5s, or "short files" can cause this. Modern style editing often uses short takes ! Good grief I cannot believe Apple. Well I deleted a half a dozen short sections and can export, but now of course the video is a ruined piiece of junk and I need to re-do the whole thing, the sound etc. which is basically taking as much time as the original. And each time I re-do it I risk again this lovely error -50 and again trying to figure out what thing bugs it via trial and error instead of a REASONABLE ERROR MESSAGE POINTING TO THE CLIP IT CAN'T PROCESS. What a mess. I HATE this iMovie application - full of BUGS BUGS BUGS which Apple will not fix obviously, since I had this product for a few years and see just hundreds of hits on Google about this error with disappointed users. Such junk I cannot believe I paid money for it and Apple does not support it with fixes !!!
    If anyone knows of a GOOD reasonably priced video editing program NOT from APPLE I am still looking for suggestions. I want to do more video in future, but obviously NOT with iMovie !!!

  • Local node not included in the list of host names for grid installation

    I'm attempting to install clusterware on Solaris 11 on 2 nodes. I've tried tweaking the /etc/hosts file in a few different ways by including the fully-qualified name and without it for the localhost, but it still gives me this error every time. The runcluvfy.sh script doesn't run on Solaris 11. Does anyone know how to get around this problem?
    I've tried this using the silent install and with OUI, but got the same error both ways. This is the format of the node names:
    oracle.install.crs.config.clusterNodes=myLocalNode:myLocalNode-vip1,myOtherNode:myOtherNode-vip2
    [FATAL] [INS-40907] Local node not included in the list of host names for grid installation.
    CAUSE: The local node (the node where you are running the installer) was missing from the list of host names you provided.
    ACTION: Include the local node in the list of host names for grid installation.
    Edited by: 982828 on Jan 18, 2013 1:18 PM

    Hi,
    what Oracle Version are you trying to install?
    Best to directly start with 11.2.0.3 and look in MOS for certification, hints requirements.
    Regards
    Sebastian

  • Unmarshaling fails after changing top level node from Array to Group

    Hi all,
    I created a custom OTD to read in the contents of a flat file. The top node was set to Array and it unmarshaled the data ok. Now one of my fellow developers changed my top node to a Group because in my otd there was not array delimiter set according to him. Now my unmarshaling fails with the following error:
    There was an error during unmarshal.
    <SOD>""<POS>"H14954510 ..." failed input match, after recordGroup[0]: left over 14290 bytes at end of data .
    Does this mean there is more data than what is expected to be received?
    When enabling Verbose Mode in my otd tester, the following out put is displayed:
    [ parse #0 ]
    [ parse 'otdInput', pos=0, end=14290, mandatory  ]
    [ parse group, count=0, order=0, must ]
    [ parse #1 ]
    [ parse 'recordGroup', pos=0, end=14290, mandatory  ]
    [ parse group, count=0, order=0, must ]
    [ parse #2 ]
    [ parse 'header', pos=0, end=14290 ]
    [ parse group delim, Fog#13 ]
    [ - push local delim list ]
    [ - iteration #0 ]
    [ parse 'rectype', pos=0, end=14290 ]
    [ parse fixed, Fog#14, count=0 ]
    [ - match BEGIN "H1" ]
    [ - matched data 0 to 2: "H1" ]
    [ - parse: result=1 ]
    [ - parse: 'rectype' , done=false, pos=2, end=14290, last=EOD ]
    [ parse 'PackListNumber', pos=2, end=14290 ]
    [ parse fixed, Fog#458, count=0 ]
    [ - matched data 2 to 22: "4954510             " ]
    [ - parse: result=1 ]
    [ - parse: 'PackListNumber' , done=false, pos=22, end=14290, last=EOD ]
    [ parse 'SequenceNumber', pos=22, end=14290 ]
    [ parse fixed, Fog#460, count=0 ]
    [ - matched data 22 to 27: "00001" ]
    [ - parse: result=1 ]
    [ - parse: 'SequenceNumber' , done=false, pos=27, end=14290, last=EOD ]
    [ parse 'StockNoticeNumber', pos=27, end=14290 ]
    [ parse fixed, Fog#462, count=0 ]
    [ - matched data 27 to 47: "49545100000100000000" ]
    [ - parse: result=1 ]
    [ - parse: 'StockNoticeNumber' , done=false, pos=47, end=14290, last=EOD ]
    [ parse 'CurrentDate', pos=47, end=14290 ]
    [ parse fixed, Fog#469, count=0 ]
    [ - matched data 47 to 67: "                    " ]
    [ - parse: result=1 ]
    [ - parse: 'CurrentDate' , done=false, pos=67, end=14290, last=EOD ]
    [ parse 'SequenceNumber:2', pos=67, end=14290 ]
    [ parse fixed, Fog#471, count=0 ]
    [ - matched data 67 to 72: "00001" ]
    [ - parse: result=1 ]
    [ - parse: 'SequenceNumber:2' , done=false, pos=72, end=14290, last=EOD ]
    [ parse 'RecvStoreNumber', pos=72, end=14290 ]
    [ parse fixed, Fog#473, count=0 ]
    [ - matched data 72 to 89: "0000115888       " ]
    [ - parse: result=1 ]
    [ - parse: 'RecvStoreNumber' , done=false, pos=89, end=14290, last=EOD ]
    [ parse 'SchedSendDate', pos=89, end=14290 ]
    [ parse fixed, Fog#475, count=0 ]
    [ - matched data 89 to 98: "080108   " ]
    [ - parse: result=1 ]
    [ - parse: 'SchedSendDate' , done=false, pos=98, end=14290, last=EOD ]
    [ parse 'CreationDate', pos=98, end=14290 ]
    [ parse fixed, Fog#477, count=0 ]
    [ - matched data 98 to 107: "080108   " ]
    [ - parse: result=1 ]
    [ - parse: 'CreationDate' , done=false, pos=107, end=14290, last=EOD ]
    [ parse 'CreationTime', pos=107, end=14290 ]
    [ parse fixed, Fog#677, count=0 ]
    [ - matched data 107 to 113: "091212" ]
    [ - parse: result=1 ]
    [ - parse: 'CreationTime' , done=false, pos=113, end=14290, last=EOD ]
    [ parse 'RefNoticeNum', pos=113, end=14290 ]
    [ parse fixed, Fog#547, count=0 ]
    [ - matched data 113 to 133: "4954510             " ]
    [ - parse: result=1 ]
    [ - parse: 'RefNoticeNum' , done=false, pos=133, end=14290, last=EOD ]
    [ parse 'ASN', pos=133, end=14290 ]
    [ parse fixed, Fog#679, count=0 ]
    [ - matched data 133 to 136: "ASN" ]
    [ - parse: result=1 ]
    [ - parse: 'ASN' , done=false, pos=136, end=14290, last=EOD ]
    [ parse 'TRANSACTION_ID', pos=136, end=14290 ]
    [ parse fixed, Fog#681, count=0 ]
    [ - matched data 136 to 164: "ASN08010849545100..." ]
    [ - parse: result=1 ]
    [ - parse: 'TRANSACTION_ID' , done=false, pos=164, end=14290, last=EOD ]
    [ - retry parent delimiter ]
    [ - retry failed: overshoot, del=289, pos=0 ]
    [ - parse: result=0 ]
    [ - for #2: count=-1 ]
    [ - parse: result=0 ]
    [ - parse: 'recordGroup' , done=false, pos=0, end=14290, last=EOD ]
    [ - for #1: count=0 ]
    [ - parse: result=1 ]
    [ - parse: 'otdInput' , done=false, pos=0, end=14290, last=EOD ]
    [ - for #0: count=1 ]
    What should I do to correct this?
    Thanks & Kind Regards,
    Richard

    Can you tell me a quick summary of what you do did to solve this? I am having a similar error.

  • How can i change the particular node color in Jtree?

    I have constructed the tree.i dont know how to set the color for the particular node then how can i change the particular node icon depends on some conditions like if we will give the input whether it is available in jtree that node icon only changed.Anyone please help me as soon as possible.

    hi,
    i saw that tutorial.from that book i dont get the particular node cell renderer.i got a cell renderer for tree only.i attached my code in this mail.pls see and help me if u will do
    mport pack.Prop;
    import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.Component;
    import java.awt.Container;
    import java.awt.Font;
    import java.io.BufferedReader;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.util.Properties;
    import java.util.Set;
    import java.util.StringTokenizer;
    import java.util.Vector;
    import javax.swing.Icon;
    import javax.swing.ImageIcon;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JScrollPane;
    import javax.swing.JTree;
    import javax.swing.UIManager;
    import javax.swing.text.Position;
    import javax.swing.tree.DefaultMutableTreeNode;
    import javax.swing.tree.DefaultTreeCellRenderer;
    import javax.swing.tree.DefaultTreeModel;
    import javax.swing.tree.MutableTreeNode;
    import javax.swing.tree.TreeCellRenderer;
    import javax.swing.tree.TreePath;
    public class ReadProperty3 extends JFrame{
    String str,key;
    static JTree tree;
    static Vector v;
    StringTokenizer st;
    static DefaultMutableTreeNode root;
    DefaultMutableTreeNode t;     
    public Object[] o;
    public static void main(String[] args) throws IOException {
    ReadProperty3 r = new ReadProperty3();
    Prop p=new Prop();
    JFrame f=new JFrame();
    p.show();
    Object[] o=v.toArray();
    int startRow = 0;
    String prefix =p.s;
    TreePath path = tree.getNextMatch(prefix, startRow, Position.Bias.Forward);
    //if(prefix.equals(root.getChildAt(0).toString()))
    if(prefix.equals("2000"))
         System.out.println("Node 2000 found");
         else if(prefix.equals("3000"))
              System.out.println("Node 3000 found");
         else if(prefix.equals("4000"))
              System.out.println("Node 4000 found");
         else
              System.out.println("Node not found");
         for(int i=0;i<v.size();i++)
              //((DefaultTreeModel)tree.getModel()).reload();
              DefaultTreeCellRenderer ren=(DefaultTreeCellRenderer)tree.getCellRenderer();
              Icon openIcon = new ImageIcon("C:/apache-tomcat-5.5.12/webapps/jsp-examples/images/execute.gif");
              Icon closedIcon = new ImageIcon("C:/apache-tomcat-5.5.12/webapps/jsp-examples/images/execute.gif");
              Icon leafIcon = new ImageIcon("C:/apache-tomcat-5.5.12/webapps/jsp-examples/images/read.gif");
              if(o[0].equals(p.s))
                   ren.setBackgroundSelectionColor(Color.MAGENTA);
                   ren.setBackgroundNonSelectionColor(Color.YELLOW);
                   //ren.setTextSelectionColor(Color.YELLOW);
                   //ren.setTextNonSelectionColor(Color.BLUE);
                   ren.setClosedIcon(closedIcon);
                   ren.setFont(new Font("Impact",Font.ITALIC,14));
              else if(o[1].equals(p.s))
                   ren.setLeafIcon(leafIcon);
                   ren.setFont(new Font("Impact",Font.ITALIC,10));
                   UIManager.put("Tree.leafIcon", leafIcon);
              else if(o[2].equals(p.s))
                   ren.setOpenIcon(openIcon);
                   ren.setFont(new Font("Dialog",Font.BOLD,9));
    public ReadProperty3(){
         super("JTree With Properties");
         try{
    int c = 0;
    while(c == 0){
    c = 1;
    BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
    System.out.print("Enter file name which has properties extension :");
    str = bf.readLine();
    File f = new File(str + ".properties");
    if(f.exists()){
    Properties pro = new Properties();
    FileInputStream in = new FileInputStream(f);
    pro.load(in);
    System.out.println("Key: " + pro.keySet());
    System.out.print("Enter Key : ");
    key = bf.readLine();
    String p = pro.getProperty(key);
    st = new StringTokenizer(p,"=,");
    root=new DefaultMutableTreeNode(key);
    v=new Vector();
    while(st.hasMoreTokens())
         String val=st.nextToken();
         v.add(val);
         o=v.toArray();
         System.out.println(val);
         t=new DefaultMutableTreeNode(val);
         root.add(t);
         tree=new JTree(root);
         tree.setEditable(true);
         JScrollPane jp=new JScrollPane(tree);
         // tree.setCellRenderer(new CellRenderer());
         Container content=getContentPane();
         content.add(jp,BorderLayout.CENTER);
    setSize(250,275);
    setVisible(true);
    addWindowListener(new ExitListener());
    else{
    c = 0;
    System.out.println("File not found!");
    catch(IOException e){
    System.out.println(e.getMessage());
    }

Maybe you are looking for