File tree Expand file tree Collapse file tree 4 files changed +20
-2
lines changed Expand file tree Collapse file tree 4 files changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -232,6 +232,7 @@ def __process_online_args(optional_arg_map):
232
232
optional_arg_map [CommandLineArgUtil .ADMIN_PASS_SWITCH ] = String (password )
233
233
234
234
mode = WlstModes .ONLINE
235
+ optional_arg_map [CommandLineArgUtil .TARGET_MODE_SWITCH ] = 'online'
235
236
return mode
236
237
237
238
@@ -435,6 +436,8 @@ def main(args):
435
436
436
437
__wlst_helper .silence ()
437
438
439
+ exit_code = CommandLineArgUtil .PROG_OK_EXIT_CODE
440
+
438
441
try :
439
442
model_context = __process_args (args )
440
443
except CLAException , ex :
@@ -482,6 +485,8 @@ def main(args):
482
485
tool_exit .end (model_context , CommandLineArgUtil .PROG_ERROR_EXIT_CODE )
483
486
484
487
__clean_up_temp_files ()
488
+
489
+ tool_exit .end (model_context , exit_code )
485
490
return
486
491
487
492
Original file line number Diff line number Diff line change @@ -245,6 +245,7 @@ def __process_online_args(optional_arg_map):
245
245
optional_arg_map [CommandLineArgUtil .ADMIN_PASS_SWITCH ] = String (password )
246
246
247
247
mode = WlstModes .ONLINE
248
+ optional_arg_map [CommandLineArgUtil .TARGET_MODE_SWITCH ] = 'online'
248
249
return mode
249
250
250
251
@@ -454,6 +455,8 @@ def main(args):
454
455
455
456
__wlst_helper .silence ()
456
457
458
+ exit_code = CommandLineArgUtil .PROG_OK_EXIT_CODE
459
+
457
460
try :
458
461
model_context = __process_args (args )
459
462
except CLAException , ex :
@@ -501,6 +504,8 @@ def main(args):
501
504
tool_exit .end (model_context , CommandLineArgUtil .PROG_ERROR_EXIT_CODE )
502
505
503
506
__clean_up_temp_files ()
507
+
508
+ tool_exit .end (model_context , exit_code )
504
509
return
505
510
506
511
Original file line number Diff line number Diff line change @@ -268,7 +268,8 @@ IF NOT EXIST "%WLST%" (
268
268
)
269
269
:found_wlst
270
270
271
- SET LOG_CONFIG_CLASS = oracle.weblogic.deploy.logging.WLSDeployLoggingConfig
271
+ SET LOG_CONFIG_CLASS = oracle.weblogic.deploy.logging.WLSDeployCustomizeLoggingConfig
272
+ SET WLSDEPLOY_LOG_HANDLER = oracle.weblogic.deploy.logging.SummaryHandler
272
273
SET WLST_PROPERTIES = -Dcom.oracle.cie.script.throwException=true
273
274
SET " WLST_PROPERTIES = -Djava.util.logging.config.class=%LOG_CONFIG_CLASS% %WLST_PROPERTIES% "
274
275
SET " WLST_PROPERTIES = %WLST_PROPERTIES% %WLSDEPLOY_PROPERTIES% "
@@ -279,6 +280,9 @@ IF NOT DEFINED WLSDEPLOY_LOG_PROPERTIES (
279
280
IF NOT DEFINED WLSDEPLOY_LOG_DIRECTORY (
280
281
SET WLSDEPLOY_LOG_DIRECTORY = %WLSDEPLOY_HOME% \logs
281
282
)
283
+ IF NOT DEFINED WLSDEPLOY_LOG_HANDLERS (
284
+ SET WLSDEPLOY_LOG_HANDLERS = %WLSDEPLOY_LOG_HANDLER%
285
+ )
282
286
283
287
ECHO JAVA_HOME = %JAVA_HOME%
284
288
ECHO WLST_EXT_CLASSPATH = %WLST_EXT_CLASSPATH%
Original file line number Diff line number Diff line change @@ -268,7 +268,8 @@ IF NOT EXIST "%WLST%" (
268
268
)
269
269
:found_wlst
270
270
271
- SET LOG_CONFIG_CLASS = oracle.weblogic.deploy.logging.WLSDeployLoggingConfig
271
+ SET LOG_CONFIG_CLASS = oracle.weblogic.deploy.logging.WLSDeployCustomizeLoggingConfig
272
+ SET WLSDEPLOY_LOG_HANDLER = oracle.weblogic.deploy.logging.SummaryHandler
272
273
SET WLST_PROPERTIES = -Dcom.oracle.cie.script.throwException=true
273
274
SET " WLST_PROPERTIES = -Djava.util.logging.config.class=%LOG_CONFIG_CLASS% %WLST_PROPERTIES% "
274
275
SET " WLST_PROPERTIES = %WLST_PROPERTIES% %WLSDEPLOY_PROPERTIES% "
@@ -279,6 +280,9 @@ IF NOT DEFINED WLSDEPLOY_LOG_PROPERTIES (
279
280
IF NOT DEFINED WLSDEPLOY_LOG_DIRECTORY (
280
281
SET WLSDEPLOY_LOG_DIRECTORY = %WLSDEPLOY_HOME% \logs
281
282
)
283
+ IF NOT DEFINED WLSDEPLOY_LOG_HANDLERS (
284
+ SET WLSDEPLOY_LOG_HANDLERS = %WLSDEPLOY_LOG_HANDLER%
285
+ )
282
286
283
287
ECHO JAVA_HOME = %JAVA_HOME%
284
288
ECHO WLST_EXT_CLASSPATH = %WLST_EXT_CLASSPATH%
You can’t perform that action at this time.
0 commit comments