Defining virtual directory in OC4J

Hi there,
I am using Oracle 9i Forms for applications development. I have created a folder for my images. I run my forms using OC4J. Now I want to define a virtual directory for that folder. How can I create new virtual directories using OC4J ?
Thanks

Ali,
this depends on whether you use Oracle9iAS or Oracle9iDS. In Oracle9iAS Forms is installed in teh BI_Forms Home, while in Oracle9iDS there is only one directory ../j2ee/Oracle9iDS
see in the Oracle9iDS/application-deployments/forms/forms90web/orion-web.xml
Virtual path definition
<virtual-directory virtual-path="/images" real-path="D:\oracle\9iDS902/forms90/demos/images" />
Frank

Similar Messages

  • Creating virtual directory with OC4J

    Hello, all.
    I thought this issue was going to be straight-forward, but after searching this forum and the General one I am not so sure.
    Can someone tell me how to create virtual directory mappings or contexts for 10gAS so that jsps that reside in an remote directory (not under OAS_HOME) can be run through OC4J? The remote directory is already defined as a virtual directory in Apache and a servlet some of the pages hit is also deployed in OC4J.
    I read that you should be able to use OEM to update either the global-web-application.xml file or the orion-web.xml file, but I am unsure as to whether you create the virtual directories for the dms or webapp applications? I need the virtual directory to be available to more than one particular app.
    Thanks for any help,
    Dixie.

    I don't know if one can use the apache virtual directory in oc4j, however, you can archive the same effect by using the
      <virtual-directory real-path="pathRelativeToContextRoot" virtual-path="realPath" />
    element in orion-web.xml. Please see the doc at
      http://download-west.oracle.com/docs/cd/B10464_05/web.904/b10321/confdesc.htm#1019473
    which is Oracle Application Server Containers for J2EE Servlet Developer's Guide, chapter 6 Configuration File Descriptions, Element Descriptions for global-web-application.xml and orion-web.xml
    I believe you jsps will work if put in the virtual directory.

  • How do I set up a virtual directory in OC4J?

    I'd like to set up a virtual directory in OC4J so that if a user sends a request for /images/asdf.gif, then OC4J will see the "/images" part of the URL and know to look in /usr/oc4j/whatever/images for the file. How do I do this?
    Thanks.

    Lemonte,
    You need to add it to an orion-web.xml file. This is Orion/OC4J's web app deployment descriptor.
    If you want to setup virtual directories for the default web app, you'd use /application-deployments/default/defaultWebApp/orion-web.xml. Otherwise use the orion-web.xml for your deployed web app.
    Cheers,
    Mike
    Atlassian - Supporting YOUR 'Orion/OC4J' World
    http://www.atlassian.com - [EMAIL][email protected][EMAIL]
    null

  • Web.show_document virtual directory

    Hi,
    I want to show a document (pdf) that is on the application server.
    I know I can use web.show_document but the issue is where do I define virtual directory in forms 11.1.2.
    I have weblogic installed, is there any where on weblogic where I can open a file in gui and define it?
    Secondly what should I put into the file to define my virtual directory.
    I looked up on support.oracle.com and they do have some examples but it is for 10g forms and the file they want me to open is orion-web.xml does not exist in 11.1.2.
    So how can I do this in 11.1.2 forms.
    Thanks
    Munish

    Munish,
    You can define virtual directories in the httpd.conf which is found in the Oracle Http Server (OHS). It is highly recommended that you use the Enterprise Manager (EM) to make this change, but you can edit the file manually if you want.
    Towards the bottom of the file, you will find the *<IfModule mod_alias.c>* tag. This is the section where you would add directory alias's. The syntax for an alias is basically: "Alias </directory alias/> </directory to alias/>"
    For example, If I wanted to add an alias for a reports directory that exists outside of the WLS/FMw home I would add:
    Alias /my_reports/ "/usr/app/my_program/reports_dir/"This defines the basic alias, now you need to set the attributes of the alias. In this same tag section ( *<IfModule mod_alias.c>* ) as you scroll down, you will see directory tags. For example: <Directory "${ORACLE_INSTANCE}/config/${COMPONENT_TYPE}/${COMPONENT_NAME}/icons">
    In this section, you will need to add a new <Directory> entry for the alias you just created. Using the "MY_REPORTS" alias above, I would add:
            <Directory "/usr/app/my_program/reports_dir">
                    Options MultiViews
                    AllowOverride None
                    Order allow,deny
                    Allow from all
            </Directory>Notice, that I am specifying the actual directory path not the Alias directory path. For more detailed information, take a look at My Oracle Support (MOS) document *How to Create Virtual Mappings in Forms 11.1.x [ID 1063043.1].* You do need a MOS account to access this document.
    I forgot to mention that after you make these changes you will need to restart the OHS service.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.
    Edited by: CraigB on Aug 1, 2012 8:10 AM

  • Define a virtual-directory in a web application running in OC4J

    Hi,
    I need to create a virtual directory that point to a local network point, but putting it in this way does not work, somebody knows if this can be done and how?
    <virtual-directory virtual-path="/Contratos"
    real-path="\\remoteServer\contratos" />
    or
    <virtual-directory virtual-path="/Contratos"
    real-path="x:\contratos" />
    (Where x: points to \\remoteServer)
    This not work.
    IAS 10.1.2.3
    Windows 2003 Server
    Thanks

    Refer these:
    http://download-west.oracle.com/docs/cd/B14099_19/web.1012/b14017/confdesc.htm#sthref545
    http://buttso.blogspot.com/2006/05/oc4j-virtual-directory-mapping.html
    Thanks
    Shail

  • Add virtual directory to orion-web.xml file of embedded OC4J instance

    I'd like to add a virtual directory to the orion-web.xml file of the embedded OC4J application which comes with JDeveloper (version 10.1.3.3.0.4157). Every time I run my application however, a new orion-web.xml file is created which overwrites the orion-web.xml file with my virtual directory. The orion-web.xml is located in the <JDev_Home>\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\application-deployments\current-workspace-app\<app Name> directory.
    Does anybody know a solution to this problem?
    Regards,
    Matthieu

    hi there,
    i have the same problem, all the configuration files are included in the EAR file, like application.xml,...
    but the orion-web.xml is not included.
    I dont have that option that you mencioned File->New->Deployment Descriptiors -> web...for oc4j...
    I can create a EAR, WAR or JAR in File->New->Deployment Profiles.
    I need the orion-web.xml to define the MIME types the servlet can return, is it really needed?
    regards,
    Laura

  • JDeveloper 9i RC and OC4J virtual directory

    Hi,
    How can I configure the following tags from my tomcat/catalina "server.xml" file to JDeveloper OC4J?
    <context path="/images" docBase="c:\images"/>
    <context path="/javascript" docBase="c:\javascript"/>
    <context path="/styles" docBase="c:\styles"/>
    I have tried adding the following entries to the "%JDEV_HOME%\jdev\system\oc4j-config\global-web-application.xml" without success.
    <virtual-directory real-path="c:\images" virtual-path="/images" />
    <virtual-directory real-path="c:\javascript" virtual-path="/javascript" />
    <virtual-directory real-path="c:\styles" virtual-path="/styles" />
    As a work-around I have copied these directories to the default-web-app root directory.
    Your assistance would be greatly appreciated.
    Thanks,
    David

    Try this in the orion-web.xml for your web application.
    Assuming you all your images in a directory called e:\pictures and you want to add this /img virtual directory you have to edit the orion-web.xml file for your web application as follows:
    <virtual-directory
    virtual-path="/img"
    real-path="/e:/pictures/" />
    regards
    Debu panda
    Oracle

  • How to define a virtual directory for 1virtual server?

    Hi there,
    The last part is always the hardest. I succesfully converted my Apache configuration to the SunONE setup but one section and I fail to grasp where I'm going wrong...
    SunONE Webserver 6.1SP5, I have quite a few virtual servers divided over several virtual classes. And now I'm trying to configure a 'virtual directory' (pfx2dir nametrans) limited to a single virtual server but no matter what I try I can't get it to work...
    In the administration guide I read about the NameTrans directive and how it should be used in the default object (in obj.conf ofcourse). So when I have something like this all works as it should, but for all virtual servers in the class:
    <Object name="default">
    NameTrans fn="pfx2dir" from="/files" dir="/opt/websites/catslair/data"
    </Object>So when reading up even more I came across the NSAPI programmers guide which explained that you can have both <Object> and <Client> tags. Because of the 'urlhost' parameter with the Client tag I figured that it should be possible to limit the NameTrans line mentioned above to but one virtual server:
    <Client urlhost="catslair.intranet.lan">
    NameTrans fn="pfx2dir" from="/files" dir="/opt/websites/catslair/data"
    </Client>But whenever I use this approach the server refuses to start and presents me with an error:
    [13/May/2006:16:38:10] config (19621): CORE3185: Invalid configuration: File /usr/local/sun/SUNWwbsvr/https-magi.intranet.lan/config/server.xml, line 178, column 99: HTTP3258: Error processing Mirrors.obj.conf line 51: HTTP2215: directive outside objectAt first I didn't understand exactly what it meant, I even stumbled upon a bug report which triggered the same error (http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4979377) but after reading up on this I can only conclude that NameTrans can only be used within an <Object> block. The manuals also hint into this direction since it becomes obvious that the preffered approach is using this in the default object.
    So picture my surprise when I came across http://docs.sun.com/source/817-6252/npgobjcn.html#wp1041206 in the NSAPI programmers guide, its past the table. One of the examples shows this approach:
    <Client odds="25%">
    NameTrans fn="redirect" from="/Pogues" url-prefix="http://pogues.example.com"
    </Client>Because I was sure about urlhost being a parameter for the Client tag I tried copying the above example, but when I give it a try I'm once again greeted with the error I mentioned earlier "directive outside object".
    So can anyone please point me in the right direction? Is it possible to setup a virtual directory for a single virtual server and if so how do I proceed since <Client> doesn't seem to work. thanks in advance for any tips you can give me.
    Message was edited by:
    Lion-O

    Thanks a lot for the example, that fixed the problem.
    I've been reading the NSAPI programmers guide several times now and I was under the impression that you should either use <object> or <client>, never thought about this approach. Now when I re-read it is makes sense, but wasn't very clear at first.
    I think I'll e-mail Sun to suggest an addition of the <Object> tag in their <Client> tag example (http://docs.sun.com/source/817-6252/npgobjcn.html#wp1045056) to make things a little more clear.
    Thanks again, now I can finally implement the final configuration settings and plan for the actual switch later this evening.

  • Virtual directory mapping in weblogic 7.0

    I'm trying to define a virtual mapping in my web application deployed in Weblogic
    7.0 sp2 and it's not working.
    I've defined in my weblogic.xml
    <virtual-directory-mapping>
    <local-path>c:/cursoBEA/imagenes</local-path>
    <url-pattern>/imagenes/*</url-pattern>
    <url-pattern>*.gif</url-pattern>
    </virtual-directory-mapping>
    But when I try to access my images like this:
    <img src="/mywebapp/imagenes/image.gif">
    it cannot show that image.
    We've tried many combinations, but all failed. What are we doing wrong?

    I'm doing the same as you, and it does not work. I'm using weblogic 7.0 sp2 in
    a Windows 2000 Proffesional. Maybe it's a problem with weblogic/OS version?
    Ignacio Sanchez
    "Mark Griffith" <[email protected]> wrote:
    You can look at 8.1 Medrec example
    On my install it lives here:
    c:/bea/wls81/weblogic81/samples/server/medrec/src/physicianEar/physicianWebA
    pp/WEB-INF/weblogic.xml
    Virtual Directory is used as follows:
    <virtual-directory-mapping>
    <local-path>C:/bea/wls81/weblogic81/samples/server/medrec/src/common/web</lo
    cal-path>
    <url-pattern>images/*</url-pattern>
    </virtual-directory-mapping>
    ls of C:/bea/wls81/weblogic81/samples/server/medrec/src/common/web
    total 3
    drwxrwxrwx 1 Everyone Everyone 0 Apr 6 14:43 .
    drwxrwxrwx 1 Everyone Everyone 0 Apr 6 14:43 ..
    -rwxrwxrwa 1 Everyone Everyone 1378 Apr 6 14:43
    build.xml
    drwxrwxrwx 1 Everyone Everyone 0 Apr 6 14:43 com
    drwxrwxrwx 1 Everyone Everyone 0 Apr 6 14:43 images
    URL's in a web-app's index.jsp that is in the root of the webapp are
    like:
    <TD align=right><IMG SRC='images/logo.gif'></TD>
    Looks like you need to modify your local-path to not include imagenes
    Cheers
    mbg
    "Ignacio Sanchez" <[email protected]> wrote in message
    news:3ec20fff$[email protected]..
    I'm trying to define a virtual mapping in my web application deployedin
    Weblogic
    7.0 sp2 and it's not working.
    I've defined in my weblogic.xml
    <virtual-directory-mapping>
    <local-path>c:/cursoBEA/imagenes</local-path>
    <url-pattern>/imagenes/*</url-pattern>
    <url-pattern>*.gif</url-pattern>
    </virtual-directory-mapping>
    But when I try to access my images like this:
    <img src="/mywebapp/imagenes/image.gif">
    it cannot show that image.
    We've tried many combinations, but all failed. What are we doing wrong?

  • Several paths   with the virtual-directory-mapping    in weblogic.xml

    Hello! I don´t know if this is well posted here. Sorry, and my english is aswful :(.
    I´m trying to put several paths for jsp files in an application, similar to how the extendend document root works in websphere.
    How can I get this on weblogic? With this lines I only managed to get the first but the second url-pattern doesn´t work.
    <weblogic-web-app>
    <virtual-directory-mapping>
    <local-path>/path1/</local-path>
    <url-pattern>*.jsp</url-pattern>
    </virtual-directory-mapping>
    <virtual-directory-mapping>
    <local-path>/path2</local-path>
    <url-pattern>/jsp/*.jsp</url-pattern>
    </virtual-directory-mapping>
    </weblogic-web-app>
    My intention is make that the app could access to jsp´s files in path1 and in path2. Is this possible on weblogic?
    Thanks in advance

    I see. In my case, x == images, so if I reverse my directory
    structure I could still get this to work for me. For instance:
    <virtual-directory-mapping>
    <local-path>C:\webapps\context\y</local-path>
    <url-pattern>/images/*</url-pattern>
    </virtual-directory-mapping>
    /images/z.gif would map to C:\webapps\context\y\images\z.gif.
    I'll have to weigh changing our directory structure vs. keeping the
    servlet we have that rewrites the URL.
    Thanks for your help.
    Scott Steimle.
    Rajesh Mirchandani <[email protected]> wrote in message news:<[email protected]>...
    From the developer
    Virtual directories just replace the doc root. The doc root in your case
    is C:\webapps\context\x\y. The request uri is /images/Z.gif. So the whole
    thing resolves to C:\webapps\context\x\y\images\Z.gif. Which is where the
    image should be located.
    We have cleared up the docs. Sorry for any inconvenience.
    Scott Steimle wrote:
    Hi. I noticed in WebLogic Platform 7.0 there is a entry for
    WEB-INF/weblogic.xml that defines a virtual directory. Example:
    <!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web
    Application 7.0//EN"
    "http://www.bea.com/servers/wls700/dtd/weblogic700-web-jar.dtd">
    <weblogic-web-app>
    <virtual-directory-mapping>
    <local-path>C:\webapps\context\x\y</local-path>
    <url-pattern>/images/*</url-pattern>
    </virtual-directory-mapping>
    </weblogic-web-app>
    In this case I'm assuming that a request of the form
    http:/host:7001/context/images/z.gif would map to the physical file
    C:\webapps\context\x\y\z.gif. However I cannot get this to work. Is
    my assumption about it's use incorrect? Is the syntax of
    <local-path/> or <url-pattern/> wrong? Is there something you have to
    do to get WebLogic to recognize the weblogin.xml file?
    This is urgent. Please help.
    Thanks.
    Scott Steimle
    Software Engineer
    Convera

  • Virtual directory mapping in weblogic platform 7.0

    Hi. I noticed in WebLogic Platform 7.0 there is a entry for
    WEB-INF/weblogic.xml that defines a virtual directory. Example:
    <!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web
    Application 7.0//EN"
    "http://www.bea.com/servers/wls700/dtd/weblogic700-web-jar.dtd">
    <weblogic-web-app>
    <virtual-directory-mapping>
    <local-path>C:\webapps\context\x\y</local-path>
    <url-pattern>/images/*</url-pattern>
    </virtual-directory-mapping>
    </weblogic-web-app>
    In this case I'm assuming that a request of the form
    http:/host:7001/context/images/z.gif would map to the physical file
    C:\webapps\context\x\y\z.gif. However I cannot get this to work. Is
    my assumption about it's use incorrect? Is the syntax of
    <local-path/> or <url-pattern/> wrong? Is there something you have to
    do to get WebLogic to recognize the weblogin.xml file?
    This is urgent. Please help.
    Thanks.
    Scott Steimle
    Software Engineer
    Convera

    I see. In my case, x == images, so if I reverse my directory
    structure I could still get this to work for me. For instance:
    <virtual-directory-mapping>
    <local-path>C:\webapps\context\y</local-path>
    <url-pattern>/images/*</url-pattern>
    </virtual-directory-mapping>
    /images/z.gif would map to C:\webapps\context\y\images\z.gif.
    I'll have to weigh changing our directory structure vs. keeping the
    servlet we have that rewrites the URL.
    Thanks for your help.
    Scott Steimle.
    Rajesh Mirchandani <[email protected]> wrote in message news:<[email protected]>...
    From the developer
    Virtual directories just replace the doc root. The doc root in your case
    is C:\webapps\context\x\y. The request uri is /images/Z.gif. So the whole
    thing resolves to C:\webapps\context\x\y\images\Z.gif. Which is where the
    image should be located.
    We have cleared up the docs. Sorry for any inconvenience.
    Scott Steimle wrote:
    Hi. I noticed in WebLogic Platform 7.0 there is a entry for
    WEB-INF/weblogic.xml that defines a virtual directory. Example:
    <!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web
    Application 7.0//EN"
    "http://www.bea.com/servers/wls700/dtd/weblogic700-web-jar.dtd">
    <weblogic-web-app>
    <virtual-directory-mapping>
    <local-path>C:\webapps\context\x\y</local-path>
    <url-pattern>/images/*</url-pattern>
    </virtual-directory-mapping>
    </weblogic-web-app>
    In this case I'm assuming that a request of the form
    http:/host:7001/context/images/z.gif would map to the physical file
    C:\webapps\context\x\y\z.gif. However I cannot get this to work. Is
    my assumption about it's use incorrect? Is the syntax of
    <local-path/> or <url-pattern/> wrong? Is there something you have to
    do to get WebLogic to recognize the weblogin.xml file?
    This is urgent. Please help.
    Thanks.
    Scott Steimle
    Software Engineer
    Convera

  • Creating Virtual directory doubts

    i tried following ways to create virtual directory. but none didn't work.
    i have a war file named MyTestPage.war , it will work if i place it under webapps in the tomcat directory.
    but i want to create a virtual directory C:\myDir\TomcatVirtualDir
    i tried the following things
    1) edited the server.xml and added this code.
    <Context path="\" docBase="c:\myDir\TomcatVirtualDir" trusted="false" crossContext="true" debug="1" reloadable="true" >
    </Context> its didn't work.
    2) i created an xml under conf\Catalina\localhost
    named MyTestPage.xml
    added this code.
    <Context path="" docBase="c:\myDir\TomcatVirtualDir" trusted="false" crossContext="true" debug="1" reloadable="true" >
    </Context> it didn't work either.
    what shld i do?

    Ok.
    The examples you gave are for deploying a web app into an existing host.
    To define a new host, you need to add a <host> entry to server.xml
    Docs link: http://tomcat.apache.org/tomcat-5.0-doc/config/host.html
    The appBase directory specifies which directory will work like "webapps"
    example:
    <Host name="virtualTest" debug="0" appBase="c:\myDir\TomcatVirtualDir"
            unpackWARs="true" autoDeploy="true"  xmlValidation="false" xmlNamespaceAware="false">
      <Logger className="org.apache.catalina.logger.FileLogger"
              directory="logs"  prefix="virtualTest\_log." suffix=".txt" timestamp="true"/>          
      <Alias>virtualAlias</Alias>
    </Host>You will also get a directory [TOMCAT]/conf/Catalina/virtualTest
    which is the equivalent of the [TOMCAT]/conf/Catalina/localhost for your new host. You can put a context.xml file in that directory to define the "default" web app for this host.
    You would access the host with url http://virtualTest:8080
    Hope this helps,
    evnafets

  • Building and Deploying Within a Directory with oc4j 10.1.3

    hi,
    I just want to move our application from 10.1.2.0.2 to 10.1.3 in our development environment. I want to deploy our application within a directory, but this does not work anymore! I couldn't get information about this in the documentations. When I start the server I get these errors:
    Oct 19, 2006 11:59:22 AM com.evermind.server.Application setConfig
    WARNING: Application: tisProd is in failed state as initialization failedjava.lang.InstantiationException: Error loading web-app 'default-app' at D:\JRun4\servers\Jrun00\default-app: Error parsing orion-web.xml in D:\oc4j1013\j2ee\home\application-deployments\tisProd\default-app: The file was a directory
    2006-10-19 11:59:22.759 WARNING J2EE 0JR0013 Exception initializing deployed application: tisProd. Error loading web-app 'default-app' at D:\JRun4\servers\Jrun00\default-app: Error parsing orion-web.xml in D:\oc4j1013\j2ee\home\application-deployments\tisProd\default-app: The file was a directory
    2006-10-19 11:59:24.712 ERROR J2EE HTTP0004 Internal error raised tyring to instantiate web-application: default-app defined in web site OC4J 10g (10.1.3) Default Web Site. Application: default-app has been stopped
    Any ideas?
    regards Alex

    Hi, I'm movint to 10.1.3 too and I've a similar problem. Who is the parser that cause problem ?.
    When I 'deploy' my application from Eclipse I receive:
    2006-11-06 14:56:11.424 ERROR J2EE HTTP0004 Internal error raised tyring to instantiate web-application: tgs-app-web defined in web site OC4J 10g (10.1.3) Default Web Site. null

  • Programmatically set virtual directory mapping at run time

    Hi all
    Do you know of anyway to do it.
    I can't found MBean for weblogic descriptor.
    Thanks

    Hi Jay
    I am on it. But I continue having validation problem:
    VALIDATION PROBLEMS WERE FOUND C:\Users\Napoleon\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\DefaultDomain\servers\DefaultServer\upload\PictureApp\app\planplan.xml:0: problem: cvc-complex-type.2.4c: Expected element 'url-pattern@http://xmlns.oracle.com/weblogic/weblogic-web-app' before the end of the content in element virtual-directory-mapping@http://xmlns.oracle.com/weblogic/weblogic-web-app:<C:\Users\Napoleon\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\DefaultDomain\servers\DefaultServer\upload\PictureApp\app\planplan.xml>
    this is my plan:
    <?xml version='1.0' encoding='UTF-8'?>
    <deployment-plan xmlns="http://xmlns.oracle.com/weblogic/deployment-plan" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/weblogic/deployment-plan http://xmlns.oracle.com/weblogic/deployment-plan/1.0/deployment-plan.xsd">
    <application-name>app</application-name>
    <variable-definition>
    <variable>
    <name>SessionDescriptor_timeoutSecs_12698451432940</name>
    <value>3602</value>
    </variable>
    <variable>
    <name>SessionDescriptor_invilidationInterval</name>
    <value>70</value>
    </variable>
    <variable>
    <name>VirtualDirectory_diskD</name>
    <value>/Pictures/*</value>
    </variable>
    <variable>
    <name>Map</name>
    <value></value>
    </variable>
    <variable>
    <name>LocalPath_diskD</name>
    <value>D:/Pictures</value>
    </variable>
    </variable-definition>
    <module-override>
    <module-name>PictureApp.ear</module-name>
    <module-type>ear</module-type>
    <module-descriptor external="false">
    <root-element>weblogic-application</root-element>
    <uri>META-INF/weblogic-application.xml</uri>
    <variable-assignment>
    <name>SessionDescriptor_timeoutSecs_12698451432940</name>
    <xpath>/weblogic-application/session-descriptor/timeout-secs</xpath>
    </variable-assignment>
    <variable-assignment>
    <name>SessionDescriptor_invilidationInterval</name>
    <xpath>/weblogic-application/session-descriptor/invalidation-interval-secs</xpath>
    </variable-assignment>
    </module-descriptor>
    <module-descriptor external="false">
    <root-element>application</root-element>
    <uri>META-INF/application.xml</uri>
    </module-descriptor>
    <module-descriptor external="true">
    <root-element>wldf-resource</root-element>
    <uri>META-INF/weblogic-diagnostics.xml</uri>
    </module-descriptor>
    </module-override>
    <module-override>
    <module-name>Picture.war</module-name>
    <module-type>war</module-type>
    <module-descriptor external="false">
    <root-element>weblogic-web-app</root-element>
    <uri>WEB-INF/weblogic.xml</uri>
    <variable-assignment>
    <name>Map</name>
    <xpath>/weblogic-web-app/virtual-directory-mapping</xpath>
    <operation>add</operation>
    </variable-assignment>
    <variable-assignment>
    <name>LocalPath_diskD</name>
    <xpath>/weblogic-web-app/virtual-directory-mapping/local-path</xpath>
    <operation>add</operation>
    </variable-assignment>
    <variable-assignment>
    <name>VirtualDirectory_diskD</name>
    <xpath>/weblogic-web-app/virtual-directory-mapping/[local-path="D:/Pictures"]/url-pattern</xpath>
    <operation>add</operation>
    </variable-assignment>
    </module-descriptor>
    <module-descriptor external="false">
    <root-element>web-app</root-element>
    <uri>WEB-INF/web.xml</uri>
    </module-descriptor>
    </module-override>
    <config-root>C:\Users\Napoleon\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\DefaultDomain\servers\DefaultServer\upload\PictureApp\app\plan</config-root>
    </deployment-plan>
    I have the url-pattern assigned already. Can you help me look at it.
    And one more question: if I want to define multiple virtual directory mapping, how can it be done? as the link is only virtual-directory-mapping/ it needs something to distinguish between the different virtual directory mapping right?

  • How to create virtual directory in Oracke 10g ias

    Hi
    In my application i have a upload functionality so that any user once they upload the document i want to store in a directory which is existing on the server so that if anybody wants to open that document it should be opened from the server.
    any help is highly appreciable

    You don't say whether you are using OC4J standalone or OracleAS:
    Here's how you do it with OC4J standalone:
    http://buttso.blogspot.com/search?q=virtual-directory
    I you are using OracleAS then you'd use one of the standard Apache directives to expose the directory via it (Oracle HTTP Server):
    See: http://httpd.apache.org/docs/1.3/urlmapping.html#outside
    -steve-

Maybe you are looking for

  • [Forum FAQ] Show Attachments in SharePoint 2013 Custom List View

    Introduction: By default, there is an Attachments column in the SharePoint List, some people want to display attachments name and click name can open the documents in List View. In this article, we would show you the method with REST API, JSLink and

  • Changing "From" address in Mail

    I have a college email address that I get to keep and have been using that as my default. It is linked to a Gmail account, though, as the college does not provide a server for you after you graduate. You only get to keep the address. On gmail.com, it

  • IPhoto 5 has better quality that iPhoto 6 when emailing photos?

    How can I set up iPhoto 6 to use the same image quality as iPhoto 5 when emailing photos? I have two iMacs, side by side, one is G5 with iPhoto 5, and another is Intel with iPhoto 6. When I use iPhoto 5 to email a photo, medium quality 640x480, it lo

  • Permissions not taking effect

    I am trying to save jpgs from Adobe Photoshop CS3 (as well as export jpgs from Illustrator CS3 - have tried both) on my mac, so that I can send them to someone else who is using a PC so that they may edit them and save them. They can open and edit, b

  • 11.8.800.94 Crashing on ESPN Videos

    Everytime I open Sportscenter and click a video flash player streaming goes, stops, goes, stops crashes saying it's script has stopped. Me 11.8.800.94 Windows 7 (64-bit) Mozilla Firefox current version My system is simple gateway laptop. do use skye