List of Drive Letters Works Abnormally While Running WLS As a Windows Service

(Doc ID 2336701.1)

Last updated on JANUARY 05, 2018

Applies to:

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

Symptoms

Tried to list local and network drive letters by executing below snippet of Java code inside Weblogic Server.

It works fine when Weblogic server was started from script, it can find both local and network drive letters. 

However, when Weblogic Server was installed as Windows service, it cannot list the network drives but only the local drivers. 

Changes

 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms