Virtual Directory-Simple question

Hello!
My application needs to access a number of files in several directories. They are mear static .PDF files.But when i call them my program is written in such a way that, it points out to the physical directory, like "C:\application\repots\myreport.pdf" and the same thing will desplayed in the browser.Any one of you please help me in creating "Virtual directory" and how to map that to the physical directory where all my files exist.
Thanks for your earliest response.
-Sreekanth Varidhireddy

I have a servlet that generates a String as follows
reports\RPTS200208\E200208-89000001.PDF where 2002= current year
08=current month
89000001 is the code that has been submitted from a jsp page( getParameter()).
I have a Physical directory called reports in which all these sub-directories and the .PDF files inturn.
I included orion-web.xml file and i wrote it as follows.
<?xml version = '1.0' encoding = 'windows-1252'?>
<!DOCTYPE orion-web-app PUBLIC "-//Evermind//DTD Orion Web Application 2.3//EN" "http://xmlns.oracle.com/ias/dtds/orion-web.dtd">
<orion-web-app servlet-webdir="/servlet/">
     <virtual-directory virtual-path="/reports"
          real-path="\\wdcapps01dev\Ddrive\test\isis\reports" />
</orion-web-app>
in theory it should pull that particular .PDF file..but surprisingly is not. I don't know where I am going wrong.I would be very thankful to you if you help me out of this problem. Thank you.

