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

Similar Messages

  • Where to put simple html-file in WebLogic directory structure?

    After installing JDeveloper 11g and WebLogic 10.3 which came in the same exe-file (jdevstudio11110install.exe), I want to try WebLogic as a ordinary web server for a simple html-file. Where should the file be placed in WebLogics directory structure, and are there any settings that need to be done to get this to work?

    Thank you, Maxence -
    I made it work this way:
    - Entered the following in weblogic.xml for a simple dummy-servlet...
    (WebLogicServletTest-ProjectWebLogicServletTest-context-root)
    ... deployed to the WebLogic server:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <weblogic-web-app>
    <virtual-directory-mapping>
    <local-path>C:\WorkScratch\</local-path>
    <url-pattern>*.html</url-pattern>
    </virtual-directory-mapping>
    </weblogic-web-app>
    WebLogic served up the hoppla.html-file in the C:\WorkScratch directory with the following browser URL:
    http://192.168.15.108:8900/WebLogicServletTest-ProjectWebLogicServletTest-context-root/hoppla.html

  • 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

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

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

  • 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

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

  • Can't I change the directory structure?

              Hello Everybody,
              So far everything is working when use the default directory structure,i.e. mydomain/applications/myWebApp/WEB-INF/classes/some package structure.
              But we have application with lot of html files which call servlets like this..myWebApp/WebApp/myServlet.
              In order not to change my html files, I've created this WebApp directory under weblogic directory structure shown above.
              I've done some trial and error in web.xml file to make servlets execute. But 404 error is showing up.
              I tried putting in web.xml like this...
              <servlet>
              <servlet-name>/WebApp/HelloWorldServlet</servlet-name>
              <servlet-class>com.reliable.servlets.HelloWorldServlet</servlet-class>
              </servlet>
              <servlet-mapping>
              <servlet-name>HelloWorldServlet</servlet-name>
              <url-pattern>/WebApp/HelloWorldServlet/*</url-pattern>
              </servlet-mapping>
              I also tried taking out slash(/) before WebApp but no luck.
              Can any one guide how to make this work.
              Thanks so much,
              Sri
              

    What he needs is something like:
              <servlet>
              <servlet-name>HHH</servlet-name>
              <servlet-class>com.reliable.servlets.HelloWorldServlet</servlet-class>
              </servlet>
              <servlet-mapping>
              <servlet-name>HHH</servlet-name>
              <url-pattern>HelloWorldServlet/*</url-pattern>
              </servlet-mapping>
              HHH is simply to link the mapping declaration to the servlet declaration.
              Then the URL would be something like:
              http://myserver:8801/appname/HelloWorldServlet/abc
              If this is the default app, then appname/ drops out.
              There is a good discussion of this in our docs and
              the servlet spec discusses this as well.
              mark
              Keith wrote:
              > Hi Sri and Alfonso,
              > Did you ever get the code? I am interested in seeing how I can do that too. I
              > have to migrate my servlets and jsp from tomcat and all the html files are referencing
              > the servlets with this format:
              > http://abc/servlet/servletA
              >
              > Thanks!
              > keith
              >
              > "sri" <[email protected]> wrote:
              > >
              > >Hi Alfonso,
              > >Thanks for trying to help me. In your response you said "Just copy my code".
              > >But I didn't find any code in your reply.
              > >Can you please clarify.
              > >Thanks so much,
              > >Sri
              > >"alfonso" <[email protected]> wrote:
              > >>
              > >>You are in wrong, the servlet name is a short name to identify the servlet
              > >in xml file not in URL. You can not load many servlet without to register
              > >it,one by one. But i found a solution, that you can find in servlet without
              > >registration subject. (pe: we have servlets calls as http;//b2web/servlet/XXX)
              > >>just copy my code, or email me if you have problems to [email protected]
              > >>
              > >>"sri" <[email protected]> wrote:
              > >>>
              > >>>Hello Everybody,
              > >>>So far everything is working when use the default directory structure,i.e.
              > >mydomain/applications/myWebApp/WEB-INF/classes/some package structure.
              > >>>
              > >>>But we have application with lot of html files which call servlets like
              > >this..myWebApp/WebApp/myServlet.
              > >>>
              > >>>In order not to change my html files, I've created this WebApp directory
              > >under weblogic directory structure shown above.
              > >>>I've done some trial and error in web.xml file to make servlets execute.
              > >But 404 error is showing up.
              > >>>I tried putting in web.xml like this...
              > >>you are in wrong, the servlet name is
              > >>> <servlet>
              > >>> <servlet-name>/WebApp/HelloWorldServlet</servlet-name>
              > >>> <servlet-class>com.reliable.servlets.HelloWorldServlet</servlet-class>
              > >>> </servlet>
              > >>> <servlet-mapping>
              > >>> <servlet-name>HelloWorldServlet</servlet-name>
              > >>> <url-pattern>/WebApp/HelloWorldServlet/*</url-pattern>
              > >>> </servlet-mapping>
              > >>>
              > >>>I also tried taking out slash(/) before WebApp but no luck.
              > >>>
              > >>>Can any one guide how to make this work.
              > >>>
              > >>>Thanks so much,
              > >>>Sri
              > >>
              > >
              

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

  • 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

  • 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

  • Using iPhoto with an existing directory structure on HD full of jpgs

    I'm using iPhoto 6. I recently moved 7,000+ photos (jpgs) off my PC onto my new Mac harddrive. They are organized into dozens of folders and subfolders. How can I use iPhoto to work with the pics within this directory structure? I tried dragging and importing several different ways, but it never preserves my extensive directory structure (just puts them all together into one big pile). I set it not to make a copy when importing. I just want iPhoto to "point" to my existing directory structure, so I can see my folders and subfolders on the left side (and from there I'll create albums and pages stuff). Thanks, Robin

    Hello, Robin,
    Welcome to the discussions.
    First, you have to consider that iPhoto organizes differently from what you are used to doing. It is designed to allow you to do your organizing from within iPhoto, using film rolls and albums. That way, you do not have to be concerned with how and where iPhoto stores the actual photos.
    If you want to keep the same type of organization that you have now, you can import the photos one folder at a time, so that iPhoto puts each folder into a separate film roll. You can change the date on import, since iPhoto will give the roll the date of import, not the date of the photo.
    To get the subfolders into folders, use the album creation feature in the Source pane and create the albums and folders to suit your organizational needs and drag the photos into the appropriate locations. One of the great features of iPhoto's album function is that you can have a photo in more than one album.
    Please take a look at iPhoto's tutorial here:
    http://www.apple.com/ilife/tutorials/iphoto/index.html
    and some great explanations of how iPhoto is structured and works in these:
    http://discussions.apple.com/thread.jspa?threadID=920223&tstart=0
    http://docs.info.apple.com/article.html?path=iPhoto/6.0/en/hlp15.html
    http://discussions.apple.com/thread.jspa?threadID=959413&tstart=0

  • I have copied many photo's from another laptop to my Mac.  The older photo's are in directories with names that help me select what I need to view. I would like to have all my imported new photo's also bee added to the directory structure I have in Finder

    I have copied many photo's from another laptop to my Mac.  The older photo's are in directories with names that help me select what I need to view. I would like to have all my imported new photo's also bee added to the directory structure I have in Finder but my new photo's are all in iPhoto.  I want to use directories for storing and iPhoto for viewing.  Is this possible or do I need to have all my photo's in iPhoto??
    Mitch

    iPhoto is not a Photo Viewer. It's a Photo Manager and designed for looking after the files while you organise the Photos. It really works much better if you let it manage those files. If you use iPhoto you never go near those files because iPhoto is your start point for anything you want to do with your Photos - the point of the pplication.
    You can run iPhoto in Referenced mode, where it does not copy the files to the Library, but I caution you that you are making life a lot more difficult for yourself by doing that.
    How to, and some comments on why you shouldn't, are in this thread
    https://discussions.apple.com/thread/3062728?tstart=0
    Regards
    TD

  • Creating a Standby Database with the Same Directory Structure

    Hello gurus,
    I am self-learning the feature Oracle Data Guard, so I am testing it on Oracle 10g R2.
    At Oracle documentation there is a section F.4.: Creating a Standby Database with the Same Directory Structure*, that explains how to create a standby database with RMAN but there is something that I don´t understand:
    In the standby server, I created a database with the SID equal to production database* with the objetive to have the same directory structure, but when I try to startup nomount the standby database with pfile appear this expected error:
    ORA-16187: LOG_ARCHIVE_CONFIG contains duplicate, conflicting or invalid attributes
    So my question is: Is possible have the Same Directory Structure on both: Production and StandBy server?
    Thanks in advanced.

    Uwe and mseberg: thanks for your quick answers
    I have a doubt: How can you have the same directory structure if you have differents SIDs?, for example if you follow the OFA suggestions you would must have:
    On Production server: */u01/app/oracle/oradata/PRIMARY/system.dbf*
    On StandBy server: */u01/app/oracle/oradata/STANDBY/system.dbf*
    Or you created the directory structure manually on StandBy server? For example replacing the string STANDBY* to PRIMARY* before create the database using dbca.
    Do you understand my doubt? Excuse me for my english.
    Thanks.

Maybe you are looking for