Error After Running The Command To Create A Default WAM User (Doc ID 2212734.1)

Last updated on DECEMBER 21, 2016

Applies to:

Oracle Utilities Asset Management Base - Version 2.0 and later
Information in this document applies to any platform.

Goal

On : 2.1.1 deployed on WebLogic 12.1.3

Error after running the command to create a default WAM user

D:\ouaf\PROD>ant -f D:\ouaf\PROD\splapp\userAdmin.xml -Dadmin.server.url=HOSTNAME:7001 -Dadmin.user=weblogic -Dadmin.password=PWD -Duser.name=WAMUSER -Duser.password=PWD
Buildfile: D:\ouaf\PROD\splapp\userAdmin.xml

ADDUSER:
  [java]
  [java] Initializing WebLogic Scripting Tool (WLST) ...
  [java]
  [java] Welcome to WebLogic Server Administration Scripting Shell
  [java]
  [java] Type help() for help on available commands
  [java]
  [java]
  [java] You will need to be connected to a running server to execute this command
  [java]
  [java] Conneting t3:HOSTNAME:7001
  [java] Connecting to t3:HOSTNAME:7001 with userid weblogic ...
  [java] This Exception occurred at Mon Nov 21 16:31:49 CST 2016.
  [java] javax.naming.ConfigurationException: t3:HOSTNAME:7001 [Root exception is java.net.MalformedURLException: t3:HOSTNAME:7001]
  [java] Problem invoking WLST - Traceback (innermost last):
  [java] File "D:\ouaf\PROD\splapp\addWLSUser.py", line 29, in ?
  [java] File "D:\ouaf\PROD\splapp\addWLSUser.py", line 27, in connectWLS
  [java] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  [java] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  [java] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  [java] at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
  [java]
  [java] java.lang.Exception: java.lang.Exception: Unable to connect on given host
  [java]
  [java] Java Result: 1

BUILD SUCCESSFUL
Total time: 2 seconds


 

Solution

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms