Logical name to physical file mapping

We want to have logical URLs for images (or other file types). We do not
want to expose physical location where the files are stored to the user.
Other web servers have APIs for this (NSAPI and MSAPI have provision for
this). I was wonderinf if someone knows how to achieve this with weblogic
(as web server).
Thanks,
-Ajay

How does this work? You can specify a given resource type and it will
locate it in the directory tree automatically?
Thanks,
Michael
Michael Girdley
BEA Systems Inc
"Ajay Nandanwar" <[email protected]> wrote in message
news:3998ddb0$[email protected]..
>
We want to have logical URLs for images (or other file types). We do not
want to expose physical location where the files are stored to the user.
Other web servers have APIs for this (NSAPI and MSAPI have provision for
this). I was wonderinf if someone knows how to achieve this with weblogic
(as web server).
Thanks,
-Ajay

Similar Messages

  • Information about file Id, Logical file name and Physical file name

    Hi All,
    I am testing one program. Selection screen has 3 parameters, File Id, Logical File Name and Physical file name. In Physical File name, i am giving complete file name with path. But it is giving error. Please tell me, what is File id and what all information i need to enter for logical file name and physical file name.
    Thanks
    Puneet Aggarwal

    hi,
    try using this for filename.
    parameters : p_file like rlgrap-filename.
    Thanks,
    Gaurav

  • Logical file names and Physical file names

    Hi Guys...
         Can you let me know what is the difference between Logical file names and Physical file names?
    Regards,
    Rohit

    Using Logical Files in ABAP Programs http://help.sap.com/saphelp_nw04/helpdata/en/9f/db95e635c111d1829f0000e829fbfe/content.htm
    Creating and Defining Logical Filenames
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3df8358411d1829f0000e829fbfe/content.htm

  • Get Logical file name from Physical file name

    Hi everybody,
    Please how can i get Logical file name from Physical file name ?
    Thanks & Regards
    Hassan

    Hi,
    What i want is to get Logical file name from Physical file name, and not the opposite (get Physical file name from Logical file name).
    Thanks & Regards,
    Hassan

  • Logical Name and Physical Name of OWB Objects?

    Hi,
    I am using OWB 10G R1. Version: 10.0.1.0.4
    I would like to know, is there any table/script to get list of physical name and logical name of OWB objects (mapping / process flow).
    Any help would be appreciated greatly.
    Thank you,
    Regards,
    Gowtham Sen.

    Hi,
    I only have a skript for OWB 10.2.0.3, maybe it will work with 10gR1 as well:
    SELECT object_type,
           object_name,
           logical_name,
           object_path
      FROM (SELECT owm_view_utilities.classified_obj_type2(f.elementid, f.classname) AS object_type,
                   f.NAME AS object_name,
                   f.logicalname as logical_name,
                   sys_connect_by_path(f.NAME, '/') as object_path
              FROM firstclassobject_v f
             WHERE 1 = 1
            CONNECT BY f.owningfolder = PRIOR f.elementid
             START WITH f.NAME = 'MY_PROJECT')
    WHERE object_type IN ('Process', 'TransformMap')
    ORDER BY object_type,
              object_name
    ;Just replace 'MY_PROJECT' with your project name.
    Regards,
    Carsten.

  • Side effect of SQl server upgrade from 2008 R2 to Server 2012, logical name of log file changed for one database

    I came to know that name has changed when I tried to shrink the file. Here is the error message I got:
    Shrink failed for LogFile "Tfs_TESTTFS_Log'. (Microsoft.SqlServer.Smo)
    Additonal information
    An exception occured while executing a Transact-SQL statement or batch.
    (Microsoft.SqlServer.COnnectionInfo)
    Could not locate file 'Tfs_TESTTFS_Log' for database 'Tfs_TESTTFS' in sys.database_files. The file 
    either does not exist, or was dropped. (Microsoft Sql Server, Error: 8995)
    This is test environment upgrade and I checked on production environment which is still on SQL 2008R2, shrink works fine.
    Please help.

    I did in place Upgrade.
    Before Upgrade
    Logical Names
    Database Name: Tfs_TESTTFS
    Database Log: Tfs_TESTTFS_Log
    After Upgrade
    Logical Names
    Database Name: Tfs_TESTTFS
    Database Log: TfsVersionControl_Log
    Thx

  • Assigning logical name to welcome file

    Hi,
    I created adf-fusion web application and url is something like
    http://127.0.0.1:7101/OppeViewController-context-root/faces/pages/org/test/pages/welcome.jspx
    Can it be given some more logical name just like in struts so that user doesn't know the actual location of my jspx file
    something like
    http://www.myDomin.com/login.action
    Edited by: 899404 on Mar 10, 2012 7:05 AM

    Hi,
    trying creating the servlet that redirects the user to loginpage,and you can also assign some 'FANCY' url pattern to servlet
    following code can help..
    public class Login extends HttpServlet {
        public void doGet(HttpServletRequest request,
                          HttpServletResponse response) throws ServletException,
                                                               IOException {
                response.sendRedirect(getServletContext().getContextPath() +
                                      "/faces/login.jspx&" +
                                      request.getQueryString());
      }

  • Mapping logical URL to physical files

    We want to have logical URLs for images (or other fypes)ypes). We do not
    want
    to expose physical location where the files are stoo thterthe usr weOther
    web
    servers have APIs for this (NSAPI and MSAPI have pron foon for this). I was
    wondering if someone knows how to achieve this with weblogic (as web
    server).
    Thanks,
    -Ajay

    How does this work? You can specify a given resource type and it will
    locate it in the directory tree automatically?
    Thanks,
    Michael
    Michael Girdley
    BEA Systems Inc
    "Ajay Nandanwar" <[email protected]> wrote in message
    news:3998ddb0$[email protected]..
    >
    We want to have logical URLs for images (or other file types). We do not
    want to expose physical location where the files are stored to the user.
    Other web servers have APIs for this (NSAPI and MSAPI have provision for
    this). I was wonderinf if someone knows how to achieve this with weblogic
    (as web server).
    Thanks,
    -Ajay

  • Logical network to physical network mapping (subnets and VLANS) in SCVMM 2012 R2

    In much of the blogs, documentation and literature on VMM, there are examples of deploying multiple logical networks onto one physical network i.e. Cluster (logical) + Storage (logical) + Backup (logical) + Live Migration (logical) + Management
    (logical) on top of Datacenter (physical).
    Does this mean it would be possible to have one (physical) flat VLAN-less network with one subnet and then have all those logical networks (with subnets and VLANs) on top of it? Even with a simple unmanaged L2 switch that doesn't support VLANs itself?
    If not, just how do you map multiple logical networks to just one physical network? How does that work in practice? Is a L3 switch needed to route traffic between logical networks for example?

    Hi. VMM Networking may be overwhelmed for the most, at first. But you really need to understand the modeling here and how things are related to each other. Especially if using NIC teaming in WS 2012 (and R2) together with this mix.
    I suggest that you read the following whitepaper where we explain how to setup networking in VMM (also to support network virtualization, but that is absolutely not mandatory): http://gallery.technet.microsoft.com/Hybrid-Cloud-with-NVGRE-aa6e1e9a
    -kn
    Kristian (Virtualization and some coffee: http://kristiannese.blogspot.com )

  • Mapping physical file name to logical file name

    Hi All,
    Can anybody let me know wht is the procedure to map a logical file name to physical file name. wht is the use of logical file name when there exists physical file name?
    Thanx in Advance

    As far as creating the Logical path  it’s done through the transaction code ‘file’ by using options
    Steps are:
    1. Logical file path definition which is logical file path name.
    2. Assignment of physical path to logical path - where we give the physical path to the logical path name defined in the last step.
    After creating the Logical path the procedure to attach the file name to the Logical path is as follows:
    Use the function Module C13Z_FRONT_END_TO_APPL to upload the file from the front end to the application server.
    Source file on front end will be the CSV file path which is to be uploaded to the application server
    Target file on application server will be the physical path of the file on the application server where the file is to be uploaded.
    Attach the physical path of the file on the application server to the Logical file using transaction code ‘file’.
    Logical File:   The Logical name of the file which will be used by the interfaces to upload the file
    Physical file:  The name of the physical file on the application server
    Logical path:  The path of the physical file on the application server where it is stored.
    The possible reason for the use of Logical file name could be we can have directories within SAP in which we can have logical files stored. These files can be used by various interfaces. Different Logical paths can be used for different interfaces. the second reson can be to give more user friendly name to the file rather than a long physical name to the file.

  • LSMW - Create Logical File Name so that the physical file name is automatic

    Hello,
    In LSMW, I do not want to create a logical file name for each project.  I would like the logical file name to automatically assign the physical file to the *.lsmw.conv of the project being executed. Is there a way of doing that?  If so, could someone share?
    Regards, Dean.

    not possible to create the logical file name to physical file name automatiically.
    because the logical file name created like  PROJECT name + SUB PROJECT name +OBJECT NAME .*.lsmw.conv
    if you change the object name the file will be change....

  • DM_Mappings.csv which maps logical names to relational names is blank

    Hi,
    I have created a data model (both logical and relational) using OSDM 3.1.4.710. I am trying to generate a csv report (go to File -> Export -> To CSV option in OSDM) which maps the logical names to physical names (physical names are abbreviated as I am using a glossary for abbreviations). This information was present in the csv named DM_Mappings.csv in version 3.0.0-665 of OSDM which maps the logical component of the model to the physical component. However when I use OSDM 3.1.1-703 or OSDM 3.1.1-704 or OSDM 3.1.4.710, the csv file DM_Mappings.csv is generated but its blank. I am not sure if there is some hidden option somewhere which will help me generate this mapping information which was a default option in OSDM 3.0.0-665. I would appreciate it if someone could help me in getting this logical to physical mapping in csv format using OSDM.
    Let me know if you need any other information.
    Regards,
    Ashok

    Hi Ashok,
    thanks for reporting the problem. Fix will be available in next release.
    Philip

  • Logical File name of Transaction File

    Hi All,
    I am using FILE_NAME_GET function module to get the Physical file name based on logical file name.
    But here i am not getting total file name, i maintained Physical File name as ZDM\INTB18\<PARAM_1>.
    Transaction File is stored in application server and it's name is ZDM\INTB18\RMCB18_DATETIME.
    Could you please anybody suggest how to get total file name.
    Thanks,
    Rami Reddy.

    Hi Rami,
    Have you utilised the Parameter WITH_FILE_EXTENSION in the function ... e.g.
    Example
    logical file name: MONTHLY_SALES_FILE
    physical file name: VALUES<PARAM_1>
    logical path: SALES_DATA_PATH
      physical path (Windows): C:\SALES\<FILENAME>
    Get file name for WINDOWS platform, with file name extension
    CALL                                                                                FUNCTION                                                                                'FILE_GET_NAME'
       EXPORTING
          LOGICAL_FILENAME = 'MONTHLY_SALES_FILE'
          WITH_FILE_EXTENSION = 'X'
       IMPORTING
          FILE_NAME = FILE
          FILE_FORMAT = FORMAT.
    Result:
    FILE = C:\SALES\VALUES.WK1
    FORMAT = WK1
    Rgds, Derrick

  • Logical to phycal data source mapping

    Hi,
    I am new to OracleAS. Every other server I worked with has this and it seems like it's a big part of J2EE, but I can't seem to find anywhere how to do this in OracleAS.
    I am trying to find a place to map my logical JNDI name that would be specified, say in web.xml in <resource-ref> tag to a physical JNDI name in the server.
    Where is the place to tie these two?
    Thanks,
    Yaakov.

    By default, the files are generated into the
    j2ee/home/application-deployments/<app-name>/<module-n&gt;
    &gt; > me>
    directory of your OC4J instance.
    They will be named along the lines of
    orion-web.xml
    orion-ejb-jar.xml
    orion-application.xmlSo, you are saying that it takes the contents of
    <resource-ref> from web.xml and BYITSELF maps it to
    the physical JNDI name. Hmm... How would it know
    WHICH JNDI name I want to map a particular logical
    JNDI??? Sounds a bit strange to me.
    For resource-ref entries, it doesn't do a default mapping. What is does is provide the XML tags that need to be filled in. You just need to specify the actual JNDI location as an attribute of one of the XML tags.
    It will endeavour to lookup and find a physical resource of the same name if no explicit mapping is provided.
    >>
    You can also provide copies of these files withthe
    settings you with to give to OC4J at deploymenttime
    by placing the orion-*.xml file in the samedirectory
    as it's corresponding J2EE standard deployment
    descriptor file.Well, that's what I was asking... Where in these
    files is the place to map the logical JNDI to the
    physical. For <resource-ref> in web.xml, I assume the
    place to do this would be in orion-web.xml. However,
    I can't find any normal documentation where it would
    tell me where to do this. In Weblogic, for example,
    there is a clear way to map your logic JNDI names you
    use in your web.xml to your physical JNDI names that
    are stored on the server. The place to do this in the
    web component is in weblogic.xml.
    Lets get to an example:
    If you put the following resource-ref in your web.xml file:
    <resource-ref>
    <description>Default DataSource</description>
    <res-ref-name>jdbc/MyDefaultDS</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    then when the application gets deployed, the auto-generated deployment descriptor orion-web.xml contains the following line
    <resource-ref-mapping name="jdbc/MyDefaultDS" />
    If you want to map this to the physical datsource jdbc/ThePhysicalDS then you'd just need to add a location attribute to the tag as follows:
    <resource-ref-mapping name="jdbc/MyDefaultDS"
    location="jdbc/ThePhysicalDS" />
    That will then complete the the mapping.
    If you don't provide the location details, then OC4J will try and locate a physical datasource of the same name as the logical one that was supplied. If jdbc/MyDefaultDS exists as a physical datasource within the namespace of the application, it will use that.
    I'd recommend that you just deploy the Web application, then go and look in the orion-web.xml that gets generated to see specifically what happens to your files.
    One nice thing about OC4J is that you don't need to provide these files to do the initial deployment -- OC4J will detect what needs to be mapped and include thos elements within the files it generates. You just need to fill them in.
    >>
    I'd recommend having a quick flick through the
    OC4J/J2EE documentation which is available on OTN--
    the various developer guides and user's guidestouch
    on this.I looked through all of it and it doesn't say a
    thing. So, I was hoping the developers knew this.
    The J2EE Services guide on OTN does cover this type of information.
    A quick look at the index showed:
    For JMS mappings -- http://download-west.oracle.com/docs/cd/B10464_02/web.904/b10326/jms.htm#1037919
    For Datasource mappings --
    http://download-west.oracle.com/docs/cd/B10464_02/web.904/b10326/datasrcs.htm#1005963
    The EJB and Servlet Developer's Guides also have some coverage of this.
    I have an example which does doing security logical role-name mapping on my blog, see http://radio.weblogs.com/0132383/stories/2004/04/23/usingFormBasedAuthentication.html
    Also, we ARE talking about the regular Oracle AS, not
    the standalone one, right? Because I read in the docs
    that only the standalone one allows you to use
    "expert mode" where you modify those xml files
    yourself. The regular server wants you to use the
    Enterprise Manager to do this. In any case, this is
    supposed to be a J2EE server and there has got to be
    a way to map logical names to physical.
    It's basically the same model irrespective of which way you actually specify the mappings.
    The final source of truth always comes from the same orion-*.xml file.
    If you are using OracleAS installation with Enterprise Manager, you can directly edit the configuration files. You just need to be aware that you must inform the server that the files have been updated using the dcmctl command.
    dcmctl -updateConfig In the EM console, we're working on making this more task oriented, so you can actually specify the physical mappings as you run through the deployment wizard. I'm sure the 904 release has some support for this today.
    Hope someone can help me with this.
    I hope this information I've provided here helps you with the questions you have.
    -steve-

  • How to create a logical and a physical path?

    Hi ,
    I want to know how is  a logical path created ?
    Also , how can a physical path be created from a provided logicall path?
    Regards,
    Harshit Rungta

    Hi,
    Use FM u2018FILE_GET_NAMEu2019 to assign the physical file name using a logical file name.
    Remember you need to create u2018logical file nameu2019 using transaction u2013 FILE.
    R/3 applications run on various platforms with various file systems. Hence we use platform-independent logical file names in our application programs.
    Function module u2018FILE_GET_NAMEu2019 converts a logical file name to the corresponding physical file name and path for the hardware platform concerned.
    For this conversion to work for different platforms, the definition of a logical file name must include a logical file path, which in turn is converted to different physical file paths, depending on the particular platform. The platform-specific file name returned by the function module is composed of the physical file path for the current platform and the physical file name associated with the logical file name. Placeholders in physical file and path names are substituted at runtime by the corresponding current values.
    Example
    logical file name:     MONTHLY_SALES_FILE
    physical file name:     VALUES<PARAM_1>
    logical path:     SALES_DATA_PATH
    physical path (UNIX):     /usr/<SYSID>/<FILENAME>
    physical path (Windows):     C:\SALES\<FILENAME>.
    Kind Regards,
    Nikhil J.

Maybe you are looking for

  • No today highlight in Calendar App after Yosemite upgrade

    Since installing Yosemite, the weekly view in the Calendar app no long shows today highlighted (except for the date in red).  I preferred the old way with the entire day highlighted.  Is there any way to get that back?

  • Call transaction from the ABAP report

    Hi Gurus, Please help me with suggestion. I would like to access from SAP report with double click transaction FB03. I can access it, but in old transaction view ... How can I get the new transaction view? Here is the code, BR Saso IF fieldname CS 'B

  • Air 3.5 front camera issue

    I am using the latest air 3.5 sdk to build an video application. But I find that the front camera can not render correctly in spark.VideoDisplay, while the back camera is ok. My deivce is galaxy nexus, android 4.1.2, the code is below: protected func

  • Browser problem on nokia n90...can anybody help?

    dont know if my post is on topic, but if is possible i would need some help.I have a problem with my browser on mi n90.It works just fine untill i click a field in wich u have to write something(usernames, passwords and anything else that requires wr

  • Transfer Orders with Header and Item confirmations inconsistencies.

    Hi, Is it possible to confirm Transfer order at Item level instead of Header level. I have a requirement i.e. Table level LTAK table Header level confirmation should be blank and Item level LTAP confirmation should be "X". Could you please suggest me