Moving in directory structure through servlet

Hi everyone,
I am currently using this directory structure and have 2 web applications "myweb1" and "myweb2".
/myweb1/jsp pages
/myweb1/WEB-INF
/myweb1/WEB-INF/classes
/myweb1/WEB-INF/classes/myservlet
/myweb1/WEB-INF/lib
/myweb2/display.jsp
/myweb2/WEB-INF
/myweb2/WEB-INF/classes
/myweb2/WEB-INF/lib
I have a servlet named "myservlet" in WEB-INF/classes directory(myweb1 application) as shown above. I have following entries in my web.xml file of "myweb1" webapplication.
<servlet>
<servlet-name>myservlet</servlet-name>
<display-name>myservlet</display-name>
<servlet-class>com.abc.servlet.myservlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>myservlet</servlet-name>
<url-pattern>/myservlet</url-pattern>
</servlet-mapping>
This whole application is running fine. Now I need to forward user from "myservlet" to "display.jsp" page in myweb2 application.
I am using this line in "myservlet" file.
getServletConfig().getServletContext().getRequestDispatcher("../myweb2/display.jsp").forward(request, response);
however this line is not working. Can anyone suggest me how to access display.jsp file from myservlet.
Thanks.
Rahul

As long as everything is running within the same application server instance, you should be able to access both contexts. The key is using the getContext(String URI) method of the ServletContext. From the servlet in webapp1:RequestDispatchter dispatch =
    getServletContext().getContext("/webapp2").getRequestDispatcher("display.jsp");You may have to fiddle with the value in the getContext call (it should be the application context of webapp2) but you should be able to get this to work.