Similar Messages

  • Load Balancing Directory Servers with Access Manager - Simple questions

    Hi.
    We are in the process of configuring 2 Access Manager instances (servers) accessing the same logical LDAP repository (comprising physically of two Directory Servers working together with Multi-Master Replication configured and tested) For doing this, we are following guide number 819-6258.
    The guide uses BigIP load balancer for load balancing the directory servers. However, we intend to use Directory Proxy Server. Since we faced some (unresolved) issues last time that we used DPS, there are some simple questions that I would be very grateful to have answers to:
    1. The guide, in section 3.2.10 (To configure Access Manager 1 with the Directory Server load balancer), talks about making changes at 4 places, and replacing the existing entry (hostname and port) with the load balancer's hostname and port (assuming that the load balancer has already been configured). It says that changes need not be made on Access Manager 2 since the LDAPs are in replication, and hence changes will be replicated at all places. However, the guide also states that changes have to be made in two files, namely AMConfig.properties, and the serverconfig.xml file. But these changes will not be reflected on Access Manager 2, since these files are local on each machine.
    Question 1. Do changes have to be made in AMConfig.properties and serverconfig.xml files on the other machine hosting Access Manager 2?
    Question 2: What is the purpose of putting these values here? Specifically, what is achieved by specifying the Directory server host and port in AMConfig.properties, as well as in serverconfig.xml?
    Question 3. In the HTTP console, there is the option of specifying multiple primary LDAP servers, as well as multiple secondary LDAP servers. What is the purpose of these? Are secondary servers attempted when none of the list in the primary list are accessible? Also, if there are multiple entries in the primary server list, are they accessed in a round robin fashion (hereby providing rudimentary load balancing), or are other servers accessed only when the one mentioned first is not reachable etc.?
    2. Since I do not have a load balancer setup yet, I tried the following deviation to the above, which, according to me, should have worked. If viewed in the HTTP console, LDAP / Membership / MSISDN and Policy configuration all pointed to the DS on host 1. When I changed all these to point to the directory server on host 2 (and made AMConfig.properties and serverconfig.xml on host 1 point to DS of host 2 as well), things should have worked fine, but apparently Access manager 1 could not be started. Error from Webserver:
    [14/Aug/2006:04:30:36] info (13937): WEB0100: Loading web module in virtual server [https-machine_1_FQDN] at [search]
    [14/Aug/2006:04:31:48] warning (13937): CORE3283: stderr: Exception in thread "EventService" java.lang.ExceptionInInitializerError
    [14/Aug/2006:04:31:48] warning (13937): CORE3283: stderr: at com.iplanet.services.ldap.event.EventServicePolling.run(EventServicePolling.java:132)
    [14/Aug/2006:04:31:48] warning (13937): CORE3283: stderr: at java.lang.Thread.run(Thread.java:595)
    [14/Aug/2006:04:31:48] warning (13937): CORE3283: stderr: Caused by: java.lang.InterruptedException
    [14/Aug/2006:04:31:48] warning (13937): CORE3283: stderr: at com.sun.identity.sm.ServiceManager.<clinit>(ServiceManager.java:74)
    [14/Aug/2006:04:31:48] warning (13937): CORE3283: stderr: ... 2 more
    In effect, AM on 1 did not start. On rolling back the changes, things again worked like previously.
    Will be really grateful for any help / insight / experience on dealing with the above.
    Thanks!

    Update to the above, incase anyone is reading:
    We setup a similar setup in Windows, and it worked. Here is a detailed account of what was done:
    1. Host 1: Start installer, install automatically, chose Directory server, Directory Administration server, Directory Proxy server, Web server, Access Manager.
    All installed, and worked fine. (AMConfig.properties, serverconfig.xml, and the info in LDAP service, all pointed to HOST1:389)
    2. Host 2: Start installer, install automatically, chose Directory server, Directory Administration server, Directory Proxy server, Web server, Access Manager.
    All installed, and worked fine. (AMConfig.properties, serverconfig.xml, and the info in LDAP service, all pointed to HOST2:389)
    3. Host 1: Started replication. Set to Master
    4. Host 2: Started replication. Set to Master
    5. Host 1: Setup replication agreement to Host 2
    6. Host 2: Setup replication agreement to Host 1
    7. Initiated the remote replica from Host 1 ----> Host 2
    Note that since default installation uses abc.....xyz as the encryption key, setting this to same was not an issue.
    9. Started webserver for Host 1 and logged into AM as amadmin.
    10. Added Host 2 FQDN in DNS Aliases / Realms
    11. Added http://HOST2_FQDN:80 in the Platform server (instance) list.
    12. Started Host 2 webserver. Logged in AM on Host 2, things worked fine.
    At this stage, note the following:
    a) Host 1:
    AMConfig.properties file has
    com.iplanet.am.directory.host=host1_FQDN
    and
    com.iplanet.am.directory.port=389
    serverconfig.xml has:
    <Server name="Server1" host="host1_FQDN" port="389" type="SIMPLE" />
    b) Host 2:
    AMConfig.properties file has
    com.iplanet.am.directory.host=host2_FQDN
    and
    com.iplanet.am.directory.port=389
    serverconfig.xml has:
    <Server name="Server1" host="host2_FQDN" port="389" type="SIMPLE" />
    c) If one logs into AM, and checks LDAP servers for LDAP / Policy Configuration / Membership etc services, they all contain Host2_FQDN:389 (which makes sense, since replica 2 was initialized from 1)
    Returning back to the configuations:
    13. On Host 1, login into the Admin server console of the Directory server. Navigate to the DPS, and confgure the following:
    a) Network Group
    b) LDAP servers
    c) Load Balancing
    d) Change Group
    e) Action on-bind
    f) Allow all actions (permit modification / deletion etc.).
    g) any other configuations required - Am willing to give detailed steps if someone needs them to help me / themselves! :)
    So now, we have DPS configured and running on Host1:489, and distributing load to DS1 and DS2 on a 50:50 basis.
    14. Now, log into AM on Host 1, and instead of Host1_fqdn:389 (for DS) in the following places, specify Host1_fqdn:489 (for the DPS)--
    LDAP Authentication
    MSISDN server
    Membership Service
    Policy configuation.
    Verified that this propagated to the Policy Configuration service and the LDAP authentication service that are already registered with the default organization.
    15. Log out of AM. Following the documentation, modify directory.host and directory.port in AMConfig.properties to point to Host 1_FQDN and 489 respectively. Make this change in AMConfig.properties of both Host 1 as well as 2.
    16. Edit serverconfig.xml on both hosts, and instead of they pointing to their local directory servers, point both to host1_FQDN:489
    17. When you start the webserver, it will refuse to start. Will spew errors such as:
    [https-host1_FQDN]: Sun ONE Web Server 6.1SP5 B06/23/2005 17:36
    [https-host1_FQDN]: info: CORE3016: daemon is running as super-user
    [https-host1_FQDN]: info: CORE5076: Using [Java HotSpot(TM) Server VM, Version 1.5.0_04] from [Sun Microsystems Inc.]
    [https-host1_FQDN]: info: WEB0100: Loading web module in virtual server [https-host1_FQDN] at [amserver]
    [https-host1_FQDN]: warning: WEB6100: locale-charset-info is deprecated, please use parameter-encoding
    [https-host1_FQDN]: info: WEB0100: Loading web module in virtual server [https-host1_FQDN] at [ampassword]
    [https-host1_FQDN]: warning: WEB6100: locale-charset-info is deprecated, please use parameter-encoding
    [https-host1_FQDN]: info: WEB0100: Loading web module in virtual server [https-host1_FQDN] at [amcommon]
    [https-host1_FQDN]: info: WEB0100: Loading web module in virtual server [https-host1_FQDN] at [amconsole]
    [https-host1_FQDN]: warning: WEB6100: locale-charset-info is deprecated, please use parameter-encoding
    [https-host1_FQDN]: info: WEB0100: Loading web module in virtual server [https-host1_FQDN] at [search]
    [https-host1_FQDN]: warning: CORE3283: stderr: netscape.ldap.LDAPException: error result (32); matchedDN = dc=sun,dc=com; No such object (DN changed)
    [https-host1_FQDN]: warning: CORE3283: stderr: Got LDAPServiceException code=-1
    [https-host1_FQDN]: warning: CORE3283: stderr: at com.iplanet.services.ldap.DSConfigMgr.getConnection(DSConfigMgr.java:357)
    [https-host1_FQDN]: warning: CORE3283: stderr: at com.iplanet.services.ldap.DSConfigMgr.getNewFailoverConnection(DSConfigMgr.java:314)
    [https-host1_FQDN]: warning: CORE3283: stderr: at com.iplanet.services.ldap.DSConfigMgr.getNewConnection(DSConfigMgr.java:253)
    [https-host1_FQDN]: warning: CORE3283: stderr: at com.iplanet.services.ldap.DSConfigMgr.getNewProxyConnection(DSConfigMgr.java:184)
    [https-host1_FQDN]: warning: CORE3283: stderr: at com.iplanet.services.ldap.DSConfigMgr.getNewProxyConnection(DSConfigMgr.java:194)
    [https-host1_FQDN]: warning: CORE3283: stderr: at com.iplanet.ums.DataLayer.initLdapPool(DataLayer.java:1248)
    [https-host1_FQDN]: warning: CORE3283: stderr: at com.iplanet.ums.DataLayer.(DataLayer.java:190)
    [https-host1_FQDN]: warning: CORE3283: stderr: at com.iplanet.ums.DataLayer.getInstance(DataLayer.java:215)
    [https-host1_FQDN]: warning: CORE3283: stderr: at com.iplanet.ums.DataLayer.getInstance(DataLayer.java:246)
    [https-host1_FQDN]: warning: CORE3283: stderr: at com.sun.identity.sm.ldap.SMSLdapObject.initialize(SMSLdapObject.java:156)
    [https-host1_FQDN]: warning: CORE3283: stderr: at com.sun.identity.sm.ldap.SMSLdapObject.(SMSLdapObject.java:124)
    [https-host1_FQDN]: warning: CORE3283: stderr: at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    [https-host1_FQDN]: warning: CORE3283: stderr: at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    [https-host1_FQDN]: warning: CORE3283: stderr: at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    [https-host1_FQDN]: warning: CORE3283: stderr: at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    [https-host1_FQDN]: warning: CORE3283: stderr: at java.lang.Class.newInstance0(Class.java:350)
    [https-host1_FQDN]: warning: CORE3283: stderr: at java.lang.Class.newInstance(Class.java:303)
    [https-host1_FQDN]: warning: CORE3283: stderr: at com.sun.identity.sm.SMSEntry.(SMSEntry.java:216)
    [https-host1_FQDN]: warning: CORE3283: stderr: at com.sun.identity.sm.ServiceSchemaManager.(ServiceSchemaManager.java:67)
    [https-host1_FQDN]: warning: CORE3283: stderr: at com.iplanet.am.util.AMClientDetector.getServiceSchemaManager(AMClientDetector.java:219)
    [https-host1_FQDN]: warning: CORE3283: stderr: at com.iplanet.am.util.AMClientDetector.(AMClientDetector.java:94)
    [https-host1_FQDN]: warning: CORE3283: stderr: at com.sun.mobile.filter.AMLController.init(AMLController.java:85)
    [https-host1_FQDN]: warning: CORE3283: stderr: at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)
    [https-host1_FQDN]: warning: CORE3283: stderr: at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:322)
    [https-host1_FQDN]: warning: CORE3283: stderr: at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:120)
    [https-host1_FQDN]: warning: CORE3283: stderr: at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3271)
    [https-host1_FQDN]: warning: CORE3283: stderr: at org.apache.catalina.core.StandardContext.start(StandardContext.java:3747)
    [https-host1_FQDN]: warning: CORE3283: stderr: at com.iplanet.ias.web.WebModule.start(WebModule.java:251)
    [https-host1_FQDN]: warning: CORE3283: stderr: at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    [https-host1_FQDN]: warning: CORE3283: stderr: at org.apache.catalina.core.StandardHost.start(StandardHost.java:652)
    [https-host1_FQDN]: warning: CORE3283: stderr: at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    [https-host1_FQDN]: warning: CORE3283: stderr: at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355)
    [https-host1_FQDN]: warning: CORE3283: stderr: at org.apache.catalina.startup.Embedded.start(Embedded.java:995)
    [https-host1_FQDN]: warning: CORE3283: stderr: at com.iplanet.ias.web.WebContainer.start(WebContainer.java:431)
    [https-host1_FQDN]: warning: CORE3283: stderr: at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:500)
    [https-host1_FQDN]: warning: CORE3283: stderr: at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161)
    [https-host1_FQDN]: failure: WebModule[amserver]: WEB2783: Servlet /amserver threw load() exception
    [https-host1_FQDN]: javax.servlet.ServletException: WEB2778: Servlet.init() for servlet LoginLogoutMapping threw exception
    [https-host1_FQDN]: at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:949)
    [https-host1_FQDN]: at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
    [https-host1_FQDN]: at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3478)
    [https-host1_FQDN]: at org.apache.catalina.core.StandardContext.start(StandardContext.java:3760)
    [https-host1_FQDN]: at com.iplanet.ias.web.WebModule.start(WebModule.java:251)
    [https-host1_FQDN]: at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    [https-host1_FQDN]: at org.apache.catalina.core.StandardHost.start(StandardHost.java:652)
    [https-host1_FQDN]: at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    [https-host1_FQDN]: at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355)
    [https-host1_FQDN]: at org.apache.catalina.startup.Embedded.start(Embedded.java:995)
    [https-host1_FQDN]: at com.iplanet.ias.web.WebContainer.start(WebContainer.java:431)
    [https-host1_FQDN]: at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:500)
    [https-host1_FQDN]: at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161)
    [https-host1_FQDN]: ----- Root Cause -----
    [https-host1_FQDN]: java.lang.NullPointerException
    [https-host1_FQDN]: at com.sun.identity.authentication.UI.LoginLogoutMapping.init(LoginLogoutMapping.java:71)
    [https-host1_FQDN]: at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:921)
    [https-host1_FQDN]: at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
    [https-host1_FQDN]: at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3478)
    [https-host1_FQDN]: at org.apache.catalina.core.StandardContext.start(StandardContext.java:3760)
    [https-host1_FQDN]: at com.iplanet.ias.web.WebModule.start(WebModule.java:251)
    [https-host1_FQDN]: at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    [https-host1_FQDN]: at org.apache.catalina.core.StandardHost.start(StandardHost.java:652)
    [https-host1_FQDN]: at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    [https-host1_FQDN]: at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355)
    [https-host1_FQDN]: at org.apache.catalina.startup.Embedded.start(Embedded.java:995)
    [https-host1_FQDN]: at com.iplanet.ias.web.WebContainer.start(WebContainer.java:431)
    [https-host1_FQDN]: at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:500)
    [https-host1_FQDN]: at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161)
    [https-host1_FQDN]:
    [https-host1_FQDN]: info: HTTP3072: [LS ls1] http://host1_FQDN:58080 [i]ready to accept requests
    [https-host1_FQDN]: startup: server started successfully
    Success!
    The server https-host1_FQDN has started up.
    The server infact, didn't start up (nothing even listening on 58080).
    However, if AMConfig.properties is left as it originally was, and only serverconfig.xml files were changed as mentioned above, web servers started fine, and things worked all okay. (Alright, except for some glitches when viewed in /amconsole. If /amserver/console is accessed, all is good. Can this mean that all is still not well? I am not sure).
    So far so good. Now comes the sad part. When the same is done on Solaris 9, things dont work. You continue to get the above error, OR the following error, and the web server will refuse to start:
    Differences in Solaris and Windows are as follows:
    1. Windows hosts have 1 IP and hostname. Solaris hosts have 3 IPs and hostnames (for DS, DPS, and webserver).
    No other difference from an architectural perspective.
    Any help / insight on why the above is not working (and why the hell does the documentation seem so sketchy / insecure / incorrect).
    Thanks a bunch!

  • HFM Question : What could corrupt a virtual directory ?

    Hello Gurus,
        Sometimes I have been facing an issue with consolidation app when opening it from workspace.
        I'm trying to load this app, in to HFM 11.1.2.2. I was able to deploy the application, however, when I try to open it from Applications > Consolidation > AGGCONS to load data I'm getting the following error :
    "The following exception has occurred in DataControlFactoryImpl.createSession(): oracle.jbo.JboException com a mensagem: JBO-29000:Unexpected exception caught: oracle.adf.model.adapter.AdapterException, msg=DCA-29000: Unexpected exception caught: oracle.epm.fm.common.exception.HFMException, msg= {D0084996-C813-4113-92FA-81202489222A}1-2147023878106/09/2013 15:46:51HYPDCHFMWHCHFMCASSecurity.cpp5411.1.2.2.300.3774-2147023878006/09/2013 15:46:51HYPDCHFMWHCHsxClient.cpp526611.1.2.2.300.3774"
          I've found a possible solution at Oracle Support :  Financial Management Error "JBO-29000: Unexpected exception caught..." When Attempting to Access Consolidation Administration in Workspace. (Doc ID 1457676.1).  However, it's not exactly the same error, but the solution related to my issue was similar. This article state that :
    "The Financial Management web server configuration does not complete succesfully, the virtual directory in IIS called "hfmapplicationservice" is not available under "Default Web Site".  To resolve this issue run the EPM System Configurator and on the HFM web server and choose "Configure web server" for Financial Management product to re-create the virtual folder (hfmapplicationservice)."
          When I follow the instructions above, I've got to open up the app without any problem. But in two or three days the same error happens again.
          I'm suspecting about the user but don't know enough about Consolidation Application to affirm that.
          Then I'd like to know if would be possible some kind of a "bad app use" to corrupt some files from this virtual directory that is mapped in IIS that the only solution is recreate this virtual directory.
    Thanks in advance.

    Hi,
    Are you an administrator in the HFM servers?
    Regards,
    Thanos

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

  • Configuring virtual directory paths

    I think a rather simple question: how can I define a virtual directory in which I can access subdirectories.
    I define /documents/ and I want to access documents in underlying subdirectories like
    e.g. /documents/2001/may/
    Hope someone can post the answer.
    Thanks!

    Use the following,
    Alias /test/ "c:\test\"
    <Directory /test>
    Options FollowSymLinks
    AllowOverride None
    </Directory>
    relace /test with your directory.
    null

  • 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

  • EMC Crash when i try to - reset client access virtual directory

    Hi All,
    I have one exchagne server 2010 sp3 rollup 7 installed on server 2012R2 Std.
    When i try to reset client access virtual directory the MMC is crashing.
    In the event viewer i can find 3 error after to crash:
    1.
    The program mmc.exe version 6.3.9600.17415 stopped interacting with Windows and was closed. To see if more information about the problem is available, check the problem history in the Action Center control panel.
     Process ID: 2360
     Start Time: 01d04e7b531a4a0d
     Termination Time: 4294967295
     Application Path: C:\Windows\system32\mmc.exe
     Report Id: 69db84d3-ba91-11e4-80c3-0050569b5787
     Faulting package full name: 
     Faulting package-relative application ID: 
    2. 
    Application: mmc.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.Reflection.TargetInvocationException
    Stack:
       at Microsoft.ManagementConsole.Executive.MmcThreadMessageWindow.OnThreadException(Exception e)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
       at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       at Microsoft.ManagementConsole.Internal.SnapInMessagePumpProxy.Microsoft.ManagementConsole.Internal.ISnapInMessagePumpProxy.Run()
       at Microsoft.ManagementConsole.Executive.SnapInThread.OnThreadStart()
       at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
       at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
       at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
       at System.Threading.ThreadHelper.ThreadStart()
    3.
    Faulting application name: mmc.exe, version: 6.3.9600.17415, time stamp: 0x54504e26
    Faulting module name: KERNELBASE.dll, version: 6.3.9600.17415, time stamp: 0x54505737
    Exception code: 0xe0434352
    Fault offset: 0x0000000000008b9c
    Faulting process id: 0x2014
    Faulting application start time: 0x01d04e9e432feaef
    Faulting application path: C:\Windows\system32\mmc.exe
    Faulting module path: C:\Windows\system32\KERNELBASE.dll
    Report Id: b8276755-ba91-11e4-80c3-0050569b5787
    Faulting package full name: 
    Faulting package-relative application ID: 
    When i try to preform the task from EMC that installed on my PC (Win 7 SP1 x64) everything works fine
    Thank you.

    Hi Eliran,
    Thank you for your question.
    Are there any update recently?
    We could refer to the following steps to troubleshoot:
    1)disable A/V
    2) Run: DISM.exe /Online /Cleanup-image /Restorehealth
    http://support.microsoft.com/kb/947821/en-gb
    3) follow http://support.microsoft.com/kb/929833/en-gb to upload %WinDir%\Logs\CBS\CBS.log
    4) disable snap-ins exept DNS-snapin
    5) run SDP
    6) enable A/V
    We could also re-install .Net 4.0 to check if the issue persist by the following link:
    http://www.microsoft.com/en-us/download/details.aspx?id=17718  
    If the issue persist, we could install Exchange 2010 SP3 CU8 by the following link:
    http://www.microsoft.com/en-us/download/details.aspx?id=45225
    If there are any questions regarding this issue, please be free to let me know.
    Best Regard,
    Jim

  • Current Year and current month?simple question

    How can i get four Digit current Year and two digit current month. So if is march it should get me as 03 and the Year as 2002. Please do help me, is a simple question isn't it ?. Thanks for your earliest response.
    Thank you.

    i have a directory structre of the format
    REPTS2000209/E200209-98000001
    in which 2002 is current YEAR
    09 is current month
    and 9800001 is the code i would submit(list box) from a form
    so what i need is a program that can generate the above path and open that particular PDF file
    so basically E200209-98000001.pdf is the PDF file.
    i am submitting it from JSP page. PLEASE HELP ME how can i program.

  • 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

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

  • Virtual directory mapping: how to use variable in local-path element

    Hi all
    We are using a virtual-directory-mapping declaration in the deployment descriptor
    for our web application to load jsp'a and other files from the file system.
    This declaration looks like this:
    <virtual-directory-mapping>
    <local-path>c:/views/jsp</local-path>
    <url-pattern>*.jsp</url-pattern>
    </virtual-directory-mapping>
    Here is my question:
    Is there a possibility to use a variable in the local-path element? Something
    like:
    <virtual-directory-mapping>
    <local-path>%PATH_TO_JSP%</local-path>
    <url-pattern>*.jsp</url-pattern>
    </virtual-directory-mapping>
    If yes, how does it look like? My example above didn't work.
    If no, is there another way to do that?
    Thanks in advance
    Regards
    Iwan

    posting to servlets newsgroup
    "Iwan Bussmann" <[email protected]> wrote in message
    news:[email protected]..
    >
    Hi all
    We are using a virtual-directory-mapping declaration in the deploymentdescriptor
    for our web application to load jsp'a and other files from the filesystem.
    This declaration looks like this:
    <virtual-directory-mapping>
    <local-path>c:/views/jsp</local-path>
    <url-pattern>*.jsp</url-pattern>
    </virtual-directory-mapping>
    Here is my question:
    Is there a possibility to use a variable in the local-path element?Something
    like:
    <virtual-directory-mapping>
    <local-path>%PATH_TO_JSP%</local-path>
    <url-pattern>*.jsp</url-pattern>
    </virtual-directory-mapping>
    If yes, how does it look like? My example above didn't work.
    If no, is there another way to do that?
    Thanks in advance
    Regards
    Iwan

  • Simple question about flex and AS 3.0

    Hi, this might sound like a simple question so I apologize...
    I have both a copy of flex 2 and 3, and i want to simply code in AS
    3.0 not mxml. I referred to the help of both flex 2 and 3, and all
    i could come up with is "you can add dynamic behavior to your
    documents using actionscript", which means to me, you only write
    your functions in AS and create instances with mxml (...ugh).
    personally, i find mxml to be ugly (mainly because it looks like
    html to me), and i'd rather not use it. coming from programming in
    an IDE in Java, it seems like it would be nicer to have something
    similar, all the while having the power and cool features of flash.
    I'm not fully educated in this matter so i understand that i could
    be totally wrong.
    i mean, if i have to code in mxml, i will. i'm a web
    programmer for a living, and if a more experience programmer said
    something like "if you don't code mxml in flex, you'll never get a
    job coding in flex", i would trust the advice, and learn the ugly
    code. :)
    yes, i do have Flash cs3, it's great but it seems like a pain
    to me the way you organize classes.... i've only seen a few
    tutorials, ones that explain how you cannot simply import a custom
    class, you have tell your movie to link to it, put it in the same
    directory, or manually name the package, it's sort of confusing.
    my main point here is that i'm very eager to start building
    apps in straight AS 3.0 instead of using flash cs3 (for some
    projects), and it would be cool to get some help or be pointed in
    the right direction.
    to simplify:
    can i write AS 3.0 and only as 3.0 in flex 2 or 3? how? can
    you link me to a tutorial? any advise?
    thanks!

    Hey William, thanks for the post. It's a great coincidence
    because I'm reading that book as well. I'm about half way through
    it, and I love it. I installed mxmlc on my linux box and am writing
    pure AS 3 apps. I think that's the way to go, though I know it's
    not for everybody.
    My problem with mxml is that it has a weird syntax for
    function calls, and it's not as 'intuitive' for a person like me,
    who came from C++ and Java programming in the past. I like writing
    programs in the C++ and Java style syntax, and since so many other
    languages use a similar syntax, I don't see any reason to learn the
    nuances of mxml, unless I was getting paid to do it. As far as I
    can tell there is no benefit.
    I hate using Flash to write flash apps as well, I feel like
    they become messy and confusing, especially when trying to write an
    OOP application. I only use it if I want to move an object in a
    very specific way and can't do it with the Tween methods.

  • Re-Create the "Exchange" virtual directory in the "Exchange Back End" Site on Exchange 2013

    Sorry for this stupid question.
    In IIS, I accidentaly deleted the "Exchange" virtual directory in the "Exchange Back End" Site on Exchange 2013 (Mailbox Role).
    What I need to know is the physical path to re-create it.
    Thanks

    Check http://blogs.technet.com/b/get-exchangehelp/archive/2013/02/07/managing-exchange-2013-iis-virtual-directories-amp-web-applications.aspx

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

  • Javac : command not found ?? A simple question.

    Hello.
    I need to somehow tell linux where to find javac so that I don't need
    to type in /usr/local/jdk1.4/javac HelloWorldApp.java every time I need
    to run javac. I have seen how to do this in windows but I don't know how to do it in Linux
    I know it's a simple question, I'm just new to Linux.
    Your help is appreciated.

    The answer depends on the shell you use.
    The default on linux is bash, so do this: In your home directory there is a file with the name .bashrc. Commands in that file are performed every time you start the shell.
    In that file, add the command "export PATH=/usr/local/jdk1.4/bin:$PATH". Then "source .bashrc" so that the change takes effect. You can verify that the directory has been added with "echo $PATH".
    If you want to set the path for all users and not just yourself, make the change in the system startup files. This depends on your distro; the right file might be /etc/profile or /etc/profile.local or /etc/bashrc.

