Oracle Weblogic Server (MOSC)

MOSC Banner

Embedded WLST

edited May 27, 2009 4:11AM in Oracle Weblogic Server (MOSC) 2 commentsAnswered
Friends,
       I am new to "Embedded WLST", I am trying to explore this method of WLST. Right I had just written simple java program to print the "Current Management Object(cmo)" but I don't see the output. I can see that my standard "System.out.println" are getting printed but statement I use to print "Current Management Object(cmo)" doesn't get printed. Below is the simple java program....


       import weblogic.management.scripting.utils.WLSTInterpreter;
import org.python.util.InteractiveInterpreter;

public class EmbeddedWLST
{
        static InteractiveInterpreter interpreter = null;


        EmbeddedWLST()
        {
                interpreter = new WLSTInterpreter();
        }

        private static void connect()
        {
                StringBuffer buffer = new StringBuffer();
                buffer.append("connect('admin','mypassword','t3://myserver:8001')");

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