Saturday, October 15, 2016

Error: Could not find or load main class weblogic.WLST

Error: Could not find or load main class weblogic.WLST

 

 

Very common mistake.

 

[orasoa@xxxxx02 ~]$ java weblogic.WLST

Error: Could not find or load main class weblogic.WLST

 

Cause 1: You didn’t set JAVA_HOME variable & didn’t set PATH variable with java.

Solution: Set the correct JAVA_HOME and PATH variables.

Cause 2: You did not run “setWLSEnv.sh” to set the environments

Solution 2: Use the setWLSEnv.sh file to set the required environment variables.

Cause 3: You ran “setWLSEnv.sh” in improper way.

Solution: Ensure you have run the above file as below:

Observe the space between “.” & setWLSEnv.sh file.

[orasoa@x3ebsa02 ~]$ . /orasoa/app/oracle/middleware/wlserver/server/bin/setWLSEnv.sh

..

[orasoa@x3ebsa02 ~]$ java weblogic.WLST

 

Initializing WebLogic Scripting Tool (WLST) ...

 

Welcome to WebLogic Server Administration Scripting Shell

 

 

 

Saturday, January 9, 2016

Disable Oracle Service Bus Proxy from EM Console

Disable Service Bus (OSB) Proxy Service from EM Console

So I am starting the trek Oracle Service Bus learning curve, and trying to understand the basic operational details.
There are times when you want to stop your service, or stop to publish or subscribe events in OSB.
This is how you do it.
Login to EM console: http://<server>:<port>/em
Expand SOA. Expand service-bus(Administrator)
Select from the list of services/interfaces deployed on service bus.
Choose Operation tab on the right hand side.
The proxy services are listed under operations tab.
Just uncheck the State check box, to disable the service.

Disable Service Bus (OSB) Proxy Service from EM Console
So am starting to trek Oracle Service Bus learning curve.
There are times when you want to stop your service, or stop to publish or subscribe events in OSB.
This is how you do it.
Login to EM console: http://<server>:<port>/em
Expand SOA. Expand service-bus(Administrator)
Select from the list of services/interfaces deployed on service bus.
Choose Operation tab on the right hand side.
The proxy services are listed under operations tab.
Just uncheck the State check box, to disable the service.
<![if !vml]><![endif]>