Maybe you are looking for

  • J2ME problem with threads

    Hi all, I would like to ask you for a help. I need to write a small program at my university. I started to write a midlet which function would be to countdown time for sports activities. I woul like to start a new thread - the one that counts down -

  • Send RFQ and PO from SAP R/3 to SRM

    Hi all, I am new to SRM and need send the RFQ and PO created in SAP R/3 release 4.7 for SRM Server 5.0. I am using a distribution model (ALE) between the systems with the message types REQOTE and ORDERS associated to IDOC types ORDERS02 and ORDERS05

  • Photos App Copying items to Photos Library regardless of checked option

    I have been trying for hours to start my Photos App. It keeps saying via thermometer that it's either Preparing, Updating or Uploading, and this happens for hours with absolutely no progress on the "thermomether". I have been monitoring on Activity M

  • MM/DD/RRRR VS MM/DD/YYYY

    Good Morning everyone, We would like to change 12/31/2010 format and we founded input mask with RRRR and YYYY options: http://1.bp.blogspot.com/-UD3KS-5zkas/TYikBiz4R7I/AAAAAAAAAL8/2y9n2zLZcsQ/s1600/yr.bmp If you could tell differences, it will be gr

  • How to install windows on separate internal drive?

    Hello, I've been at this problem for a few days and need some help if anyone has a clue. I have a late 2008 macbook pro 15". I've taken out my optical drive to install a SSD so that I can run both the existing internal drive and SSD as a DIY Fusion D