Keeping directory structure with Catalog backup.

So I have all my pictures in seperate directories on my computer. When using my catalog backup it just copies every file into a root directory, is there a way to preserve the directory structure that its making the backup from?

Which verson of Photoshop Elementa are you running?
In general, the way that the Photoshop Elements Catalog
b Backup
command works is that it renames the files during the backup process and it creates a Control File. Then when you use the Elements
b Restore
command, it can rebuild the folder structure as it was and place the photo (or video, audio) files in the same folder as it was at the time of the backup.

Similar Messages

  • Making a Directory Structure with JTree.

    Hello,
    Can anyone boss here help me to code to make a
    File System Directory structure through JTree?
    The outlook should be like the Windows Explorer...
    From : [email protected]

    * HarishTree.java
    * Created on September 7, 2004, 2:56 PM
    * @author 120002314
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.tree.*;
    import java.io.File;
    import java.awt.event.ActionListener;
    import javax.swing.JToolBar;
    import java.lang.System;
    import java.awt.BorderLayout;
    import java.awt.Component;
    import javax.swing.filechooser.FileSystemView;
    public class HarishTree {
    public static void createAndShowGUI() {
    //creating a tree with drives in the toolbar
    TreeBar bar = new TreeBar();
    JScrollPane scrollpane = new JScrollPane(bar.tree);
    JToolBar toolbar = bar.CreatingTreeBar();
    JPanel panel = new JPanel(new BorderLayout());
    panel.add(toolbar);
    // Display it all in a window and make the window appear
    JFrame.setDefaultLookAndFeelDecorated(true);
    JFrame frame = new JFrame("FileExplorer");
    frame.getContentPane().add(scrollpane, "Center");
    frame.getContentPane().add(panel,BorderLayout.NORTH);
    frame.setSize(400,600);
    frame.setVisible(true);
    frame.setResizable(false);
    public static void main(String[] args) {
    javax.swing.SwingUtilities.invokeLater(new Runnable() {
    public void run() {
    createAndShowGUI();
    java.lang.System.gc();
    * The methods in this class allow the JTree component to traverse
    * the file system tree and display the files and directories.
    class FileTreeModel implements TreeModel {
    // We specify the root directory when we create the model.
    protected JFile root;
    public FileTreeModel(){}
    public FileTreeModel(JFile root) { this.root = root; }
    // The model knows how to return the root object of the tree
    public Object getRoot() { return root; }
    // Tell JTree whether an object in the tree is a leaf
    public boolean isLeaf(Object node) {  return ((JFile)node).isFile(); }
    // Tell JTree how many children a node has
    public int getChildCount(Object parent) {
    String[] children = ((JFile)parent).list();
    if (children == null) return 0;
    return children.length;
    // Fetch any numbered child of a node for the JTree.
    // Our model returns File objects for all nodes in the tree. The
    // JTree displays these by calling the File.toString() method.
    public Object getChild(Object parent, int index) {
    String[] children = ((JFile)parent).list();
    if ((children == null) || (index >= children.length)) return null;
    return new JFile((JFile)parent,children[index]);
    // Figure out a child's position in its parent node.
    public int getIndexOfChild(Object parent, Object child) {
    String[] children = ((File)parent).list();
    if (children == null) return -1;
    String childname = ((File)child).getName();
    for(int i = 0; i < children.length; i++) {
    if (childname.equals(children)) return i;
    return -1;
    // This method is invoked by the JTree only for editable trees.
    // This TreeModel does not allow editing, so we do not implement
    // this method. The JTree editable property is false by default.
    public void valueForPathChanged(TreePath path, Object newvalue) {}
    // Since this is not an editable tree model, we never fire any events,
    // so we don't actually have to keep track of interested listeners
    public void addTreeModelListener(TreeModelListener l) {}
    public void removeTreeModelListener(TreeModelListener l) {}
    class TreeBar implements ActionListener{
    public JTree tree = new JTree();
    public File[] roots = File.listRoots();
    JToolBar toolbar = new JToolBar();
    public TreeBar(){
    FileTreeModel model = new FileTreeModel(new JFile(System.getProperty("user.home")));
    tree.setModel(model);
    tree.setCellRenderer(new MyRenderer());
    public JToolBar CreatingTreeBar(){
    for(int i=0;i<roots.length;i++){
    JButton button = new JButton(roots[i].getPath(),new MyRenderer().inicon);
    button.addActionListener(this);
    button.setActionCommand(roots[i].getPath());
    toolbar.add(button);
    toolbar.setFloatable(false);
    toolbar.setRollover(true);
    return(toolbar);
    public void actionPerformed(java.awt.event.ActionEvent e) {
    FileTreeModel model = new FileTreeModel(new JFile(e.getActionCommand()));
    tree.setModel(model);
    class MyRenderer extends DefaultTreeCellRenderer {
    ImageIcon inicon = createImageIcon("1.gif");
    ImageIcon exicon = createImageIcon("2.gif");
    ImageIcon leaficon = createImageIcon("3.gif");
    public ImageIcon createImageIcon(String path) {
    java.net.URL imgURL = TreeIconDemo2.class.getResource(path);
    if (imgURL != null) {
    return new ImageIcon(imgURL);
    } else {
    System.err.println("Couldn't find file: " + path);
    return null;
    public Component getTreeCellRendererComponent(
    JTree tree,
    Object value,
    boolean sel,
    boolean expanded,
    boolean leaf,
    int row,
    boolean hasFocus) {
    super.getTreeCellRendererComponent(tree, value, sel, expanded, leaf, row, hasFocus);
    if (leaf){
    setIcon(leaficon);
    }else
    if(expanded)
    setIcon(exicon);
    else
    setIcon(inicon);
    return this;
    class JFile extends File{
    public JFile(String path){
    super(path);
    public JFile(File parent,String child){
    super(parent,child);
    public String toString(){
    FileSystem fs = new FileSystem();
    if(fs.isFileSystemRoot(this))
    return(this.getPath());
    else
    return(fs.getSystemDisplayName(this));
    class FileSystem extends FileSystemView{
    public File createNewFolder(File containingDir) throws java.io.IOException {
    return(this.createFileObject(containingDir,"harish"));

  • PDB Directory Structure with OMF

    If one create a PDB using Oracle Managed Files (OMF) the directory structure for the files are using the GUID instead of the PDB Name. Is there any chance to change this? It's very difficult to find out which file belongs to which PDB if you have serveral PDBs up and running.

    rp0428 wrote:
    If one create a PDB using Oracle Managed Files (OMF) the directory structure for the files are using the GUID instead of the PDB Name. Is there any chance to change this? It's very difficult to find out which file belongs to which PDB if you have serveral PDBs up and running.
    What value of DB_CREATE_FILE_DEST are you using? Just set it to where you want the files created for the PDB.
    http://docs.oracle.com/cd/B28359_01/server.111/b28310/omf003.htm#i1006430
    When creating a tablespace, either a permanent tablespace or an undo tablespace, the DATAFILE clause is optional. When you include the DATAFILE clause the filename is optional. If the DATAFILE clause or filename is not provided, then the following rules apply:
      If the DB_CREATE_FILE_DEST initialization parameter is specified, then an Oracle-managed datafile is created in the location specified by the parameter.
    Here is a simple example:
    SQL> alter system set db_create_file_dest=’/u01/app/oracle/oradata/myDir/myNewPDB′;
    System altered.
    SQL> create pluggable database myNewPDB from myOldPDB;
    Pluggable database created.
    You can't control the actual filenames when using OMF, only the destination folder.
    Edited by: rp0428 to fix typo
    Your comment about the optional parameter DATAFILE is only valid if you don't want to change any of the default values for size, extendsize and maxsize. As I don't like "UNLIMITED" for the maxsize I have to specify DATAFILE according to the documentation:
    Oracle 12c Database Administrator's Guide 12c: "However, if in your DATAFILE clause you override these defaults by specifying a SIZE value (and no AUTOEXTEND clause), then the data file is not autoextensible."
    Your example makes the directory structure even more complex: Oracle always adds the name of the database and the GUID to the directory. So for your example you end up with the following directory structure:
    /u01/app/oracle/oradata/myDir/myNewPDB/<CDB_NAME>/<GUID>
    Her's an example:
    SQL> ALTER SYSTEM SET db_create_file_dest='/u02/oradata/JO3';
    SQL> CREATE PLUGGABLE DATABASE JO3 ...
    SQL> SELECT name FROM v$datafile WHERE CON_ID=7;
    NAME
    /u02/oradata/JO3/CJOHANN/F23385330E6F7CE2E043411E10ACD344/datafile/o1_mf_system_9hpk1l9f_.dbf
    /u02/oradata/JO3/CJOHANN/F23385330E6F7CE2E043411E10ACD344/datafile/o1_mf_sysaux_9hpk1l9t_.dbf

  • Weblogic directory structure with explanation.

    Hi,
    I am looking for weblogic 11 directory structure and their working. Can someone guide me

    Here is my favorite:
    http://www.slideshare.net/mobile/jambay/oracle-weblogic-server-basic-concepts-presentation
    Jon petter

  • Layers in groups to files, keeping directory structure

    I have a PSD of thmebnails organized using layer groups and I want to export individual layers as files, but keep them in folders that mimic the layer group names.
    For example:
    PSD Layers Palette:
    Layer Group Alpha
         Layer 1
         Layer 2
         Layer 3
    Layer Group Beta
         Layer 1
         Layer 2
    So when I save the layers to files, I would like to automatically be able to create a folder called Layer Group Alpha and put Layer 1, Layer 2, and Layer 3 as individual files inside. Then create a folder called Layer Group Beta and do the same with those files, etc.
    Is this a thing?
    Thanks in advance for any help and advice.

    This should create the folders off the documents path and save the layers as jpegs....
    #target Photoshop
    app.bringToFront();
    main();
    function main(){
    if(!documents.length) return;
    var doc = activeDocument;
    var LayerSetLayers=[];
    var lSets = getLayerSets();
    for(var z in lSets){
    var lset = getChildIndex(Number(lSets[z]), true );
    LayerSetLayers[Number(lSets[z])] = lset;
    var allLayers=new Array;
    for(var s in lSets){
        var layerSetTemp = LayerSetLayers[Number(lSets[s])];
        for(var f in layerSetTemp){
            allLayers.push(Number(layerSetTemp[f]));
    for(var a in lSets){
        var layerSetName = getLayerNameByIndex( Number(lSets[a]));
        var outputFolder = Folder(doc.path +"/" + layerSetName);
        if(!outputFolder.exists)  outputFolder.create();
        for(var t in LayerSetLayers[Number(lSets[a])]){
            selectLayerByIndex(LayerSetLayers[Number(lSets[a])][t]);
            dupLayers("temp");
            var saveFile = File(outputFolder + "/" + activeDocument.activeLayer.name + ".jpg");
            SaveJPEG(saveFile,8);
            app.activeDocument.close(SaveOptions.DONOTSAVECHANGES);
    function getLayerSets(){
       var ref = new ActionReference();
       ref.putEnumerated( charIDToTypeID('Dcmn'), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') );
       var count = executeActionGet(ref).getInteger(charIDToTypeID('NmbL')) +1;
       var Lsets=[];
    try{
        activeDocument.backgroundLayer;
    var i = 0; }catch(e){ var i = 1; };
       for(i;i<count;i++){
           if(i == 0) continue;
            ref = new ActionReference();
            ref.putIndex( charIDToTypeID( 'Lyr ' ), i );
            var desc = executeActionGet(ref);
            var layerName = desc.getString(charIDToTypeID( 'Nm  ' ));
            if(layerName.match(/^<\/Layer group/) ) continue;
            var layerType = typeIDToStringID(desc.getEnumerationValue( stringIDToTypeID( 'layerSection' )));
            var isLayerSet =( layerType == 'layerSectionContent') ? false:true;
            if(isLayerSet) Lsets.push(i);
    return Lsets;
    function getLayerLayerSectionByIndex( index ) {  
       var ref = new ActionReference();
       ref.putIndex(charIDToTypeID('Lyr '), index);
       return typeIDToStringID(executeActionGet(ref).getEnumerationValue(stringIDToTypeID('layerSection')));
    function getLayerNameByIndex( index ) {
        var ref = new ActionReference();
        ref.putIndex( charIDToTypeID( 'Lyr ' ), index );
        return executeActionGet(ref).getString(charIDToTypeID( 'Nm  ' ));
    function skipNestedSets( layerIndex ){
       var isEnd = false;
       layerIndex = app.activeDocument.layers[app.activeDocument.layers.length-1].isBackgroundLayer ? layerIndex-2:layerIndex;
       while(!isEnd){
          layerIndex--;
          if( getLayerLayerSectionByIndex( layerIndex ) == 'layerSectionStart' ) layerIndex = skipNestedSets( layerIndex );
          isEnd = getLayerNameByIndex(layerIndex) == '</Layer group>' ? true:false;
       return layerIndex-1;
    function getChildIndex(idx, skipNested ){
       var layerSetIndex = idx;
       var isEndOfSet = false;
       var layerIndexArray = [];
       while(!isEndOfSet){
          layerSetIndex--;
          if( getLayerLayerSectionByIndex( layerSetIndex ) == 'layerSectionStart' && skipNested ){
             layerSetIndex = skipNestedSets( layerSetIndex );
      if(getLayerLayerSectionByIndex( layerSetIndex ) == undefined) break;
          isEndOfSet = getLayerNameByIndex(layerSetIndex) == '</Layer group>' ? true:false;
         if(!isEndOfSet ) layerIndexArray.push( layerSetIndex );
       return layerIndexArray;
    function selectLayerByIndex(index,add){
    add = (add == undefined)  ? add = false : add;
    var ref = new ActionReference();
        ref.putIndex(charIDToTypeID('Lyr '), index);
        var desc = new ActionDescriptor();
        desc.putReference(charIDToTypeID('null'), ref );
           if(add) desc.putEnumerated( stringIDToTypeID( 'selectionModifier' ), stringIDToTypeID( 'selectionModifierType' ), stringIDToTypeID( 'addToSelection' ) );
          desc.putBoolean( charIDToTypeID( 'MkVs' ), false );
       try{
        executeAction(charIDToTypeID('slct'), desc, DialogModes.NO );
    }catch(e){}
    function getIDXs(){
       var ref = new ActionReference();
       ref.putEnumerated( charIDToTypeID('Dcmn'), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') );
       var count = executeActionGet(ref).getInteger(charIDToTypeID('NmbL')) +1;
       var IDX=[];
    try{
        activeDocument.backgroundLayer;
    var i = 0; }catch(e){ var i = 1; };
       for(i;i<count;i++){
           if(i == 0) continue;
            ref = new ActionReference();
            ref.putIndex( charIDToTypeID( 'Lyr ' ), i );
            var desc = executeActionGet(ref);
            var layerName = desc.getString(charIDToTypeID( 'Nm  ' ));
            var Id = desc.getInteger(stringIDToTypeID( 'layerID' ));
            if(layerName.match(/^<\/Layer group/) ) continue;
            var layerType = typeIDToStringID(desc.getEnumerationValue( stringIDToTypeID( 'layerSection' )));
            var isLayerSet =( layerType == 'layerSectionContent') ? false:true;
            if(!isLayerSet) IDX.push(i);
    return IDX;
    function dupLayers(NewDocName) {
        var desc143 = new ActionDescriptor();
            var ref73 = new ActionReference();
            ref73.putClass( charIDToTypeID('Dcmn') );
        desc143.putReference( charIDToTypeID('null'), ref73 );
        desc143.putString( charIDToTypeID('Nm  '), NewDocName );
            var ref74 = new ActionReference();
            ref74.putEnumerated( charIDToTypeID('Lyr '), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') );
        desc143.putReference( charIDToTypeID('Usng'), ref74 );
        executeAction( charIDToTypeID('Mk  '), desc143, DialogModes.NO );
    function SaveJPEG(saveFile, jpegQuality){
    jpgSaveOptions = new JPEGSaveOptions();
    jpgSaveOptions.embedColorProfile = true;
    jpgSaveOptions.formatOptions = FormatOptions.STANDARDBASELINE;
    jpgSaveOptions.matte = MatteType.NONE;
    jpgSaveOptions.quality = jpegQuality;
    activeDocument.saveAs(saveFile, jpgSaveOptions, true,Extension.LOWERCASE);

  • Keep directory structure for extra files after installation

    I'm working on an AIR project in Flash CS5 that has some additional support files in a folder called "data".  In my publish setting, I included this folder.  When I run a test install of the AIR file, I no longer have a "data" folder in my installation directory.  How can I have the installer create this folder so I can access the support files?
    BTW, I'm on a Mac and only see the .app file after installation.  The support files will hold application preferences that need to be read and written to.

    Unfortunately, I am not able to reproduce the prodblem. To reproduce I added a folder called testFiles in the AIR Settings Window(In Included Files Section) shown below. And I got the same in Program Files when i installed the app.
    Am i doing anything different than you? BTW I am testing on Windows for now.

  • PC - Moving catalog and directory structure to a new HD

    Having filled my internal HD with images, I went out and purchased a new and bigger external hard drive. I want to move my images to the new drive while preserving both my directory structure and catalog information. From what I can see of the "move" command in PS Elements, it moves selected images to a new directory, but that's not what I want to do. I probably have a hundred named folders and I would like to keep the images in folders of the same name on the new drive. I don't want to have to move one directory at a time. Copying through the file manager can obviously do this, but I don't know if it will preserve my tags, etc.
    Is there a straightforward way to move files from one drive to another that preserves both directory structure and catalog information?
    Thanks in advance.
    Artie

    Humm, this is strange-Version 4 is supposed to move entire folders; Version 3 did not do this.
    Okay, Plan B.
    Open Elements and do a Full Backup and point to your external hard drive.
    When this has finished running, do a Restore. You should get a pop up asking if you want to use the existing folder structure. Answer Yes and point to your External HardDrive (EHD). This should copy your photos and the Organizer file over to your (EHD).
    Now look in Preferences under Files (I think, don't have program open) and you will see one value for where to store photos and one for Organizer location. Change these to your EHD so future photos and tags/collections are written to the EHD.
    Verify all your tags and collections came over correctly.
    If you are satisfied the transfer went correctly, you can erase your photos from your hard drive to free up space. You can also delete the Organizer file if you want.
    Option 2-Use Windows Explorer and move all the files from your hard drive to your EHD. This will keep your folder structure, but will cause havoc with Organizer.
    Open Organizer and do File>Reconnect All Missing. It will be all of them. You should have an option to change the drive to your EHD. It may take quite a while to reconnect all of them, but since all the folders/files are the same name it should find them all.
    If you wish, you can change the drive location manually. However, I've found many users 1) do not have MS Access on their machine and 2) are not experienced in using the program. If you are comfortable with the program, let me know and we'll get some directions.
    Finally, I see a copy of the post in the Technical side. Since most forum users read both sides of this forum, I'm going to reference this thread in that post so anyone can see what we have tried so far.

  • Time machine is turned off but my startup disk keeps filling up with backup files on a hidden volume.

    My Time Machine is turned off but my system startup drive keeps filling up with backup files in a hidden volume. How can I stop this? When Time Machine was turned on, the destination was set to an external drive.  I was completely confused about what was happening until I used Houdini to reveal the hidden volume. I have no idea how it got created or why it keeps filling up with no backup application running to my knowledge.  Thanks.

    Please read this whole message before doing anything.
    Download this, or a similar tool if you prefer:
    OmniDiskSweeper - Products - The Omni Group
    Boot in safe mode. The instructions provided by Apple are as follows:
    Be sure your Mac is shut down.
    Press the power button.
    Immediately after you hear the startup tone, hold the Shift key. The Shift key should be held as soon as possible after the startup tone, but not before the tone.
    Release the Shift key when you see the gray Apple icon and the progress indicator (looks like a spinning gear).
    During startup, you will see "Safe Boot" on the login screen, which appears even if you normally log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Safe mode is slower than normal, and some things won’t work at all, possibly including wireless networking.
    Does your boot volume continue to fill up? Use the above tool to explore the volume and find out where the space is going.

  • Directory Structures

    Hi,
    This is about the directory structures to use for development and
    deployment under weblogic. By default, as you all know, weblogic comes with
    a server called "myserver" whose directory strcuture has within it the
    public_html, serverclasses, servletclasses and clientclasses directories,
    with the jar files for the examples all residing in the myserver directory.
    The general tendency for developers is to use simply use that very structure
    as is. I think that may prove to be unwieldy during deployment (especially
    when there will be multiple servers running on multiple machines, etc.) as
    well as during development (integrating with source code control, etc.)
    Here are my questions:
    1) How have people weblogic developers organized their directory structures
    for deployment? It seems to me that it would make sense to have a directory
    structure that has at least a "lib" directory under which the jar files were
    put, a "log" directory for log files, a "cert" directory for certificates,
    etc.
    2) In addition, is there an absloute need for the myserver directory to sit
    under the weblogic tree? I would think it would make sense to not have the
    deployment directory structures not tied to the weblogic installation's
    location.
    3) If there are multiple servers that will be deployed (each instantiating
    its own set of services that are implemented as session and entity EJBs),
    does one introduce an entire directory structure for each server or have a
    common directory structure with each server having its own properties file ?
    Currently, I have it setup so that each server that is introduced, e.g.,
    pricing servers, fulfillment servers, etc. has its own properties file and
    that the entire directory tree sits separate from the weblogic installation,
    to facilitate tight integration with source code control. Having resolved
    the regular issues that arise with the CLASSPATH, ClassCastExceptions, etc.,
    we're up and running, but I have had a tough time convincing my developers
    about the merits of deviating from the standard development tree stcucture.
    Do people have any opinions about this, and are there any experiences they
    can share with me? I'd be more than willing to to change course based on
    others' experiences.
    Sorry for the long-winded message.
    TIA,
    Prashanth

    Prashanth Nandavanam wrote:
    >
    Hi,
    This is about the directory structures to use for development and
    deployment under weblogic. By default, as you all know, weblogic comes with
    a server called "myserver" whose directory strcuture has within it the
    public_html, serverclasses, servletclasses and clientclasses directories,
    with the jar files for the examples all residing in the myserver directory.
    The general tendency for developers is to use simply use that very structure
    as is. I think that may prove to be unwieldy during deployment (especially
    when there will be multiple servers running on multiple machines, etc.) as
    well as during development (integrating with source code control, etc.)
    Here are my questions:
    1) How have people weblogic developers organized their directory structures
    for deployment? It seems to me that it would make sense to have a directory
    structure that has at least a "lib" directory under which the jar files were
    put, a "log" directory for log files, a "cert" directory for certificates,
    etc.That's how I'd do it. I think that the locations of all the
    resources you need are configurable. If they're not, let us know.
    2) In addition, is there an absloute need for the myserver directory to sit
    under the weblogic tree? I would think it would make sense to not have the
    deployment directory structures not tied to the weblogic installation's
    location.No, it can be anywhere you like. Make sure you adjust the security
    policy
    file so Java 2 will let the server access your classes.
    3) If there are multiple servers that will be deployed (each instantiating
    its own set of services that are implemented as session and entity EJBs),
    does one introduce an entire directory structure for each server or have a
    common directory structure with each server having its own properties file ?
    Currently, I have it setup so that each server that is introduced, e.g.,
    pricing servers, fulfillment servers, etc. has its own properties file and
    that the entire directory tree sits separate from the weblogic installation,
    to facilitate tight integration with source code control. Having resolved
    the regular issues that arise with the CLASSPATH, ClassCastExceptions, etc.,
    we're up and running, but I have had a tough time convincing my developers
    about the merits of deviating from the standard development tree stcucture.The "standard" directory tree exists only for the purpose of running
    the examples that are shipped with WLS. The WebLogic development
    team does exactly what you propose to do, and for the reasons you
    state: to keep our deployment configuration under source control in a
    location that keeps it separate from the examples support in myserver
    and to make it easy to re-install the server without disturbing our
    configuration files. We routinely run WebLogic Server from a
    configuration
    that completely ignores the WEBLOGICHOME/myserver directory.
    Do people have any opinions about this, and are there any experiences they
    can share with me? I'd be more than willing to to change course based on
    others' experiences.
    Sorry for the long-winded message.
    TIA,
    Prashanth--
    Chuck Karish BEA Systems
    (415) 402-7692 http://www.bea.com/

  • Directory Migration with changing schema

    Hi,
    We are planning a directory migration as part of an implementation of Sun Identity Manager.
    The directory migration is from one set of servers to another and comprises an upgrade from Directory 5.2 to 6.3, and a schema change.
    We'd like to have a rollback plan that involves copying changes from the new directory to our legacy servers. A delay is acceptable.
    We're doing two things to our schema which increases the complexity:
    - Users are being segregated, e.g.:
    OLD: uid=123456,ou=People,ou=UK,dc=root
    NEW: uid=123456,ou=Internal,ou=Users,dc=root OR uid=567890,ou=External,ou=Users,dc=root
    - Replacing an ou hierarchy containing Groups (groupofuniquenames) to nsRoleDN attributes on users.
    We'd like to avoid writing some kind of custom script to retrieve changes, modify them and insert them into the old directory.
    Directory Proxy doesn't seem to be the right tool for this job.
    Could anyone suggest an alternative?

    So I have done this migration before - The directory information is not so bad to get migrated in fact the Novell IDM could do that piece for you.
    Migrating the files, and security over will be an exercise in icacls
    Logon scripts/Group policy preferences will need to be done to convert the existing drive mapping scripts over, Look at DFS for this so you only have to migrate once.
    If everything is planned out it will keep the migration smooth, but truly understanding the role of Novell IDM in the environment, analyzing the shared files and data (Good time to cleanup, hint hint), validating the groups and security are set up correctly
    will aid immensely.
    I would also do in batches based on shared data and not try to move everyone at one big move, that way as departments move you can get the kinks out of the process.
    From a workstation that has the novell client you can script the data copy with robocopy over to the new home
    once the data is copied over, robocopy can keep the data sync'd until users are migrated over.
    Novell has the ability of exporting directory structures with permissions on them, scripting icacls will get the permissions repopulated on the MS side. Groups and users of course would need to be there already.
    Thanks,
    Brad Held
    Windorks.wordpress.com
    View
    Brad Held's profile

  • Directory structure for  ABAP+JAVA Dialog Instance

    Hello,
    Can any one clarify how will be the directory structure in a case where we have ABAP+Java System?
    For Central Instance,DVEBMGS<instance no>
    Central Services,SCS<instance no+1>
    Ex:DVEBMGS20
    SCS21
    If I have another dialog instance,can I have only ABAP or only Java in that?What will be the directory structure?But I read that they will be in 1:1 ratio
    Will it be D22(Only ABAP) or J22(Java only).
    As a dialog instance,can ABAP exist with out JAVA.
    or can JAVA exist without ABAP
    Please explain the directory structure with an example.
    Thanks,
    Sudheer.

    Sudheer,
    http://www.redbooks.ibm.com/redpapers/pdfs/redp4200.pdf page No 24 should help you...

  • Directory Structure ?s for an Exploded Web Application

    We have an application that consists only of JSPs and Servlets, no
    EJBs. I am researching whether or not it's worthwhile to start using
    EJBs. We're also migrating from Weblogic 5 to 6.1. I've managed to
    migrate our application fine and have it up and running on WLS 6.1.
    I'm confused about the exploded directory structure, the
    application.xml file, where to put the EJBs and whether or not I have
    to jar them. Here's our current directory structure:
    DefaultWebApp/               JSPs here
    DefaultWebApp/WEB-INF          web.xml and weblogic.xml here
    DefaultWebApp/WEB-INF/classes     Servlets and other classes here
    DefaultWebApp/WEB-INF/lib     do my un-jar-ed EJBs go here?
    I've been reading a lot of BEA's documentation, particularly
    ‘Deploying an Exploded J2EE Application' and a ‘Web Application PDF',
    and looking for relevant threads on the weblogic.developer.interest
    groups. It looks like the application.xml should go in a new
    DefaultWebApp/META-INF directory. But where do the EJBs go?
    I also see some directory structures with another /web directory
    that's confusing me.
    Oh, I've also managed to compile and jar up a trial Stateless Session
    EJB. Then I think I ‘auto-deployed' it into the /applications
    directory, and Weblogic seems to recognize it. But when I tried to
    reference it in a JSP, I got an error message ‘class x is public,
    should be declared in a file named x.java'. I'm assuming this is
    related to the application.xml, where I need to define the ejb
    directory.
    Thanks.

    To deploy your web app together with your EJBs, you need to create
    an "EAR" structure. Both your webapp and your EJB jars will be within
    this new structure, at the same level. You may jar up your EJBs, or you
    may explode their structure, it's up to you.
    The resulting structure should look something like below:
    EnterpriseApp/ <-- new top level
    EnterpriseApp/META-INF/
    EnterpriseApp/META-INF/application.xml
    EnterpriseApp/lib/ <-- shared libraries (if any)
    EnterpriseApp/EJB/ <-- ejbs go here
    EnterpriseApp/EJB/META-INF/ejb-jar.xml
    EnterpriseApp/EJB/META-INF/weblogic-ejb-jar.xml
    EnterpriseApp/EJB/com/your/ejb/classes/here
    EnterpriseApp/WebApp/ <-- move your current app here
    EnterpriseApp/WebApp/index.jsp <-- JSPs goes here
    EnterpriseApp/WebApp/other.jsp
    EnterpriseApp/WebApp/WEB-INF/web.xml
    EnterpriseApp/WebApp/WEB-INF/weblogic.xml
    EnterpriseApp/WebApp/WEB-INF/lib <-- ui libraries go here
    EnterpriseApp/WebApp/WEB-INF/classes <-- servlets go here
    The above structure is identical to the structure to an EAR file, only "exploded"
    as actual files and directories instead of being "jarred" into a single EAR file.
    Your application.xml in this case would specify something like:
    <application>
    <display-name>EnterpriseApp</display-name>
    <description>My Enterprise Application</display-name>
    <module>
    <ejb>EJB</ejb>
    </module>
    <module>
    <web>
    <web-uri>WebApp</web-uri>
    <context-root>/yourAppRoot</context-root>
    </web>
    </module>
    </application>
    And in config.xml you would have an entry similar to:
    <Application Deployed="true" Name="EnterpriseApp"
    Path=".\config\mydomain\applications\EnterpriseApp">
    <WebAppComponent Name="ui" Targets="myserver" URI="WebApp"/>
    <EJBComponent Name="ejb" Targets="myserver" URI="EJB"/>
    </Application>
    regards,
    -Ade

  • Ant Directory structure.

    Hi,
    We are developing J2EE application that would contain number of components. Each component would be a ear file that would contain EJB jars and war which can be deployed in any J2EE compliant application server.
    We are currently using Bedrock framework for applications deployed in Weblogic. It provides a very robust directory structure with most of the ant targets. However it is very custom for Weblogic.
    Is there a similar framework that provides a robust directory structure (with built ant targets) which can be delopyed into Orion/Oracle Application Server.
    If not, is there any standard directory structure for building J2EE applications? Any recommended source directory structure and why?
    Any help is greatly appreciated.
    Thanks
    Sumanth

    ATProject
    |
    |-->Business
    |
    |-->Common
    |
    |-->Ear
    |
    |-->Ejb
    |
    |---- . so on
    like this the folderers are created for modularizing and also separation of code for
    easier maintainance.
    the Build.xml for ant i am posting here
    <?xml version="1.0" encoding="UTF-8"?>
    <project name="MainDeploy" default="development_build">
         <target name="development_build">
              <antcall target="ear">
                   <param name="directive" value="development"/>
              </antcall>
         </target>
         <target name="integration_build">
              <antcall target="ear">
                   <param name="directive" value="development"/>
              </antcall>
         </target>
         <target name="qa_build">
              <antcall target="ear">
                   <param name="directive" value="qa"/>
              </antcall>
         </target>
         <target name="production_build">
              <antcall target="ear">
                   <param name="directive" value="production"/>
              </antcall>
         </target>
    <!-- ################################ Build Calls ################################# -->
    <!-- ********************** Build the ats_ear.ear ******************** -->          
         <target name="ear" depends="web">
              <echo>Entering the EAR process</echo>
              <ant antfile="ear.xml" target="${directive}"/>
         </target>
    <!-- ********************* Build the ats.war ******************* -->          
         <target name="web" depends="business">
              <echo>Entering the Web process</echo>
              <ant antfile="web.xml" target="${directive}"/>
         </target>
    <!-- ********************* Build the ats_business.jar ******************* -->     
         <target name="business" depends="ats_ejb">
              <echo>Entering the Business process</echo>
              <ant antfile="business.xml" target="${directive}"/>
         </target>
    <!-- ********************** Build the ats_ejb.jar ******************** -->     
         <target name="ats_ejb" depends="integration">
              <echo>Entering the Prototype EJB process</echo>
              <ant antfile="ejb.xml" target="${directive}"/>
         </target>
    <!-- ******************** Build the prototype_integration.jar ************** -->
         <target name="integration" depends="common">
              <echo>Entering the Integration process</echo>
              <ant antfile="integration.xml" target="${directive}" />
         </target>     
    <!-- ********************** Build the ats_common.jar ******************** -->     
         <target name="common" depends="vo">
              <echo>Entering the Common process</echo>
         <ant antfile="common.xml" target="${directive}"/>
         </target>
    <!-- ********************** Build the ats_vo.jar ******************** -->          
         <target name="vo">
              <echo>Entering the VO process</echo>
              <ant antfile="vo.xml" target="${directive}"/>
         </target>
    </project>
    /// End of Build.xml
    Start of modular xml.. for examlpe Business.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <project name="business" default="development">
         <!-- set global properties -->
         <property file="global.properties"/>
         <path id="library.path">
              <fileset dir="${localdir}/lib">
                   <include name="**/*.jar"/>
                   <include name="**/*.zip"/>
              </fileset>
         </path>
         <property name="build" location="${localdir}/business/build"/>
         <!-- set properties based on build type -->
         <target name="development">
              <antcall target="create_jar"/>
         </target>
         <target name="integration">
              <antcall target="create_jar"/>
         </target>
         <target name="qa">
              <echo>Creating the business archive for qa</echo>
              <param name="promo" value="qa"/>
              <antcall target="create_jar"/>
         </target>
         <target name="production">
              <echo>Creating the business archive for production</echo>
              <param name="promo" value="production"/>
              <antcall target="create_jar"/>
         </target>
         <!-- Run during every execution -->
         <target name="copy_files">
         <mkdir dir="${localdir}/business/build"/>
         <copy overwrite="yes" todir="${build}">
         <fileset dir="${localdir}/business/src">
              <exclude name="**/*.java"/>
              <exclude name="**/*.class"/>
              <exclude name="**/*.jpx"/>
              <exclude name="**/*.dep2"/>
         </fileset>
         </copy>
         </target>
         <!-- Compile the java source into the deploy directory with optimization -->
         <target name="compile_source" depends="copy_files">
              <echo>Compiling source</echo>
              <javac srcdir="${localdir}/business/src" destdir="${build}" >
                   <classpath refid="library.path"/>
              </javac>
         </target>
         <!-- Create the JAR file to be deployed -->
         <target name="create_jar" depends="compile_source">
              <echo>Creating JAR file from compiled source</echo>
              <jar jarfile="${localdir}/lib/ats_business.jar"
                   basedir="${build}"/>
         </target>
    </project>
    Hope you could get me
    Alll The BEst

  • Trying to copy a directory structure without all of the files.

    Hi,
    Is there a way to copy a directory structure with a number of subdirectories without all of the directory files coming along with it. I thought the cpio command would do that but I can't figure out how to use it.

    CPIO needs a list of files, normally you generate them with 'find', so that would work.
    There's an old thread about this on comp.unix.solaris. Personally, I like my 'rsync' solution. :-) But reading the entire thread may be a good idea.
    http://groups.google.com/group/comp.unix.solaris/browse_thread/thread/e84b458b3ce4b3b8/
    Darren

  • Restoring Rman backup on New Host with different directory structure

    Hi,
    I have a following scenario to clone the database.
    1. clone the database on new server
    2. source is non - ASM and target is ASM
    3. On source incremental level 0 backup taken on disk connecting to catalog, the backup is moved to target host to different directory structure
    4. source is running on 32-bit Linux two node Rac and Target is running on 64-bit Linux two node Rac
    I did the following steps and getting below error:
    1. I copied incremental Level 0 backup to target server(where we need to build new db) to different directory structure
    2. On target i created pfile and build the instance, as dbf file are in multiple locations in source i put following tow parameters in init.ora of target database
    *.db_file_name_convert =(/u02/oradata/app1p/,+QADATA2/udev/datafile),(/u03/oradata/app1p/,+QADATA1/udev/datafile),(/u12/oradata/app1p/,+QADATA1/udev/datafile,),(/u99/oradata/app1p/,+QADATA1/udev/datafile),(/u09/oradata/app1p/,+QADATA1/udev/datafile),(/u14/oradata/app1p/,+QADATA1/udev/datafile),(/u07/oradata/app1p/,+QADATA1/udev/datafile),(/u06/oradata/prod/,+QADATA1/udev/datafile'),(/u05/oradata/app1p/,+QADATA1/udev/datafile)
    *.log_file_name_convert =("/u99/oradata/app1p/","+QADATA2/udev/onlinelog/")
    3. connected to rman -->> started db in nomount -->> restored the controlfile --> cataloged the backup piece and then i am trying to restore
    All the above steps i did using the Doc id *How To Restore Rman Backups On A Different Node When The Directory Structures Are Different [ID 419137.1]*
    script i am using is :
    RMAN> run {
    2> set until time "to_date('DEC/20/2010 05:30:00','Mon/DD/YYYY HH24:MI:SS')";
    3> allocate channel c1 device type disk;
    4> allocate channel c2 device type disk;
    5> allocate channel c3 device type disk;
    6> allocate channel c4 device type disk;
    7> set newname for datafile 1 to '+QADATA1/UDEV/DATAFILE';
    8> set newname for datafile 2 to '+QADATA1/UDEV/DATAFILE';
    9> set newname for datafile 3 to '+QADATA1/UDEV/DATAFILE';
    10> set newname for datafile 4 to '+QADATA1/UDEV/DATAFILE';
    11> set newname for datafile 5 to '+QADATA1/UDEV/DATAFILE';
    12> set newname for datafile 6 to '+QADATA1/UDEV/DATAFILE';
    13> set newname for datafile 54 to '+QADATA1/UDEV/DATAFILE';
    set newname for datafile 63 to '+QADATA1/UDEV/DATAFILE';
    14> 15> set newname for datafile 67 to '+QADATA1/UDEV/DATAFILE';
    16> set newname for datafile 68 to '+QADATA1/UDEV/DATAFILE';
    17> set newname for datafile 50 to '+QADATA1/UDEV/DATAFILE';
    18> set newname for datafile 39 to '+QADATA1/UDEV/DATAFILE';
    19> set newname for datafile 38 to '+QADATA1/UDEV/DATAFILE';
    20> set newname for datafile 7 to '+QADATA1/UDEV/DATAFILE';
    21> set newname for datafile 9 to '+QADATA1/UDEV/DATAFILE';
    22> set newname for datafile 8 to '+QADATA1/UDEV/DATAFILE';
    23> set newname for datafile 11 to '+QADATA1/UDEV/DATAFILE';
    24> set newname for datafile 10 to '+QADATA1/UDEV/DATAFILE';
    25> set newname for datafile 66 to '+QADATA1/UDEV/DATAFILE';
    26> set newname for datafile 48 to '+QADATA1/UDEV/DATAFILE';
    27> set newname for datafile 47 to '+QADATA1/UDEV/DATAFILE';
    28> set newname for datafile 12 to '+QADATA1/UDEV/DATAFILE';
    29> set newname for datafile 13 to '+QADATA1/UDEV/DATAFILE';
    30> set newname for datafile 14 to '+QADATA1/UDEV/DATAFILE';
    31> set newname for datafile 15 to '+QADATA1/UDEV/DATAFILE';
    32> set newname for datafile 16 to '+QADATA1/UDEV/DATAFILE';
    33> set newname for datafile 18 to '+QADATA1/UDEV/DATAFILE';
    34> set newname for datafile 17 to '+QADATA1/UDEV/DATAFILE';
    35> set newname for datafile 19 to '+QADATA1/UDEV/DATAFILE';
    36> set newname for datafile 69 to '+QADATA1/UDEV/DATAFILE';
    37> set newname for datafile 60 to '+QADATA1/UDEV/DATAFILE';
    38> set newname for datafile 59 to '+QADATA1/UDEV/DATAFILE';
    39> set newname for datafile 55 to '+QADATA1/UDEV/DATAFILE';
    40> set newname for datafile 53 to '+QADATA1/UDEV/DATAFILE';
    41> set newname for datafile 44 to '+QADATA1/UDEV/DATAFILE';
    set newname for datafile 22 to '+QADATA2/UDEV/DATAFILE';
    42> 43> set newname for datafile 21 to '+QADATA2/UDEV/DATAFILE';
    set newname for datafile 20 to '+QADATA2/UDEV/DATAFILE';
    44> 45> set newname for datafile 72 to '+QADATA2/UDEV/DATAFILE';
    46> set newname for datafile 70 to '+QADATA2/UDEV/DATAFILE';
    47> set newname for datafile 65 to '+QADATA2/UDEV/DATAFILE';
    48> set newname for datafile 64 to '+QADATA2/UDEV/DATAFILE';
    49> set newname for datafile 57 to '+QADATA2/UDEV/DATAFILE';
    50> set newname for datafile 56 to '+QADATA2/UDEV/DATAFILE';
    51> set newname for datafile 49 to '+QADATA2/UDEV/DATAFILE';
    52> set newname for datafile 45 to '+QADATA2/UDEV/DATAFILE';
    53> set newname for datafile 26 to '+QADATA2/UDEV/DATAFILE';
    54> set newname for datafile 25 to '+QADATA2/UDEV/DATAFILE';
    55> set newname for datafile 24 to '+QADATA2/UDEV/DATAFILE';
    56> set newname for datafile 23 to '+QADATA2/UDEV/DATAFILE';
    57> set newname for datafile 27 to '+QADATA2/UDEV/DATAFILE';
    58> set newname for datafile 28 to '+QADATA2/UDEV/DATAFILE';
    59> set newname for datafile 29 to '+QADATA2/UDEV/DATAFILE';
    60> set newname for datafile 30 to '+QADATA2/UDEV/DATAFILE';
    61> set newname for datafile 73 to '+QADATA2/UDEV/DATAFILE';
    62> set newname for datafile 32 to '+QADATA2/UDEV/DATAFILE';
    63> set newname for datafile 31 to '+QADATA2/UDEV/DATAFILE';
    64> set newname for datafile 34 to '+QADATA2/UDEV/DATAFILE';
    65> set newname for datafile 33 to '+QADATA2/UDEV/DATAFILE';
    66> set newname for datafile 35 to '+QADATA2/UDEV/DATAFILE';
    67> set newname for datafile 36 to '+QADATA2/UDEV/DATAFILE';
    68> set newname for datafile 37 to '+QADATA2/UDEV/DATAFILE';
    69> set newname for datafile 51 to '+QADATA2/UDEV/DATAFILE';
    70> set newname for datafile 43 to '+QADATA2/UDEV/DATAFILE';
    71> set newname for datafile 40 to '+QADATA2/UDEV/DATAFILE';
    72> set newname for datafile 41 to '+QADATA2/UDEV/DATAFILE';
    set newname for datafile 71 to '+QADATA2/UDEV/DATAFILE';
    set newname for datafile 58 to '+QADATA2/UDEV/DATAFILE';
    set newname for datafile 52 to '+QADATA2/UDEV/DATAFILE';
    set newname for datafile 46 to '+QADATA2/UDEV/DATAFILE';
    set newname for datafile 42 to '+QADATA2/UDEV/DATAFILE';
    73> 74> 75> 76> 77> 78> set newname for datafile 62 to '+QADATA2/UDEV/DATAFILE';
    79> set newname for datafile 61 to '+QADATA2/UDEV/DATAFILE';
    80> set newname for datafile 74 to '+QADATA2/UDEV/DATAFILE';
    81> restore database;
    82> switch datafile all;
    83> recover database;
    84> alter database open resetlogs;
    85>
    86> release channel c1;
    87> release channel c2;
    88> release channel c3;
    89> release channel c4;
    90> }
    Getting the following error, copied lines from the error i am getting.
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    Starting restore at 27-DEC-10
    released channel: c1
    released channel: c2
    released channel: c3
    released channel: c4
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 12/27/2010 08:09:08
    RMAN-06026: some targets not found - aborting restore
    RMAN-06100: no channel to restore a backup or copy of datafile 74
    RMAN-06100: no channel to restore a backup or copy of datafile 73
    Please advice...
    Thanks,
    Tanveer Mohammed

    If you would like, please refer the link:-
    http://gavinsoorma.com/2010/04/creating-an-asm-duplicate-database-from-a-non-asm-database/

Maybe you are looking for

  • Problem with second display in premiere CS5

    Hi. I have a problem with external device, I have Mac Pro with ATI radeon HD 5770 and two displays 24 LED display that is primary and second 27 LED cinema display, in Premiere on external device only none and DV 720 576 and no second display.

  • Java to crystal reports

    hi all how to connect java to crystal reports i want to sample code please help me thanks

  • How can I open a second itunes account in another country?

    If I want to buy itunes music and I'm in another country, can I open another account?

  • ISync NOKIA 5000d-2

    Starting this topic because it seems the issue of enabling iSync for the Nokia 5000d-2 has not been fully resolved for everyone (um... me, for example). The previous FIX posted for the Nokia 5000 is here: http://discussions.apple.com/message.jspa?mes

  • Image Importing Trouble

    Hello all I am such a noob.. I have been trying to import an image into my file so I can work with it.. only problem is when I do it (whether its to stage or library) all I get on the stage is a square without the image. if I test my movie I can see