WLSTInterpreter from java
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
1