[WL5.1] Virtual Directory for JSP: Possible??=

Hi,
          I'm looking for a way to use a virtual directory for JSPs within my
          webapp. I want to access my JSPs by e.g. /webappname/layouts/jspname.jsp
          while they should be physically located somewhere else in the file
          system. The following snippet works for static files, but I suppose
          there is no docHome for JSPs:
               <servlet>
                    <servlet-name>ImageAlias</servlet-name>
          <servlet-class>weblogic.servlet.FileServlet</servlet-class>
                    <init-param>
                         <param-name>docHome</param-name>
                         <param-value>c:\dev\fbs\images\</param-value>
                    </init-param>
               </servlet>
               <servlet-mapping>
                    <servlet-name>ImageAlias</servlet-name>
                    <url-pattern>/image/*</url-pattern>
               </servlet-mapping>
          Thanks for any hints,
          Daniel
          

Hi,
          I'm looking for a way to use a virtual directory for JSPs within my
          webapp. I want to access my JSPs by e.g. /webappname/layouts/jspname.jsp
          while they should be physically located somewhere else in the file
          system. The following snippet works for static files, but I suppose
          there is no docHome for JSPs:
               <servlet>
                    <servlet-name>ImageAlias</servlet-name>
          <servlet-class>weblogic.servlet.FileServlet</servlet-class>
                    <init-param>
                         <param-name>docHome</param-name>
                         <param-value>c:\dev\fbs\images\</param-value>
                    </init-param>
               </servlet>
               <servlet-mapping>
                    <servlet-name>ImageAlias</servlet-name>
                    <url-pattern>/image/*</url-pattern>
               </servlet-mapping>
          Thanks for any hints,
          Daniel
          

Similar Messages

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

  • Help with virtual directory for CFIDE CF 9.0.2

    Thanks in advance ... if anyone could point me in the right direction for this issue I would appreciate it....
    I set up the CFIDE virtual directory as per the lockdown guide for CF 9.0.2. Every website works except I have a path issue with one file... see below.... it throws a 404 error:
    in administrator I have the default ScriptSrc dir set to /cf-scripts/
    I have a virtual directory in the websites in IIS 7.5 named cf-scripts mapped to /CFIDE/scripts/
    All the scripts come up correctly except mapiconmaker.js .... somehow the path to this file is drawing out incorrectly and causing the 404.error
    <script type="text/javascript" src="/cf-scripts/ajax/messages/cfmessage.js"></script>
    <script type="text/javascript" src="/cf-scripts/ajax/package/cfajax.js"></script>
    <script type="text/javascript" src="/cf-scripts/ajax/yui/animation/animation-min.js"></script>
    <script type="text/javascript" src="/cf-scripts/ajax/ext/adapter/yui/ext-yui-adapter.js"></script>
    <script type="text/javascript" src="/cf-scripts/ajax/ext/ext-all.js"></script>
    <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?sensor=false&key=my-key"></script>
    <script type="text/javascript" src="/CFIDE/scripts/ajax/ext/map/mapiconmaker.js"></script>
    <script type="text/javascript" src="/cf-scripts/ajax/ext/map/GMapPanel3.js"></script>
    <script type="text/javascript" src="/cf-scripts/ajax/package/cfmap.js"></script>
    <link rel="stylesheet" type="text/css" href="/cf-scripts/ajax/resources/ext/css/ext-all.css" />
    <link rel="stylesheet" type="text/css" href="/cf-scripts/ajax/resources/cf/cf.css" />
    the console error reads:
    GET http://mobile.mydomain.com/CFIDE/scripts/ajax/ext/map/mapiconmaker.js 404 (Not Found) map-listings.cfm:14
    Uncaught ReferenceError: MapIconMaker is not defined
    tag usage:
    <cfmap name="listingMap"
        centerlatitude="33.580563"
        centerlongitude="-117.262376"
        doubleclickzoom="true"
        overview="true"
        scrollwheelzoom="true"
        showscale="false"
        tip="Bear Creek Listings"
        zoomlevel="15"
        width="500"
        height="500">
          <cfloop query="listings"> 
           <cfmapitem name="#id#" latitude="#latitude#"  longitude="#longitude#"  tip="#address#" /> 
            </cfloop> 
    </cfmap>
    the map displays properly with approx 20 icon locations.

    It's possible that the path to that JavaScript file was hardcoded in the ColdFusion source code, rather than calculating the path using the CF Administrator ScriptSrc value as it does for the other resources.  Could you test this with CF10 or CF11 to see if this problem is already fixed in subsequent versions?  Or maybe file a bug report with Adobe.
    -Carl V.

  • Creation of virtual directory for EPMA during 11.1.2.2 configuration

    Hi Experts,
    I was trying to install and configure the EPM 11.1.2.2 products on a POC machine with Windows 2008 R2. I was able to install and configure some products and i was facing issue with the EPMA configuration where it struck during "Creation of EPMA virtual Directory". I can see the virtual directory created but not sure why this is not finishing up and just struck at this level, deployment is all fine. Attached the config log for any reference
    I have enabled Windows authentication in IIS 7 and disabled Basic authentication
    Please let me know if anyone has come across this issue and thanks for your help
    [2012-11-14T11:33:51.278-08:00] [EPMCFG] [TRACE] [EPMCFG-01496] [oracle.EPMCFG] [tid: 23] [ecid: 0000Jg0PMStFw005zzL6iW1Gcyyx000005,0] [SRC_CLASS: com.hyperion.cis.config.ant.iis.IISConfigurator] IIS version is 7
    [2012-11-14T11:33:51.278-08:00] [EPMCFG] [TRACE] [EPMCFG-01516] [oracle.EPMCFG] [tid: 23] [ecid: 0000Jg0PMStFw005zzL6iW1Gcyyx000005,0] [SRC_CLASS: com.hyperion.cis.config.ant.iis.IISConfigurator] Removing virtual directory: hyperion-bpma-server
    [2012-11-14T11:33:51.278-08:00] [EPMCFG] [TRACE] [EPMCFG-01427] [oracle.EPMCFG] [tid: 23] [ecid: 0000Jg0PMStFw005zzL6iW1Gcyyx000005,0] [SRC_CLASS: com.hyperion.cis.ant.AbstractAntConfigurator] Executing target: removeVirtualDir
    [2012-11-14T11:33:52.729-08:00] [EPMCFG] [TRACE] [EPMCFG-01508] [oracle.EPMCFG] [tid: 23] [ecid: 0000Jg0PMStFw005zzL6iW1Gcyyx000005,0] [SRC_CLASS: com.hyperion.cis.config.ant.iis.IISConfigurator] Creating virtual directory: hyperion-bpma-server(2:2), configRoot: C:\OracleEPM\Middleware\EPMSystem11R1\products\Foundation\BPMA\AppServer\DimensionServer\WebService
    [2012-11-14T11:33:52.729-08:00] [EPMCFG] [TRACE] [EPMCFG-01504] [oracle.EPMCFG] [tid: 23] [ecid: 0000Jg0PMStFw005zzL6iW1Gcyyx000005,0] [SRC_CLASS: com.hyperion.cis.config.ant.iis.IISConfigurator] Creating application pool: DefaultAppPool
    [2012-11-14T11:33:52.745-08:00] [EPMCFG] [TRACE] [EPMCFG-01427] [oracle.EPMCFG] [tid: 23] [ecid: 0000Jg0PMStFw005zzL6iW1Gcyyx000005,0] [SRC_CLASS: com.hyperion.cis.ant.AbstractAntConfigurator] Executing target: createApplicationPool
    [2012-11-14T11:33:56.769-08:00] [EPMCFG] [NOTIFICATION] [EPMCFG-01001] [oracle.EPMCFG] [tid: 23] [ecid: 0000Jg0PMStFw005zzL6iW1Gcyyx000005,0] [SRC_CLASS: com.hyperion.cis.config.ant.iis.IISConfigurator] trace: Updating .Net version of application pool...
    [2012-11-14T11:33:56.769-08:00] [EPMCFG] [WARNING] [EPMCFG-01001] [oracle.EPMCFG] [tid: 23] [ecid: 0000Jg0PMStFw005zzL6iW1Gcyyx000005,0] [SRC_CLASS: com.hyperion.cis.config.ant.iis.IISConfigurator] trace: .Net version v2.0 will be used
    [2012-11-14T11:33:56.769-08:00] [EPMCFG] [TRACE] [EPMCFG-01427] [oracle.EPMCFG] [tid: 23] [ecid: 0000Jg0PMStFw005zzL6iW1Gcyyx000005,0] [SRC_CLASS: com.hyperion.cis.ant.AbstractAntConfigurator] Executing target: updateApplicationPoolManagedRuntime
    [2012-11-14T11:33:58.142-08:00] [EPMCFG] [TRACE] [EPMCFG-01510] [oracle.EPMCFG] [tid: 23] [ecid: 0000Jg0PMStFw005zzL6iW1Gcyyx000005,0] [SRC_CLASS: com.hyperion.cis.config.ant.iis.IISConfigurator] Using default application pool for hyperion-bpma-server
    [2012-11-14T11:33:58.142-08:00] [EPMCFG] [TRACE] [EPMCFG-01427] [oracle.EPMCFG] [tid: 23] [ecid: 0000Jg0PMStFw005zzL6iW1Gcyyx000005,0] [SRC_CLASS: com.hyperion.cis.ant.AbstractAntConfigurator] Executing target: createVirtualDir
    [2012-11-14T11:34:00.997-08:00] [EPMCFG] [TRACE] [EPMCFG-01427] [oracle.EPMCFG] [tid: 23] [ecid: 0000Jg0PMStFw005zzL6iW1Gcyyx000005,0] [SRC_CLASS: com.hyperion.cis.ant.AbstractAntConfigurator] Executing target: installAspDotNet
    [2012-11-14T11:34:02.573-08:00] [EPMCFG] [NOTIFICATION] [EPMCFG-01499] [oracle.EPMCFG] [tid: 23] [ecid: 0000Jg0PMStFw005zzL6iW1Gcyyx000005,0] [SRC_CLASS: com.hyperion.cis.config.ant.iis.IISConfigurator] Going to allow Web Service Extension.
    [2012-11-14T11:34:02.573-08:00] [EPMCFG] [TRACE] [EPMCFG-01427] [oracle.EPMCFG] [tid: 23] [ecid: 0000Jg0PMStFw005zzL6iW1Gcyyx000005,0] [SRC_CLASS: com.hyperion.cis.ant.AbstractAntConfigurator] Executing target: enableWebServiceExtension
    [2012-11-14T11:34:04.008-08:00] [EPMCFG] [NOTIFICATION] [EPMCFG-01500] [oracle.EPMCFG] [tid: 23] [ecid: 0000Jg0PMStFw005zzL6iW1Gcyyx000005,0] [SRC_CLASS: com.hyperion.cis.config.ant.iis.IISConfigurator] Web Service Extension allowing complete.
    [2012-11-14T11:34:04.008-08:00] [EPMCFG] [NOTIFICATION] [EPMCFG-01499] [oracle.EPMCFG] [tid: 23] [ecid: 0000Jg0PMStFw005zzL6iW1Gcyyx000005,0] [SRC_CLASS: com.hyperion.cis.config.ant.iis.IISConfigurator] Going to allow Web Service Extension.
    [2012-11-14T11:34:04.008-08:00] [EPMCFG] [TRACE] [EPMCFG-01427] [oracle.EPMCFG] [tid: 23] [ecid: 0000Jg0PMStFw005zzL6iW1Gcyyx000005,0] [SRC_CLASS: com.hyperion.cis.ant.AbstractAntConfigurator] Executing target: enableWebServiceExtension
    [2012-11-14T11:34:05.552-08:00] [EPMCFG] [NOTIFICATION] [EPMCFG-01500] [oracle.EPMCFG] [tid: 23] [ecid: 0000Jg0PMStFw005zzL6iW1Gcyyx000005,0] [SRC_CLASS: com.hyperion.cis.config.ant.iis.IISConfigurator] Web Service Extension allowing complete.
    [2012-11-14T11:34:05.552-08:00] [EPMCFG] [NOTIFICATION] [EPMCFG-01499] [oracle.EPMCFG] [tid: 23] [ecid: 0000Jg0PMStFw005zzL6iW1Gcyyx000005,0] [SRC_CLASS: com.hyperion.cis.config.ant.iis.IISConfigurator] Going to allow Web Service Extension.
    [2012-11-14T11:34:05.552-08:00] [EPMCFG] [TRACE] [EPMCFG-01427] [oracle.EPMCFG] [tid: 23] [ecid: 0000Jg0PMStFw005zzL6iW1Gcyyx000005,0] [SRC_CLASS: com.hyperion.cis.ant.AbstractAntConfigurator] Executing target: enableWebServiceExtension
    [2012-11-14T11:34:07.050-08:00] [EPMCFG] [NOTIFICATION] [EPMCFG-01500] [oracle.EPMCFG] [tid: 23] [ecid: 0000Jg0PMStFw005zzL6iW1Gcyyx000005,0] [SRC_CLASS: com.hyperion.cis.config.ant.iis.IISConfigurator] Web Service Extension allowing complete.
    [2012-11-14T11:34:07.050-08:00] [EPMCFG] [TRACE] [EPMCFG-07380] [oracle.EPMCFG] [tid: 23] [ecid: 0000Jg0PMStFw005zzL6iW1Gcyyx000005,0] [SRC_CLASS: com.hyperion.cis.utils.os.windows.IisUtils] Getting IIS7 Default site name
    Regards

    Why did you modify analytics.ear ?
    Should'nt you make changes here : Middleware_Home>\instances\instance1\bifoundation\OracleBIPresentationServicesComponent\coreapplication_obips1
    \analyticsRes\WEB_INF\web.xml
    Follow this note : OBIEE 11g: How To Access Custom Files Through URL By Creating Virtual Directory In Weblogic Server? [ID 1408240.1]
    And you should be able to deploy that virtual directory and access it after authentication.
    HTH,
    SVS

  • Virtual Directory for NDES server missing on IIS

    I installed an NDES server on windows 2008 R2 Enterprise server. I am able to connect to the website via the url
    http://<severname>certsrv/mscep and
    http://<servername>certsrv/mscep_admin. I can successfuly issue certs with the following urls also.
    but if I look in the IIS Managment Console I am unable to view the certsrv directory even if I am logged on as an enterprise admin. Does anyone know how to make those directories appea?
    The only way I have been able to make the Certsrv directory viewable is to also install the WebEnrollment service also.
    I dont need the webenrollment service but I need to enable https on those directories.
    Does anyone know what might be going on?

    You don't need a virtual directory in order to manage NDES. The whole thing installs as an ISAPI application. Manage it through the link
    http://localhost/certsrv/mscep_admin/. If you are having some trouble with NDES, check out
    http://social.technet.microsoft.com/wiki/contents/articles/9063.network-device-enrollment-service-ndes-in-active-directory-certificate-services-ad-cs-en-us.aspx that discusses NDES quite thoroughly.
    As for verifying your installation, check the Application Pools in IIS and the registry settings HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\MSCEP\

  • Virtual Directory for EVMNU functions: 2 application servers

    Hi,
    We are migrating from development to production. Production environment has 2 application server (load balancing) and we need to set up a virtualdirectory to allow the use of EVMNU functionality.
    Setting up a virtual directory is not that hard, but what needs to be done when we have 2 application servers?
    Thx

    Bjorn,
    Is it working on the appserver where the files are stored?
    On the other appserver, how did you reference the drive?
    folder?
    I don't think you need special security? Is this folder shared?
    Kind regards,
    sam

  • Default Directory for JSP

    Using Eclipse with Tomcat 6.0 Server, I have the following directory structure:
    /Project
    /WebContent
      webpage.jsp
      /PicsI am trying to access files within the Pics directory through the JSP. I figure this should be possible by getting the JSP document's directory and calling the Pics directory from that. However, I can't seem to figure out how to do this. I have tried
    new File(".").getCanonicalPath();but that returns a path to my user directory within the operating system. I feel like this should be really easy, and I feel pretty dumb being unable to figure it out (nor able to find this on Google/SDN), so if somebody could just put me out of my misery with a line or two of code (or even just the call I need to make) I would really appreciate it.
    Thanks!

    ServletContext#getRealPath() returns the absolute path for the given relative web path.
    String absolutePathOfWebRoot = getServletContextSomehow().getRealPath("/");
    String absolutePathOfPicsDirectory = getServletContextSomehow().getRealPath("/Pics");

  • 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 to create a directory for JSPs under infrastructure "root"?

    Hi,
    I'm not very familiar with Oracle 10gAS, but someone else got it configured and running on a Solaris 9 system, so my terminology may not be correct...
    We now have an "infrastructure" website (at port 7777) and an "ias" website (at port 8000).
    Right now, under the "infrastructure" website, we have the following applications:
    - sso
    - oiddas
    These all are "under" an OC4J instance called "OC4J_SECURITY".
    I need to somehow configure things so that I have a directory directly under the "root" of the "infrastructure" website (e.g., at http://<host>:7777/myjspdirectory) where I can run some JSPs. For example, I want to be able to put a JSP named "foo.jsp" and be able to access it at http://<host>:7777/myjspdirectory/foo.jsp.
    Is there a SIMPLE way to do this? If there is, can someone provide the specific steps (e.g., which directories, and files I need to create/modify)?
    It's not a "full" web application, so I don't want to have to create a WAR, etc.
    So far, I think that I need to add some "MountOc4j" lines to the mod_oc4j.conf file:
    Oc4jMount /myjspdirectory OC4J_SECURITY
    Oc4jMount /myjspdirectory/* OC4J_SECURITY
    But, after that I'm kind of lost :(...
    Is the only way to create a full WAR and then try to deploy it?
    Sorry if my question is somewhat confused, but I guess I am :(...
    Thanks in advance,
    Jim

    qlin,
    Ok, thanks.
    I've been working on creating a WAR the last several hours. I don't have 10g AS here at home, so I've been testing the deployment of the WAR on Tomcat.
    If the WAR deploys all right in something like Tomcat, will it deploy correctly in 10g AS also?
    Are there any "gotchas" that I should be aware of ahead of deploying the WAR on 10g AS?
    Also, I have a bunch of JSPs, but in the the web.xml that I'm using in my testing, it seems to work even though I don't list all of the JSPs. Here's what I have:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    <web-app>
         <servlet>
              <servlet-name>foo1</servlet-name>
              <jsp-file>foo1.jsp</jsp-file>
         </servlet>
         <display-name>WhatEverNameYouWantDisplayed</display-name>
         <description>replace this with a short description</description>
         <welcome-file-list>
              <welcome-file>foo.html</welcome-file>
         </welcome-file-list>
    </web-app>
    Is that (only including one pair of <servlet-name> and <jsp-file> tags all right, or do I have to include a pair of tags for EACH JSP?
    Other than the above, hopefully things will go all right tomorrow... I'm going to have to undo the edits that I did manually on mod_oc4j.conf (the Mount...) and in server.xml before I try the WAR deploy, I think, right?
    Jim

  • Including Image Directory for JSPs / HTML

    I'm getting started with JDev 9.0.5 and am very impressed with the power and flexibility. I am trying to figure out how to add subfolders such as "images" and have the images included when deploying a Web app, but I must be missing something. Thanks.

    The top-level directory of a Web Application is the document root of the application. The document root is where JSP pages, client-side classes and archives, and static Web resources are stored.

  • Virtual Directory for app web server

    I have a web application that runs over Windows 2000 advanced server, does anybody know how can i change the address, i.e.: http://localhost:8080/servlet/eureka to http://localhost or http://something ?
    I have j2re 1.3 and java plug-in .
    Thanks

    in order to run http://localhost with out specifying port number, you need to set your server port to 80 (which is an official http port) in the configuraton file. I don't know what kind of server you are using. If you use Tomcat, you need to modify your server.xml file from 8080 to 80.

  • WL Server 6.1 - Virtual Directory

    We are using WL Server 6.1 on Win2k. We want to set up a virtual directory
              for our web application.
              For example: we want to store images in the directory c:/siteimages. In the
              JSP's, we should be able to call <img src"/images/image.gif">. The "images"
              directory will be virtually mapped to the c:/siteimages directory. These
              images cannot be part of a 'war' file because they are created dynamically.
              Is this possible?
              Platform: BEA Weblogic Server 6.1 on WIN2K
              Thank you
              Ariel
              

    I suggest that you create a simple webapp called images.war that has a
              web.xml descriptor that has entries like:
              <servlet>
              <servlet-name>images</servlet-name>
              <servlet-class>weblogic.servlet.FileServlet</servlet-class>
              <init-param>
              <param-name>docHome</param-name>
              <param-value>c:\siteimages</param-value>
              </init-param>
              </servlet>
              <servlet-mapping>
              <servlet-name>images</servlet-name>
              <url-pattern>*.jpg</url-pattern>
              </servlet-mapping>
              <servlet-mapping>
              <servlet-name>images</servlet-name>
              <url-pattern>*.gif</url-pattern>
              </servlet-mapping>
              Sam
              "Ariel" <[email protected]> wrote in message
              news:3b7d7b02$[email protected]..
              > We are using WL Server 6.1 on Win2k. We want to set up a virtual directory
              > for our web application.
              > For example: we want to store images in the directory c:/siteimages. In
              the
              > JSP's, we should be able to call <img src"/images/image.gif">. The
              "images"
              > directory will be virtually mapped to the c:/siteimages directory. These
              > images cannot be part of a 'war' file because they are created
              dynamically.
              > Is this possible?
              >
              > Platform: BEA Weblogic Server 6.1 on WIN2K
              >
              > Thank you
              > Ariel
              >
              >
              >
              

  • How can I use a relative path in a Virtual Directory tag?

    That is probably a bit vague, so I will explain in more detail. We are using BEA
    WL Portal 7.0 and our team is developing multiple portal applications. We have
    a core set of portlets (consist of JSPs) that we need to reuse in multiple portals
    (Web Apps), however from a version control perspective they need to reside in
    one common location. So, the solution I came up with is to use a virtual directory
    for the the common directory and add this to weblogic.xml for each web app. This
    works fine. However, each developer has different directory names for their project...ClearCase
    view names to be specific... plus we have integration views, QA views, etc...
    so we can't have any "C:\mystuff\mydomain" absolute paths anywhere in the portal
    configuration. Does anyone know of a way to use a relative path for a virtual
    directory? I have tried various versions of ../../ for example to try to backup
    and then recurse down to the directory, but this is not working. Any ideas?
    By the way this is basially just a hack for development, when we package the WAR
    for QA, Prod, etc... we copy needed files and there are no virtual directories.
    In other words, I don't care how "creative" solution is :)
    This is what I have right now, which I need to replace with a relative directory
    name:
    <virtual-directory-mapping>
    <local-path>C:/Projects/TouchPoint_v1.0_Fix/tp_portal/bipiportals/beaApps/portalApp/tp-shared</local-path>
    <url-pattern>*</url-pattern>
    </virtual-directory-mapping>

    Well, in fact you can in a special case :
    - The file you want to access is in the same directory than the applet (or in a sub-directory)
    If this condition is OK, you can open the file using :
    java.io.InputStream MyInputStream = <YourAppletClassName>.class.getResourceAsStream("sidira_interactif2.svg")
    With this stream, its easy to read the file content.

  • Oracle Virtual Directory vs. Oracle External Authentication Plug-in

    I am working in Windows 2003 Server platform and I have Oracle Portal 10g R2 with Oracle Single Sign On 10g R2 setup. I also have Microsoft Active Directory setup. I want to use Microsoft Active Directory users from Oracle Portal and as per my understanding I could use Oracle External Authentication Plug-in or Oracle Virtual Directory for this purpose. I would like to use Oracle Virtual Directory if possible. Could someone please tell me if I could use Oracle Virtual Directory or not?
    Thanks.

    Yeah, I could use Oracle External Authentication Plug-in, but I am having issues with running the oidspadi.sh script on my Windows 2003 server environment. I am running this script using Cygwin's latest software, but for some reason I get the following error message.
    : command not found8:
    : command not found8:
    : command not found3:
    : command not found7:
    : command not found1:
    : command not found8:
    : command not found9:
    : command not found0: clear
    OID Active Directory Plug-in Configuration
    Please make sure Database and OID are up and running.
    : command not found7:
    : command not found0:
    oidspadi.sh: line 103: syntax error near unexpected token 'fi'
    'idspadi.sh: line 103:' fi
    Therefore, I was trying to find an alternative solution, which will be using Virtual Directory. Right now, I have installed Oracle Virtual Directory on my testing system and I have both Active Directory server and OID server part of LDAP Browser. My goal is to using Oracle Portal to log-in and first look for the user in OID if not found then look in Active Directory. Can this be accomplished using Oracle Virtual Directory?
    Please let me know.

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

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

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

Maybe you are looking for

  • Shared DateVar in Subreport and datediff calculation in Main Report?

    Hello experts, I am using CRXI sp2.  I have a report that contains two subreports for different dates in the same date field that are identified by a Service Code.  The subreports have been placed in the same group footer 1a to be displayed and the c

  • Premiere Pro / Media Encoder crash during encoding

    Afternoon guys, wonder if anyone has any tips on how to solve my issue. It's a new pc that I'm working on, my first project on it, everything working great in terms of the edit, but crashing whilst encoding both through Premiere Pro and Media Encoder

  • Logical model fwd engineer to relational model.  Missing FK relationships

    We are experiencing missing relationships in the relational model when engineering from logical model to the relational model. The logical model objects have properly defined primary keys defined. We are using SQL Data Modeler v3.1.700. Any suggestio

  • Assignment of different Dicument Type in Automatic Payment Program

    Hi SAP Gurus, Presently the payments are being handled centrally at Corp Office in a State. The payment method is C and the clearing doc type is KZ. Now the Company is also starting to use APP at another office in another state. The payment method is

  • PC key caps for iMac keyboard

    I am planning to switch from PC to iMac as soon as the 2012 iMac becomes available (whenever that may be). Since I use my current desktop for work and gaming, I plan to run Boot Camp with Windows 7 all the time. I prefer the look and feel of the iMac