ClasspathServletSecureModeEnabled parameter doesn't work for OSB domain
See original GitHub issueI configured OSB domain using WDT providing:
ClasspathServletSecureModeEnabled: false
This doesn’t work, which I tested both by reproducing issue described in Doc Id 2777539.1 and by logging into AdminServer, connecting using WLST to verify that:
wls:/my_domain/serverConfig/> cd ('Servers/AdminServer')
wls:/my_domain/serverConfig/Servers/AdminServer> ls()
(...)
-r-- ClasspathServletDisabled false
-r-- ClasspathServletSecureModeEnabled true
(...)
I can confirm that Weblogic properly reacts on modification of ClasspathServletDisabled
property - this should stay as “false”, but for testing purpose I was modifying it just to see if it changes.
I am using WDT 2.1.1 version and OSB 12.2.1.4.0
Issue Analytics
- State:
- Created a year ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
OSB 12.2.1.4 Remote Imports Fail After Applying WLS PSU ...
This is an issue that affects all OSB customers with WLS PSU April 2021 that import OSB projects with JMS transport from a...
Read more >wrong classpath and parameters while running WebLogic in ...
I've installed and configured WebLogic and everything works when I run it from the console (it's WebLogic 10.3.
Read more >Setting WebLogic Properties
WebLogic Server is designed to serve HTTP servlets (classfiles) that it finds and loads from the host machine's CLASSPATH, and any other ...
Read more >ALSB/OSB customization using WLST | by Paul Parsons
We will try to use a WLST script instead of a customization file, as the later doesn't satisfy our needs. The first thing...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@pwninja OK, this has nothing to do with any final.py change and is easily reproduced with a WebLogic Server only domain.
It appears to be an issue that the Oracle PSU team created by changing the default value of the attribute in “online” mode but not in “WLST offline” mode. Because WLST offline thinks the default is still
false
, it will not add the attribute to config.xml unless the value is set totrue
. If we use WLST offline to change the value tofalse
after the domain is created (and since WLST offline believes that the attribute’s default value is false), the attribute is removed from config.xml. I am not sure that there is anything WDT can reasonably do to work around this WLST bug created by the incomplete PSU change.My advice is to file a bug on WLS for making this change, which makes it impossible to disable this attribute without either hand-editing config.xml or running an online config change step after domain creation. @mriccell @ddsharpe FYI
@pwninja If you need this to work, you should file a Bug against WLST offline with Oracle Support.