My Oracle Support Banner

Cannot access sub-directory when war deployed in staging mode (Doc ID 953486.1)

Last updated on SEPTEMBER 18, 2023

Applies to:

Oracle WebLogic Server - Version 10.3 and later
Information in this document applies to any platform.

Goal

When an application war TestApplication.war file is deployed in WLS 10.3 it creates

                 server\stage\TestApplication\TestApplication.war (a war file)

When the same application is deployed on WLS 8.1 it creates

                server\stage\TestApplication\TestApplication.war (exploded directory)

If there is a sub directory inside the application, here, tmp which I am accessing from code:

In WLS 8.1 there are no issues. Path of tmp is returned. In WLS 10.3 Path returned is null.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.