Wednesday, February 1, 2017

weblogic.Admin is no longer available starting with Oracle WebLogic Server 12c

Are you trying to use weblogic.Admin in Oracle WebLogic Server 12c but getting the error below?
oracle@soahost1:/home/oracle> cd $DOMAIN_HOME/bin 
oracle@soahost1:/u01/app/oracle/middleware/products/fmw1221/user_projects/domains/soa_domain/bin> . ./setDomainEnv.sh 
******************************************************* Setting up SOA specific environment...*****************************************************EXTRA_JAVA_PROPERTIES= -da:org.apache.xmlbeans....LD_LIBRARY_PATH=::/u01/app/oracle/middleware/products/fmw1221/wlserver/server/native/linux/x86_64:/u01/app/oracle/middleware/products/fmw1221/wlserver/server/native/linux/x86_64/oci920_8..******************************************************* End SOA specific environment setup***************************************************** 
oracle@soahost1:/u01/app/oracle/middleware/products/fmw1221/user_projects/domains/soa_domain> java weblogic.Admin -adminurl t3://soahost1:7001 -username weblogic -password welcome1 PING 
Error: Could not find or load main class weblogic.Admin


The weblogic.Admin tool is deprecated since version 9 and is no longer available starting with Oracle WebLogic Server 12c. WLST is the recommended option now.


References:
  • http://stackoverflow.com/questions/37538858/using-weblogic-admin-in-weblogic-12c

Applicable Versions:
    • Oracle WebLogic Server 12c




    No comments:

    Post a Comment