Oracle Weblogic Server (MOSC)

MOSC Banner

WLSTInterpreter from java

edited Oct 18, 2018 11:17AM in Oracle Weblogic Server (MOSC) 8 commentsAnswered

hi all

i have jdeveloper 11.1.1.7.0

i use WLSTInterpreter according How to Expose WSLT Command Functionality (nmEnroll) in a Java program ? (Doc ID 1487539.1)

C:\Oracle\Middleware\wlserver_10.3\server\bin\setWLSEnv.cmdcd c:/tmpjavac JavaTestWLST.javajava JavaTestWLST
* Initialize WLST Interpreter* Initialized Connect to admin server : connect('weblogic','welcome1','t3://myserver:7001')Connecting to t3://myserver:7001 with userid weblogic ...Successfully connected to Admin Server 'AdminServer' that belongs to domain 'dev465_domain'.Warning: An insecure protocol was used to connect to theserver. To ensure on-the-wire security, the SSL port orAdmin port should be used instead.* Connected* Execute WLST command : importMetadata(application='soa-infra',server='wls_soa1',fromLocation='C:\\tmp\\mymds.zip',docs='/**',remote='true')Exception in thread "main" Traceback (innermost last):  File "<string>", line 1, in ?NameError: importMetadata

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