How can I config virtual directory?

Hi,
in oc4j 9,I can edit orion-web.xml like this :<virtual-directory virtual-path="/icon" real-path="d:\csbstest\icons" />,but in oc4j 10133,after i do this,it doesnot work,who can help me?
Perhaps,oc4j 10132 does not support http service?
thank you
lixz
Edited by: lixinzhu on May 14, 2009 2:34 AM

Hello Shail
Thank you ,I config the application-level orion-web.xml and successfully access the virtual directory.But how to edit global-web-app.xml and access the virtual directory?
lixz

Similar Messages

  • How to create a virtual directory using EPG

    Hi,
    Can anyone tell me how to create a virtual directory in the EPG that points to a physical directory in the database server?
    Thanks,
    Andrew.

    You can create an Oracle directory that points to an operating system directory in the database product... Does that help?
    Thank you,
    Tony Miller
    Webster, TX
    There are two kinds of pedestrians -- the quick and the dead.
    If this question is answered, please mark the thread as closed and assign points where earned..

  • How can I check for directory creation?

    Hi,
    I want to check whether I can create a directory at a particular location.
    Let's say at c:\windows, can create a directory called c:\windows\mydir. But I won't be knowing the parent location (i.e., c:\windows here) at compile time.
    And I would also like to check for creating a directory like c:\windows\mydir1\mydir2 (mydir1 may not even exist).
    What I was doing was, I created the file object for my new directory (i.e., mydir here) and used the canWrite() method on the parent directory. But this method worked only when the parent directory existed. But how can check for a directory path like c:\windows\mydir1\mydir2 where I have to create both mydir1 for mydir2.
    Is there any other methods that I can use to perform this kind of a check.
    Thank you

    I finally figured out a workaround, but i don't know whether this is a good way of checking. :)
    import java.io.File;
    public class TryMKDIRs {
         public static void main(String[] args) {
              File file = new File("c:\\mydir1\\mydir2\\mydir3");
              boolean canICreateDir = false;
              if(false == (canICreateDir = file.canWrite())) {
                   System.out.println(file.getAbsoluteFile() + " cannot be created.");
                   File fileparent = file.getParentFile();
                   while(fileparent != null && (canICreateDir = fileparent.canWrite()) == false) {
                        System.out.println(fileparent.getAbsoluteFile() + " cannot be created.");
                        fileparent = fileparent.getParentFile();
              if(canICreateDir) {
                   file.mkdirs();
                   System.out.println("Directory can be created. . .");
    }

  • Please Help.  How can you monitor a directory using jndi connection to a ldap server?

    How can you monitor a directory using jndi connection to a ldap server? I
    want the ldap server to monitor the content change in a file system
    directory on another computer on the network. Can someone please help.
    Thanks
    Fred

    Hi,
    Why do you want to use LDAP for Hard disk monitoring..???
    U can do this by creating a MD5 checksum for all the files existing in some
    perticular
    directory and every hour or any configurable period u can recalculate the
    checksum
    to find out the change in the content.
    I guess all u need is to get the code for "updatedb" utility of Linux and
    instrument it for ur needs..
    Hope it helps...
    -aseem
    mr wrote:
    How can you monitor a directory using jndi connection to a ldap server? I
    want the ldap server to monitor the content change in a file system
    directory on another computer on the network. Can someone please help.
    Thanks
    Fred

  • How can i change the directory permissions?

    my xampp htdocs directory does not include me as a user but has Nobody? how can i change the directory permissions because i cannot edit a file?
    Thank you

    Select the directory, CMD+I, go to the bottom, unlock the lock, and add yourself to the list with R&W permissions.

  • How can i specify current directory path of wsusscn2.cab

    SCRIPT:
    How can i set current directory file path of wsusscn2.cab where i placed this vbscript, instead of going to c:\wsusscn2.cab.
    =======================================================================
    Dim fso
    Set wshNetwork = CreateObject("WScript.Network")
    strUser = wshNetwork.Username
    Set fso = WScript.CreateObject("Scripting.Filesystemobject")
    Set f = fso.CreateTextFile(".\Missing Patch Details\" & wshNetwork.ComputerName & "_missing_patches.csv", 2)
    Set UpdateSession = CreateObject("Microsoft.Update.Session")
    Set UpdateServiceManager = CreateObject("Microsoft.Update.ServiceManager")
    Set UpdateService = UpdateServiceManager.AddScanPackageService("Offline Sync Service", "c:\wsusscn2.cab")
    Set UpdateSearcher = UpdateSession.CreateUpdateSearcher()
    WScript.Echo "Searching for updates..." & vbCRLF
    UpdateSearcher.ServerSelection = 3 ' ssOthers
    UpdateSearcher.ServiceID = UpdateService.ServiceID
    Set SearchResult = UpdateSearcher.Search("IsInstalled=0")
    Set Updates = SearchResult.Updates
    If searchResult.Updates.Count = 0 Then
        WScript.Echo "There are no applicable updates."
        WScript.Quit
    End If
    WScript.Echo "List of applicable items on the machine when using wssuscan.cab:" & vbCRLF
    For I = 0 to searchResult.Updates.Count-1
        Set update = searchResult.Updates.Item(I)
    f.WriteLine update.Title
    'WScript.Echo I + 1 & "> " & update.Title
    Next
    WScript.Quit
    ==========================================================================
    prakash

    Just remove the c:\ and it will be looked for in the current directory.
    If you want the script how get the script path and remove the file name or use the shell
    currentFolder = CreateObject("WScript.Shell").CurrentDirectory
    ¯\_(ツ)_/¯

  • How can i open the directory/​folder and read all the files inside it in order and then close it?

    How can i open the directory/folder and read all the files inside it in order and then close it? any example would be nice.
    thanks

    In the File I/O>>Advanced File Functions Palette is a function named "List directory". This function will give you two arrays. One contains the names of all subdirectories the other the names of all files. If you want to sort them by name use the array sort function. If you want to sort them by another attribute use the File/Directory Info function to get more data. Use a cluster which contains the attribut to sort and the original index of the name. Then sort this array.
    Waldemar
    Waldemar
    Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
    Don't forget to give Kudos to good answers and/or questions

  • How can i config WLS7 and iPlanet LDAP

    How can i config WLS7 and iPlanet LDAP?
    failed during initialization. Exception:java.lang.SecurityException: Authenticat
    ion for user weblogic denied
    java.lang.SecurityException: Authentication for user weblogic denied
    at weblogic.security.service.SecurityServiceManager.doBootAuthorization(
    SecurityServiceManager.java:978)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityS
    erviceManager.java:1116)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:703)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:588)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:276)
    at weblogic.Server.main(Server.java:31)
    >

    Yos:
    Series of steps to get WLS working with some external LDAP server follows:
    I. create a new domain /mydomain
    II. start server
    III. open WebLogic console in a browser
    IV. in left frame, go to
    security->realms->myrealm->providers->AuthenticationProviders and click
    V. in right frame, click on “Configure a new iPlanet Authenticator”
    VI. In the new screen, under General, make sure the Control Flag is set to Required,
    select a name for this authenticator, and click Create.
    VII. Select iPlanet LDAP tab and fill in values for Host, Port, Principal where
    these values reflect the settings for your LDAP server. (Note: the default
    principal for an iPlanet LDAP server is uid=admin, ou=Administrators,
    ou=TopologyManagement, o=NetscapeRoot). Click Apply.
    VIII. Click on Credential: Change. At the new screen, enter the credential
    associated with the Principal that you entered in step VII in both boxes. This will
    be the password that is used to do a bind to your LDAP server with the principal.
    Click Apply.
    IX. Select Users tab and make sure these properties accurately reflect the structure
    of your LDAP server. Most of the time the only property that needs to be changed is
    the User Base DN property, from ou=people,o=example.com to
    ou=people,o=myCompany.com. Click Apply.
    X. Select Groups tab and make sure these properties accurately reflect the structure
    of your LDAP server. Most of the time the only property that needs to be changed is
    the Groups Base DN property, from ou=people,o=example.com to
    ou=groups,o=myCompany.com. Click Apply.
    XI. Now, the boot identity of your server absolutely must be a user that exists on
    your LDAP server. You must also have an “Administrators” group on your LDAP server,
    and the boot identity must be a user that exists in this “Administrators” group, or
    the server will not start. So open your LDAP console (this will be a console that
    is specific to the LDAP server you are using) and use the management tools to create
    the “Administrators” group and a user that you place in the “Administrators” group
    that is the boot identity that you use to start WebLogic.
    XII. Make these changes and restart the server.
    XIII. You can verify that the LDAP setup is correct by doing a thread dump. You
    should see a thread like:
    “LDAPConnThread localhost:389" daemon prio=5 tid=0x8d9b308 nid=0x8f8 runnable
    [0x9e2f000..0x9e2fdbc]
    at java.net.SocketInputStream.socketRead(Native Method)
    at java.net.SocketInputStream.read(SocketInputStream.java:86)
    at java.io.BufferedInputStream.fill(BufferedInputStream.java:186)
    at java.io.BufferedInputStream.read(BufferedInputStream.java:204)
    - locked <3281d98> (a java.io.BufferedInputStream)
    at netscape.ldap.ber.stream.BERElement.getElement(BERElement.java:101)
    at netscape.ldap.LDAPConnThread.run(LDAPConnThread.java:420)
    where “localhost:389” is the server name and port of your LDAP
    server. This means that your Authenticator has been set up correctly.
    XIV. Now you can delete your default authenticator. Open the WebLogic console and
    go to security->realms->myrealm->providers->AuthenticationProviders in the left
    frame, and click
    XV. In the right frame, look for DefaultAuthenticator and click on the trash can to
    the far right. Say “Yes” when it asks if you are sure, then click Continue.
    XVI. Restart the WebLogic server. If the server boots correctly, you’re done.
    Everything is working correctly.
    Please note that the "default authenticator" refers to the embedded LDAP server that
    ships with WebLogic.
    Hope this helps.
    Joe Jerry
    Yos wrote:
    How can i config WLS7 and iPlanet LDAP?
    failed during initialization. Exception:java.lang.SecurityException: Authenticat
    ion for user weblogic denied
    java.lang.SecurityException: Authentication for user weblogic denied
    at weblogic.security.service.SecurityServiceManager.doBootAuthorization(
    SecurityServiceManager.java:978)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityS
    erviceManager.java:1116)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:703)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:588)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:276)
    at weblogic.Server.main(Server.java:31)
    >

  • How can i config Oracle Services for Microsoft Transaction Server in  9.2

    how can i config Oracle Services for Microsoft Transaction Server in 9.2

    There's nothing to configure on the client side. On the database side you just need to run a script once to setup an ORAMTS admin account and some other infrastructure.

  • HT1430 Iphone 5 OS 6.1.1, When I turn off or restart device, this device automatic unmute. How can i config this problem?

    Iphone 5 OS 6.1.1, When I turn off or restart device, this device automatic unmute. How can i config this problem?

    Hey everyone in Apple world!
    I figured out how to fix the flashing yellow screen problem that I've been having on my MBP!  Yessssss!!!
    I found this super handy website with the golden answer: http://support.apple.com/kb/HT1379
    I followed the instructions on this page and here's what I did:
    Resetting NVRAM / PRAM
    Shut down your Mac.
    Locate the following keys on the keyboard: Command (⌘), Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.
    I went through the 6 steps above twice, just to make sure I got rid of whatever stuff was holding up my bootup process.  Since I did that, my MBP boots up just like normal.  No flashing yellow screen anymore!!   
    (Note that I arrived at this solution when I first saw this page: http://support.apple.com/kb/TS2570?viewlocale=en_US)
    Let me know if this works for you!
    Elaine

  • How to create a virtual directory that you can use over FTP ?

    Hi,
    I have an external disk that I want to use as a virtual directory on my Web server (OSX 10.3.9 SERVER on emac PPC g4).
    Is there any way to mount that disk as a virtual directory that can be viewed and browsed over http and ftp ?
    Thanks a lot !

    I thought had proper permisions set.
    What I see on my FTP is a file instead of a folder. when I try to click on this file I get this message : "550 DIDZEL:permission denied ! Error occured during transfer"

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

  • How to reinstall PowerShell Virtual Directory in IIS 7.5, Exchange 2010 SP1?

    Hi, When reinstalling CAS role, accidently removed Powershell virtual directory in IIS and also the powershell folder under ClientAccess folder. Now EMC and EMS not working, all with Kerbrose error and WinRM error. How could I restore PowerShell virtual
    directory and make it fully functional without a fully reinstall of EX2010? I tried manually add it in IIS and copy the web.config from another EX2010 server but failed. Can't access its module settings in IIS. How to recreate them? Any Powershell script(but
    not the exchange one) can do the job?

    Hello, thanks for your help so far!
    I have a similar issue. But when hitting your 2 cmdlets in powershell, I obtain the following error:
    New-PowerShellVirtualDirectory : Web object 'IIS://<FQDN Server>/W3SVC/1/ROOT' can't be found.
    At line:1 char:31
    + New-PowerShellVirtualDirectory <<<<  -Name "PowerShell" -InternalURL "http://<FQDN Server>/powershell"
        + CategoryInfo          : NotSpecified: (0:Int32) [New-PowerShellVirtualDirectory], WebObjectNotFoundException
        + FullyQualifiedErrorId : 20F775D1,Microsoft.Exchange.Management.SystemConfigurationTasks.NewPowerShellVirtualDire
       ctory
    What am I doing wrong?
    The IIS Default website is running. Server is W2008R2 SP1. Exchange 2010 SP3 
    You know you're an engineer when you have no life and can prove it mathematically

  • How to create a virtual directory for the Report Server

    Hi, I am new to server admin and need help with configuration.
    I would like to map a physical directory on the server so that users can use a virtual path to save report outputs in that location. For example the form will call the report with desname = 'd:\xyz\abc.pdf' and the output file will be saved in a predefined directory on the server. I know how to do it on the forms server using the orion_web.xml but not sure about the report server configuration.
    We are using rwservlet to run reports on 10G release2/Windows 2000.
    Thanks in advance,

    Virtual directories are mapped in the httpd.conf file in the Apache directory as aliases:
    Alias /xyz/ "d:\xyz\"
    You can now call the report output with
    http://server/xyz/abc.pdf

  • How can I get the directory.xml file for WL6.0?

    I have installed the ALBPM Enterprise WL6.01 and started it in my server.But I get the error message when I login.
    directory configuration runtime fails to initilize with
    resource:/Aqualogic/j2eewl/tomcate/webapps/../../webapps/webconsole/WEB-INF/directory.xml
    How can I get the XML file?

    aaa, ok i misunderstood your first post, i thought you are talking about unable to use the directory.xml from your application.
    Ok, well the directory.xml file that ALBPM uses is allways in /albpm6.0/j2eewl/conf/directory.xml if we are not talking about Standalone. And when you start your albpm server it picks up the directory.xml file from there. But it picks him up only when you start it...so if you made any changes to it, you have to restart the server.
    You should check the instalation folder of your ALBPM.
    If you want to change the user/pass in the directory.xml change it in that folder and restart ALBPM.
    If you don't know how to enter new password you have to use this sintax:
    <encrypt>newPassword</encrypt>
    Because if you open the xml file you have only <encrypted> tags, and you can't change those.
    I don't know what the xml file is doing in that tomcat folder though...maybe it get's copied to that location when you start the albpm WL
    Hope this helps
    Edited by Lex_ at 12/13/2007 10:27 PM

