File lock not released

Hi,
I am unable to delete certain files as JDeveloper does not release locks on them. One use case is when I run a build file to create a jar, war or ear file. After executing the builld, I open the file (this is when JDeveloper locks these files, I think) to check the structure and contents of the generated file. Trying to run the build again fails because, JDeveloper does not release the locks on existing file that was generated during the previous build. I have to restart JDeveloper to delete the file.
Thanks

In the meantime if you are working on the XP platform (I am guessing) then you might want to venture a look at this little program called Unlocker that is a free little utility that shows what process is grabbing the file and preventing deletion or modification and then presents to you suitable options of what to do in that situation. I have used it countless times and it works like a charm.

Similar Messages

  • Problem with file descriptors not released by JMF

    Hi,
    I have a problem with file descriptors not released by JMF. My application opens a video file, creates a DataSource and a DataProcessor and the video frames generated are transmitted using the RTP protocol. Once video transmission ends up, if we stop and close the DataProcessor associated to the DataSource, the file descriptor identifying the video file is not released (checkable through /proc/pid/fd). If we repeat this processing once and again, the process reaches the maximum number of file descriptors allowed by the operating system.
    The same problem has been reproduced with JMF-2.1.1e-Linux in several environments:
    - Red Hat 7.3, Fedora Core 4
    - jdk1.5.0_04, j2re1.4.2, j2sdk1.4.2, Blackdown Java
    This is part of the source code:
    // video.avi with tracks audio(PCMU) and video(H263)
    String url="video.avi";
    if ((ml = new MediaLocator(url)) == null) {
    Logger.log(ambito,refTrazas+"Cannot build media locator from: " + url);
    try {
    // Create a DataSource given the media locator.
    Logger.log(ambito,refTrazas+"Creating JMF data source");
    try
    ds = Manager.createDataSource(ml);
    catch (Exception e) {
    Logger.log(ambito,refTrazas+"Cannot create DataSource from: " + ml);
    return 1;
    p = Manager.createProcessor(ds);
    } catch (Exception e) {
    Logger.log(ambito,refTrazas+"Failed to create a processor from the given url: " + e);
    return 1;
    } // end try-catch
    p.addControllerListener(this);
    Logger.log(ambito,refTrazas+"Configure Processor.");
    // Put the Processor into configured state.
    p.configure();
    if (!waitForState(p.Configured))
    Logger.log(ambito,refTrazas+"Failed to configure the processor.");
    p.close();
    p=null;
    return 1;
    Logger.log(ambito,refTrazas+"Configured Processor OK.");
    // So I can use it as a player.
    p.setContentDescriptor(new FileTypeDescriptor(FileTypeDescriptor.RAW_RTP));
    // videoTrack: track control for the video track
    DrawFrame draw= new DrawFrame(this);
    // Instantiate and set the frame access codec to the data flow path.
    try {
    Codec codec[] = {
    draw,
    new com.sun.media.codec.video.colorspace.JavaRGBToYUV(),
    new com.ibm.media.codec.video.h263.NativeEncoder()};
    videoTrack.setCodecChain(codec);
    } catch (UnsupportedPlugInException e) {
    Logger.log(ambito,refTrazas+"The processor does not support effects.");
    } // end try-catch CodecChain creation
    p.realize();
    if (!waitForState(p.Realized))
    Logger.log(ambito,refTrazas+"Failed to realize the processor.");
    return 1;
    Logger.log(ambito,refTrazas+"realized processor OK.");
    /* After realize processor: THESE LINES OF SOURCE CODE DOES NOT RELEASE ITS FILE DESCRIPTOR !!!!!
    p.stop();
    p.deallocate();
    p.close();
    return 0;
    // It continues up to the end of the transmission, properly drawing each video frame and transmit them
    Logger.log(ambito,refTrazas+" Create Transmit.");
    try {
    int result = createTransmitter();
    } catch (Exception e) {
    Logger.log(ambito,refTrazas+"Error Create Transmitter.");
    return 1;
    } // end try-catch transmitter
    Logger.log(ambito,refTrazas+"Start Procesor.");
    // Start the processor.
    p.start();
    return 0;
    } // end of main code
    * stop when event "EndOfMediaEvent"
    public int stop () {
    try {   
    /* THIS PIECE OF CODE AND VARIATIONS HAVE BEEN TESTED
    AND THE FILE DESCRIPTOR IS NEVER RELEASED */
    p.stop();
    p.deallocate();
    p.close();
    p= null;
    for (int i = 0; i < rtpMgrs.length; i++)
    if (rtpMgrs==null) continue;
    Logger.log(ambito, refTrazas + "removeTargets;");
    rtpMgrs[i].removeTargets( "Session ended.");
    rtpMgrs[i].dispose();
    rtpMgrs[i]=null;
    } catch (Exception e) {
    Logger.log(ambito,refTrazas+"Error Stoping:"+e);
    return 1;
    return 0;
    } // end of stop()
    * Controller Listener.
    public void controllerUpdate(ControllerEvent evt) {
    Logger.log(ambito,refTrazas+"\nControllerEvent."+evt.toString());
    if (evt instanceof ConfigureCompleteEvent ||
    evt instanceof RealizeCompleteEvent ||
    evt instanceof PrefetchCompleteEvent) {
    synchronized (waitSync) {
    stateTransitionOK = true;
    waitSync.notifyAll();
    } else if (evt instanceof ResourceUnavailableEvent) {
    synchronized (waitSync) {
    stateTransitionOK = false;
    waitSync.notifyAll();
    } else if (evt instanceof EndOfMediaEvent) {
    Logger.log(ambito,refTrazas+"\nEvento EndOfMediaEvent.");
    this.stop();
    else if (evt instanceof ControllerClosedEvent)
    Logger.log(ambito,refTrazas+"\nEvent ControllerClosedEvent");
    close = true;
    waitSync.notifyAll();
    else if (evt instanceof StopByRequestEvent)
    Logger.log(ambito,refTrazas+"\nEvent StopByRequestEvent");
    stop =true;
    waitSync.notifyAll();
    Many thanks.

    Its a bug on H263, if you test it without h263 track or with other video codec, the release will be ok.
    You can try to use a not-Sun h263 codec like the one from fobs or jffmpeg projects.

  • Lock not released after CLEAR_FORM(NO_VALIDATE, TO_SAVEPOINT)

    Forms 6.0.8.26.0 on W2K SP4 in client/server mode
    Database Oracle9i Enterprise Edition Release 9.2.0.6.0.
    =======================================================
    I have 2 forms, DEPT and EMP. On form DEPT there is a button to call EMP:
    call_form('EMP', HIDE, DO_REPLACE, NO_QUERY_ONLY);In form EMP I have this KEY-ENTQRY trigger:
    CLEAR_FORM(NO_VALIDATE, TO_SAVEPOINT);
    enter_query;This is the scenario:
    Open form DEPT.
    Click on the button and query on form EMP.
    Update one EMP record without a commit.
    Open SQLPlus and do an update of the same record.
    update emp set ename='John Doe' where empno=1000;
    This statement waits for a commit or rollback in form EMP. So far, so good.
    Click on ENTER QUERY. Because of the CLEAR_FORM I expect a rollback on the update in form EMP.
    However, the session in SQLPlus is still hanging and I can see the blocking lock in the database.
    I have to exit both the EMP and the DEPT form before the lock is released.
    If I follow almost the same scenario, but open form EMP directly instead of via the button on DEPT, the lock on the EMP record is released when I press ENTER QUERY.
    If I replace the TO_SAVEPOINT with FULL_ROLLBACK, the lock is released in the first scenario too, but a FULL_ROLLBACK is not what I want.

    I created this on-rollback trigger:
    declare
      v_sp   varchar2(100);
    begin
      v_sp := get_application_property(SAVEPOINT_NAME);
      message('Rollback to: '||v_sp);
      issue_rollback(v_sp);
    end;The message showed that the form is issueing a rollback to savepoint fm1.
    In the database I could indeed see the savepoint being set when form EMP is called:
    SAVEPOINT fm_1
    and rolled back to this savepoint when pressing enter-query:
    ROLLBACK TO fm_1
    This also showed me the difference when calling form EMP directly instead of via call_form. When you call the form directly, no savepoint is set, so the rollback is in fact a FULL_ROLLBACK.

  • Child process dies, nfs locks not released, webserver hangs...

    Hi,
    I have Sun One 6.1 sp 11 on a solaris 10 ldom.
    The server is configured to write logs access and error to /logs which is an NFS mount to a separate solaris 10 box. The logging to an NFS mount is a business requirement.
    Sun JWS is configured to have two httpd processes and the watchdog to restart them if one should fail.
    Every now and then, about once a day (it varies), one of the child processes will die with messages like this in the error log: (1949 is the wdog pid)
    [09/Dec/2009:14:19:06] failure ( 1949): CORE3107: Child process closed admin channel
    [09/Dec/2009:14:19:06] fine ( 1949): CORE3061: signal_handler_thread: received signal 18
    [09/Dec/2009:14:19:06] fine ( 1949): CORE3049: Primordial process detected child 1950 died: status 37
    [09/Dec/2009:14:19:06] fine ( 1949): CORE3050: Is our child, will spawn replacement
    [09/Dec/2009:14:19:06] fine ( 1949): CORE3062: Unlinking of /tmp/https-wv2-819e4c2d/.cgistub_1950 returned -1
    [09/Dec/2009:14:19:06] fine ( 1949): CORE3047: Server spawned worker process 2011
    [09/Dec/2009:14:19:06] fine ( 2011): HTTP5169: User authentication cache entries expire in 120 seconds.
    [09/Dec/2009:14:19:06] fine ( 2011): HTTP5170: User authentication cache holds 200 users
    [09/Dec/2009:14:19:06] fine ( 2011): HTTP5171: Up to 4 groups are cached for each cached user.
    [09/Dec/2009:14:19:06] fine ( 2011): HTTP4207: file cache module initialized (API versions 2 through 2)
    [09/Dec/2009:14:19:06] fine ( 2011): HTTP4302: file cache has been initialized
    [09/Dec/2009:14:19:06] fine ( 2011): HTTP3066: MaxKeepAliveConnections set to 256
    [09/Dec/2009:14:19:06] fine ( 2011): Installed configuration 1
    [09/Dec/2009:14:19:06] fine ( 2011): HTTP4193: flex-rotate-init: rotate start time is 0h, 0m
    At this point the webserver will not respond. The processes (2*httpd, 1*wdog) are running but do not respond. The access log shows a weird lock with output from pfiles:
    21: S_IFREG mode:0777 dev:340,10 ino:34988 uid:111 gid:102 size:0
    O_RDWR|O_APPEND|O_CREAT|O_LARGEFILE FD_CLOEXEC
    advisory write lock set by system 0x2 process 280
    which I think means the new http process is waiting for the lock to be released, but the lock is never freed.
    But what I'm really curious about is why the process is dying in the first place. Anyone seen "status 37" before, or know where I can look it up? I couln't google up any reference on what it might mean...
    any help appreciated
    cheers
    Kristin.

    I found the following in http://docs.sun.com/app/docs/doc/816-4555/rfsrefer-134?l=ja&a=view :
    In this situation, the SIGLOST signal is posted to the process. The default action for the SIGLOST signal is to terminate the process.
    For you to recover from this state, you must restart any applications that had files open at the time of the failure. Note that the following can occur.
    - Some processes that did not reopen the file could receive I/O errors.
    - Other processes that did reopen the file, or performed the open operation after the recovery failure, are able to access the file without any problems.
    Thus, some processes can access a particular file while other processes cannot.
    Edited by: Arvind_Srinivasan on Dec 10, 2009 12:33 AM

  • Bug in Flash Professional CC when launching debug launcher xml file handle not released

    There appears to be a bug in either Adobe Flash Professional CC, or ADL when launching debug launcher for an AIR application Flash Professional CC automatically generates or updates the XML app descriptor file. The bug is that Flash Professional is not immedately releasing the file handle to the app descriptor XML file.
    This bug was introduced in Flash Professional CC (Windows). It did not occur in CS5.5 or CS5.
    The question is whether this is a bug related to the ADL, or if this bug is related specifically to Flash Professional CC (Windows).
    Either way, where and how do I appropriately report this bug?

    Hi Dharmendra,
    Thank you for the solution. It is not what I expected, but it might look like a solution that "could" be applied.
    There is still one problem with this approach. If I still use a movie with radial gradient within the bitmap, the same exact problem could occur again.
    I was trying to understand if I did something wrong in my code, or it was a bug in the Flash software. I still find weird that I get different results by drawing a movie clip at different positions on a bitmap object. How can the drawing position change if the movie clip is drawn or not drawn? Why does it make mathematical patterns? I guess it has something to do with the precision numbers.
    Meanwhile, I did a few extra tests. I tried a new approach with Blur and Glow effects. That is not exactly what I want, but it seems to create a transparent gradient. I might consider this approach if the basic radial gradient does not work. I also created a gradient transparency circle bitmap in Photoshop that I imported into my movie clip. It worked. So, at the moment I have two solutions that seem to be working.
    I would appreciate if you could investigate the original problem. It looks like there is a problem in the rendering of Flash. Workarounds are fine sometimes, but I do not expect to developer programs on workarounds.

  • File locking issue

    hi ,
    I use a java applet for ftp images upload using a third party ftp API library (edtftpj).
    i run my applet from browser but I'm experiencing a strange issue :
    -i upload a file & leave the browser opened.
    -i then open this same file with gimp or photo-shop & get 'file in use' error.
    -if i close browser & try opening file ,the file is opened correctly.
    I investigated the issue more thoroughly and here are my conclusions :
    1) First i made sure to close all File's streams in the applet.so I'm sure i eliminated this issue of forgotten opened file streams .
    2) also i made sure to close all network connections that might be holding the File lock.
    It's clear that another process is still locking the File & preventing access to it.
    i used a win32 program (procExp) to monitor active processes . it turned out that javaw.exe is the process that use the File. i was convinced of this fact with a simple experiment : if i destroy the applet (closing applet's browser window -not necessarily all browser instances-) then in this case the file lock is released and i can access and delete File correctly.
    my questions :
    -How to instruct javaw.exe to release the File lock ? (is that possible at all to do ?)
    -is it a bug in JVM ? (i'm using jdk1.4.2)
    -or is it an OS centric issue related to windows only ?
    i would appreciate your ideas about this problem .
    thanks.

    Exactly, and I've been aware of all that since about 1997. I don't know whether that was supposed to answer my question to you as the OP but it doesn't.
    Sadly I misread your second-last post to say that you are using Thread.stop(), which you're not, so that explains some of the confusion. But I don't understand why you say Thread.interrupt() doesn't release the resources. It isn't supposed to. It doesn't do anything except set a flag and cause your thread to throw an InterruptedException if it's calling Object.wait(), Thread.sleep(), or certain I/O routines. It's up to your thread to react appropriately, and/or to call Thread.isInterrupted at appropriate intervals.
    So Thread.interrupt() (a) provides the boolean flag you need and (b) also interrupts your thread under some circumstances. So it is definitely the solution you should be using: call Thread.interrupt() to tell the thread to exit, and call Thread.isInterrupted() in the thread itself to know whether to do so.

  • Disable file locking

    I have an expansion drive that is locked, I tried unlocking it (using the termnal) but every time it asked me to type in my password at the end, nothing happens. So I would like to know how to disable file locking not using tim machine!
    Thanks

    Type your password in even though nothing's appearing. Press Enter when done.
    (63888)

  • Mail.jar is locked when sending a mail using servlet and not releasing

    Hi everybody,
    The mail.jar is locked in tomcat while sending the first message and not released until the tomcat get restarts.
    the problem is not recorded in any logs.
    1. Please create a servlet that sends mail
    2. Send a mail to any mailid
    3. then after the mail is send please try to delete the mail.jar or please deploy the same servlet again with some small changes (for redeploying take place only a few changes is there - please change any strings a little bit)
    then try to send mail using this servlet will not send mail becoause it will not redployed correctely.
    when i removed Transport.send(msg); from code it works fine. but ??
    please help me to recover from this issue. i don't want to turn on tomcat antiJarlocking and antiresourcelocking to true, becaouse this craete many other problems.
    please help me to recover from this issue.
    Thanks,
    Prasad.N

    hi friend
    I am using advanced version of jdk. i i have used many other jar files like mysqlconnector, logging, commonhttpclient, etc.... the only problem is with mail.jar. that locks are released when its use completed, but the lock holds until tomcat shutdown in mail.jar.
    what may be the reason?
    Thanks,
    Prasad.N

  • Wsusscn2.cab file does not contain information of the Bulletins released in November.

    MS released 16 new bulletins this November on Patch Tuesday.
    However all our attempts to acquire any of the new patches failed.
    Our initial investigation shows that information for these bulletins has not been added to wsusscn2.cab . we are completely dependent on this file for all the bulletin information and at this moment it appears that this cab file
    has not been updated with the latest information. Extraction of the cab file shows that the last updated date if the internal files is 27th/28thOctober.
    There is a package.xml file in the cab and that file would normally contain URL’s for the new patches.
    I noticed the year and the month url’s only up until the last month. There are no entries for the month of November. Hence the patch acquisition cannot find information related
    to the new bulletins 

    Hello,
    The TechNet Wiki Forum is a place for the TechNet Wiki Community to engage, question, organize, debate, help, influence and foster the TechNet Wiki content, platform and Community.
    Please note that this forum exists to discuss TechNet Wiki as a technology/application.
    As it's off-topic here, I am moving the question to the
    Where is the forum for... forum.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • Files/Folders Sticking to Mouse Pointer - Not Releasing (Reset PRAM & Apple Hardware Test Fail to Run)

    I've been having two issues with my Late 2008 MacBook Pro 15-inch - Running OS X 10.8.5 (Mountain Lion).  Unable to Reset the PRAM and Run Apple Hardware Test (AHT).
    On a random basis - File/Folder icons are Sticking to the Mouse Pointer - Not Releasing.  I've done everything from trashing finder preferences, making sure Universal Access preferences are off, Restoring Defaults in the Energy Saver System Preferences, Resetting the System SMC.  Another post mentioned that this is being caused by the Graphics Driver not working correctly - and mentioned to put the MBP to sleep, then wake it up, and the files/folders are no longer sticking to the mouse pointer.  This works for me and released the sticking items in the Finder.
    OK, Good this is a simple fix, BUT, what is really causing this issue, and how may it be fixed or repaired?
    I also tried to Reset the PRAM and Run the Apple Hardware test (AHT), and these both fail to run on my MacBook Pro with OS X 10.8.5.
    1) Resetting the PRAM:
    Shut down the MBP, press the power button, and hold down at the same time <option><command>-P-R.  The Reset PRAM process never starts up, but rather I receive the Padlock/Password Login which logs me into the Restore System Utilities.  I'm unable to Reset the PRAM.
    2) Apple Hardware Test (AHT):
    Shut down the MBP, press the power button, and hold down the "D" key, the system boots up as normal and does not enter the AHT.
    The File/Folder Finder sticking to the mouse pointer issue is very annoying.  Does anyone have a solution to resolve this issue?
    - Cheers

    HI Barbara,
    It sounds like the hard drive is failing or has failed. Boot from your Mac install disc and if you can run Disk Utility in case the startup disk needs repairs.
    Insert your install disk and Restart, holding down the "C" key until grey Apple appears.
    Go to Installer menu and launch Disk Utility.
    Select your HDD (manufacturer ID) in the left panel.
    Select First Aid in the Main panel.
    *(Check S.M.A.R.T Status of HDD at the bottom of right panel. It should say: Verified)*
    Click Repair Disk on the bottom right.
    If DU reports disk does not need repairs quit DU and restart.
    If DU reports errors Repair again and again until DU reports disk is repaired.
    When you are finished with DU, from the Menu Bar, select Utilities/Startup Manager.
    Select your start up disk and click Restart
    While you have the Disk Utility window open, look at the bottom of the window. Where you see Capacity and Available. *Make sure there is always 10% to 15% free disk space*
    If you cannot boot from your install disc, try booting in Safe Mode
    What is Safe Mode
    Carolyn

  • Open jpegs from Premier CS3 in PhotoshopCS3 says locked file will not save to jpeg

    When I open a jpeg or tiff, from Premiere to photoshop, and make some modifications (like simply mode to grayscale) and try to save it back to the jpeg it refuses, saying the file is locked and I should go to Explorer, properties and unlock. However the files are not locked in the properties, so my only choice is to save as another file, re-load it itno Premiere, and put it on the timeline. I used to be able to edit directly from Premier to Photoshop, and save - on CS3!
    I have no clue what I might have done to cause this, except it is a fresh install of Master Suite on a fresh install of Vista Ultimate.
    Any help appreciated.
    Jack

    I also realize that my saying, "that is the way it works for me," doesn't help you, since it doesn't work for you. Did it EVER work for you? YES IT DID, THAT IS WHAT IS PUZZLING, AND IN CS3 ALSO.
    Couple of thoughts/questions:
    Are you networked? YES, 2 WSIDE BY SIDE AND A THECUS RAID5 5 TERABYTE DATA BOS WHERE I KEEP MANY VIDEO AND STILLS. Are you logged in as an Administrator? I AM THE ONLY ADMINISTRATOR AND LOGGED IN AS SUCH. Are the Assets on internal (non-mapped) HDDs? IN FACT THE THECUS ACTS JUST LIKE ANOTHER INTERNAL HARD DRIVE, NEVER HAD THIS PROBLEM WITH IT BEFORE. I'M NOT MUCH OF A COMPUTER PERSON, SO NOT EVEN SURE WHAT MAPPED MEANS, BUT WHEN I WAS ABLE TO EDIT FROM PREMIERE BY SIMPLY CLICKING ON EDIT IN PHOTOSHOP, AND THE ASSETS WERE STORED ON THE THECUS, FIXES CAME BACK DIRECTLY TO PREMIERE. NOW THE SAY 'LOCKED' Any on external, or mapped-network HDDs? Are the Assets coming off of some media like CD, or DVD, and not first being transferred to internal HDDs? ALL ASSETS ARE ON INTERNAL DRIVES. I'VE TRANSFERRED SOME MEDIA TO THE SCRATCH DISC INTERNAL DRIVE AND GET THE SAME RESULT. If they originate FROM CD/DVD, are you making sure that they are not listed as Read Only, after copying? ALL I HAVE CHECKED HAVE NO CHECK ON READ ONLY. NONE ARE RECENTLY BROUGHT IN, I HAVE NEARLY 30,000 PHOTOS SEVERAL TERABYTES OF VIDEO. Windows likes to flag them that way, and it can bite you later. Anyone else on your network using these Assets? Are you using them in AE, AI, InDesign, etc., while also using them in Premiere/PS? I ONLY HAVE PREMIERE AND PHOTOSHOP OPEN, I EVEN CLOSED DOWN BRIDGE. Last, do you have Indexing turned on for any of your HDDs, as Windows loves to "lock" files, while it does its indexing. I turn this off for ALL HDDs, especially for my large externals. (Sometimes, when I move the external HDDs from workstation to workstation, XP will turn Indexing back on, and I have to disable this - happens about 10% of the time.) I HAVE RECENTLY INSTALLED COPERNIC TO DO SEARCHING, VISTA IS NOT FINDING THINGS WELL ENOUGH, IT MIGHT BE THE INDEXING, I'LL TRY THAT WHEN I GET BACK THIS AFTERNOON. THANKS FOR THE TIPS AND 20 QUESTIONS. THIS IS THE KIND OF HELP THAT THEY MEAN ABOUT RANDOM ACTS OF KINDNESS, THANKS
    AND PARDON THE CAPS
    JACK
    "Locking" is usually tied into permissions. That's why I ask about the networking aspects.
    Wish I had a quick fix for you.

  • File Adapter creating huge connections and not releasing.

    Hi,
    We see high no. of current connections in file adapter from weblogic console against eis/HAFileAdapter under deployments -> fileadapter -> monitoring -> Outbound Connection Pools and are concerned about the same. It seems like fileadapter is not releasing the connection and hence no. of connections are piling up over a days and depending upon the transactions. coz after a restart the values comes down from 36000 to 10 ( which is default initial connection).
    But when i see at the datasource level i don't see that much number of active connections. Need to know why this is happening and is this behavior is expected?
    We are using SOA 11g PS2
    Below is the deployment plan for fileadpater in use:
    <?xml version='1.0' encoding='UTF-8'?>
    <deployment-plan xmlns="http://xmlns.oracle.com/weblogic/deployment-plan" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/weblogic/deployment-plan http://xmlns.oracle.com/weblogic/deployment-plan/1.0/deployment-plan.xsd" global-variables="false">
    <application-name>connectors</application-name>
    <variable-definition>
    <variable>
    <name>ConfigProperty_controlDir_Value_12732617703910</name>
    <value>/var/opt/soa_nfs/data/SOA_PRD_DOMAIN/config/FileAdapter</value>
    </variable>
    <variable>
    <name>ConfigProperty_outboundLockTypeForWrite_Value_12737938820080</name>
    <value>oracle</value>
    </variable>
    <variable>
    <name>ConnectionInstance_eis/HAFileAdapter1_JNDIName_13010279387490</name>
    <value>eis/HAFileAdapter1</value>
    </variable>
    <variable>
    <name>ConfigProperty_controlDir_Value_13010283495591</name>
    <value>/var/opt/soa_nfs/data/SOA_PRD_DOMAIN/config/FileAdapter</value>
    </variable>
    <variable>
    <name>ConfigProperty_inboundDataSource_Value_13010283655032</name>
    <value>jdbc/SOADataSource</value>
    </variable>
    <variable>
    <name>ConfigProperty_outboundDataSource_Value_13010283782973</name>
    <value>jdbc/SOADataSource</value>
    </variable>
    <variable>
    <name>ConfigProperty_outboundDataSourceLocal_Value_13010283877514</name>
    <value>jdbc/SOALocalTxDataSource</value>
    </variable>
    <variable>
    <name>ConfigProperty_outboundLockTypeForWrite_Value_13010283941445</name>
    <value>oracle</value>
    </variable>
    <variable>
    <name>ConfigProperty_inboundDataSource_Value_13081683627140</name>
    <value>jdbc/SOADataSource</value>
    </variable>
    <variable>
    <name>ConfigProperty_outboundDataSource_Value_13081683875571</name>
    <value>jdbc/SOADataSource</value>
    </variable>
    <variable>
    <name>ConfigProperty_outboundDataSourceLocal_Value_13081684137432</name>
    <value>jdbc/SOALocalTxDataSource</value>
    </variable>
    <variable>
    <name>ConnectionInstance_eis/HAFileAdapter_Wedb_JNDIName_13369118887880</name>
    <value>eis/HAFileAdapter_Wedb</value>
    </variable>
    <variable>
    <name>ConfigProperty_controlDir_Value_13369119117411</name>
    <value>/var/opt/soa_nfs/data/SOA_PRD_DOMAIN/config/FileAdapter</value>
    </variable>
    <variable>
    <name>ConfigProperty_inboundDataSource_Value_13369119237302</name>
    <value>jdbc/SOADataSource</value>
    </variable>
    <variable>
    <name>ConfigProperty_outboundDataSource_Value_13369119486683</name>
    <value>jdbc/SOADataSource</value>
    </variable>
    <variable>
    <name>ConfigProperty_outboundDataSourceLocal_Value_13369119703484</name>
    <value>jdbc/SOALocalTxDataSource</value>
    </variable>
    <variable>
    <name>ConfigProperty_outboundLockTypeForWrite_Value_13369119820485</name>
    <value>oracle</value>
    </variable>
    </variable-definition>
    <module-override>
    <module-name>FileAdapter.rar</module-name>
    <module-type>rar</module-type>
    <module-descriptor external="false">
    <root-element>weblogic-connector</root-element>
    <uri>META-INF/weblogic-ra.xml</uri>
    <variable-assignment>
    <name>ConfigProperty_controlDir_Value_12732617703910</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter"]/connection-properties/properties/property/[name="controlDir"]/value</xpath>
    </variable-assignment>
    <variable-assignment>
    <name>ConfigProperty_outboundLockTypeForWrite_Value_12737938820080</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter"]/connection-properties/properties/property/[name="outboundLockTypeForWrite"]/value</xpath>
    </variable-assignment>
    <variable-assignment>
    <name>ConnectionInstance_eis/HAFileAdapter1_JNDIName_13010279387490</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter1"]/jndi-name</xpath>
    <origin>planbased</origin>
    </variable-assignment>
    <variable-assignment>
    <name>ConfigProperty_controlDir_Value_13010283495591</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter1"]/connection-properties/properties/property/[name="controlDir"]/value</xpath>
    </variable-assignment>
    <variable-assignment>
    <name>ConfigProperty_inboundDataSource_Value_13010283655032</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter1"]/connection-properties/properties/property/[name="inboundDataSource"]/value</xpath>
    </variable-assignment>
    <variable-assignment>
    <name>ConfigProperty_outboundDataSource_Value_13010283782973</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter1"]/connection-properties/properties/property/[name="outboundDataSource"]/value</xpath>
    </variable-assignment>
    <variable-assignment>
    <name>ConfigProperty_outboundDataSourceLocal_Value_13010283877514</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter1"]/connection-properties/properties/property/[name="outboundDataSourceLocal"]/value</xpath>
    </variable-assignment>
    <variable-assignment>
    <name>ConfigProperty_outboundLockTypeForWrite_Value_13010283941445</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter1"]/connection-properties/properties/property/[name="outboundLockTypeForWrite"]/value</xpath>
    </variable-assignment>
    <variable-assignment>
    <name>ConfigProperty_inboundDataSource_Value_13081683627140</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter"]/connection-properties/properties/property/[name="inboundDataSource"]/value</xpath>
    </variable-assignment>
    <variable-assignment>
    <name>ConfigProperty_outboundDataSource_Value_13081683875571</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter"]/connection-properties/properties/property/[name="outboundDataSource"]/value</xpath>
    </variable-assignment>
    <variable-assignment>
    <name>ConfigProperty_outboundDataSourceLocal_Value_13081684137432</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter"]/connection-properties/properties/property/[name="outboundDataSourceLocal"]/value</xpath>
    </variable-assignment>
    <variable-assignment>
    <name>ConnectionInstance_eis/HAFileAdapter_Wedb_JNDIName_13369118887880</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter_Wedb"]/jndi-name</xpath>
    <origin>planbased</origin>
    </variable-assignment>
    <variable-assignment>
    <name>ConfigProperty_controlDir_Value_13369119117411</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter_Wedb"]/connection-properties/properties/property/[name="controlDir"]/value</xpath>
    </variable-assignment>
    <variable-assignment>
    <name>ConfigProperty_inboundDataSource_Value_13369119237302</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter_Wedb"]/connection-properties/properties/property/[name="inboundDataSource"]/value</xpath>
    </variable-assignment>
    <variable-assignment>
    <name>ConfigProperty_outboundDataSource_Value_13369119486683</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter_Wedb"]/connection-properties/properties/property/[name="outboundDataSource"]/value</xpath>
    </variable-assignment>
    <variable-assignment>
    <name>ConfigProperty_outboundDataSourceLocal_Value_13369119703484</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter_Wedb"]/connection-properties/properties/property/[name="outboundDataSourceLocal"]/value</xpath>
    </variable-assignment>
    <variable-assignment>
    <name>ConfigProperty_outboundLockTypeForWrite_Value_13369119820485</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter_Wedb"]/connection-properties/properties/property/[name="outboundLockTypeForWrite"]/value</xpath>
    </variable-assignment>
    </module-descriptor>
    <module-descriptor external="false">
    <root-element>connector</root-element>
    <uri>META-INF/ra.xml</uri>
    </module-descriptor>
    <module-descriptor external="true">
    <root-element>wldf-resource</root-element>
    <uri>META-INF/weblogic-diagnostics.xml</uri>
    </module-descriptor>
    </module-override>
    <config-root>/opt/soauser/products/soa11.1/Oracle_SOA1/soa/connectors/plan</config-root>
    </deployment-plan>
    -Rohit

    Hi Arik,
    To answer your questions :
    You are using HAFileAdapter in your processes JNDI defenitions? --Yes
    Check in your HAFileAdapter Connection Pool if Shrinking Enabled is set to true. --Its set to true
    I would recomend also to change the properties Test Connections On Reserve to true, and Test Frequency Seconds(900 is the default). --These properties are also in place
    -Rohit

  • Can´t empty my trashcan and my files are not locked

    Can´t empty my trashcan and my files are not locked?

    See the X-Labs troubleshooting FAQ for the Trash - http://www.thexlab.com/faqs/trash.html.
    You should find an answer therein.
    Good luck,
    Clinton

  • When trying to drag a file, system will not release the file. Help!

    Since installing an update to OSX Lion whenever I select a file and try to drag it to another location, the fle will not release.  I have to reboot.  This happens whether I use trackpad or magic mouse.  How can I fix this?  I do not have any assistive items turned on.

    Have you tried repairing permissions?
    Go to Applications, then to Utilities, then open Disc Utilities, select the disc that's indented, then select Verify Disc Permissions, and when that has run its course, select Repair Disc Permissions.
    Hope that helps.
    See also the official info here:
    http://docs.info.apple.com/article.html?path=DiskUtility/10.5/en/duh17.html

  • BPEL Toplink Adapter not releasing table lock

    We have a bpel process that attempts to do a merge on an Oracle table through the database adapter. If the merge operation is unsuccessful for any reason the process retries for a set number of times. We have found that a lock is generated on the tables in question and not released the first time. When the process retries it then hangs as it is waiting for the locks to be released.
    We are using version 10.1.2.0.2
    Thanks,
    Ashley

    Hi Ashley,
    I don't believe this is related to cache settings.
    Lets say a merge writes several rows and then fails updating the last row, at this point it has locks on the first n - 1 rows. The merge never acquires read locks.
    Because the merge failed though, the transaction is rolled back, locks always get released on a roll back.
    I confirmed with Glenn that when the bpel engine catches an exception, that transaction is ended (releasing all locks either way), and the next retry occurs in a new transaction.
    Some guesses I have:
    -in 10.1.2.0.2 turn on usesBatchWriting="true", then all the writes will happen in one statement.
    -whenever a bpel process waits between steps, if the wait time is very small the instance may be kept in memory. This could mean that the next retry occurs in the same transaction as the first, so maybe you could try increasing the retry interval?
    -investigate why merge is failing at all, maybe it failed in the first place because another process had a lock on the rows.
    Thanks
    Steve

Maybe you are looking for

  • Ipad disabled after updating to ios 8

    I updated my ipad 2 to ios 8 and it asked for a password, I never had a lock on this device, I guessed the same one I have on my iPhone but that didn't work, now it is completely disabled.   I don't have iTunes and never plugged this iPad into a comp

  • Some problems with Oracle and XA in WLS 6.1

    Hi, I am using WLS6.1 SP4 with Oracle Thin driver 8.1.7 and TxDataSources with ConnectionPools using XA. I am getting the following error: java.sql.SQLException: ORA-00604: error producido a nivel 1 de SQL recursivo ORA-01000: número máximo de cursor

  • Need code for multi data insert..to table

    Hi All, I have input parameter data like .. [email protected],b.gamil.com,c.gamil.com ... and need to insert to table T_TABLE...LIKE NAME A B C Please let me know how to implement...

  • Operation Subcontracting involving special stock

    Hi All, We have a business scenario as below. Operation Subcontracting process involved in a Project. The Components send to Vendor is a project stock. As already there a Special stock Indicator, we cannot send the material to Subcontractor. Any inte

  • PP-PI Exclude time period from scheduling

    I have a design question, I'd like to exclude a certain time-period from scheduling, how do I do this? Example: From 1st of January - 1st of february, I cannot plan any production for material A (I can plan production for other materials). For the re