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-

Similar Messages

  • How to create virtual directory in apache

    Hi,
    Im using oas9i on windows platform. I would like to share image files(folder named 'gambar') from different windows server. I had mapped network drive and configured 'alias' in apache(httpd.conf), but didnt work. Could you verify whether 'alias' method is correct or not OR is there anyway to make my webserver able to share/load image with diffrent server.
    Alias /gambar/ "h:/gambar/"
    <directory>
    Option Indexes FollowSymLinks Multiviews
    AllowOverride all
    Order allow, deny
    Allow from all
    </directory>
    Thank you.

    Try:
    Alias /gambar "h:\gambar\"
    <directory "h:\gambar">
    Option Indexes FollowSymLinks Multiviews ExecCGI
    AllowOverride all
    Order allow, deny
    Allow from all
    </directory>

  • 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 Create Virtual Directory On Oracle Application Server 10g on RHEL 5

    Dear Sir
    i have deployed my application on OAS 10g on RHEL 5 ,,now since my application is calling some pro*c programs and then they generate some text based reports on fixed folder named
    /treas/temp
    now i simply have to open these text based reports on web browser
    WEB.SHOW_DOCUMENT('/forms/pcreport/'||v_filename);
    but for that i need to create virtual directory name : " /pcreport " without code
    kindlly help as its working on my developer suit 10g i created a virtual directory in my application server by making following entry in "orion-web.xml" file
    <virtual-directory virtual-path="/pcreport" real-path="/u/treas/temp" />
    kindlly help

    (My paths shown, yours will be different)
    In a text editor :
    /u01/app/oracle/product/midtier/Apache/Apache/conf/httpd.conf
    Add
    Alias /pcreport/ "/u01/app/oracle/product/midtier/forms/pcreport/"
    <Directory "/u01/app/oracle/product/midtier/forms/pcreport/">
    Options Indexes
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>
    Create the pcreport directory.
    Add a simple test page
    vi /u01/app/oracle/product/midtier/forms/pcreport/test.html
    <html>
    <head>
    <title>Simple test page </title>
    <style type="text/css">
    body {
    margin-left: 20%;;
    margin-right: 20%;
    border: 1px dotted gray;
    padding: 10px 10px 10px 10px;
    </style>
    </head>
    <body>
    <p>test!</p>
    </body>
    </html>
    Test
    http://yourserver.com:7777/pcreport/test.html
    Best Regards
    mseberg

  • Cannot create Virtual Directory in Windows Server 2008 R2 SP1 Environment

    Dear all,
    I am trying install Reporting Services 2005 on a Windows Server 2008 R2 SP1 Enterprise machine.
    So far we successfully did the following steps
     - Install SQL Server Reporting Services
     - Configure Service Account (Domain-User)
    After creating virtual Directory, we made several steps to avoid HTTP 400 Bad Request in Report Manager:
    1. Disable LSA Loopback in Registry and restart server
    2. Enhance Service Startup time to 60000ms and restart Server
    3. Set Application Pool to ASP.NET 2.0 Classic Mode
    4. Modify RSWebApplication.config and set These entries:
    <ReportServerUrl>http://servername/ReportServer</ReportServerUrl>
    <ReportServerVirtualDirectory></ReportServerVirtualDirectory>
    After all the Reporting Services Configuration Manager still shows a red sign and we cannot continue creating the database.
    How is it possible to solve this?
    We appreciate any help.
    Best regards,
    Mark
    Mark Kuschel
    Blog
    Xing

    Hi Mark,
    As per my understanding, we can refer to the following methods to troubleshooting the issue you occurred.
    Install SQL Server 2005 Service Pack 3.
    Deleting the newly-created virtual directory using IIS manager and then rebooting the server.
    In the Report Manager Virtual Directory dialog box, create a virtual directory for Report Manager, then change the Website to Reporting.
    Enable Apply default settings.
    The following link is for your reference:
    http://www.mathgv.com/sql2005docs/SQL2005ReportingServicesInstall.htm
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How to create a directory in application server

    Hi all,
    How to create a directory in application server through Progaram??
    eg:\tmp - is already existing
    I want to create \tmp\fi 
    Within \tmp\fi - i should able to store my file,,,
    Kindly help me urgent...

    Hello San,
    Either contact Basis guys at ur end for the same or u can do it dynamically via a piece of ABAP code, i hope it wll help u.
    call function 'GUI_CREATE_DIRECTORY'
         exporting
    dirname = '//<ip_address>/qfilesvr400/<host>/usr/sap/TST/SYS/Folder1'
         exceptions
              failed  = 1
              others  = 2.
    Reward If Helpful.
    Regards
    Sasidhar Reddy Matli.

  • How to create a directory or Folder  using java program?

    Hi all,
    Can any one know, how to create a directory(new folder) in java.
    can any give me some idea, on creating a directory using java program dynamically.
    thanx in advance

    hi thanks for your answer,
    sorry, actual i know this technique(its my fault i didnt mentioned it)
    i am looking for some what different technique.
    bye
    ram

  • How to create a pie graph in 10g or 9i forms using beans??

    Hi..
    Please can anyone show me how to use pie graphs in oracle 10g or 9i forms using bean?
    i also want to know how to put data in pie graph.. as u know in column graph for example we have an x-axis and y-axis,and in pie there is no x-axis and y-axis.. so how i can put the same data in pie graph.. and also i may need more than one value for the x-axis or the y-axis to use in pie graph so how can i do it??
    i use set_custom_property to call properties in beans.
    I would so thankful for how can answer me.. please its urgent
    Thanks.

    there are some other posts to this topic - How to create a pie graph in 10g or 9i forms using beans?? and so on.
    use the search function of this forum. this may the fastest way for your urgent question

  • 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

  • How to create new database on Oracle 10g

    Hi All,
    Can any one tell me how to create new database on oracle 10g.
    Thanks in Advance for your help.

    again some confusion here.....
    u said u need a new database in your first post and now you saying u need a new schema..
    one database has many schemas(users)..... ex: scott,sys,system are few of them...
    now it depends you need seperate database for test,dev environment - this is in the case u have many schemas under each database and many tables(objects) under each schema.
    OR
    You just need a separate schema (in same db) for test,dev environment...where in you will have multiple tables in each schema...U need to know the dba credentials of the db to create a new schema.
    ideally u need to have different database...You can create one with out sys/system(oracle users) password as these passwords are db dependent.
    what you need is access to the any machine where server is installed(can be the same mc where you have your dev db or a diff machine) and that will be the machine where your db will be installed (can do it through database configuration assistance),ofcourse you will need windows authentication for this.
    so you login to the same machine or access it from your machine using remote login.
    I hope that is clear.Hope i am not listing things that you already know..Just did it coz of confusion between db and schema
    Message was edited by:
    coolguy

  • How to create /home directory in a diferent disk ?

    I installed Solaris 11-11-11 on a x4640 with 4 disks:
    How to create /home directory in a diferent disk ?
    Edited by: user1502 on Apr 25, 2012 1:51 PM

    I'm confused. It looks like you already have /home configured:
    <pre># zpool status
    pool: home
    state: ONLINE
    scan: none requested
    config:
    NAME STATE READ WRITE CKSUM
    home ONLINE 0 0 0
    c4t3d0 ONLINE 0 0 0
    errors: No known data errors
    # zfs list
    NAME USED AVAIL REFER MOUNTPOINT
    home 86K 134G 32K /home
    ...</pre>
    What is the problem? Looks like you already have /home configured. Are you sure automounter is not running?
    Try this:
    <pre>zfs set mountpoint=none home
    rm -rf /home
    zfs set mountpoint=/home home</pre>

  • How   to create  virtual cube  cube  in bi-7

    how   to create  virtual cube  cube  in bi-7

    Hi,
    VirtualProviders
    InfoProvider with transaction data that is not stored in the object itself, but which is read directly for analysis and reporting purposes. The relevant data can be from the BI system or from other SAP or non-SAP systems.
    VirtualProviders only allow read access to data.
    Various VirtualProviders are available. You use these in different scenarios.
    For more information, see:
    &#9679;      VirtualProvider Based on the Data Transfer Process
    http://help.sap.com/saphelp_nw04s/helpdata/en/da/5909392a430303e10000000a114084/content.htm
    &#9679;      VirtualProvider with BAPI
    http://help.sap.com/saphelp_nw04s/helpdata/en/26/39dc37bff7a66de10000009b38f889/content.htm
    &#9679;      VirtualProvider with Function Modules
    http://help.sap.com/saphelp_nw04s/helpdata/en/62/d2e26b696b11d5b2f50050da4c74dc/content.htm
    &#9679;      Using InfoObjects as VirtualProviderss
    http://help.sap.com/saphelp_nw04s/helpdata/en/45/13baccabbe5d78e10000000a11466f/content.htm
    Note that the system does not run existing exits or customer and application extensions (customer exit, BTE, BAdI) for direct access to the source system.
    http://help.sap.com/saphelp_nw04s/helpdata/en/23/c0234239f75733e10000000a155106/frameset.htm
    Thanks,
    JituK

  • CREATING VIRTUAL DIRECTORY THROUGH jakarta-tomcat-4.1.10

    dear friend(s)
    how to create a virtual directory through tomcat jakarta-tomcat-4.1.10
    please help me
    very very urgent
    mohd meraj

    Go to %TOMCAT%/conf/server.xml file and see Context settings samples

  • Creating Virtual Directory

    I have 2 directories outside tomcat folder.i have created a virtual directory path to point to one folder. now i need to point to another folder also through this directory..
    Appreciate your help at the earliest.
    -Su

    Seems like the question is related to tomcat, please post the question to tomcat forum.
    http://mail-archives.apache.org/mod_mbox/tomcat-users/

  • How to create ODBC connection between Oracle 10g and MS SQL Server

    Hi,
    Can someone help us with the steps to create an ODBC connection between Oracle APPS using Oracle 10g database and MS SQL Server.
    Requirement is to extract the transactional data from MS SQL Server on a daily basis and dump it into Oracle tables for an interface to be run. Currently it is being done through Dataloader tool which we feel is causing the data issue with Arabic characters. We want to create the ODBC directly between Oracle and MS SQL Server and check if the data is being pulled correctly.
    The data is in sql server 2000 which has data in Arabic_CI_AS character set which is moved to Oracle 10.2.0.3 database with characterset AL32UTF8. The table data is moved to oracle using the dataloader 3.6 standard edition licensed version. We cannot change the character set of Sql Server 2000.
    Please help
    Thanks
    Shanil

    Hi,
    If you're trying to PULL data from SQLServer into an Oracle database, you wouldnt use Oracle ODBC driver for that, so you may want to post in the Heterogeneous Services forum instead:
    Heterogeneous Connectivity
    If you're trying to PUSH data from SQLServer into an Oracle database, you could use ODBC but most folks use OLEDB for that, and the following note on MOS should help:
    How to Create a Sql Server Linked Server With The Oracle Provider for OLE DB     (Doc ID 191368.1)
    As with any NLS related issue, the first thing to do is dump the codepoints of the data in the Oracle database to see if it is stored validly, rather than relying on what the data "looks like" from some tool or other. It's best to check a single row, with only a few characters in it if you can, and you can do that via
    SELECT DUMP(<columname>,1016) FROM <tablename> WHERE ...
    Hope it helps,
    Greg

Maybe you are looking for

  • How can I avoid image 'distortion' when saving jpegs from Photoshop?

    I've created a logo with a transparent background and saved as an eps in Illustrator CS3.  To create a jpeg I then opened opened the eps in Photoshop CS3, set the resolution at 300ppi and then saved the image as a jpeg.  The image views ok on screen

  • Erasing calendar and contact info on transferred original iPad

    I've transferred my original iPad to my wife's computer. But she's now stuck with my calender and contacts info. As I read the iPad manual, the reset option labeled "Erase all contents and settings" would do the trick. She could then sync with her ow

  • Affects Effects failed to load ExporterXDCAMHD.prm

    Errors pop up while starting Affect Effect CS6. I can still operate CS6 and everythings seems working fine except there is not option for render as MXF file ( i have successfully export.mxf directly from affect effects before move my reinstall my OS

  • Anyone notice the playback screen freezing?

    I have the latest version of mainstage and noticed today that if a set is playing a backing track and you hit the next set button and then hit play for that sets backing track the display build in to the concert screen (not the playback plug in scree

  • Active-Standby SSM-IPS upgrade question

    I have 2 ASA 5510's with ASA-SSM-10 IPS modules. The IPS's were running version 5.0.2, and I noticed this will not be supported for SIGS so I started to upgrade to version 5.1.1g. I got one unit upgraded and it seems to be fine, but the second still