Embedded WLST
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')");
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')");
0