Weblogic Domain Configuration Wizard replaces forward slash (/) with back-slash (\) while creating domain

265 views Asked by At

I have a Weblogic (10.3.6) domain template that I am using to create a domain on Windows. The "startscript.xml" in the template contains a section to set JAVA_OPTIONS as below -

<setenv name="JAVA_OPTIONS" scope="global" delim=" ">
   <value>-Dlog4j.configuration=desktop/log4j.xml</value>
</setenv>

When the domain is created, this gets converted to a statement like this in the start*.cmd file :-

set JAVA_OPTIONS=-Dlog4j.configuration=desktop\log4j.xml

I am assuming that the domain configuration wizard is replacing the "/" with "\" because this is on a Windows platform (I haven't tried on Unix though).

Is there a way to prevent it? I would like the "/" to remain as it is.

0

There are 0 answers