Cannot use 'discoverDomain' tool in online mode and with WLS 12.1.3
See original GitHub issueI’m running the deploy tooling version 0.10
, with an installation of WebLogic Server version 12.1.3
and JDK 1.8.0_162-b12
.
I’m trying to use the discoverDomain
tool, in online mode (it seems that WLST script for WLS 12.1.3
have problems with SingleSignOnServices
elements in offline mode only) but it fails with the following error:
$ /ORA/dbs01/oracle/product/Middleware/weblogic-deploy-tooling/weblogic-deploy/bin/discoverDomain.sh \
-oracle_home /ORA/dbs01/oracle/product/Middleware \
-domain_home /ORA/dbs01/oracle/product/Middleware/user_projects/domains/base_domain \
-admin_url t3://localhost:8001 \
-admin_user weblogic \
-archive_file /tmp/DiscoveredWLSDomain.zip
JDK version is 1.8.0_162-b12
Domain type not recognized by shell script...assuming JRF is required
JAVA_HOME = /ORA/dbs01/oracle/product/jdk8
WLST_EXT_CLASSPATH =
CLASSPATH = /ORA/dbs01/oracle/product/Middleware/weblogic-deploy-tooling/weblogic-deploy/lib/weblogic-deploy-core.jar
WLST_PROPERTIES = -Djava.util.logging.config.class=oracle.weblogic.deploy.logging.WLSDeployLoggingConfig -Dcom.oracle.cie.script.throwException=true
/ORA/dbs01/oracle/product/Middleware/wlserver/common/bin/wlst.sh /ORA/dbs01/oracle/product/Middleware/weblogic-deploy-tooling/weblogic-deploy/lib/python/discover.py -oracle_home /ORA/dbs01/oracle/product/Middleware -domain_home /ORA/dbs01/oracle/product/Middleware/user_projects/domains/base_domain -admin_url t3://localhost:8001 -admin_user weblogic -archive_file /tmp/DiscoveredWLSDomain.zip
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
The discoverDomain program will write its log to /ORA/dbs01/oracle/product/Middleware/weblogic-deploy-tooling/weblogic-deploy/logs/discoverDomain.log
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
Problem invoking WLST - Traceback (innermost last):
File "/ORA/dbs01/oracle/product/Middleware/weblogic-deploy-tooling/weblogic-deploy/lib/python/discover.py", line 452, in ?
File "/ORA/dbs01/oracle/product/Middleware/weblogic-deploy-tooling/weblogic-deploy/lib/python/discover.py", line 412, in main
File "/ORA/dbs01/oracle/product/Middleware/weblogic-deploy-tooling/weblogic-deploy/lib/python/discover.py", line 81, in __process_args
File "/ORA/dbs01/oracle/product/Middleware/weblogic-deploy-tooling/weblogic-deploy/lib/python/discover.py", line 130, in __process_online_args
File "/ORA/dbs01/oracle/product/Middleware_12.1.3.0_generic/weblogic-deploy-tooling/weblogic-deploy/lib/python/wlsdeploy/util/getcreds.py", line 28, in getpass
at java.util.ResourceBundle.getObject(ResourceBundle.java:450)
at java.util.ResourceBundle.getString(ResourceBundle.java:407)
at oracle.weblogic.deploy.exception.ExceptionHelper.getMessage(ExceptionHelper.java:41)
at oracle.weblogic.deploy.util.CLAUtils.promptInTerminalWindow(CLAUtils.java:76)
at oracle.weblogic.deploy.util.CLAUtils.getPasswordInput(CLAUtils.java:64)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
java.util.MissingResourceException: java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key WLSDPLY-09045
discoverDomain.sh completed but with some issues (exit code = 1)
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
6 Configuring Existing WebLogic Domains
This chapter describes how to use WebLogic Server 12.1.3 WLST both online and offline to update an existing WebLogic domain.
Read more >Discover Domain Tool :: WebLogic Deploy Tooling
The Discover Domain Tool provides a bootstrapping mechanism to creating a model and archive file by inspecting an existing domain and gathering ...
Read more >WebLogic Server 12cR1 (12.1.2 and 12.1.3) : Create, ...
In this case I used "/u01/app/oracle/config/domains/testDomain". Click the the "Next" button. Configuration Type. Select the templates the ...
Read more >WebLogic 12c in Action | Middleware Snippets
To create a virtual machine we are going to use VMWare WorkStation ... "Initializing WebLogic Scripting Tool (WLST) .
Read more >How to connect to WLST in interactive mode on ... - YouTube
... are going to see how to connect to Weblogic Scripting tool (WLST) in interactive mode on Oracle Weblogic Server 12c ( 12.1.3...
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
Adding online support for Discover has been in our backlog of TODOs. Adding this feature to the release schedule.
Closed via #126