Virtual Path in WebLogic 7.0

Hi,
I would like to create a virtual path for our appalication.currently the URL is something like this :
http://a.com/blsapp/jsp/customer/Login.jsp
Now , I need to create vritual path for /blsapp/jsp/customr =>customer
So, the url would be
http://a.com/customer/Login.jsp
How to do this in Weblogic 7.0 ?.
A sample would be appreciated.
Thanks & Regards
Subu

Hi,
I would like to create a virtual path for our appalication.currently the URL is something like this :
http://a.com/blsapp/jsp/customer/Login.jsp
Now , I need to create vritual path for /blsapp/jsp/customr =>customer
So, the url would be
http://a.com/customer/Login.jsp
How to do this in Weblogic 7.0 ?.
A sample would be appreciated.
Thanks & Regards
Subu

Similar Messages

  • Creation of Virtual Directory in weblogic.xml (OBIEE11 Weblogic)

    We are using OBIEE 11.1.1.6.4, we want to create a Virtual directory mapping in weblogic server so that we can place our static image files to access from the application URL.
    To do this activity, we have performed following steps -
    1) Navigated to C:\OBIEE11G\Oracle_BI1\bifoundation\jee
    2) Open analytics.ear file
    3) Existing code in weblogic.xml is: (if weblogic.xml is not present we need to create the file with below code)
    <?xml version = '1.0' encoding = 'US-ASCII'?>
    <weblogic-web-app xmlns="http://xmlns.oracle.com/weblogic/weblogic-web-app">
    <session-descriptor>
    <cookie-path>/analytics</cookie-path>
    </session-descriptor>
    </weblogic-web-app>
    4) We have added virtual-directory-mapping tag; After adding virtual directory mapping tag, the code in weblogic.xml is
    <?xml version = '1.0' encoding = 'US-ASCII'?>
    <weblogic-web-app xmlns="http://xmlns.oracle.com/weblogic/weblogic-web-app">
    <session-descriptor>
    <cookie-path>/analytics</cookie-path>
    </session-descriptor>
    <virtual-directory-mapping>
    <local-path>D:/virtualdirectory</local-path>
    <url-pattern>/images/*</url-pattern>
    <url-pattern>*.jpeg</url-pattern>
    </virtual-directory-mapping>
    </weblogic-web-app>
    5) We have created a folder virtualdirectory under D: drive. And then created a folder images within folder virtualdirectory.
    6) Then we have placed an image (lets say) test.jpeg within image folder.
    7) Restarted all BI services,
    8) Now when we try to access URL http://localhost:9704/analytics/images/test.gif. Now we are able to see the image, it’s working perfectly fine.
    If we paste the above URL in browser it will automatically displays the image without any authentication. So our requirement is, on pasting the URL in browser first it should redirect to OBIEE homepage and when authentication is done then it should display the image.
    Request you to please advise with your inputs.

    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

  • 2 Reports virtual paths in 11g

    Hi
    In OAS10.1.2.3 Reports, I unjar'ed reports.ear; changed its appplications.xml context-root to reports_2; added some pararmeters to its web.xml to use cgicmd_2.dat; then jar'ed and deployed reports_2.ear.
    Now I have 2 reports virtual paths to keep sensitive reports and non-sensitive reports apart.
    http://myhost/reports/rwservlet
    http://myhost/reports_2/rwservlet
    Any suggestion on how I can achieve the same results in 11g Reports?
    What I have done so far:
    In Fusion Middleware 11g 11.1.1.3, I created 2 in-process Reports services in 2 Weblogic domains - ClassicDomain and ClassicDomain02:
    http://myhost:9002/reports/rwservlet
    http://myhost:9004/reports/rwservlet
    Each has it own cgicmd.dat file so I can keep sensitive reports and non-sensitive reports apart.
    My problem is how to front the 2 URLs with OHS.
    I tried mod_wl_ohs.conf or apache proxypass or mod_rewrite and none of them could give me the behaviour as in 10g.
    According to metalink's
    Is it Possible to Change the Virtual Path in Reports 11g ? [ID 1162143.1
    Changing the Context Root (/report) directly from the Deployment section in the WLS_REPORTS managed server is not supported.  The main reason behind this is that large amount of functionality and documentation assumes this standard path so changing this on servlet will break many other things.
    Thx,
    Ken                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi
    For the images try <img src="images/*.gif" width.....> . Note no forward or backward slash at the beginning . This worked for me.
    Keep me posted on your progress.
    Good Luck!
    Eshwar Rao
    Developer Technical Support
    Sun mcirosystems inc
    http://www.sun.com/developers/support

  • Configure virtual path mapping for forms 11.1.2

    Hi
    How to configure virtual path mapping for "Oracle Fusion Middleware Forms and reports 11gR2 (11.1.2.0.0)" on my client?
    Configuration type = development.
    In forms 10g I configure it in "orion-web.xml".
    C:\oracle\ids\j2ee\DevSuite\application-deployments\forms\formsweb\orion-web.xml
    Regards
    Tobias

    If you use the development mode install in 11.1.2 I think you cannot use the "forms.conf" approach because you don't have an OHS installed.
    We've used the approach described in the following metalink document (solution no. 1) which works with deployment as well as development installations. Tested on 11.1.1.4 and 11.1.2.
    How to Create Virtual Mappings in Forms 11g [ID 1063043.1]
    (essentially you extend the WebLogic deployment plan for the formsapp to include the additional mappings and then redeploy the formsapp in WebLogic)
    Regards
    Andreas
    Edited by: Andreas Leidner on Dec 7, 2011 1:45 PM

  • Defining virtual path for images to be visible without specifiying path(AS)

    Hi,
    I am running a report (Version 10g) which have an image (Read from file = yes) item with source "Function column" that returns an image name. Ex. "11.gif"
    I am recieving an error that the applications server cannot find the image "11.gif"
    Image 11.gif is stored in a directory on the Applications server "D:\photos".
    Where should I add the directory path "D:\photos" so that the reports will view the image?
    Thanks

    No need to define a virtual path similar to what's done in forms 10g. An entry in the registry key 'REPORTS_PATH' is enough!

  • Can't invoke PL/SQL cartridge for non-default virtual path

    I have a problem invoking a cartridge if the virtual path is
    anything but the default (/<appName>/<cartName>).
    I have tried stopping and re-starting the application server, but
    that does not help.
    Does anyone have a solution to this problem?
    Amar.
    null

    Elton Barendse (guest) wrote:
    : Amar Pai (guest) wrote:
    : : I have a problem invoking a cartridge if the virtual path is
    : : anything but the default (/<appName>/<cartName>).
    : : I have tried stopping and re-starting the application
    server,
    : but
    : : that does not help.
    : : Does anyone have a solution to this problem?
    : : Amar.
    : Hi Amar,
    : Can't help you solve your immediate problem, but here's some
    : food for thought ...
    : Quintessence Systems Ltd (UK) have developed technology which
    : automatically migrates PL/SQL procedures and packages to Java.
    : This is in response to the many customers who are looking to
    : move to a more open and non platform specific architecture for
    : enterprise wide business logic.
    : The Java code generated can be deployed in either Oracle 8i or
    : in an App Server i.e. no need to wrap your existing procedures
    : in a PL/SQL cartridge.
    : If this is of interest, I'd be happy to put you in touch with
    : our technical people to explain to technology in greater
    detail.
    : Elton Barendse
    : CEO
    : Quintessence Systems Limited
    I had a similar problem and maybe it would resolve your troubles
    I don't know but I configured the PL/SQL cartridge and it did
    not work actually it was just a pb of virtual memory ,set your
    mmory to 600M and restart all the stuff.I don't think it will
    resolve the pb but think of it.
    steve
    null

  • Virtual Path

    Hi,
    Can we map a physical path with virtual path on application server like oc4j, I know how to do it with http server but not sure about how to do it on oc4j.
    Please suggest/advise.
    Thanks
    Deepak

    It is likely that &lt;virtual-directory ... &gt; of orion-web.xml is what you want.
    Please see
    http://download-west.oracle.com/docs/cd/B12314_01/web.904/b10321/confdesc.htm#1019157
    which is Oracle Application Server Containers for J2EE, Servlet Developer's Guide 10g (9.0.4),
    chapter 6, Configuration File Descriptions

  • (Urgent) How to read file properties with virtual path?

    I have the data.properties file, and write a servlet file to read properties from this properties file. But I get a problem, that is: I CANNOT USE VIRTUAL PATH!
    How can I solve?
    My Application Directory is,
    WEB-INF
    classes
    loadProperties.class
    data.properties
    More Question,
    I can use Context in Web.xml to assign values to parameters. But its will be shown. How can I hide value with a properties file?

    This is not working.
    I am using Tomcat 4.0.6, for my JSP application I am trying to read ini.properties file from \webapps\myapp\WEB-INF\classes\common\
    directory through java bean.
    System.getProperty("user.dir")
    is giving <tomcat-home>\bin directory.
    unless I hard code the path this way, I could couldn't read the ini file.
    Properties props = new Properties();
    String strIniFilePath = <webappPath> + "\\WEB-INF\\Classes\\Offenders\\Common\\";
    props.load( new FileInputStream(strPropsFile));

  • How to map virtual path in oas 4.0.8.2?

    I want to develope a Applet, it resides in OAS www-root directory of a machine(I call it 'A').I want it can mantipulate some image files resides in another machine(I call it 'B').So I map the directory which stores the image files of B machine as one network virtual directory of A machine.
    But when I try to config the virtual path in OAS of A machine so as to make it can recognize that network dirver and look it as a subdirectory "\pic-images" of www-root.But the result is: OAS can't allow make the virtual path to this network dirver.
    How should I do? copy all the image files from machine B to machines A,and let applet manipulate them,I think that's impossible.So how can I make applet read and write the files in other machine?
    Thank you anyway.

    Hi,
    A colleague of mine mentioned that one may encounter problems deploying to OAS 4.0.8.
    I understand that OAS 4.0.8.1 has major bug fixes and may make deployment substantially easier. Having not attempted either, I cannot verify his statement.
    Hope you have success!
    G.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Subhadip:
    I have created an application using Oracle Business Components and Oracle InfoSwing controls. Now I want to deploy the Business Components as EJB to OAS 4.0.8 and want to run the front end as an Applet which will connect to those EJB Session beans stored in OAS. Please let me know if its possible or not and any document detailing how to do it. To be more specific:
    1) In the properties dialog for the Application Module, in the remote tab, there are options for Oracle8i EJB, CORBA and VISIBROKER, but nothing for OAS. So what to choose there?
    2) If I run Deployment Wizard on the Business Components project with OAS option (selecting nothing in the Remote Tab), it fails (says nothing to parse in the source JAR file)
    3) In the property pallette of the InfoProducer Session object, what to give in the remote proerties for OAS EJB.
    4) It seems that no manual code change is required if they are deployed in Oracle8i or VisiBroker whether they are deployed in Local or EJB or CORBA(the deployment wizard takes care of it). Is it same for OAS EJB deployment also?
    Please help. It's Very Very urgent.<HR></BLOCKQUOTE>
    null

  • Configuring virtual path in Forms6i

    Hello Friends,
    I have the following instruction in forms6iconfig file
    [ACTION] Please configure the following virtual path with your web listener : /dev60temp for physical directory c:\Forms\tools\web60\temp
    How can I configure a virtual path in Forms6i manually after installation.
    thanks

    Virtual paths are configured in the Apache settings file httpd.conf.

  • How to configure the virtual path with our web listener

    Oracle Apps Version: 11.5.10.2
    Oracle database: 10.2
    platform: Windows server 2003
    while applying developer 6i patch ( 61954129 ) i got following error which says configure the following virtual path for your web listener
    following is the output of forms6iconfig.txt file which oracale suggest to check
    Configuration Steps for Oracle Forms installation of 06:21:33 2010/12/01
    This file gives details of the configuration steps done for you by the installation process
    (marked '[INFO]') and of any actions you need to do manually (marked '[ACTION]'). Please read
    this file and perform the requested actions.
    [ACTION] If you are installing in a new Oracle Home, please reboot the machine after the installation.
    [ACTION] Please configure the following virtual path with your web listener: /dev60temp for
    physical directory D:\CLONE\cloneora\8.0.6\tools\web60\temp.
    [INFO] NT service Oracle Forms Server [Forms60Server] has been created and started for
    the Forms Server.
    [ACTION] Please configure the following virtual path with your web listener: /forms60java for
    physical directory D:\CLONE\cloneora\8.0.6\FORMS60\java.
    [ACTION] Please configure the following virtual path with your web listener: /dev60html for
    physical directory D:\CLONE\cloneora\8.0.6\tools\web60\html.
    [ACTION] Please configure the following virtual path with your web listener: /dev60cgi for
    physical directory D:\CLONE\cloneora\8.0.6\tools\web60\cgi.
    [INFO] An internet shortcut to run a standard test form, or any form of your choice, has been
    created for you in the Oracle Forms program group.
    [ACTION] Please configure the following virtual path with your web listener: /jinitiator for
    physical directory D:\CLONE\cloneora\8.0.6\JINIT.

    Hi,
    while applying developer 6i patch ( 61954129 ) i got following error which says configure the following virtual path for your web listener
    following is the output of forms6iconfig.txt file which oracale suggest to check
    Do you mean (Patch 6194129)? How do you get this error? Is it at the beginning or the end of the installation?
    Configuration Steps for Oracle Forms installation of 06:21:33 2010/12/01
    This file gives details of the configuration steps done for you by the installation process
    (marked '[INFO]') and of any actions you need to do manually (marked '[ACTION]'). Please read
    this file and perform the requested actions.
    [ACTION] If you are installing in a new Oracle Home, please reboot the machine after the installation.
    [ACTION] Please configure the following virtual path with your web listener: /dev60temp for
    physical directory D:\CLONE\cloneora\8.0.6\tools\web60\temp.
    [INFO] NT service Oracle Forms Server [Forms60Server] has been created and started for
    the Forms Server.
    [ACTION] Please configure the following virtual path with your web listener: /forms60java for
    physical directory D:\CLONE\cloneora\8.0.6\FORMS60\java.
    [ACTION] Please configure the following virtual path with your web listener: /dev60html for
    physical directory D:\CLONE\cloneora\8.0.6\tools\web60\html.
    [ACTION] Please configure the following virtual path with your web listener: /dev60cgi for
    physical directory D:\CLONE\cloneora\8.0.6\tools\web60\cgi.
    [INFO] An internet shortcut to run a standard test form, or any form of your choice, has been
    created for you in the Oracle Forms program group.
    [ACTION] Please configure the following virtual path with your web listener: /jinitiator for
    physical directory D:\CLONE\cloneora\8.0.6\JINIT.Please make sure you source the application env file before applying this patch, and select 8.0.6 ORACLE_HOME.
    Thanks,
    Hussein

  • MP3 - getStreamLength - using a virtual path help needed !

    Hi to all,
    I am trying to get the Stream.length of an MP3 file type but
    using also a virtual path that is assigned to the Vhost.XML.
    After many tries i only manage to make it work only if the
    MP3`s are sitting inside the
    FMS_root_directory_applications_myMusicApp into a folder with the
    name "streams" wherever else i use the code that i am writing below
    it returns "0 seconds" as the Stream.length of every MP3.
    In the main.asc i use this code :
    application.onConnect = function(newClient, userObject,
    name){
    if(userObject.userType == "Test_Music"){
    newClient.virtualKey = "Music";
    newClient.name = name;
    newClient.getTheLength = function(streamName) {
    trace("The "+streamName+" Total Time is
    "+Stream.length(streamName)+" : seconds");
    return Stream.length(streamName);
    application.acceptConnection(newClient);
    In the Fla. file i use this to get the length:
    var V_Path:String = "Music/";
    var TheSound:String = "MyMp3";
    var streamName:String = "mp3:"+V_Path+TheSound;
    nc.call("getTheLength", { onResult: Delegate.create(this,
    setDuration) }, streamName);
    function setDuration(nLength:Number):Void {
    trace(nLength + " seconds");
    Everything is streaming, everything works well, but i can`t
    get the StreamLength thou i can stream the MP3 from a virtual path
    Any help would be appreciated, i have tried many times with
    diferent ways and nothing returns me what i need !
    Thanx in advance

    umm...
    first understand me.. because I'm not use english language..
    my language is korea language I'm Korean.. so my english is very
    poor..i'm sorry..
    I think .. your code is as2 . right?
    I make the sample file for kaziris_.
    sample code is as3
    first you make the application folder in applications (ex.
    applications\c)
    if you test this sample code that you need
    You_call_it_love.mp3 file in vod\media
    I hope your success! ([email protected])
    //flash code(*.fla)
    var nc:NetConnection = new NetConnection();
    nc.connect("rtmp://localhost/vod");
    nc.addEventListener(NetStatusEvent.NET_STATUS,
    statusHandler);
    nc.client = this;
    var ns:NetStream;
    function statusHandler(e:NetStatusEvent):void
    trace("e.info.code = "+e.info.code);
    if (e.info.code=="NetConnection.Connect.Success")
    ns = new NetStream(nc);
    var songName:String = "mp3:You_call_it_love";
    ns.play(songName);
    var responder = new Responder(resultHandler);
    nc.call("getStreamLength", responder, songName);
    function resultHandler(songTotalTimeLine):void
    trace("songTotalTimeLine : "+songTotalTimeLine);
    // asc code(main.asc)
    application.onConnect = function(client)
    client.getStreamLength = function( streamName ) {
    trace("length is " + Stream.length( streamName ));
    return Stream.length( streamName );
    application.acceptConnection(client);

  • Setting up virtual path

    hi ,
    I have been trying to set up the virtual path for my xsql servlet.The index.html and hello page and employee page works fine when i use xsql-wtg .but i am trying to set it for IIS.
    I am using servlet exe 3.0 , my inetpub is in my d drive my oracle client is also in d drive.I am using remote database.
    kindly help.
    kp

    I am using Oracle 9i Jserv on the Sun Solaris Operating system. I just finished an Java application on tomcat located on my PC and want to move it to Unix. How to do that? I mean how to configure that? Should I follow the same directory structure or just install a new tomcat server (unix version tomcat) on Unix?
    Thanks a lot!

  • Servlet Virtual Path Question

    When specifying a servlet that is mapped using the servlet virtual path option in iws4.1, the authorization information is not sent in the request header. If the same servlet is specified in the url using the complete package name, it is sent. Is there a way to get the authorization sent to a servlet that is mapped using the virtual path translation

    When specifying a servlet that is mapped using the servlet virtual path option in iws4.1, the authorization information is not sent in the request header. If the same servlet is specified in the url using the complete package name, it is sent. Is there a way to get the authorization sent to a servlet that is mapped using the virtual path translation

  • Configuring Servlet Virtual path translation

    Hi,
    I was wondering if anybody could help me out with this.
    I am running iWS 4.1, and iAS6.0 on top of it.
    I created a war file called myApp.war, which contains a servlet called
    myServlet.
    Then I created an ear file called myApp.ear which contains myApp.war, and
    deployed myApp.ear on the application server.
    Now: I am trying to set up a virtual path to access myServlet, so that
    http://<server_id>/myServlet maps to myServlet.
    I modified the following files under the config directory of the webserver:
    1. In context.properties, I added a context called myContext with the
    following properties:
    context.myContext.classpath=<iPlanet App Server
    path>/ias/APPS/myApp/myApp/WEB-INF/
    2. In servlets.properties,
    servlet.myServlet.classpath=<iPlanet App Server
    path>/ias/APPS/myApp/myApp/WEB-INF/classes
    servlet.myServlet.code=myServlet
    servlet.myServlet.initArgs=initial=0
    servlet.myServlet.context=myContext
    3. In rules.properties,
    /myServlet=myServlet
    Now when I try to access myServlet through the virtual path
    http://<server_id>/myServlet
    the webserver error logs say the following:
    warning ( 3080): Unable to locate class: myServlet
    (java.lang.ClassNotFoundException: myServlet)
    warning ( 3080): Internal error: Failed to get GenericServlet.
    (uri=/myServlet,SCRIPT_NAME=/myServlet)
    What am I doing wrong? Any help will be appreciated.
    Thanks!
    Uzma

    Hi,
    I was wondering if anybody could help me out with this.
    I am running iWS 4.1, and iAS6.0 on top of it.
    I created a war file called myApp.war, which contains a servlet called
    myServlet.
    Then I created an ear file called myApp.ear which contains myApp.war, and
    deployed myApp.ear on the application server.
    Now: I am trying to set up a virtual path to access myServlet, so that
    http://<server_id>/myServlet maps to myServlet.
    I modified the following files under the config directory of the webserver:
    1. In context.properties, I added a context called myContext with the
    following properties:
    context.myContext.classpath=<iPlanet App Server
    path>/ias/APPS/myApp/myApp/WEB-INF/
    2. In servlets.properties,
    servlet.myServlet.classpath=<iPlanet App Server
    path>/ias/APPS/myApp/myApp/WEB-INF/classes
    servlet.myServlet.code=myServlet
    servlet.myServlet.initArgs=initial=0
    servlet.myServlet.context=myContext
    3. In rules.properties,
    /myServlet=myServlet
    Now when I try to access myServlet through the virtual path
    http://<server_id>/myServlet
    the webserver error logs say the following:
    warning ( 3080): Unable to locate class: myServlet
    (java.lang.ClassNotFoundException: myServlet)
    warning ( 3080): Internal error: Failed to get GenericServlet.
    (uri=/myServlet,SCRIPT_NAME=/myServlet)
    What am I doing wrong? Any help will be appreciated.
    Thanks!
    Uzma

Maybe you are looking for

  • Write Up Depreciation Posting ?

    Hi Dear All Experts, 1 ) I am facing one problem regarding with write up depreciation. I am posting write up depreciation through ABZU but amount is not hitting the concerned GL A/C. Can anyone please explain the concept of Write up depreciation ? In

  • Lion server as advanced gateway

    Hello, first of all, I want apologize for mistakes in language. Today I've installed Lion server at work. This is our first time of using Mac as network server. We need this server for several tasks: - file sharing - web server with different hosts (

  • Error in shutdown script for bea weblogic

    We have this error in the shutdown script of our bea weblogic: ./stopWebLogic.sh[33]: -Xms256m: not found. using the Oracle OCI database driver Shutdown initiated The shutdown sequence has been initiated.the script is as follows: echo "using the Orac

  • Can I create bookmarks in a large pdf document with Reader X?

    I have several large files (300-400 pages) where I would like to add bookmarks so that I can quickly refer to certain sections of the document.  Can this be done with Reader X?  If not, which software would I need in order to have this capability?

  • I lost most of iLife apps is there a way i can get them back?

    Hello. I lost almost all my iLife apps when someone from family accidently deleted them. I have lost the CD you got with the mac a long time ago. Is there a way i can recover all those apps? I need iPhoto, iWeb, Garageband, iMovie.