virtual directory mapping does not

G ' Day,.

Running the installation zip (development version) WL12.1.3 on my windows 7 dev laptop and trying to get the virtual directory mapping directive work in weblogic.xml.

I have the following defined in weblogic.xml:

<virtual-directory-mapping>
        <local-path>C:/htdocs/gocnrsdpgdc/static</local-path>
        <url-pattern>/static/*</url-pattern>
    </virtual-directory-mapping>

My context root is on: / inet-inet/gocnr-sdpgdc/10

Trying to pull in static files using the following URL in my application results in a not found error:

/INET-INET/gocnr-sdpgdc/10/static/content/HTML/test.html

Any ideas? Security restrictions preventing access to the file outside of the app container system perhaps WL?

Hello

I just quickly tested on WebLogic Mac 12.1.3 and it seems to work perfectly well. I used the demo attached here:

Article:

Mapping of virtual directory in WebApps

http://middlewaremagic.com/WebLogic/?p=790

Source code:

https://github.com/jaysensharma/MiddlewareMagicDemos/tree/master/WebLogic/General/WLS12c_Virtual_Directory_Demo

I suspect you should use the slash reverse rather oblique inside of the

  1. C:\htdocs\gocnrsdpgdc\static   
  2. static / / *.

Can you please try with the above to see if it works.

NOTE: there are two 'static' in your PATH with the setting above are your JSP taking care of this?

If not then I guess you should use the as follows: (without 'static') else WebLogic will search in the "C:/gocnrsdpgdc/htdocs/static/static/content/html/test.html '

C:\htdocs\gocnrsdpgdc

If you do not want to change the as above, then try using the URL as http://localhost:7001/inet-inet/gocnr-sdpgdc/10/content/html/test.html ("static" is removed from the URL as it is already included in the)

Concerning

Jay SenSharma

Tags: Fusion Middleware

Similar Questions

  • virtual directory mapping

    I posted this here and not yet in the forum of weblogic.

    Use the current version of jdeveloper, adf.

    I read the posts on the forum of weblogic and followed the solution, but I get a 404 not found error.

    I want to deploy all the PDFs in the directory c:/Pdf.

    I use golink with destination http://localhost:7001 / bissell.pdf

    If I deploy in default location of the document, it works well.

    When I deploy in c:/Pdf I get a 404 error.

    The reason why I posted this here is, I don't know if ADF creates problems, I do not think that Yes, but...

    If there is no step that I missed, please let me know.


    Chuck


    WebLogic.Xml

    <? XML version = "1.0" encoding = "windows-1252"? >
    -weblogic-web-app xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi: schemaLocation = "http://www.bea.com/ns/weblogic/weblogic-web-app http://www.bea.com/ns/weblogic/weblogic-web-app/1.0/weblogic-web-app.xsd" xmlns = "http://www.bea.com/ns/weblogic/weblogic-web-app" >
    -security-role-assignment >
    valid users - < role name > < / role name >
    users of < SPN > < / main-name >
    < / security role assignment >
    -< virtual directory mapping >
    < local path - > c:/Pdf < / local path >
    *.PDF < url-pattern > < / url-pattern >
    < / Directory virtual-mapping >
    UMASS < context root > < / root context >
    -Library-ref >
    < name of the library - > adf.oracle.domain.webapp < / library name >
    < / library-ref >
    -Library-ref >
    < name of the library - > jstl < / library name >
    specification of the < version > 1.2 < / specification-version >
    < / library-ref >
    -Library-ref >
    JSF < library name > - < / library name >
    specification of the < version > 1.2 < / specification-version >
    < / library-ref >
    < / weblogic-web-app >

    The virtual directory that you associate is a part of the Web application, if you need to access it in the root of the Web application. If the root of the application context is UMSASS (as your weblogic.xml States), try the following:

    http://localhost:7001/UMass/bisell.PDF

    Dimitar

  • With the help of deployment plan to change the virtual directory mapping

    Hi all
    Have anyone tried this before?
    I have a deployment plan to add the virtual directory to my descriptors of weblogic as follows:

    Inside tag <>variable-definitions:
     <variable> 
          <name>LocalPath</name>
          <value>C:/</value>
        </variable> 
        <variable>
          <name>VirtualPath</name>
          <value>/Temp/*</value>
        </variable> 
    Then, to add the virtual directory to weblogic.xml in:
    <module-descriptor external="false">
          <root-element>weblogic-web-app</root-element>
          <uri>WEB-INF/weblogic.xml</uri>
          <variable-assignment>
             <name>LocalPath</name>
             <xpath>/weblogic-web-app/virtual-directory-mapping/local-path</xpath>
          </variable-assignment>
          <variable-assignment>
             <name>VirtualPath</name>
             <xpath>/weblogic-web-app/virtual-directory-mapping/url-pattern</xpath> 
             <operation>add</operation>
          </variable-assignment> 
        </module-descriptor>
    But I have this error:
    "
    C:\Users\Napoleon\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\DefaultDomain\servers\DefaultServer\upload\ReviewApp\app\planplan.xml:0 error VALIDATION PROBLEMS FOUND: problem: cvc-complex - type. 2.4 c: expected element" url-pattern @http://xmlns.oracle.com/weblogic/weblogic-web-app' before the end of the virtual-directory-mapping element content @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\ReviewApp\app\planplan.xml >
    I also tried to use the XPath for model url as follows:
    /WebLogic-Web-app/virtual-directory-mapping/[local-path="C:/"]/URL-pattern < xpath > < / xpath >

    But I have the same error. The <>url-patter item is not added correctly to the virtual directory mapping tag.

    It is supposed to work. Someone has done this before? or is this a bug of the deployment plan.

    Thank you very much.

    Concerning

    K.

    Hello

    It seems that in the new WLS10.3.2 weblogic.xml XSD order of * "url-pattern" * and * 'local-path' * is changed then the secuence of Xpath is changed... This means that now you must try with following... What has worked for me in WLS10.3.2:



    MyVirtualDirEAR


    LocalPath
    C:\DELETE\MyImages


    VirtualPath
    / Temp / *.


    VirtualDirWebApp.war
    war

    WebLogic-web-app
    WEB-INF/weblogic.xml

    WeblogicWebApp_WorkManagers_12789279799714
    WebLogic-Web-App/Work-Manager


    firstNode
    WebLogic-Web-App/Virtual-Directory-Mapping
    Add





    VirtualPath
    /WebLogic-Web-app/virtual-directory-mapping/URL-pattern
    Add


    LocalPath
    /WebLogic-Web-app/virtual-directory-mapping/[URL-pattern="/temp/*"]/local-path
    Add






    C:\VirtualDirectory_MappingApp

  • Google Maps does not work in FF5

    Google maps does not - it displays but keeps in a State of "loading". This applies to a card of Google.com search that freezes or a maps.google.com which cannot interact with. You might want to confirm that the latest version of flash is not cause problems

    Clear the cache and cookies from sites that cause problems.

    "Clear the Cache":

    • Tools > Options > advanced > network > storage (Cache) offline: 'clear now '.

    'Delete Cookies' sites causing problems:

    • Tools > Options > privacy > Cookies: "show the Cookies".

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions of the origin of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

  • EqualLogic 'virtual storage manager' does not appear in viClient

    I have installed and configured all the options necessary to HITVE and the 'virtual storage manager' does not pull through?

    On my home screen, to the title of "Solutions and Applications" - it indicates that three of the components by default HITVE, but not Virtual Storage Manager?

    Any ideas?

    I have HITVE not published, restarted, rebooted vCentre, solves all Commons - but still no module?

    VMware Storage Manager VSM v3.5, (formerly ASM/EV) was published on the web.  It's much improved then I would say that you give it a try.

  • The ADF Application virtual directory mapping

    I have under entry in my weblogic.xml file and everything works fine.  I want to read < local-> file path of properties so that I need to keep separate for each environment or local weblogic.xml. My production environment (linux) image location is/home/mywork/MyImages

    Is there a way? How can I do?

    < virtual directory mapping >

    C:\JDeveloper\mywork\MyImages < local path > < / local path >

    Dim < url-pattern > / * < / url-pattern >

    < / Directory virtual-mapping >

    Hi me26,.

    You can get this creation of a deployment plan where, at the time of the deployment, you can override this property with a value of the customized environment.

    Follow this link: deployment plans created with Oracle WebLogic. Java Code geeks

    Best regards

  • When I uninstall an application virtualized with ThinApp does not eliminate the root folder, any suggestions to fix this?

    When I uninstall an application virtualized with ThinApp does not eliminate the root folder, any suggestions to fix this?

    Can you try to change the shortcuts = active on all entry Points setting?

    Change of Shortcuts=%Programs%\Check Point\Identity Shortcuts=%Programs%\IdentityAgent Agent

    In this way, we can see if it's the second folder level do. Because when I use only one file, I don't get the issue you reported.

    Out of curiosity:

    It is a Security Check Point Software? What is doing? It works like a ThinApp package?

  • Microsoft ISATAP #4 map does not

    Map Microsoft ISATAP #4 does not. This device does not work properly because Windows cannot load the drivers required for this device. (Code 31)

    rlgriffin70,
    You should go to gateway website and download the latest driver for your network card.  Go into Device Manager and uninstall the network adapter that is having the problem.  Then, restart the computer and let Vista find the network card and install it.  Then go to Device Manager and update the driver to the newest one that you downloaded.

    1. open Device Manager by clicking the Start button, click on the Control Panel, clicking system and Maintenance, and then clicking Device Manager.  If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.
     
    2. in Device Manager, look for the network adapter, and then double-click the name of the adapter.
     
    3. click Driver tab, then click on set to update driver and follow the instructions.

    Let us know if you need more information.
    Thank you

    Gloria
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • NWM map does not show TV

    When reinstalling my router problems, I added the devices wireless, laptop, printer and TV (6050 Samsung Smart TV). Everything appears on the NWM except the TV card.  I turned on when adding it and updating the map, several times and it does not appear, but works wirelessly for Netflix and other applications.

    the network card may display incorrect information such as duplicate devices or entries that have been removed, but still appear on the map. This Kbase article can help: network map displays incorrect information, as is another divergence of card network.

  • Map does not not in Simulator

    Hello

    I'm trying to add a simple map in my application as explained here

    http://docs.BlackBerry.com/en/developers/deliverables/17954/Add_a_map_1201417_11.jsp

    but it does not work. Map screen always remains in the download status and does not display anything. Debug displays a problem here

    Cards are bugged on simulators for the moment.

  • BlackBerry GPS App Z30 maps does not work without wifi

    Hi there maps GPS app for BB does not work without wifi?

    Very well. Good. Wanted to make sure that you guessed it sorted.

  • BlackBerry Smartphones My Blackberry Maps does not work

    I just got a Bold 9900. The "Blackberry Maps" icon is not on my home screen and I have to search for cards to be able to see the icon. When I run it, it goes to 'Find location', but does not show the map and then an error message is displayed. "Unknown error".

    I'd appreciate it if someone could help me solve this problem.

    Do you have the BlackBerry data Plan on your Bell account?

    BlackBerry Maps will not work without it.

  • Google Map does not not on Centro (Sprint)

    Hi, the application Google Map on my Centro (Sprint) does not work.  When I run the application, I get the following message:

    Upgrade required by October 15, 2007

    Since version 1.2.0.9

    For version 2.0.2.0

    It allows me to go to the website of m.google.com/maps to download the new version.  Unfortunately, I get the following message:

    Sorry, the Google Maps app does not work on your OS5.

    This application is used to work, but it has stopped working recently.  If you are aware of all the patches, I'd greatly appreciate your help!  Thank you!!!

    Try going to this link on the phone

    http://www.Google.com/GMM/googlemaps.PRC

  • Import of AD/OID mapping does not

    Can you help to debug my problem of mapping AD - OID? I get messages from ActiveChgImp.trc below

    Sleeping for 5secs
    LDAP URL: (: 0 cn = akloas1, OU = 'Accounts of Service', OR = Users, OR = Managed Objects, dc = dc = govt, corrections, dc = nz)
    Specification of binary attributes: mpegvideo objectguid, objectsid usercertificate orclodipcondirlastappliedchgnum guid
    AuthenticationException LDAP javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]
    [LDAP: error code 49 - Invalid Credentials]
    Failed to initialize drive!
    LDAP URL: (AKLOAS1:389 cn = odisrv + orclhostname = AKLOAS1, cn = cases recorded, cn = directory integration platform, cn = products, cn = oraclecontext
    Specification of binary attributes: mpegvideo objectguid, objectsid usercertificate orclodipcondirlastappliedchgnum guid
    LDAP connection successful
    Initialized writer!
    Writer proxy connection initialized!
    MapEngine initialized!
    Initialized filter!
    ActiveChgImp:Error in EngineODIException mapping: DIP_GEN_AUTHENTICATION_FAILURE
    javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]
    at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:2988)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2934)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2735)
    at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2649)
    to com.sun.jndi.ldap.LdapCtx. < init > (LdapCtx.java:290)
    at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
    at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193)
    at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136)
    at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:66)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
    at javax.naming.InitialContext.init(InitialContext.java:219)
    to javax.naming.ldap.InitialLdapContext. < init > (InitialLdapContext.java:133)
    at oracle.ldap.odip.gsi.LDAPConnector.connectLdap(LDAPConnector.java:301)
    at oracle.ldap.odip.gsi.ActiveChgReader.initialise(ActiveChgReader.java:202)
    at oracle.ldap.odip.engine.AgentThread.readerInitialise(AgentThread.java:390)
    at oracle.ldap.odip.engine.AgentThread.mapInitialise(AgentThread.java:439)
    at oracle.ldap.odip.engine.AgentThread.execMapping(AgentThread.java:305)
    at oracle.ldap.odip.engine.AgentThread.run(AgentThread.java:186)
    ActiveChgImp: about to exec status update
    Update the attributes
    orclodipLastExecutionTime: 20110504153900
    orclodipConDirLastAppliedChgNum: 0
    orclOdipSynchronizationStatus: mapping, Agent not attempted execution failure
    orclOdipSynchronizationErrors: Invalid Credentials
    Update the attributes
    orclodipLastExecutionTime: 20110504153900
    orclodipConDirLastAppliedChgNum: 0
    orclOdipSynchronizationStatus: Agent successful run, mapping/IMPORT failure operation
    orclOdipSynchronizationErrors: Agent successful run, mapping/IMPORT failure operation
    Put an end to the execution of the mapping.
    -----

    your error in the message:
    ActiveChgImp:Error in EngineODIException mapping: DIP_GEN_AUTHENTICATION_FAILURE
    javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]

    It cannot connect to AD...

  • Double-click on the graph in the map does not work

    Hello
    I had created an application where the user can click on the map and a marker will be created and it stores values x y and stored in the database and the user can also drag the marker and place it in the appropriate position and after the user drag and drop the marker we have a "confirm" to send the values of y from x to the database. I need to remove that confirm the button and replace only with double click where user double clicks on the marker settings must pass.

    To drag the marker, I use the mousedown event, but when I add the doubleclick event his does not work

    gr.doubleClickEnabled = true;
    gr.addEventListener (MouseEvent.DOUBLE_CLICK, registerComplaint);
    gr.addEventListener (MouseEvent.MOUSE_DOWN, mousedownGraphic);

    even when I comment on the mouse to the bottom of the double click event on the graphic marker does not work.

    Help me in this task I need to do urgently.

    Concerning
    Arun Mohan

    While I can't possibly guess the cause of your problem, there is an easy solution for this.

    ...
    // record the time for the last mouse down
    private var _lastMouseDownTime:uint = new Date().time;
    // how fast the second mouse down needs to be to qualify for double click
    private var _doubleClickThreshold:uint = 500;
    ...
    // traces mouse down and double click
    private function mouseDown(e:MouseEvent):void {
                trace("mousedown");
                var mouseDownTime:uint = new Date().time;
                if(mouseDownTime - _lastMouseDownTime <= _doubleClickThreshold){
                    trace("doubleclick");
                }
                _lastMouseDownTime = mouseDownTime;
    }
    

Maybe you are looking for

  • Pouvez individual emails to group TB that are connected through answers?

    Is there a setting for the connection or group individual email who is a connected through answers. Outlook (used to work) has this feature and I really like it. Any new e-mail associated with the original is added to the title of the original, by el

  • Can't access wifi connections

    Hello I have a PC HP Pavilion 17 e049wm laptop, model: E0J75UA.Long story short my laptop is no longer gives me an option to connect to the internet via my wireless router. It gives me only the ability to connect via Ethernet cable. If I click on the

  • Copy to printer LaserJet M1522: but Windows says it's on paper

    My Laserjet M1522 copies perfectly but widows tells me it is out of paper when I try to print on the network.  I restarted the network, the computer and the printer. Is there anything else I can try?

  • with streaming buffering problem

    Please can someone help

  • Nvstor64 error causes the frequent computer crash.

    I had a problem with Nvstor64 since last week, it causes my computer down for about 1 min and right now I am unable to do anything even open Task Manager, also Firefox and Windows Explorer crash wih him "unresponsive" white wash effect it seems to ha