Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6199201
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T04:08:55+00:00 2026-05-24T04:08:55+00:00

I am having a frustrating problem with virtual directory mapping in my very simple

  • 0

I am having a frustrating problem with virtual directory mapping in my very simple WebLogic 11g application. I installed WebLogic 11g OEPE, which installs WebLogic Server 10.35. I believe that this is installed correctly, because I am able to deploy a much more complicated application that is working fine…except for my issue with virtual directory mapping.

I want to access files from a directory outside of the web application, H:\Backup.

Here is my entire application, and these are my exact files.

wl_test/index.html

<html>
<head><title>WebLogic Test</title></head>

<body>
<h1>This is another new test<br>
</body>
</html>

wl_test/WEB-INF/web.xml

<web-app>
    <welcome-file-list>
        <welcome-file>index.html</welcome-file>
    </welcome-file-list>
</web-app>

wl_test/WEB-INF/weblogic.xml

<weblogic-web-app>
    <virtual-directory-mapping>
         <local-path>H:/Backup/</local-path>
         <url-pattern>/files/*</url-pattern>
         <url-pattern>*.txt</url-pattern>
    </virtual-directory-mapping>
</weblogic-web-app>

When I access the HTML file, ‘http://localhost:7002/wl_test/index.html‘, it loads perfectly fine.

However when I attempt to load either of the following two URLs, they both fail with a HTTP 404 error. And yes, both of those files, one.ini and asdf.txt exist in the H:\Backup directory.

  1. ‘http://localhost:7002/wl_test/files/one.ini&#8217;
  2. ‘http://localhost:7002/wl_test/asdf.txt&#8217;

What could be wrong with this trivial setup?

I’m beginning to think I don’t understand how this is supposed to work.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T04:08:57+00:00Added an answer on May 24, 2026 at 4:08 am

    I think I understand what has changed and how to fix everything.

    There were two problems with the virtual directory mapping.

    First, the local-path cannot be a MS-DOS SUBSTed drive. I don’t understand why, but WebLogic doesn’t like it.

    Second, when the url-pattern contains a folder, like /files/*, that folder must exist in the local-path directory.

    Both of these are allowed in the JRun server that this is being ported from.

    Sigh,
    Randy Stegbauer

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am having a very frustrating problem with Microsoft Visual Web Developer. I have
I've been having this rather frustrating problem, and having failed so many times, I'm
I'm having a really frustrating error trying to secure an ASP.NET application using the
I seem to be having a very frustrating time with an inherited class calling
I'm having a frustrating problem with a has_many through: namely the fact that the
I'm having an incredibly frustrating problem that appears to be a bug, but I
I am having a really frustrating problem in CakePHP where a space keeps coming
I'm having quite a frustrating problem that I'm sure is TRIVIAL. Whenever I move
I'm having a really frustrating problem I hope someone can help me with. Here
I'm having a really frustrating issue: Rake is being dumb. Here's how the problem

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.