Oracle Weblogic Server (MOSC)

MOSC Banner

Problem invoking WLST - Traceback (innermost last): SyntaxError: invalid syntax

edited Aug 7, 2019 3:51AM in Oracle Weblogic Server (MOSC) 7 commentsAnswered ✓

Hi All

I'm not sure if this is the correct forum for answering syntax queries, I'll give it a go anyway.

I'm trying to use WLST for monitoring, and instead of reinventing the wheel I am using some scripts that are out there already whenever I can, and this is one of them. I can assure you I hav spent some time looking at this one, I just can't see the problem.

I'm using WLS 12.2.1.3.0 on Windows 10.

The script is to monitor the health status of the servers within the WL domain.

##################################################
Contents of health_state.py script
##################################################

connect( ‘weblogic’, ‘Password1’, ‘t3://localhost:7001', adminServerName=’AdminServer_1’ )

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center