Similar Messages

  • Directory structure for servlets and webservices in one application

    hi,
    Can any one help me for creating servlets and webservices in one
    application and deploying in Jboss 4.2.0.
    I want to know exactly what is the directory structure for creating this
    application and what are the additional .xml files for deploying this application.
    if any one know this answere please tell the answere.

    I figured out a solution - it's a problem of policies. In detail: Server1's codebase entry (file:) refers to the class directory of Server1's project. In the simple case of only Client1, which has no codebase entry, it works fine without a file permission on the side of Server1. In the complex case of Client1+Server2, which has to have a codebase entry (file:) refering to the class directory of the Server2's project on a separate machine, for exactly the same method call from Client1 to Server1 a file permission entry on the side of Server1 is needed for Server1's class directory. But WHY ???
    It seems to be a little confusing with the codebase entries, many of the posts are contrary to others and to my personal experiences. Some comments given by Adrian Colley throw a little light upon some aspects. Is there anybody, who can explain the whole topic, when, why, and which part of RMI application deals with codebase entries, also in case of not dynamic code downloading ? May be there is also a reference into the java docs, which I didn't found up to now.
    Thanks in advance
    Axel

  • Need to browse solaris directory structure through windows (JFileChooser).

    Is there any way or any external API exist through which we can access the solaris/unix directory structure from windows through JFileChooser.

    johndjr wrote:
    I assumed it did and then and it wasn't until after you asked that I questioned my self as to whether I knew that or I just thought I knew it. After a brief check it seems that it does
    [some anecdotal evidence|http://wikis.sun.com/display/BigAdmin/Enabling+Browsing+with+Samba+in+Solaris+10+Update+4]
    I lucked out this time.Nifty - thanks for the link!

  • 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"));

  • Is there any way to specify a URL in the servlet-mapping that doesn't need to be in the directory structure?

              I migrated from WebLogic 5.1 to 7.0.2 Something I used to have set-up in 5.1 no
              longer
              works.
              I am using the weblogic.servlet.FileServlet and have the URL "/cxedocs/" mapped
              to this
              servlet. So whenever the URL http://localhost:7001/cxedocs/en_US/index.html
              is used it would use the docHome associated with the /cxedocs/ URL and then append
              the "en_US/index.html" on to it. So let's say d:\temp\en_US\index.html
              But now for WL 7.0.2 it appears that the URL also needs to be in the directory
              structure.
              So it now takes the docHome "d:\temp" adds the URL "/cxedocs/" and then appends
              the
              rest - so d:\temp\cxedocs\en_US\index.html.
              I can't require that the "cxedocs" directory be there. Is there anyway to map
              a certain URL
              without requiring it in the directory structure. I looked at virtual directory
              mapping too but
              it still seemed to require this.
              Any help would be appreciated!
              Thanks!
              -Lori
              

              I opened up a case with support on this. After some research they came back with
              that
              NO there is no way to do this. In 6.0 it was changed to follow the spec which
              restricts this.
              The URL must be part of the directory path.
              -Lori
              "Lori Ronning" <[email protected]> wrote:
              >
              >I migrated from WebLogic 5.1 to 7.0.2 Something I used to have set-up
              >in 5.1 no
              >longer
              >works.
              >
              >I am using the weblogic.servlet.FileServlet and have the URL "/cxedocs/"
              >mapped
              >to this
              >servlet. So whenever the URL http://localhost:7001/cxedocs/en_US/index.html
              >is used it would use the docHome associated with the /cxedocs/ URL and
              >then append
              >the "en_US/index.html" on to it. So let's say d:\temp\en_US\index.html
              >
              >But now for WL 7.0.2 it appears that the URL also needs to be in the
              >directory
              >structure.
              >So it now takes the docHome "d:\temp" adds the URL "/cxedocs/" and then
              >appends
              >the
              >rest - so d:\temp\cxedocs\en_US\index.html.
              >
              >I can't require that the "cxedocs" directory be there. Is there anyway
              >to map
              >a certain URL
              >without requiring it in the directory structure. I looked at virtual
              >directory
              >mapping too but
              >it still seemed to require this.
              >Any help would be appreciated!
              >Thanks!
              >-Lori
              

  • 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.

  • Directory Structure for multiple applications at one host

    Can I have multiple (more than one) WEB-INF directory structures in the public_html directory for different web applications? If I do this, how do setup the url-pattern in the Servlet Mapping tag in the web.xml file? How do I setup the URL that calls the servlet from the HTML that has been send to the user�s browser?

    If I understand your question, you want multiple contexts. All App Servers/Web Servers allow you to setup multiple contexts. Normally if your root context is in /home/myhome/app_server/
    then you would setup multiple contexts by creating a folder for each context:
    /home/myhome/app_server/context1/
    /home/myhome/app_server/context2/
    Each would have their own full application/website. And the way to reference these would be as such:
    if the domain, www.mydomain.com, is mapped to /home/myhome/app_server/
    www.mydomain.com/context1/
    www.mydomain.com/context2/
    I think that is what you were asking. Hope it helps

  • Directory structure for a J2SE+J2EE project: suggestions are very welcome

    Hi, I have to start coding and organizing the CVS tree of an already mature project which is J2SE. This J2SE project can be described as a "core engine" for something else, and is a quite large project, and up to now has only a command line User Interface. I organized the dir structure as this:
    /build.xml
    /src/
    /src/java/<package>/...../*.java
    /src/demo/<package/...../*.java
    /src/test/<package>/....../*.java
    when I ant compile, all the .classes will be done in the "build" directory (reflecting the structure in the "src" dir):
    /build/
    /build/java/<package>/....../*.class
    /build/demo/<package/...../*.class
    /build/test/<package>/..../*.class
    I am happy with this, but now comes the issue: a web interface to use this core engine (it will have the same package namespace) is in developing progess, so I have to put somewhere the *.jsp, the WEB-INF dir with web.xml and servlet sources: how would you do this? And where would you let Ant put the compiled servlet classes?
    I can modify the previous directory structure to accomodate the J2EE part, this is really not a problem!
    Thanks to who can suggest me a clean solution
    Alessio

    Create a web-inf folder at the same level of src and
    jsp folder inside src
    i mean
    /build.xml
    /src/
    /src/java/<package>/...../*.java
    /src/demo/<package/...../*.java
    /src/test/<package>/....../*.java
    /src/jsp
    /web-infSo, would you put in /src/jsp only the *.jsp?
    And what in /WEB-INF ? What woud you put there? Would you do something like:
    /WEB-INF/web.xml
    /WEB-INF/src/<package>/..../<my_servlets_and_j2ee_stuff>.java
    /WEB-INF/classes/<package>/..../<my_servlets_and_j2ee_stuff>.java
    In this manner sources and classes are in the same tree, it does not seem very clean to me, expecially if you consider that probably I must have a "test" directory to unit test some j2ee stuff (as for the j2se stuff in "src"): how would you do that?
    Is this directory structure anyway what you meant or not?
    alessio

  • Directory structure after upgrade to iPhoto 6

    After upgrading to iPhoto 6, it appears that my photos were copied from the old, date-based structure into a new directory structure, but the old structure was left behind.
    What is the layout of the new structure, and can the remaining old structure be discarded at this point?
    Thanks for any insight you might be able to offer...

    The new structure organizes photos into Originals and Modified folders. There is a third folder called Data that contains thumbnails created for the photos (smaller pictures used for better performance). These three are essential for iPhoto 6 to work.
    Each folder contains a folder for each year (a year folder is created if you have even one photo from that year, e.g. a photo from 4/3/2004 will create a folder called "2004" and any other photos from that year will then be placed within it.
    Every import creates a serially numbered Roll folder within the year folder. So if you import photos including IMG_234.jpg from 4/3/2004, for example, the location of IMG_234.jpg will be:
    iPhoto Library/Originals/2004/Roll 1/IMG_234.jpg
    And Roll 1 will have other photos imported in the same session. If you modify the photo within iPhoto (enhance, retouch, etc), the modified copy will exist in:
    iPhoto Library/Modified/2004/Roll 1/IMG_234.jpg
    The Data folder will contain a thumbnail for the image in the same path as the Originals:
    iPhoto Library/Data/2004/Roll 1/IMG_234.jpg
    So inside the iPhoto Library folder, you will see some files and those three folders with their sub-structure folders. Other things within the top level of the iPhoto Library folder, are leftovers from the previous structure - such as a folder called "2004" or "2005" that ISN'T inside Originals, Data, or Modified folders.
    PhillyPhan's advice is sage. Don't mess with the insides of the iPhoto Library. However, I did verify on my own system after I upgraded, that year folders at the top level of the iPhoto Library are from previous versions of iPhoto. So you could move those, and those only, to a separate folder on your HD. I moved those off to a DVD-ROM and haven't seen problems since.
    Remember: Don't touch any files, and don't touch anything within Data, Originals, and Modified folders.

  • 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

  • Directory structure mirroring

    I have my mp3:s neatly organized in a directory structure on
    my disk. There's where I'd like to add and remove albums,
    and would like the itunes music library to automatically
    update when I make changes.
    I.e. if I add albums on my disk, I'd like them to appear in itunes (and on the ipod when syncing).
    And if I remove albums from my disk I'd like them to
    automatically disappear form itunes and the ipod.
    Can I make Itunes work like this? I dont like to make all
    changes twice, i.e. deleting both from the disk and then in
    itunes. This gets especially irritating when moving many
    albums.
    Ideas? Cheers / Tom
    Dell XPS PC   Windows XP Pro  

    You need to create a form and assign it to the reconciliation process. In the form, you need waveset.organization set to where you want the user objects placed. By default, waveset.organization is set to just "Top". You can get the DN, parse it into a list and write the xml code to use the list to place each in a different virtual organization.
    Start off simple, say create a container called Top:newusers. Take a copy of Empty Form and save it as orgEmpty Form or something. Define a field waveset.organization and just set its value to "Top:newusers". Then in the resource, set the reconciliation form to your new form.
    Try this, once you see new ids show up in Top:newusers, you then can enhance the logic to be more sophisticated in placing objects. That is, parse the DN into a list and walk the list for a IDM waveset.organization value.
    BTW, a good question to ask prospective IDM so called experts. Of 8 or so, I only met one that new how to do this efficiently.

  • Directory structure of JMS application

    either we must follow any directory structure just like servlets and ejb as web-inf and meta-inf in JMS.

    No real need - just use the JMS client directly in any JVM.
    If you are using MDBs then yes you need to use an EAR just like EJBs - but alternatively just use spring.xml...
    http://jencks.org/Message+Driven+POJOs
    James
    http://logicblaze.com/
    Open Source SOA

  • Standby Redo Log Files and Directory Structure in Standby Site

    Hi Guru's
    I just want to confirm, i know that if the Directory structure is different i need to mention these 2 parameter in pfile
    on primary site:
    DB_CONVERT_DATAFILE='standby','primary'
    LOG_CONVERT_DATAFILE='standby','primary'
    On secondary Site:
    DB_CONVERT_DATAFILE='primary','standby'
    LOG_CONVERT_DATAFILE='primary','standby'
    But i want to confirm this wheather i need to issue the complete path of the directory in both the above paramtere:
    like:
    DB_CONVERT_DATAFILE='/u01/oracle/app/oracle/oradata/standby','/u01/oracle/app/oracle/oradata/primary'
    LOG_CONVERT_DATAFILE='/u01/oracle/app/oracle/oradata/standby','/u01/oracle/app/oracle/oradata/primary'
    Second Confusion:-
    After transferring Redo Standby log files created on primary and taken to standby on the above mentioned directory structure and after restoring the backup of primary db alongwith the standby control file will not impact the physical standby redo log placed on the above mentioned location.
    Thanks in advance for your help

    Hello,
    Regarding your 1st question, you need to provide the complete path and not just the directory name.
    On the standby:
    db_file_name_convert='<Full path of the datafiles on primary server>','<full path of the datafiles to be stored on the standby server>';
    log_file_name_convert='<Full path of the redo logfiles on primary server>','<full path of the redo logfiles on the standby server>';
    Second Confusion:-
    After transferring Redo Standby log files created on primary and taken to standby on the above mentioned directory structure and after restoring the backup of primary db alongwith the standby control file will not impact the physical standby redo log placed on the above mentioned location.
    How are you creating the standby database ? Using RMAN duplicate or through the restore/recovery options ?
    You can create the standby redo logs later.
    Regards,
    Shivananda

  • OVM 3.0.1 - directory structure & adding resources

    Afternoon everyone,
    I've got OVM 3.0.1 up and running, so far so good.
    I had a question about the repository directory structure. If this has been addressed already, my apologies.
    In OVM 2.x, it was possible to copy over a variety of data (.iso's, .img's, templates, etc.) directly into the seed, iso and running pools on OVS and then register them through OVM. Is there a way to do this in OVM/OVS 3.0.1? Is it a matter of getting the correct syntax in the 'download location' dialog box that refers to the OVS 3.0.1 box? Or do you need a remote staging resource set up in order to import data?
    Best regards,
    J.

    861743 wrote:
    In OVM 2.x, it was possible to copy over a variety of data (.iso's, .img's, templates, etc.) directly into the seed, iso and running pools on OVS and then register them through OVM. Is there a way to do this in OVM/OVS 3.0.1? Is it a matter of getting the correct syntax in the 'download location' dialog box that refers to the OVS 3.0.1 box? Or do you need a remote staging resource set up in order to import data?You need a remote server to import data. This can be the Oracle VM Manager machine itself, as long as you can access it via http/https from the Oracle VM Servers (as the import happens on the Oracle VM Server machines). Just install Apache on your VM Manager machine and stash your templates/assemblies in /var/www/html.

  • Using already existing directory structure to create rolls

    I'm converting from iView into iPhoto. I have hundreds of directories titled things like 011606.SamuelWasBorn/ with subdirectories in there called /Images /FinishedImages /WebMedium /EmailSmall etc... and then plenty of .tif and .jpegs inside of those.
    I've been doing this one Cmd-Shift-I at a time, followed by a Cmd-A t select all, then a Cmd-Shift-N for a new album, followed by retyping in the name and dropping the date.
    Sigh. I'm 6 weeks into this now and still only 1/4 of the way through.
    Has anyone tried to drag and drop an entire directory structure into iPhoto's directory structure, fire up iPhoto, and have it recognize all that stuff as a whole bunch of new rolls that lack thumbnails? Would that work? Would iPhot then offer to update its thumbnails? And then would I be happy and fully integrated into my new iPhoto life?
    I'm just a bit too chicken to give it a try. If nobody's tried this before, I'll create a test library and give it a go, but if someone has experience with doing this, I'd appreciate any pointers.
    Thanks.
    Oren

    Oren:
    Welcome to the Apple Discussions. iPhoto creates a roll with the same name for any folder of image files that are imported into it. All you have to do is select your folders of source files and drag them into iPhoto's open window.
    If you want to use iPhoto's alias feature you can keep your current source folders and drag them into a library that's setup to not copy the files into it but use alias files. The library works as a conventional library with the exception that if you delete a photo from the library it does not delete the source file. That must be done manually via the Finder. I've created some Tutorials to assist users to convert over to an alias based system or go to an iView based one.
    I use iView as my primary image management and iPhoto's alias feature to create a library of the same source files. That way I have the best of both applications. Also, when using the alias method, the importing process is much faster. Good luck.

Maybe you are looking for