Problems with moving directories

Hi, i have a problem with moving one subdirectory from one directory to another. Here is the code
     public static boolean moveToDir(String filename, String dirname)
     if( XFileUtils.fileExists(filename) )
     return onMoveSingleFileToDir(filename,dirname);
     File dir = new File(".");
     FileFilter fileFilter = new WildcardFilter(filename);
     File[] files = dir.listFiles(fileFilter);
     boolean _flag = true;
     for (int i = 0; i < files.length; _i++)
     String _cfilename = files[_i].getName();
     if( !XFileUtils.fileExists(_cfilename) )
     throw new RuntimeException("file or dir does not exists"+_cfilename);
flag = flag && onMoveSingleFileToDir(_cfilename, dirname);
     return _flag;
Can anyone help me?
Thank you very much!
Elias

Also, a sample DAD would look like:
<Location /database1>
SetHandler pls_handler
Order allow,deny
Allow from All
AllowOverride None
PlsqlDatabaseUsername APEX_PUBLIC_USER
PlsqlDatabasePassword This_Password
PlsqlDatabaseConnectString database1 TNSFormat
PlsqlDocumentTablename wwv_flow_file_objects$
PlsqlDocumentPath docs
PlsqlDocumentProcedure wwv_flow_file_mgr.process_download
PlsqlDefaultPage f?p=130
</Location>
<Location /database2>
SetHandler pls_handler
Order allow,deny
Allow from All
AllowOverride None
PlsqlDatabaseUsername APEX_PUBLIC_USER
PlsqlDatabasePassword This_Password
PlsqlDatabaseConnectString database2 TNSFormat
PlsqlDocumentTablename wwv_flow_file_objects$
PlsqlDocumentPath docs
PlsqlDocumentProcedure wwv_flow_file_mgr.process_download
PlsqlDefaultPage f?p=131
</Location>
The tnsnames.ora file would then look similar to:
DATABASE1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = the_database_server)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = DATABASE1)
DATABASE2 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = the_database_server)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = DATABASE2)
Again, these are edited copies of what I use, but something similar should work for you.
Bill Ferguson

