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

Similar Messages

  • Migration from 2003 - 2010, OAB errors on client, and OAB virtual directory does not contain any files.

    Migration from 2003 - 2010, OAB errors on client, and OAB virtual directory does not contain any files. 

    Hi,
    Please re-create the Outlook profile to have a try. If the issue persists, we can do the further checks in Exchange server.
    Please make sure you have changed the OAB generation server to Exchange 2010 and enable Web distribution on the Exchange 2010 Client Access server:
    Move-OfflineAddressBook "Default Offline Address List" -Server <MBX2010>
    If all configurations are correct, please check whether there is any folder in the following path in Exchange sever 2010:
    a. OAB generation in Mailbox:
    \\Program Files\Microsoft\Exchange Server\V14\ExchangeOAB
    b. OAB distribution in Client Access:
    \\Program Files\Microsoft\Exchange Server\V14\ClientAccess\OAB
    Thanks,
    Winnie Liang
    TechNet Community Support

  • MP Related Logs and IIS Virtual directory not created After re_installation of SCCM 2007

    Hi
    We have re-installed the IIS and SCCM secondary site. tried to intsall the MP role and DP role but it has not created any logs or IIS virtual directory in the secondary site server which is in WAN link.
    Trouble shooting:
    - checked the ports 443,445 and 80
    - Disabled symantec
    - exchanged the public key ( still it is in progress in Despooler log)
    - checked the site to site permission and added the accounts.
    please suggest further.

    Yes, I know this is an old post, but I’m trying to clean them up.
    What error(s) are you getting within the logs? Without these details there isn’t much anyone can do to help you.
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • JDeveloper version numbers and OC4J version numbers

    Hi all,
    I know that the version numbers of the Oracle application server and the OC4J plugin are the same the default, but how is that with JDeveloper compared to the OC4J version of the embedded JDeveloper application server.
    Is it the same always and if not where can I find a mapping table. E.g. is for JDeveloper version 10.1.3 also the OC4J container version 10.1.3 etc.
    regards,
    Ronald

    Ronald,
    yes, Oracle JDeveloper versions are in synch with OC4J and 10.1.3 JDeveloper uses OC4J 10.1.3.
    Frank

  • 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

  • JSP virtual directory in a mapped drive

    Is it possible to run jsp files that reside in a mapped drive? For security reasons, we would like to avoid saving jsp files in the same oracle 9ias server directories.
    For instance, if we wan to save our developer files in a mapped drive and directory G:\JSP\Dev, can we add this drive and directories to the classpath directive in the jserv.properties file?
    How then can we run jsp files in a browser (i.e. what would the syntax be for calling the url)?
    Thank you for your forthcoming response. Nelson

    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

  • 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

  • Using Struts with JDeveloper, BC4J and OC4J 9.0.2

    Is it feasible to use Struts with JDeveloper 9.0.2, BC4J 9.0.2 and OC4J 9.0.2? We have an application that uses the BC4J JBO tags in version 9.0.2. We wish to use Struts and we want to retain the use of the JBO tags. Is there a way to do this without upgrading to 9.0.3?

    Here are two related questions:
    Can we upgrade to oracle9iAS 9.0.3 yet still use JDeveloper 9.0.2 and BC4J/JBO 9.0.2?
    Can we upgrade to JDeveloper 9.0.3 and BC4J/JBO 9.0.3 yet still deploy to oracle9iAS 9.0.2?

  • What is Exchange Virtual directory and its role?

    Hello there,
    I am new to Exchange and I started reading about Exchange Virtual directories. I am struggling to understand the concept behind Virtual directories in Exchange and what is the role of this component. Can someone please shed some light and better yet supplemental
    information to help me understand the concepts behind it? Let me know please. I am looking forward to any reply that would help.
    Regards,
    Lotusmail1
    Franz Garcia

    Hi,
    Thank you for your question.
    Exchange virtual directory is a directory which store some necessary URL to point to correspondent web page, those URL can provide service for user by Exchange server. it include the following component:
    On Exchange CAS server:
    Autodiscover: An important function of the Autodiscover service is to provide access to features for clients that are connected to your messaging environment. These features include the web-based offline address book (OAB), the Availability service, and
    Unified Messaging (UM). The Autodiscover service must be deployed and configured correctly for clients to automatically connect to features.
    ECP: The Exchange Control Panel is a Web application that runs on a Client Access Server providing services for the Exchange organization. This Exchange Control Panel is installed automatically when you install a Client Access server. To manage Exchange
    from just about anywhere, you simply need to enter the URL path for the application in your browser’s Address field. You can then access the Exchange Control Panel. By default, the Exchange Control Panel URL is
    https://yourserver.yourdomain.com/ecp.
    EWS: Exchange Web Services virtual directories support the calendar sharing and other functionality offered by Exchange Web Services. The Exchange Web services included in Exchange provide an XML messaging interface that enables you to manage Exchange store
    items and access Exchange server functionality from client applications.
    Microsoft-Server-ActiveSync: Exchange ActiveSync is a client protocol that lets you synchronize a mobile device with your Exchange mailbox.
    OAB: An offline address book (OAB) is a copy of an address list collection that’s been downloaded so a Microsoft Outlook user can access the address book while disconnected from the server. Microsoft Exchange generates the new OAB files and then compresses
    the files and places them on a local share. You can decide which address lists are made available to users who work offline, and you can also configure the method by which the address books are distributed.
    OWA: By default, when you install Microsoft Exchange 2013, you enable Outlook Web App. Microsoft Outlook Web App lets users access their Exchange mailbox from almost any Web browser.The Client Access server role provides proxy and redirection services for
    Outlook Web App.
    PowerShell: The Exchange Management Shell, built on Windows PowerShell technology, provides a powerful command-line interface for Microsoft Exchange Server 2013 that enables automation of administrative tasks. With the Shell, you can manage every aspect
    of Exchange. You can enable new email accounts, create Send and Receive connectors, configure database properties, manage distribution groups, and more. The Shell can perform every task that can be performed by the Exchange Administration Center (EAC) plus
    things that can't be done in the EAC. In fact, when you do something in the EAC, it's the Shell that's doing the work behind the scenes
    On Exchange mailbox server:
    PowerShell: this is the same with front CAS server.
    We could refer to the following link:
    https://technet.microsoft.com/en-us/library/gg247612(v=exchg.150).aspx
    If there are any questions regarding this issue, please be free to let me know. 
    Best Regard,
    Jim
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected].
    Jim Xu
    TechNet Community Support

  • SP1 for Exchange 2013 install fails with ECP virtual directory issues and now transport service won't start and mail is unavailable

    SP1 for Exchange 2013 install failed on me with ECP virtual directory issues:
    Error:
    The following error was generated when "$error.Clear();
              $BEVdirIdentity = $RoleNetBIOSName + "\ecp (name)";
              $be = get-EcpVirtualDirectory -ShowMailboxVirtualDirectories -Identity $BEVdirIdentity -DomainController $RoleDomainController -ErrorAction SilentlyContinue;
              if ($be -eq $null)
              new-EcpVirtualDirectory -Role Mailbox -WebSiteName "name" -DomainController $RoleDomainController;
              set-EcpVirtualdirectory -Identity $BEVdirIdentity -FormsAuthentication:$false -WindowsAuthentication:$true;
              set-EcpVirtualdirectory -Identity $BEVdirIdentity -InternalUrl $null -ExternalUrl $null;
              . "$RoleInstallPath\Scripts\Update-AppPoolManagedFrameworkVersion.ps1" -AppPoolName:"MSExchangeECPAppPool" -Version:"v4.0";
            " was run: "The virtual directory 'ecp' already exists under 'server/name'.
    Parameter name: VirtualDirectoryName".
    Error:
    The following error was generated when "$error.Clear();
              $BEVdirIdentity = $RoleNetBIOSName + "\ECP (name)";
              $be = get-EcpVirtualDirectory -ShowMailboxVirtualDirectories -Identity $BEVdirIdentity -DomainController $RoleDomainController -ErrorAction SilentlyContinue;
              if ($be -eq $null)
              new-EcpVirtualDirectory -Role Mailbox -WebSiteName "name" -DomainController $RoleDomainController;
              set-EcpVirtualdirectory -Identity $BEVdirIdentity -FormsAuthentication:$false -WindowsAuthentication:$true;
              set-EcpVirtualdirectory -Identity $BEVdirIdentity -InternalUrl $null -ExternalUrl $null;
              . "$RoleInstallPath\Scripts\Update-AppPoolManagedFrameworkVersion.ps1" -AppPoolName:"MSExchangeECPAppPool" -Version:"v4.0";
            " was run: "The operation couldn't be performed because object 'server\ECP (name)' couldn't be found on 'DC0xx.domain.com'.".
    Error:
    The following error was generated when "$error.Clear();
              $BEVdirIdentity = $RoleNetBIOSName + "\ECP (name)";
              $be = get-EcpVirtualDirectory -ShowMailboxVirtualDirectories -Identity $BEVdirIdentity -DomainController $RoleDomainController -ErrorAction SilentlyContinue;
              if ($be -eq $null)
              new-EcpVirtualDirectory -Role Mailbox -WebSiteName "name" -DomainController $RoleDomainController;
              set-EcpVirtualdirectory -Identity $BEVdirIdentity -FormsAuthentication:$false -WindowsAuthentication:$true;
              set-EcpVirtualdirectory -Identity $BEVdirIdentity -InternalUrl $null -ExternalUrl $null;
              . "$RoleInstallPath\Scripts\Update-AppPoolManagedFrameworkVersion.ps1" -AppPoolName:"MSExchangeECPAppPool" -Version:"v4.0";
            " was run: "The operation couldn't be performed because object 'server\ECP (name)' couldn't be found on 'DC0xx.domain.com'.".
    !! And now transport service won't start and mail is unavailable !!
    Any help would be appreciated.
    I have removed the ecp site from default site and attempting to rerun SP1 now. I do not have high hopes. :(

    Hi,
    Thanks for your response.
    From the error description, you need to manually remove the ECP with IIS manager in both the Default Web Site and the Exchange Back End firstly. And then continue the upgrade to check the result.
    Hope this can be helpful to you.
    Best regards,
    Amy Wang
    TechNet Community Support

  • About "virtual directory" and ShellFolder

    hi, everyone!
    i'm a freshman to this language, and met some trouble last night.
    i'm designing a small program by using jfc.
    the project is just like "ms resources explorer", containing a tree view.
    i wanna create a root node which represents desktop, including three children:
    "My Computer", "Network neighbor" and "My Document".
    the last one is a real directory in windows,
    but the other two don't exist eventually.
    i wanna get such, i called, "virtual directorys" from system, including their icons.
    the root directory, you know, only represents its logical disc,
    such as A:\, C:\, D:\ and etc.,
    not the whole system like "My Computer".
    i searched the api reference,
    and found that the "JFileChooser" class contains a method named
    "getFileSystemView()", through which we can get the "FileSystemView" object
    of a file or a directory, including "virtual directory".
    i checked the source code,
    and found a class named "ShellFolder" inheriting from the "File" class,
    but it's not published in JDK's api--i don't know why.
    now the question is,
    are there any simple classes can implement the "virtual directory" like "My Computer" or "Network Neighbor" besides "JFileChooser"?
    thanks a lot.
    by the way, "FileSystemView" and "ShellFolder" are all abstract class.
    references:
    javax.swing.JFileChooser;
    javax.swing.filechooser.FileSystemView;
    sun.awt.shell.ShellFolder;

    Hi,
    try this!
    It's a simple System.out.println() of FileSystemView and you only have to add it in your JTree...
    import javax.swing.filechooser.FileSystemView;
    import java.io.File;
    public class ViewFilesDirs {
    public ViewFilesDirs() {
    FileSystemView view = FileSystemView.getFileSystemView();
    System.out.println("Default Dir: " + view.getDefaultDirectory());
    System.out.println("Home Dir: " + view.getHomeDirectory());
    System.out.println("---");
    File[] fs = view.getFiles(view.getHomeDirectory(), true);
    for (int ind=0; ind<fs.length;ind++)
    System.out.println("File/Directory: " + fs[ind]);
    public static void main(String[] args) {
    ViewFilesDirs untitled11 = new ViewFilesDirs();
    if you have problem, i'm here!!! :)
    bye bye!!!

  • Virtual directory and SSS

    Hi all,
    Does Oracle Virtual Directory support SSS (Server Side Sorting) ?
    I try to look for it in the manual docs, couldn't not find any thing there.
    We use Sun Dir. Server. with Oracle VDE.
    It seem VDE doesn't allow the sorting, or I have to turn on some settings ?
    thanks,
    martin

    Hi Mike,
    I haven't tired it, but I have defenitely heard about it.
    This is a quote from the Oracle Website - " Oracle COREid also supports multi-directory and relational database integration via Oracle Virtual Directory.".
    Also, a similar scenario is discussed here ( Slide 8 ) :-
    http://conference.digitalidworld.com/2005/attendees/slides/Grand_0510_1600d.pdf
    It would be good if Oracle publishes ( has published ? ) a WhitePaper about this....
    Regards,
    Sandeep

  • Virtual Directory and CoreID

    Can anyone tell me how Virtual Directory and CoreID play together? I heard that Virtual Directory was read-only. If that's the case, it doesn't seem like CoreID Identity can connect directly, cause it needs to be able to update. I currently have CoreID using ADAM as datastore. If I want to integrate other LDAP instances in the picture using Virtual Directory, what would be the scheme?
    Thanks,
    mike

    Hi Mike,
    I haven't tired it, but I have defenitely heard about it.
    This is a quote from the Oracle Website - " Oracle COREid also supports multi-directory and relational database integration via Oracle Virtual Directory.".
    Also, a similar scenario is discussed here ( Slide 8 ) :-
    http://conference.digitalidworld.com/2005/attendees/slides/Grand_0510_1600d.pdf
    It would be good if Oracle publishes ( has published ? ) a WhitePaper about this....
    Regards,
    Sandeep

Maybe you are looking for

  • Ideas for a beginner to program

    I've started mentoring a young student - teaching him LabVIEW. He is enjoying it and we have covered the basics. Now I need to come up with a project for him to start writing a program(s) on his own. For the time being, I would like to keep it to cal

  • Problem in reading the form parameter.

    Hi All, I have made a HTML with Following Tag <form name="uploadForm" action="upload.jsp" enctype="multipart/form-data" method="post"> as i made the enctype="multipart/form-data" i am not able to read the Form parameter that i got in the File tag of

  • An error occurred during the installation of assemble, an error occurred during the installation of assemble

    an error occurred during the installation of assemble microsoft.vc80.crt,type=''win32'',version=''8,0.50727,4053'',publickey token=''1fc8b9a1e18e3b'',process or architecture=''amd64''.please refer to help and support for more information,hresult:0x80

  • Managing routing tables in Windows

    Hi, I need some help regarding manipulating routing tables in Windows through JAVA. what i am looking for are functions in java that i can use to make changes in the OS (windows) routing tables so as to provide facilites like forwarding, routing etc

  • FRM-9201 A failure has occured on server - Oracle forms error Oracle 9IAS

    Hi, We have a custom based Oracle Forms application running in Oracle9IAS in AIX5.1 Box. Last week There was A patch applied to AIX box [Security Patch LIBC] and after that, we are experiencing numerous issues like 1. process full, 2. too many open c