Maybe you are looking for

  • Macintosh Quadra 840AV, problem with startup

    Hey all, I got a brand new (old) Macintosh Quadra 840AV computer from my friend. I acquired it with powermac 8100 mainboard on deck, and then it started good, I had a signal on monitor and system started up. When I put an original 840AV mainboard it

  • Publishing to Captive Runtime

    Flash Pro 6, Mac OS10.6.8 Is it true that on a MAC  can only create a captive runtime export for a MAC and I need a windows computer and Flash 6 for Windows to Create a .EXE file? I have been working on Flash 5.5 and was excited to see the Captive Ru

  • Itunes will not play if Chrome is running

    I recently installed iTunes 12.1 on a Toshiba Satellite running win 8.1. Problem is that when Goggle Chrome is running iTunes will not play. My library is there and the progress bar shows at the top of the screen but it stays at 0:00. If I close Gogg

  • Dvd burning problem after update to 10.5.7

    hi there not a major problem, but a bit annoying. after updating my macpro to 10.5.7, my external lacie optical fw-drive is no more able to burn certain dvd-R's, using toast or mac-destop-burn-app. i used this brand (TDK printable) before, using 10.5

  • Time Capsule Data Transfer

    I have been transferring data from one Time Capsule to another by dragging and dropping over my wireless network. However, it is taking an inordinate amount of time, especially for movies and tv shows. Is there a quicker way to do this. Can I attach