Similar Messages

  • Problem with vCloud Director- Forgot pass Database

    Hi everyone, I have some problem with vCloud director database. I forgot password of my vCloud database. How i can find it in config file? Thanks alots. It very serious. Thanks for help me.

    Hi
    Are you using Vcloud director  1.5 or 5.1 ? If you are using 5.1 you can choose internal option  in the database and its will automatically generates the Database .
    The Sql team can reset the Database of Vcloud .

  • Problem with application directories on JDS - Solaris 10 11/06 sparc

    I am running a fully patched JDS on a Sun Blade with Solaris 10 11/06 sparc.
    After installing, removing, and re-installing Sun Download Manager 2.0 (web start version) I am having problems with JDS application menus.
    I used File Manager (probably accessed through the This Computer Desktop icon) to move around directories under applications:///. This information is saved in ~/.gnome2/vfolders. Folders available from the Launch menu under Applications were all messed up, but I solved this problem by removing all contents of ~/.gnome2/vfolders and restarting JDS.
    Now, when I enter the This Computer icon on the Desktop, and click on the Applications icon in there, there is an extra Applications icon there that is not associated with any application and cannot be removed (when I try and trash it, I get an error saying something about "not on same file system"). Also, when I enter the Internet folder under Applications, there is an extra Internet icon in there that also cannot be removed. These extra folders are not seen when accessing the Applications menu from the Launch menu. How can I clean up these "bad" launchers, or folders, or whatever they are, that appear to exist only under the Applications directory accessible through This Computer (computer:///)?
    Thank you...

    Maybe the answer is here:
    http://docs.sun.com/app/docs/doc/819-0918/6n3aglfdl?l=en&a=view&q=location+of+applications-all-users
    To Add a Menu Using Menu Files
    To add a menu for all users, perform the following steps:
    1. Create a directory entry file for the item that you want to add. Create the directory entry file in the /usr/share/gnome/vfolders directory. For more information about directory entry files, see Directory Entry Files.
    2. Locate the vfolder information file for the location where you want to add the menu. For example, to add a menu to the Applications menu, locate the file /etc/gnome-vfs-2.0/vfolders/applications-all-users.vfolder-info.
    3. In the vfolder information file, add a <Folder> element for the new menu. For more information about vfolder information files, see Vfolders and Menus.
    The next time users log in, the menu is in the assigned location.

  • Problem with updater Director 12

    I can't update Director 12 with the new correctif 2 under MacOs X 10.6.8. The process stops at 50% and prompted me to stop DirectoryService ... Where is the problem ?

    There is no update since Director 11.x on this page : www.adobe.com/support/director/downloads.html
    Here are the screens of the problem with the updater integrated in Director 12.

  • Interlace problems with moving objects using iDVD

    I had an MP4 file (created by a 3rd party) from a Hi-8 analog tape which has some interlace artifacts on moving images (left image of boy) but not too bad. When the MP4 files was imported into iMovie 11 the interlace artifacts smoothed somewhat - that was OK (right image of boy). The camera was still and the boy was moving.  Vertical lines on stationary objects are OK in all images. These are screen captures from the Mac of the mp4 played through quicktime and the same file imported into iMovie 11 and played.  I paused both to take the screen capture.
    The completed project in iMovie 11 looked OK when previewed prior to rendering. These are 20 year old videos so my expections were being met.   I rendered the project with iDVD to the hard drive first and then to a DVD with the same poor imaging result on the moving object.  I am using a new Macbook Pro I bought in early January which came with iMovie 11 and iDVD  Ver 7.1.2 (1158). Running Mac OS X 10.7.3  Macbook Pro  2.3 Ghz Corei7   8GB 1333 Mhz DDR3.
    I couldn't screen capture from the MAC DVD player screen to illustrate the poor result (got a checkerboard screen) so I took a photo of the screen and imported that (below).  The moving boy on the left is from an  iMovie 11 screen capture, the image on the right is the moving boy from the rendered DVD I paused on the Mac (and took a pic of).
    Below a close up of the poorly rendered moving boy viewed on the resultant DVD.  This translates into a horrible rendition of any quick moving object.  It happens with any moving image - i.e. a pan across a room with straight vertical lines like edges of a wall will show as serrated and poorly rendered edge. I used a trial version of the Daniusoft DVD creator with the same result!  I am at a loss on how to resolve this issue.  Any thoughts out there??
    I had previously used Pinnacle Studios on my old XP PC which worked great on other tape's Mpeg files and created great DVD's (never had an interlace problem) ... until my computer died .....  so I figured Apple and associated software should be at least equal if not a superior product.   Now I'm not too sure!

    I had an MP4 file (created by a 3rd party) from a Hi-8 analog tape which has some interlace artifacts on moving images (left image of boy) but not too bad. When the MP4 files was imported into iMovie 11 the interlace artifacts smoothed somewhat - that was OK (right image of boy). The camera was still and the boy was moving.  Vertical lines on stationary objects are OK in all images. These are screen captures from the Mac of the mp4 played through quicktime and the same file imported into iMovie 11 and played.  I paused both to take the screen capture.
    The completed project in iMovie 11 looked OK when previewed prior to rendering. These are 20 year old videos so my expections were being met.   I rendered the project with iDVD to the hard drive first and then to a DVD with the same poor imaging result on the moving object.  I am using a new Macbook Pro I bought in early January which came with iMovie 11 and iDVD  Ver 7.1.2 (1158). Running Mac OS X 10.7.3  Macbook Pro  2.3 Ghz Corei7   8GB 1333 Mhz DDR3.
    I couldn't screen capture from the MAC DVD player screen to illustrate the poor result (got a checkerboard screen) so I took a photo of the screen and imported that (below).  The moving boy on the left is from an  iMovie 11 screen capture, the image on the right is the moving boy from the rendered DVD I paused on the Mac (and took a pic of).
    Below a close up of the poorly rendered moving boy viewed on the resultant DVD.  This translates into a horrible rendition of any quick moving object.  It happens with any moving image - i.e. a pan across a room with straight vertical lines like edges of a wall will show as serrated and poorly rendered edge. I used a trial version of the Daniusoft DVD creator with the same result!  I am at a loss on how to resolve this issue.  Any thoughts out there??
    I had previously used Pinnacle Studios on my old XP PC which worked great on other tape's Mpeg files and created great DVD's (never had an interlace problem) ... until my computer died .....  so I figured Apple and associated software should be at least equal if not a superior product.   Now I'm not too sure!

  • PROBLEM WITH MOVING AVERAGE PRICE

    Hi,
    Correct me if I’m wrong, but from what I know the moving average price should only change or be recalculated when purchases or goods_recipts are made, otherwise items should be consumed at a FIXED moving average price (cost). 
    I´ve noticed when looking into the Inventory Audit Report that the moving average price is changing in my installations and I see that SAP BO recalculates it every time an issue is made. This last thing only happens when the total amount of the transaction is rounded or left with 0 decimals and the other types such as prices, rates, quantities, percent, etc. are left with 2 or 3 decimals.
    Because of my country settings, the total amount has to have 0 decimals (I live in Chile and we don’t have cents in our currency) and the moving average price of an Item should not change when an issue is made, can you help me with this?
    Thanks and best regards to you all.
    Fernando

    Hi Nagesh,
    Thank you for your quick response.
    I understand what you say, but moving average price should not change when an issue is made and that´s what is bothering us.
    The difference between what it shoud be and what SAP BO is calculating is our concern, ie: let´s say the number of transactions is 100, would that difference be negligible?
    Here is an example:
    Goods issue:
    SO 8     11     -10,49     166,67     -1.748     99,35     16.559
    SO 9     11     -10,49     166,673     -1.748     88,86     14.811
    SO 10     11     -10,49     166,678     -1.748     78,37     13.063
    SO 11     11     -10,48     166,684     -1.747     67,89     11.316
    SO 12     11     -10,56     166,681     -1.760     57,33     9.556
    Note that coma (,) is decimal separation and period (.) is the mile separator.
    Where the 3rd line is the quantity of the goods issue, the 4th is the moving average, and the 5th is the total quantity of the issue.
    So you see 10,49 x 1748 = 1748,39977= 1748(SAP) and then SAP BO recalculates the AVG. Price.
    The problem I was talking about was the difference of the stock AVG Price with one hundred transactions or so... now the difference seems negligible (166,7 - 166,681 = 0,011).
    Can you see it changes?, is that a bug?
    Thank you
    Fernando

  • HT4527 Help please!! problems with moving to new computer

    Hi,
    I've been trying to transfer my i Tunes library to my new computer and have run into problems. I've followed the directions in the article on the apple website HT4527 using the external hard drive method of transfer, and although this has successfully moved all my music I seem to have lost all my playlists. Also my new computer doesn't recognise my iPod or i Phone anymore.
    My old computer was running windows XP but I did have the latest version of i Tunes. My new computer is running Windows 7.
    Where did I go wrong?
    AAArgh

    I suspect you only copied the media folder, instead of copying the main iTunes folder. Playlists, ratings, play counts etc. are all stored in the iTunes Library.itl file that is the core of your library. Migrate the whole library properly and everything ends up on the new system. This is my suggested process.
    Backup the library with this User Tip.
    Restore the backup to your new computer using the same tool used to back it up.
    Deauthorize the old computer if you no longer want to access protected content on it.
    Keep your backup up-to-date in future.
    tt2

  • Linux / Gnome - problem with moving JFrame ?

    I have a swing application which runs fine on Windows. Yesterday I tried it on a Fedora Linux (latest version) with Gnome, running Java 1.5.0_02 and I noticed the following weird problem. When you try to drag a JFrame window by the title bar to move it, it always maximizes it! When you bring it back to regular size, you see that the window was actually moved, but after that it was maximized, as if you double-clicked the title bar. It only happens with Java windows, all other X11 applications behave normally.
    Anybody else have the same problem?

    Btw, it only happens if you specify that you want JFrame and JDialog decorated:
    setDefaultLookAndFeelDecorated(true)
    As much as I like the new 1.5 Swing decorations I guess I will have to stick to no decorations under Linux.

  • Noise problem with moving bitmaps

    I'm having trouble with the most recent Flash player
    (9,0,45,0). When
    displaying moving bitmaps, the player sometimes shows
    horizontal noise
    lines across the image. This doesn't happen on all platforms,
    but it
    does happen on my customers', so I've got to figure it out.
    It happens in the OS X Flash 9.0 IDE, but not on the same
    machine within
    a browser. It happens on some Windows machines, but not
    others. It only
    happens with bitmaps; if I trace the bitmap into shapes then
    the problem
    goes away (no, that's not an option for my application). The
    format of
    the imported bitmap doesn't matter, nor does whether it is
    being moved
    with a motion tween or ActionScript. Updating to the latest
    Flash player
    reduced the effect for my customer, but not completely.
    I've made a web page that has the live applet (so you can see
    if it
    happens on your system), the applet source, and a screen shot
    of the
    noise effect (when played within the Flash 9.0 IDE). Note
    that it took
    me about fifty tries to get that screen shot, but while the
    applet is
    running the noise is quite easy to see since it's so sharp.
    You can find
    the page here:
    <
    http://www.suitable.com/temp/ScratchTest/>
    Any and all suggestions welcome.
    Thanks,
    Dan
    Daniel T. Griscom [email protected]
    Suitable Systems
    http://www.suitable.com/
    1 Centre Street, Suite 204 (781) 665-0053
    Wakefield, MA 01880-2400

    In article <f2chss$g92$[email protected]>,
    "Rothrock" <[email protected]> wrote:
    > I'm seeing it in some of my projects as well. I seem to
    recall that when
    > previous versions of Flash came out there was a similar
    problem and then it
    > went away quietly. Of course I could just be losing my
    mind?
    Excellent!!! (Well, not excellent that the problem exists,
    nor that
    you're inflicted by it, but that it's at least duplicatable.
    It gives me
    hope that it will be fixed.)
    > I'm not even drawing the BitmapData to screen ? this is
    using CS3,
    > publishing for Flash 8 and AS2, but played back in the 9
    player.
    I'm not even using a BitmapData; I'm just moving a Bitmap
    asset across
    the stage. No ActionScript involved.
    It's clear to me that this is a Macromedia/Adobe bug. I've
    posted a
    report on the Adobe Feature Request/Bug Report form at
    <
    http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform>.
    Please:
    everyone who is experiencing this problem do the same.
    Daniel T. Griscom [email protected]
    Suitable Systems
    http://www.suitable.com/
    1 Centre Street, Suite 204 (781) 665-0053
    Wakefield, MA 01880-2400

  • Problems with Presentation Director

    Hello,
    I enjoy really to work with the Presentation Director (PD); I also enjoy now working with Windows 7 x64
    But the problem is, that the PD doesn't work for me on Win 7
    In the best case it does nothing, in the worst case it tries to change the settings ever and ever again and makes it impossible to do anything else! A logoff is at the latter the only help ...
    Is there any solution in sight?
    Thank you very much!
    With very kind regards,
    sonny
    Message Edited by sonny_G on 05-28-2009 04:07 PM
    ThinkPad T400 | 2767-2MG | Windows 7 Professional x64
    ThinkPad T60 | 2007-63G | Windows Vista Business x86

    hubertlam wrote:
    For me, Windows 7 works well enough without Presentation Director -- it actually remembers your settings!
    Yeah, what Hubert said.  I kind of stopped using Presentation Director when Vista came out - although Presentation Director works OK (it does what it says it will do), I honestly don't think it is necessary any more.
    I frequently switch back and forth between a dock with an external DVI monitor, using the laptop by itself, and using the laptop with an external projector.  The computer manages to figure out on its own what it is connected to and send the signal out to the right device. I don't think I have used Presentation Director since the end of 2007.  I just don't need it anymore, and I find that the "simpler" I can keep the computer (meaning, the fewer the number of little helper applications are installed), the easier life is.
    Truth be told, same goes for Access Connections, although I don't use a VPN or anything complex like that.
    Michael
    W520 (4270 CTO), which replaced a W500 (4062-27U), which replaced a T42P, which replaced an A21P...

  • Problem with moving objects after adding to stage

    Hi,
    I am a student using an educational licence version of Flash
    MX, obtained through my university, as a prototyping tool. All has
    been well until last night, when I found I could not reposition
    anything on the stage. I am something of a novice with Flash Mx and
    have been unable to find out what is causing the problem. I suspect
    I have inadvertantly used a control key combination to change a
    particular setting. The problem first manifested itself when I
    added a combo box from the components panel to the stage and it
    located itself in the top left hand corner and then refused to be
    moved!
    Any ideas gratefully accepted.

    This problem has now been resolved.

  • Problem with moving folders in LR3.0

    Having a problem moving images from Folder A to Folder B, When I highlight 6 photos and attempt to drag and drop all are moved EXCEPT the first photo in the group, then a white box pops us something like unable to move photo #1234. Close the shite box by clicking OK, then do the drag and drop with this same image it works. Is this a bug in LR 3, any other users experience this? Suggestions?
    Thanks, Cynthia

    Cynthia444 wrote:
    I have wanted to wait until it's a final upgrade.
    Cynthia,
    Why don't you do so and just drag this one remaining image a second time in the meantime.
    Beat Gossweiler
    Switzerland

  • Problem with moving Public Folder

    Hello
    In an effort to keep current with the latest Exchange we are moving away from Exchange 2003 SBS, but in doing so we are trying to reduce the amount of Public Folders available.
    I have set up a .pst file and am trying to copy the folders into this file so I can delete the unwanted Public Folders. However some of these folders don't want to move giving an error in that I do not have the permissions to move them or they do not exist.
    I am logged in as Administrator and have checked the permissions on these folders and they all have Administrator with full access. Even trying to copy them give the same result.
    I even ran the MS tool called PFDAVADMIN and reset the permissions on all folders & sub folders I want to move, but still no luck.
    We only have this one server and there is no replication currently running on this server with these folders.
    Anybody have any idea what the problem could be and what I can do to get these folders to move?
    TIA

    Hi Rich
    My apologies for the confusion I created. To answer your first question, I am trying to use Outlook 2007 to move old folders from the Public Folders  into a pst file in order to reduce the size of the current Public Folder. I am trying to do the move
    by logging into the computer as Domain Administrator and then open Outlook 2007 from where I select the public folder(s), right click and select move. When the window opens to let me select the destination folder, I select my pst file I created and click on
    OK. This almost immediately shows a window saying "the folder cannot be copied, moved......."and ending off with access rights problems.
    However, having run into the access denied problem and giving Administrator owner access on each and every folder I am trying to move, I still ran into the access denied problem. This lead me to believe the problem could either be with AD authentication
    or ESM issue.
    Digging deeper I used ADSI Edit to look at the Exchange System Objects to see what values are set on these folders I cannot move. Connecting to ADSI Edit, at the top I select domain, in path I left it on LDAP://<myservername>/Domain and well known
    naming context Domain. I left Computer=Default. Click on Connect, expand Server, Expand DC, highligh Exchange System Objects
    In the right hand pane I noticed there are numerous folders missing/not showing compared to PF in Outlook. This proves to me that there is something seriously wrong with the public folders & replication. From the properties of Exchange System Objects
    I look at the proxyAddress value and it shows <not set> Surely this is wrong?
    Is there anyway I can fix this by having the PF values in the ADSI Edit like they show in Outlook? Should I go to RUS Enterprise in ESM and run a rebuild?
    I am a little stuck and will appreciate help & suggestions on what to do to fix this.
    Thanks

  • Problem with home directories NOT in Users and Workgroup manager

    I am setting up a Leopard server (10.5.3) with the users directories in /h1. This is mounted as /Volumes/h1.
    It is exported under AFP as /h1.
    When I try to get Workgroup manager to create a home directory, I can enter the home directory as:
    afp://quattro.innocon.com/h1
    path is 'user'
    Full path is:
    /Network/Servers/quattro.innocon.com/Volumes/h1
    However, when I try to log in as this this user, it says that the directory /Network/Servers/quattro.innocon.com/h1/username does not exist.
    I cannot seem to figure out why the 'Volumes' part of the full path is being lost.
    Any ideas on how to get this right?

    have you checked to see if /Network/Servers/quattro.innocon.com exists?
    I'm having ALOT of issues with automount not picking up on the mount-maps set by Open Directory.. If anyone has any solutions on this it would be great.

  • Problem with moving free trans centerpoint in classic tweens

    I still need to use classic tweening once in awhile but I am having an issue I cannot resolve. The classics tweens work fine but if I ever use the free transform tool and move the rotation center out of the actual center (say I want to rotate an arm from the shoulder) -- the tween automatically jumps all over following as if following how I moved the f.transform center. It will not follow the intended motion even though the starting and end positions are correct. Has anyone seen this or have any ideas what I'm doing or not doing?

    Hi Kanika Kohli,
    I agree with Mr.Selva. Kindly find more information on this,
    i. For standard movement types, this means that the given process is not supported using the 951 or 952  combination.
    ii.  For customer-defined movement types (beginning with 9, X, Y, or Z), this may mean that they have not been fully defined. Delete the movement type and re-create it by copying a standard movement type.
    and try to posting with any other movement type which will increase or decrease the value of the goods. In my client, they defined 952 movement as RE for POS sales.
    I hope this helps.
    Thanks & Regards
    Navahsek

Maybe you are looking for

  • GW Messenger Client for 64-bit Windows?

    Has anyone found a way to run the messenger client on Windows Vista or 7 64-bit? The installer will not run, no matter which options I try. You get "The version of this file is not compatible with the version of Windows you're running. Check your com

  • Problems reading my backed up data on hard drive after using Time Machine

    I have a MacBookPro and had to take it in for servicing. I backed up all my data using Time machine. They had to replace my battery, hard drive, and logic board, basically wiping my slate clean. When I got my computer back and plugged in my hard driv

  • Link between crmd_orderadm_h and CRMORDERPHIO

    hi all, i'm looking for a link between these tables: crmd_orderadm_h and CRMORDERPHIO can anybody help me? regards Henk

  • Highlight fields that changed its value

    Hi all, I'm working on a form that goes from one user to another.  It's a fairly large and complex form (about 7 pages) with calls to multiple web  services. After the form is opened and some information is  populated into the fields, a user will be

  • Adobe Reader X - plugin problem

    I installed version X a week or two ago, and didn't notice any problems until today, when I tried to download some on-line coupons from a French site 'CroquonslaVie'.  When I came to click on the 'print' link, I got a message (top of screen) saying t