I am seeking a WLST script to automate the custom Identity and trust configurations on multiple wls instances.Pls. advice me as where I can found the required information which help create the script or if anyone have the same then pls. share it with me.
Can you please help me in how we can sent email notification when threads are stuck.
I read your email notification blog. On the same line when i am trying for “ThreadPoolRuntime” Bean type, there is no option for stuck thread notification?
I have one question over JMX . Can we use boot.properties to connect to weblogic server using JMX client.
We are providing username and password here.
Hashtable h = new Hashtable ();
h.put(Context.SECURITY_PRINCIPAL, username);
h.put(Context.SECURITY_CREDENTIALS, password);
Hi I have been trying to find a good resource for how to create a custom weblogic console extension.
Specifically we have some java properties that are loaded as custom mbeans and we would like to let the production team change them at runtime without a bounce though the admin console. We are moving to WL 10.3 later this year so I need to write the extension for that.
If you could point me in the direction of a good starting point or create a tutorial, I’d appreciate it very much.
Hi Kevin,
I am little unclear regarding your actual requirement. As far as you want to develop your own “console extension” it’s easy…we can do that. But I am bit confused when you mentioned that you want to use “Custom MBeans” and some Properties files. Can u please explain a bit more on that point. Means for what purpose these Custom MBeans are going to be used in your Case…and what informations it is going to read from the properties files.
.
.
Keep Posting π
Thanks
Jay SenSharma
Dude i am postring first time on ur blog,, please repli,,, i hve no one to guide me on JMX ……..my question is In JMX you have used WebLogicDeploymentManager for deploying applictions as u mentioned in ur blog, i want to knoe that how to knoe which all options are there like this means which all API’s are available & how to use them in our code,I have read many documents about JMX but most of the things revolve around DomainRuntimeServiceMBean,RuntimeServiceMBean,EditServiceMBean. I never read anything about “WebLogicDeploymentManager ” that you used.please elaborate that how u come to knoe about this & how i can enchance my knowledge in this JMX.Please give some tips,tricks,web links for my better understanding.
Hi Vivek,
Please check the following Link: http://download.oracle.com/docs/cd/E12839_01/apirefs.1111/e13951/core/index.html
In the left panel of this page you will find all the different kind of MBean references….
MBeanServer Services
+Configuration MBeans
+Domain Configuration MBeans
+System Module MBeans
+Security MBeans
+Runtime MBeans
+New MBeans
+Deprecated MBeans
.
.
Keep Posting π
Thanks
Jay SenSharma
still its not clear that how u derived at the WebLogicDeploymentManager that u used in the below link:-
pls guide me that how to browse , how to look for MBean in ur provided JMX api link.from where i will the idea that how to use in my java code…. pls pls repli
Actually i wana to develop my custom code for deploying applications, checking application status & version of applications as an extension of console.,, what you suggest …. means
i wana to ask that we can peform anything through Domainruntimes, serverruntimes beans after connecting to respective MBean servers???
or i have to look for things like u used for deploying applications.
Your JMX deployment method realy confused me.
Doesnt the server runtime & domainruntime MBeans are sufficent for any weblogic relation operation ?????
Hi Vivek,
For Most of the Runtime Monitoring kind of things …it is enough to use ServerRuntimeMBeans and DomainRuntimeMBeans…But as far as it is Configuration related changes …you will have to use many new MBeans like DomainConfigurationMBean.
Apart from Configuration and RuntimeMBeans there are some More Helper classes are available which helps us to perform some configuration changes… Like for deploying an Application on WebLogic Server .. Example: weblogic.deploy.api.tools.SesionHelper class helps us to get the “WebLogicDeploymentManager ” object reference. Now “WebLogicDeploymentManager” class internally implements RuntimeMBean code to connect to the Administration Server…to deploy applications on the Server.
As part of WebLogic we will find some Helper classes like WebLogicDeploymentManager … which we need to findout for our use. We need to findout what these kind of classes can do…by looking at it’s Methods and Attributes.
.
.
Keep Posting π
Thanks
Jay SenSharma
One think more in wlst how to find the type of mbean is .Like while creating datasource we target the datasources to server using the following syntax :-
like this Set method accepts values in array format.. normal set operation wont work here.so i mean how to know where to use array where to use simple set operation. any idea u have β¦β¦any method is there with which we can check in wlst β¦β¦?????
Hi Vivek,
I am really not sure how to exactly find out where/when to pass the array and when to pass a Simple Value …in the set() ..I just do Hit and try. Because Both are possible ..if one doesnt work then other will work.
.
.
Keep Posting π
Thanks
Jay SenSharma
Hi Vivek,
No My Statement is not 100% correct….
Actually the set() basic syntax is:
Syntax:
set(attrName, value) – attrName = Name of the attribute to be set. – value = Value of the attribute to be set. This value should
not be enclosed in single or double quotes.
But it depends on the Current Management Object (cmo) that waht should be the Attribute….and It’s Values…
Like “Target” attribute can be One as well as Multiple Targets for the same Resource like A DataSource can be targeted to a Single Server or Multiple Servers or to Cluster…So in that case the Value of this Attribute cannot be a Single Entity…So the Value argument will be an ARRAY.
.
.
Keep Posting π
Thanks
Jay SenSharma
i m geting following exception while reading domain thru wlst ,,,, can u help on this ……????
readDomain(‘/hosting/domains/v10/TXEASE_SA_TST_DOMAIN/’)
Error: readDomain() failed. Do dumpStack() to see details
wls:/offline>dumpStack()
com.bea.plateng.domain.script.jython.WLSTException: com.bea.plateng.domain.script.ScriptException: java.lang.NullPointerException
at com.bea.plateng.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:51)
at com.bea.plateng.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java:1468)
at com.bea.plateng.domain.script.jython.WLScriptContext.readDomain(WLScriptContext.java:413)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:160)
at org.python.core.PyMethod.__call__(PyMethod.java:96)
at org.python.core.PyObject.__call__(PyObject.java:270)
at org.python.core.PyInstance.invoke(PyInstance.java:261)
at org.python.pycode._pyx5.readDomain$17(/tmp/WLSTOfflineIni5902.py:82)
at org.python.pycode._pyx5.call_function(/tmp/WLSTOfflineIni5902.py)
at org.python.core.PyTableCode.call(PyTableCode.java:208)
at org.python.core.PyTableCode.call(PyTableCode.java:267)
at org.python.core.PyFunction.__call__(PyFunction.java:172)
at org.python.pycode._pyx19.f$0(:1)
at org.python.pycode._pyx19.call_function()
at org.python.core.PyTableCode.call(PyTableCode.java:208)
at org.python.core.PyCode.call(PyCode.java:14)
at org.python.core.Py.runCode(Py.java:1135)
at org.python.core.Py.exec(Py.java:1157)
at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:148)
at org.python.util.InteractiveInterpreter.runcode(InteractiveInterpreter.java:89)
at org.python.util.InteractiveInterpreter.runsource(InteractiveInterpreter.java:70)
at org.python.util.InteractiveInterpreter.runsource(InteractiveInterpreter.java:44)
at weblogic.management.scripting.WLST.main(WLST.java:157)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at weblogic.WLST.main(WLST.java:29)
Caused by: com.bea.plateng.domain.script.ScriptException: java.lang.NullPointerException
at com.bea.plateng.domain.script.ScriptExecutor.readTemplate(ScriptExecutor.java:420)
at com.bea.plateng.domain.script.jython.WLScriptContext.readDomain(WLScriptContext.java:405)
Hi Vivek,
if you are getting NullPointerException …it means there is something wrong with your Domain Template. Please recreate a new Domain Template and then try.
.
.
Keep Posting π
Thanks
Jay SenSharma
Jay yeah after reading over my post I wasn’t exactly clear. What we have are properties for our application that set things like session time outs, integration endpoints, custom MOTD type messages for the login screen etc..
The Java properties file gets read into a custom mbean tree and then pushed out the the cluster members. Normally how we would have our ops people change properties “on the fly” would be to use Jconsole, attach to the app and change the bean values. The problem is between the ops people and the app is a firewall which make life hard for connecting with jconsole.
I’d rather build out a console extension and let them change the bean there than have another tool to use. Further, it would be nice if I could let them change each property independently rather than pushing out the entire file. I can figure out the logic to handle the specifics on how to handle the properties, what I really need is a coding example for a console extension.
The manual I have found from oracle never give a completed source code example, which really helps me when working with this type of project. Thanks for your help. This site is an awesome resource for Weblogic specifics that I haven’t seen anywhere else.
Hi Kevin,
I am not sure i will be able to do it or not. But i will try it once. If i will succeed in that then definitely along with the Post on that i will Email you the TestCase as well. After leaving Oracle Support (11 Months Back) I too do not have the access of Oracle’s Internal Source Codes…But i will try to manage so that i can develope a Console extension according to your requirement…or atleast similar to your requirement.
.
.
Keep Posting π
Thanks
Jay SenShar,a
I am not creating domain template.. i m just tryong to read the domain using WLST…. The domain that i am trying to read thru WLST is the domain created thru config.sh….. while reading that domain i encoutered this null pointer exception……
Hi, first of all: thanks!!! you guys have founded a great source of experience-based solutions.
I’ve developed a JMX performance interface based on 8.x implemented model (mbeanhome type safe stubs) that works also on 9.x domains, relying on the compatibility libraries. That is so far great to get in seconds ServerLifeCycleRuntime, ServerRuntime, and JDBC datasources managed servers stats with a single remote connection to the domain, and also the second objective that is to maintain a single source code.
So, as you may notice my objetives are, in importance:
1) speed to retrieve information.
2) ease to maintain the JMX monitor.
Now, I’m stuck trying to retrieve the thread statistics of the 9.x self-tuning threadpool for managed servers with the same 8.x mbeanhome model.
I’ve tried with
Set set=sm.mbeanHome.getMBeansByType(“ThreadPoolRuntime”);
without success… and ExecuteQueueRuntime gives me only mutex sockets stats for 9.x domains.
I’m aware that I’m just one step to need to separate this feature in a new monitor for 9.x domains, but I didn’t wanted to skip asking if you have any clue to get this info in 8.x deprecated way.
Hi Manu,
The problem is …..From WLS9.x onwards we have introduced a new feature called as WorkManager in WebLogic Container….Due to this change Many new MBeans have introduced in the Threading Module. So to access those new MBeans you must have to use the new Style of MBean. The Deprecated WLS8.1 MBean API is not aware of this change so you wont get the desired results using Old style of MBean code.
At the base level the Thread Model is not changed a lot but accessing them via MBean and with WorkManager Module changes the way we access it. From WLS 9.x onwards even if you dont create a WorkManager a “default” self tuning workManager will be available and start functioning.
One way you can try enebaling the WLS8.1 style Execute Queue Model in your WLS9.x container by applying the following JAVA_OPTION in servers start Script ..-Dweblogic.Use81StyleExecuteQueues=true Note: it is not recommended to use old style execute queue model in WLS9.x onwards because perfiormance wise WorkManagers are always better.
.
.
Keep Posting π
Thanks
Jay SenSharma
Hi jay
I am fairly new to WLST, but I’m trying to see the application status (active, installed, etc. ..) through WLST, but I can not locate the state on the tree.
what I should use?
I used domainRuntime and serverRuntime, but not localized, because my idea is to mount a shell script to show me the status of all applications in a domain …
thanks
Hi Praveen,
We never tried reading the “DIAGNOSTICS.DAT” file. Please let us know what kind of informations you are looking for inside this file. May be we can suggest some different ways to do it.
.
.
Keep Posting π
Thanks
Jay SenSharma
Hi Jay,
We are getting jdbc connection leakages in one our applications but not able to find any clue to investigate the reason from the logs and thread dumps(our entire team). Since this is an escalated issue for us, we are hoping for your quick response to help/guide us to identify the reason ? Thanks in advance
Hi Praveen,
How are u so sure that the reason behind memory leak is Connection Leaking? Do u see anything strange in the Server Logs or Stdout of the Server?
Which version of WLS are u using and which DataBase Version ?
Which Driver u are using BEA provided Jdbc Driver or The Database Vendor Specific Jdbc Driver?
Are u sure that the Application code is properly closing the Connections as mentioned in the “Common Jdbc Issues-4).” of the following Link: http://middlewaremagic.com/weblogic/?p=2477
.
.
Keep Posting π
Thanks
Jay SenSharma
Hi Jai,
Thanks for your quick reply.
1.We are getting jdbc connection leaks and not memory leaks.
2.We dont find anything strange in the server logs.
3.WebLogic version is: 10.3.0
4.DB version : Oracle 10G
5.No matching issues found on given URL:http://middlewaremagic.com/weblogic/?p=2477.
6.We are using Weblogic driven db controllers for getting the DB connection. So I beleive WLS itself will close the DB connection once it’s task completed and there is no explicit code written for opening and closing the DB connection.
This issue is in our production application. Dev team said that whenever users are pulling the huge data thru appln (like more than 10000 records) connection leak is happening.We are not seeing any errors/ exceptions in the logs.
Actually this issue in our production.
please let us know if you need any further information.
We would request you to try tuning Data Source from weblogic side like
– Shrinking a Data Source = That would help you to shrink the connections when they are not used.
– Inactive Connection Timeout = This would help you to close the connections and gives it back to the pool, which are inactive but still opened for the long time
Hi Penguin,
I don’t see any option in WLST to connect to multiple domains in parallel. The only thing you can do is to connect to a single domain and then disconnect to it then next connect to a different domain.
.
.
Keep Posting π
Thanks
Jay SenSharma
Issue: Restarting Admin Server Using WLST
OS: RedHat Enterprise Linux 5 β 32bit
WLS: 10.3.3
Jdk: jrockit_160_05_R27.6.2-20 , Xms1024 Xmx2048
Is there a simple way to restart the WebLogic Admin Server process using WLST? Even with performance optimizations the Admin server sometimes hangs an inordinate amount of time, and having a scripted way to handle the shutdown and startup of this process would be helpful in our environment.
When we try this through the NodeManager we’re getting SSL exceptions.
I tried to start Admin Server with nodemanager using startServer() using WLST, but no luck. I noticed the error listed in the log files.
java.io.IOException: Bad properties data format
at weblogic.nodemanager.common.DataFormat.readProperties(DataFormat.java:44)
at weblogic.nodemanager.server.Handler.handleStart(Handler.java:538)
at weblogic.nodemanager.server.Handler.handleCommand(Handler.java:119)
at weblogic.nodemanager.server.Handler.run(Handler.java:66)
at java.lang.Thread.run(Thread.java:619)
I have updated nodemanager propertes from SSL to plain and startScriptEnabled=true but no luck. Kindly help me. Thanks.
Hi Rajendra,
Please try following the Below Article: http://middlewaremagic.com/weblogic/?p=6580
And compare it with the steps which you are following you might get some hint just in case if you are missing anything.
.
.
Keep Posting π
Thanks
Jay SenSharma
I have created clustered domain on weblgoic 10.3 (10G). After making all JDBC, RSA key store changes made the Server up and running. Now I want to make the template of this domain and install it on another machine.
Using WLST I am able to automate each and every values like machine name, JDBC username and password.
But not sure how to modify RSA key store values as they are machine dependant :(.
Please help how to and where the changes need to be done for RSA key store values to automate my domain migration proces..
please let me know if more information is required.
Hi Sagar,
From WebLogic side there is no such tool or utility available to make the RSA keystore changes automated. So you will have to make it manually.
We are deploying the build and need to change the deployment order after the deployment.
Can we change the deployment order from 100 using wlst script? If so what is the command to do?
Hi Absarath,
Following is a Simple WLST Script which shows how to change the deployment Order of a particular DataSource Deployment : http://middlewaremagic.com/weblogic/?p=1502
Same way you can change the deployment orders for your Applications as well. The only thing you need to do is You need to change the Line-03 and Line-04 in the WLST Script mentioned in the above link: 04 cd (‘JDBCSystemResources’)
05 cd (‘TestDS’)
There in place of above two lines you need to do a cd(‘AppDeployments/YourAppName’) and then you can try .
.
.
Keep Posting π
Thanks
Jay SenSharma
Hi Vigaros,
It is not possible to change the entries which are present inside yourApplication. Or in other word We cannot change the deployment descriptor values using WLST.
But you can use the “Plan.xml” feature of WebLogic to change the deployment descriptor values without editing your actual Application On The Fly (Dynamically). Please refer to the following: http://middlewaremagic.com/weblogic/?s=plan.xml
.
.
Keep Posting π
Thanks
Jay SenSharma
Issue: Export SAML 2.0 server properties with WLST
OS: Ubuntu Natty
WLS: 10.3.4.0
Jdk: jrockit-jdk1.6.0_24-R28
Hi everybody,
I am wondering if it would be possible to export the SAML 2.0 properties of a server using WLST.
The idea would be getting a xml file that could be consumed for a com.bea.security.saml2.providers.registry.WebSSOSPPartner using the “consumeSPPartnerMetadata(String fileName)” method.
In the meantime I have developed a jython script that create the WebSSOSPPartner and added to the credential mapper:
from com.bea.security.saml2.providers.registry import *
#######################################################
# Connect
# Declare wls admin user and password
wlsUserID=’weblogic’
wlsPassword=’welcome1′
# We have to manage from taken these vars encripted like in the startManagedWeblogic.sh (taken from security/boot.properties)
connect(wlsUserID, wlsPassword, url=’t3://localhost:7001′, adminServerName=’AdminServer’)
serverConfig()
#######################################################
# Create and setup the Service Provider Partner (“relying party”)
# Get our security default realm (“myrealm”)
cd(‘SecurityConfiguration’)
cd(‘mydomain’)
rlm=cmo.findDefaultRealm()
# Get the CredentialMapper (com.bea.security.saml2.providers.SAML2CredentialMapper)
cm=rlm.lookupCredentialMapper(‘testForJython3’)
# Create a new WebSSOSPPartner (com.bea.security.saml2.providers.registry.WebSSOSPPartner)
webSSOspPartner=cm.newWebSSOSPPartner()
# Set properties. Note: find out how to use import…
webSSOspPartner.setName(‘webSSOspPartnerTestForJython’)
webSSOspPartner.setDescription(‘setting through jython’)
webSSOspPartner.setEntityID(‘https://myhost.mydomain.com/myhost_mydomain_com_sample_weblogic_app_2/’)
# Set the X509 certificate
fileCert=java.io.FileInputStream(‘/home/luis/DEVELOPING/TEMP/demoidentityFromSPxml’)
cf=java.security.cert.CertificateFactory.getInstance(‘X.509’)
cert=cf.generateCertificate(fileCert)
webSSOspPartner.setSSOSigningCert(cert)
fileCert.close()
# Artifact Resolution Service
#ars=com.bea.security.saml2.providers.registry.IndexedEndpointImpl()
ars=IndexedEndpointImpl()
ars.setLocation(‘https://myhost.mydomain.com/saml2/sp/ars/soap’)
ars.setBinding(Endpoint.SOAP_BINDING)
ars.setDefault(true)
ars.setIndex(0)
webSSOspPartner.setArtifactResolutionService([ars])
# Assertion Consumer Service
#acs1=com.bea.security.saml2.providers.registry.IndexedEndpointImpl()
acs1=IndexedEndpointImpl()
acs1.setLocation(‘https://myhost.mydomain.com/saml2/sp/acs/artifact’)
acs1.setBinding(Endpoint.HTTP_ARTIFACT_BINDING)
acs1.setDefault(false)
acs1.setIndex(0)
#acs2=com.bea.security.saml2.providers.registry.IndexedEndpointImpl()
acs2=IndexedEndpointImpl()
acs2.setLocation(‘https://myhost.mydomain.com/saml2/sp/acs/post’)
acs2.setBinding(Endpoint.HTTP_POST_BINDING)
acs2.setDefault(false)
acs2.setIndex(1)
webSSOspPartner.setAssertionConsumerService([acs1,acs2])
# Other properties
webSSOspPartner.setOrganizationName(‘IT’)
webSSOspPartner.setOrganizationURL(‘http://mydomain.com’)
webSSOspPartner.setContactPersonType(‘technical’)
webSSOspPartner.setContactPersonCompany(‘mydomain’)
webSSOspPartner.setContactPersonGivenName(‘MyName’)
webSSOspPartner.setContactPersonSurName(‘Surname’)
webSSOspPartner.setContactPersonEmailAddress(‘lurodrig@mydomain.ch’)
webSSOspPartner.setContactPersonTelephoneNumber(‘000’)
# Enable
webSSOspPartner.setEnabled(true)
cm.addSPPartner(webSSOspPartner)
But I am still interested in the export functionality.
— system information —
Windows server 2008 R2
Weblogic 10.3.2
Sun JVM 1.6.0_20
————————–
Hi all,
I have an EAR containing a war deployed on a cluster made of 2 managed servers.
This web app is very slow and I try to figure out where the bottleneck could be.
Therefore I try to enable the “Dye Injection” feature to get metrics; especially elapsed time in Weblogic.
I follow the Weblogic doco to setup ‘simple’ dye-injection (no instrumentation at application-level) but it doesn’t seem to work, I’m requesting your help because I don’t get what I’m missing.
Here’s my diagnostic monitor configuration
Sd-console
true
DyeInjection
ADDR1=10.30.73.39
When I restart me server I can see some ‘ContextID’ which make me think my confi is OK
#### <>
But This message makes me think something is still not set correctly
#### <>
#### <>
The result is when I’m connected to my website directly targeting one node, I don’t see any message in my ADmin Console (under diagnostics–>Log files)
LOGS with ContextID:
||Sep 27, 2011 5:23:11 PM CEST|| ||Info|| ||Health|| ||EQDG1UZSMRTD001|| ||SmartDispatcherNodeConsole1|| ||weblogic.GCMonitor|| ||||anonymous|||| |||| ||92c80240c00d4dbc:-7cdcb7df:132ab66e5ec:-7ffd-000000000000002e|| ||1317136991923|| ||BEA-310002|| ||35% of the total memory in the server is free||
Hi fipnova51,
I don’ have much idea about die injection in WLDF. I will check if i can find some relevant information regarding your issue.
.
.
Keep Posting π
Thanks
Jay SenSharma
Hi guys,
Could you post an example of creating (or updating if one already exist) security policies from WLST script and/or JMX code. Specifically if I have a say particular EJB to which I want to give rights to do jndi lookup only to a particular user/group.
Thanks!
Hi Lach_v,
Currently we don’t have any existing sample to create a security policy for Jndi lookup restriction. And personally i don’t think that doing it through WLST or JMX would be easy. You can not even take help of “WLST Recording feature” of admin console, because wlst recorder will not record this event.
So it will be better if you do it manually. Because WLST and JMX are usually needed for automating various repetitive tasks but setting Policy is One time job, that’s why people don;t even go with this option.
.
.
Keep Posting π
Thanks
Jay SenSharma
Hi Snehid,
The following JMX code also gets the Application state using standard MBean query which might be helpful: http://middlewaremagic.com/weblogic/?p=497
.
.
Keep Posting π
Thanks
Jay SenSharma
Hi Jay,
Thanks for the quick response! Unfortunately setting policy is not one time task for us. I am working for a software vendor. So we need to do it for each installation. That is why I looking for a way to automate it. π
I am unable to get Node Manager up using WLST. I followed the below steps.
1. First I Ran setWLSEnv.sh script successfully.
2. Started java weblogic.WLST command
3. Then I ran below command on WLST.
connect(‘weblogic’,’welcome1′,’t3://192.168.0.5:7001′)
4. Enrolled NM using nmEnroll command successfully.
5. Finally I ran nmConnect command and getting error
Please assist on this.
NOTE: My nodemanger port is 5556 (default port only). I am able to run the NodeManger using normal start script (.sh script) & and able to start Managed servers from Weblogic Console.
cd /opt/oracle/Middleware/wlserver_10.3/server/bin
bash-3.00$ ls
international setWLSEnv.sh startNodeManager.sh
bash-3.00$ . ./setWLSEnv.sh
CLASSPATH=/opt/oracle/Middleware/patch_wls1032/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/opt/oracle/Middleware/jdk1.6.0/lib/tools.jar:/opt/oracle/Middleware/utils/config/10.3/config-launch.jar:/opt/oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/opt/oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/opt/oracle/Middleware/modules/features/weblogic.server.modules_10.3.2.0.jar:/opt/oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/opt/oracle/Middleware/modules/org.apache.ant_1.7.0/lib/ant-all.jar:/opt/oracle/Middleware/modules/net.sf.antcontrib_1.0.0.0_1-0b2/lib/ant-contrib.jar:/opt/oracle/Middleware/patch_wls1032/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/opt/oracle/Middleware/jdk1.6.0/lib/tools.jar:/opt/oracle/Middleware/utils/config/10.3/config-launch.jar:/opt/oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/opt/oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/opt/oracle/Middleware/modules/features/weblogic.server.modules_10.3.2.0.jar:/opt/oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/opt/oracle/Middleware/modules/org.apache.ant_1.7.0/lib/ant-all.jar:/opt/oracle/Middleware/modules/net.sf.antcontrib_1.0.0.0_1-0b2/lib/ant-contrib.jar:
PATH=/opt/oracle/Middleware/wlserver_10.3/server/bin:/opt/oracle/Middleware/modules/org.apache.ant_1.7.0/bin:/opt/oracle/Middleware/jdk1.6.0/jre/bin:/opt/oracle/Middleware/jdk1.6.0/bin:/opt/oracle/Middleware/wlserver_10.3/server/bin:/opt/oracle/Middleware/modules/org.apache.ant_1.7.0/bin:/opt/oracle/Middleware/jdk1.6.0/jre/bin:/opt/oracle/Middleware/jdk1.6.0/bin:/usr/bin
Your environment has been set.
bash-3.00$ java weblogic.WLST
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
wls:/offline> connect('weblogic','welcome1','t3://192.168.0.5:7001')
Connecting to t3://192.168.0.5:7001 with userid weblogic ...
Successfully connected to Admin Server 'AdminServer' that belongs to domain 'mydomain'.
Warning: An insecure protocol was used to connect to the
server. To ensure on-the-wire security, the SSL port or
Admin port should be used instead.
wls:/mydomain/serverConfig> nmEnroll('/opt/oracle/Middleware/user_projects/domains/mydomain','/opt/oracle/Middleware/wlserver_10.3/common/nodemanager')
Enrolling this machine with the domain directory at /opt/oracle/Middleware/user_projects/domains/mydomain ...
Successfully enrolled this machine with the domain directory at /opt/oracle/Middleware/user_projects/domains/mydomain.
wls:/mydomain/serverConfig> nmConnect('weblogic','welcome1','192.168.0.5','5556','mydomain','/opt/oracle/Middleware/user_projects/domains/mydomain')
Connecting to Node Manager ...
Traceback (innermost last):
File "", line 1, in ?
File "", line 1409, in nmConnect
File "", line 1744, in raiseWLSTException
WLSTException: Error occured while performing nmConnect : Cannot connect to Node Manager. : Connection refused. Could not connect to NodeManager. Check that it is running at 192.168.0.5:5,556.
Use dumpStack() to view the full stacktrace
wls:/mydomain/serverConfig> dumpStack()
This Exception occurred at Sun Oct 02 20:18:42 IST 2011.
weblogic.nodemanager.NMConnectException: Connection refused. Could not connect to NodeManager. Check that it is running at 192.168.0.5:5,556.
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at weblogic.nodemanager.client.SSLClient.createSocket(SSLClient.java:38)
at weblogic.nodemanager.client.NMServerClient.connect(NMServerClient.java:227)
at weblogic.nodemanager.client.NMServerClient.checkConnected(NMServerClient.java:199)
at weblogic.nodemanager.client.NMServerClient.checkConnected(NMServerClient.java:205)
at weblogic.nodemanager.client.NMServerClient.getVersion(NMServerClient.java:52)
at weblogic.management.scripting.NodeManagerService.verifyConnection(NodeManagerService.java:175)
at weblogic.management.scripting.NodeManagerService.nmConnect(NodeManagerService.java:168)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.python.core.PyReflectedFunction.__call__(Unknown Source)
at org.python.core.PyMethod.__call__(Unknown Source)
at org.python.core.PyObject.__call__(Unknown Source)
at org.python.core.PyObject.invoke(Unknown Source)
at org.python.pycode._pyx17.nmConnect$86(:1404)
at org.python.pycode._pyx17.call_function()
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.__call__(Unknown Source)
at org.python.core.PyObject.__call__(Unknown Source)
at org.python.pycode._pyx28.f$0(:1)
at org.python.pycode._pyx28.call_function()
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyCode.call(Unknown Source)
at org.python.core.Py.runCode(Unknown Source)
at org.python.core.Py.exec(Unknown Source)
at org.python.util.PythonInterpreter.exec(Unknown Source)
at org.python.util.InteractiveInterpreter.runcode(Unknown Source)
at org.python.util.InteractiveInterpreter.runsource(Unknown Source)
at org.python.util.InteractiveInterpreter.runsource(Unknown Source)
at weblogic.management.scripting.WLST.main(WLST.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.WLST.main(WLST.java:29)
weblogic.nodemanager.NMConnectException: Connection refused. Could not connect to NodeManager. Check that it is running at 192.168.0.5:5,556.
wls:/mydomain/serverConfig>
I am working on creating a domain creation script using WLST. I could create a domain with the possible offline options. But I need to perform a few operations, which can only be done in online mode. We do not have node manager in our environment, so I cannot use nodemanager to start my admin server.
So I am trying to use os.system module from python to invoke startWeblogic.cmd. I can invoke the script, but I run in to an issue that after invoking the script, the control does not return back to the python script.
I am looking for a solution which may work on both jython 2.1 and jython 2.2.
In os.system call, Give the command to start the weblogic server as a background process.
Use sleep function with some time as weblogic will take little time to come up then the rest of flow will be executed.
The flow could be:
>> os.system(startWeblogic.sh >/dev/null &)
>> sleep func;
>> Rest of the flow;
Please modify the above as per the correct syntax.
I don’t have environment at the moment to try the above snippet. Kindly try that in your Dev Environment and let me know the results.
I am trying to execute that on Windows XP and as of now, I am not able to find how to send a process to background. I tried using cmd /c start/min. That does solve purpose to some extent but not completely as os.system calls waits for the child process to complete before it returns.
subprocess may have solved the purpose or spawnv but unfortunately they are not available in windows and on jython 2.1 and 2.2
As of now I am working around by calling that routine separately from a command script.
I wanted to know below options usage.
As I am aware, the option:A is used to start the Admin & Managed instances and also know the status of the same servers..
Initial steps::: Started NMscirpt (.sh) to use the NM commands on WLSt.
Below Option:B only used when the Domain is running.
Once we executed the below steps, what are other steps used pertaining to NM?
As I am aware, once we executed the steps 1 & 2, then we can check any domain or server related statistics using corresponding commands.
Hi Guys,
could any one post an example of creating and deploying JMS event generator through WLST script(Automatic Generation). i am using weblogic server 10.3.1.
Could you help me knowing we could read the Diagnostic “.dat” file which server reads? Is there any tool or so..for it.
We were facing some issue with the connection pool consumption and have enabled JDBC profiling debuggers in weblogic 9.2.3 which will write logs in the WLDF files. But not sure how to extract information from those files.
Hi Ranjank,
I am not familiar with any publicly available Such WLDF dat file analyzer tool, These files are supposed to be analyzed by the Oracle WebLogic Support team. So if you suspect something is wrong in these files then it is better to contact Oracle Support to get the DAT files analyzed properly, Their internal tools can be useful in this case.
.
.
Keep Posting π
Thanks
Jay SenSharma
Hi,
I have deployed one EAR application to the weblogic server 10.3.5 to connect to the siebel using RestFul,This EAR application consists of one EAIConnector.rar file where i have configured the EAIConnector adapter by navigating to the Configuration Tab, and then Outbound Connection Pool and created a new Connection Factory ,Specified the JNDI name and then provided the properties(like HostUrl,Username,Password) value.
Question is :How to access the adapter and provide the properties value from JMX code.
Can you please help me in this or any suggestion will be really appreciated.
I have a small issue in my script. I am using a while loop to create 9 queues at a time in the Weblogic Console. But the while loop is not breaking, and is throwing an error for no more queue names are available in the .properties file. Please help..:)
Please let me know as to how can I send you the script.
Just as we can write script for creating multiple queues and topics. Can we have a script to create multiple Connection Pools for the corresponding Connection Factoriies. If yes, where can I find it?
How can I give custom name for the jdbc xml file during the datasource creation with wlst.
I want to give a name like abcdatasource-jdbc.xml instead of abcdatasource-1237-jdbc.xml
sorry ..the tag is missing in the request…here is my question again.
can anybody tell me why the
descriptor-file-name tag is missing in config.xml when creating jdbc resource using WLST.Is there a way to create it using the script during datasource creation
Need some help in following items
1) how to monitor JMS Queue Throughput results ( will this possible by using SNMP or Diagnostic? if yes is any example available
For a JMX project, I have a situation where I need to restart admin server through wlst.
Though there are scripts to stop the admin server and start it.
But my issue is that I need to change the admin port before starting it for the next time.
For that I am using one of the codes provided by you to change the admin port using jmx.
After changing the port I want the admin server to shutdown and restart with the new port.
but issue is that once admin server is shutdown, it requires admin port to start back. Since the new port is not set in environment but only in config.xml, I could not start it back.
I am writing a script to move messages from one uniform distributes queue to another but while navigating to the path using cd command
cd(‘ServerRuntimes/’ + ‘WLS_OSB1’ + ‘/JMSRuntime/’ + ‘WLS_OSB1′ +’.jms/JMSServers/’+ ‘OSBJMSServer_WLS_OSB1’ +’/Destinations/’+fullTargetQueueName) I am not able to reach to the destination queue. It seems that the following is not used to point to uniform distributed queue:
‘/Destinations/’+fullTargetQueueName.
Can you please help
wls:/offline>dumpStack()
com.bea.plateng.domain.script.jython.WLSTException: com.bea.plateng.domain.script.ScriptException: java.lang.NullPointerException
at com.bea.plateng.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:51)
at – See more at: http://middlewaremagic.com/weblogic/?page_id=2608#sthash.uAsSq46f.dpuf
Solution: Entries in ‘E:OracleMiddlewareregistry.xml’ was wrong. Initially i had installed in C: and then moved to E:. Here the registry was failing. Once i pointed out to the correct path then the error for resolved π π Check these value is pointing to correct path : “InstallDir”, “JavaHome” in E:OracleMiddlewareregistry.xml file.
I am trying to develop a NotificationListener that will send me an email wherever somebody restart an instance. So now I am stucked in how to be aware who is starting/stopping something. How to get this username? I know itΒ΄s possible because I can see in the logs the username that is trying to stop/start something.
IΒ΄d be glad to hear this solution.
Thanks.
Luiz.
Hi,
I’m new to WLST and I have created script to monitor weblogic server and data source connections by combining few of your’s examples
and it working fine and give expected outputs. so I added it to crontab to get daily alerts.
But after few days I have noticed admin server crashed sevaral times (unable to login admin console) and had to restart full weblogic service to restart admin server. I’m afraid that this had occurred due to my script.
OS:- SUSE Linux ES 11 ,2.6.32.29-0.3-default
weblogic:-10.3.5.0
Q1)Please find the below my script and can you please tell me is there anything can lead to weblogic admin crash (Eg: I have use many connections and disconnections to same admin console within script).
Q2)if there any way to trace back to crash issue
#======================================
from java.io import FileInputStream
import java.lang
import os
import string
import sys
def sendMailString():
os.system(‘cat currentAppState_file_DEL | /usr/bin/mailx -s “ALERT: xx.xx.xx.xx WL Applications Health Check !!! ” “xx@xxxx.com” ‘)
print ‘********* ALERT MAIL HAS BEEN SENT ***********’
#This module is for retrieve the JVM statistics————————————
def monitorJVMHeapSize():
connect(UserName,Password,ServerUrl)
serverNames = getRunningServerNames()
domainRuntime()
print”
# This module for managed Servers list
def getRunningServerNames():
domainConfig()
return cmo.getServers()
if __name__== “main”:
monitorJVMHeapSize()
disconnect()
#Aplication state monitoring——————————————————-
print ‘==============================================’
redirect(‘wlst.log’,’false’)
connect(UserName,Password,ServerUrl)
cd (‘AppDeployments’)
myapps=cmo.getAppDeployments()
print ‘==============================================’
print ‘Following Applications are not in STATE_ACTIVE’
print ”
print ‘==============================================’
for appName in myapps:
domainConfig()
cd (‘/AppDeployments/’+appName.getName()+’/Targets’)
mytargets = ls(returnMap=’true’)
domainRuntime()
cd(‘AppRuntimeStateRuntime/AppRuntimeStateRuntime’)
for targetinst in mytargets:
currentAppState=cmo.getCurrentState(appName.getName(),targetinst)
if currentAppState != “STATE_ACTIVE”:
writeInFile =’Applicaiton = “‘+ appName.getName() +'” // Targeted Server = “‘+str(mytargets)+'” // Current STATE = “‘+ currentAppState +'”‘
print ”, writeInFile
# cmd = “echo ” + writeInFile + ” >> currentAppState_file”
# os.system(cmd)
I get the below error when trying to connect to Admin server using WLST, can you please shed some light on this?
What does this mean ? what could cause this ? etc..
Im on 10.3.5
The CompatabilityMBeanServer is not initialized properly.
This might happen if the CompatabilityMBeanServer is
disabled via the JMXMBean.
yes.. this is happening when i try to connect to WLST , so I cannot do the connect() now and im usig ./wlst.sh script so that it sets the path itself…is there a alternative to check CompatibilityMbeanServer ??
I have a script to start Node Manager/Admin/Managed servers called from crontab with @reboot command. The code is as follows:
from java.io import FileInputStream
import java.lang
import os
import string
#start Node Manager
try:
startNodeManager(verbose=’true’,NodeManagerHome=’/u01/app/oracle/product/fmw/soa/wlserver_10.X/common/nodemanager’,ListenPort=’5556′,ListenAddress=’localhost’)
#startNodeManager()
print ‘ ‘
print ‘Node Manager started successfully’
print ‘ ‘
except:
print ‘Unable to start Node Manager. Please see the log file’
disconnect()
exit()
#connect WLST to Node Manager
try:
nmConnect(‘nmAdmin’,’password’,’localhost’,’5556′,’our_domain’,’/u01/app/oracle/admin/our_domain/aserver/our_domain’)
print ‘successfully connected WLST to Node Manager’
print ‘ ‘
except:
print ‘Unable to connect WLST to Node Manager. Please see the log file’
disconnect()
exit()
#start Admin Server
try:
nmStart(‘AdminServer’)
print ‘successfully started Admin Server’
print ‘ ‘
except:
print ‘Unable to start Admin Server. Please see the log file’
disconnect()
exit()
#get Status of AdminServer
try:
nmServerStatus(‘AdminServer’)
except:
print ‘Unable to get Status of AdminServer. Please see the log file’
disconnect()
exit()
#connect to AdminServer
try:
connect(‘weblogic’,’password’,’t3://XXX.XXX.XXX.XX:7001′)
#print ‘ ‘
#print “successfully connected to Admin Server”
except:
print ‘Unable to connect to AdminServer. Please see the log file’
disconnect()
exit()
#servers=domainRuntimeService.getServerRuntimes()
for server in serverList:
if server.getName()!=’AdminServer’:
serverState=serverStatus(server)
if serverState==’SHUTDOWN’ or ‘UNKNOWN’:
start(server.getName(),’Server’)
serverState=serverStatus(server)
print “Now ” + server.getName()+” is “+serverState
disconnect()
exit()
#name=server.getName();
# print ‘*******************************’
#print ‘*****Server state ******’, server.getHealthState()
#cd(‘..’)
Above script works where Admin and all managed servers are on same host.
a) What changes to be done when Admin server is on one host(host1) and Managed servers are on different hosts(host2, host3, host 4 etc)?
b) Any configuration to be done prior to run script?
c) Also, if I have to have similar script to shutdown the environment from where should I call the script in Linux environment and any input will be helpful.
I know that there are two ways to admin weblogic server. One way is by WLST scripts which we write in WLST console. Second way is by JMX which we write in JAVA language.
I know that java language gives more flexibility but still all the scripts present in my companies Weblogic servers are WLST scripts.
Can anyone tell me about all the benefits and advantages I can have if I change them to Java (JMX) code.
One of the Flexibility is that I can implement multithreading and start multiple AdminServer (in multiple domain) at same time.
August 6th, 2010 on 1:22 pm
Hi,
I am seeking a WLST script to automate the custom Identity and trust configurations on multiple wls instances.Pls. advice me as where I can found the required information which help create the script or if anyone have the same then pls. share it with me.
Regds,
Munish
August 27th, 2010 on 10:25 am
Hi Jay
Can you please help me in how we can sent email notification when threads are stuck.
I read your email notification blog. On the same line when i am trying for “ThreadPoolRuntime” Bean type, there is no option for stuck thread notification?
Thanks
Sumit
September 4th, 2010 on 11:40 am
Hi Jay
I have one question over JMX . Can we use boot.properties to connect to weblogic server using JMX client.
We are providing username and password here.
Hashtable h = new Hashtable ();
h.put(Context.SECURITY_PRINCIPAL, username);
h.put(Context.SECURITY_CREDENTIALS, password);
This because of security concerns .
Thanks
Sumit
September 15th, 2010 on 9:10 pm
Hi I have been trying to find a good resource for how to create a custom weblogic console extension.
Specifically we have some java properties that are loaded as custom mbeans and we would like to let the production team change them at runtime without a bounce though the admin console. We are moving to WL 10.3 later this year so I need to write the extension for that.
If you could point me in the direction of a good starting point or create a tutorial, I’d appreciate it very much.
Thanks,
Kevin
September 16th, 2010 on 5:49 pm
Hi Kevin,
I am little unclear regarding your actual requirement. As far as you want to develop your own “console extension” it’s easy…we can do that. But I am bit confused when you mentioned that you want to use “Custom MBeans” and some Properties files. Can u please explain a bit more on that point. Means for what purpose these Custom MBeans are going to be used in your Case…and what informations it is going to read from the properties files.
.
.
Keep Posting π
Thanks
Jay SenSharma
September 15th, 2010 on 11:10 pm
Dude i am postring first time on ur blog,, please repli,,, i hve no one to guide me on JMX ……..my question is In JMX you have used WebLogicDeploymentManager for deploying applictions as u mentioned in ur blog, i want to knoe that how to knoe which all options are there like this means which all API’s are available & how to use them in our code,I have read many documents about JMX but most of the things revolve around DomainRuntimeServiceMBean,RuntimeServiceMBean,EditServiceMBean. I never read anything about “WebLogicDeploymentManager ” that you used.please elaborate that how u come to knoe about this & how i can enchance my knowledge in this JMX.Please give some tips,tricks,web links for my better understanding.
September 15th, 2010 on 11:34 pm
Hi Vivek,
Please check the following Link: http://download.oracle.com/docs/cd/E12839_01/apirefs.1111/e13951/core/index.html
In the left panel of this page you will find all the different kind of MBean references….
MBeanServer Services
+Configuration MBeans
+Domain Configuration MBeans
+System Module MBeans
+Security MBeans
+Runtime MBeans
+New MBeans
+Deprecated MBeans
.
.
Keep Posting π
Thanks
Jay SenSharma
Security for MBeans
September 16th, 2010 on 1:36 pm
still its not clear that how u derived at the WebLogicDeploymentManager that u used in the below link:-
pls guide me that how to browse , how to look for MBean in ur provided JMX api link.from where i will the idea that how to use in my java code…. pls pls repli
http://middlewaremagic.com/weblogic/2010/01/21/deploying-applications-using-java-jmx/
September 16th, 2010 on 10:03 pm
Actually i wana to develop my custom code for deploying applications, checking application status & version of applications as an extension of console.,, what you suggest …. means
i wana to ask that we can peform anything through Domainruntimes, serverruntimes beans after connecting to respective MBean servers???
or i have to look for things like u used for deploying applications.
Your JMX deployment method realy confused me.
Doesnt the server runtime & domainruntime MBeans are sufficent for any weblogic relation operation ?????
September 16th, 2010 on 10:21 pm
Hi Vivek,
For Most of the Runtime Monitoring kind of things …it is enough to use ServerRuntimeMBeans and DomainRuntimeMBeans…But as far as it is Configuration related changes …you will have to use many new MBeans like DomainConfigurationMBean.
Apart from Configuration and RuntimeMBeans there are some More Helper classes are available which helps us to perform some configuration changes… Like for deploying an Application on WebLogic Server .. Example: weblogic.deploy.api.tools.SesionHelper class helps us to get the “WebLogicDeploymentManager ” object reference. Now “WebLogicDeploymentManager” class internally implements RuntimeMBean code to connect to the Administration Server…to deploy applications on the Server.
As part of WebLogic we will find some Helper classes like WebLogicDeploymentManager … which we need to findout for our use. We need to findout what these kind of classes can do…by looking at it’s Methods and Attributes.
.
.
Keep Posting π
Thanks
Jay SenSharma
September 17th, 2010 on 11:28 am
One think more in wlst how to find the type of mbean is .Like while creating datasource we target the datasources to server using the following syntax :-
set(βTargetsβ,jarray.array([ObjectName(βcom.bea:Name=AdminServer,Type=Serverβ),
like this Set method accepts values in array format.. normal set operation wont work here.so i mean how to know where to use array where to use simple set operation. any idea u have β¦β¦any method is there with which we can check in wlst β¦β¦?????
September 17th, 2010 on 11:58 am
Hi Vivek,
I am really not sure how to exactly find out where/when to pass the array and when to pass a Simple Value …in the set() ..I just do Hit and try. Because Both are possible ..if one doesnt work then other will work.
.
.
Keep Posting π
Thanks
Jay SenSharma
September 17th, 2010 on 1:15 pm
wowwwwww…. so u mean only 2 types of variable types r der in wlst … one is simple one & other is array ???
Is it ?
September 17th, 2010 on 2:36 pm
Hi Vivek,
No My Statement is not 100% correct….
Actually the set() basic syntax is:
Syntax:
set(attrName, value)
– attrName = Name of the attribute to be set.
– value = Value of the attribute to be set. This value should
not be enclosed in single or double quotes.
But it depends on the Current Management Object (cmo) that waht should be the Attribute….and It’s Values…
Like “Target” attribute can be One as well as Multiple Targets for the same Resource like A DataSource can be targeted to a Single Server or Multiple Servers or to Cluster…So in that case the Value of this Attribute cannot be a Single Entity…So the Value argument will be an ARRAY.
.
.
Keep Posting π
Thanks
Jay SenSharma
September 17th, 2010 on 3:04 pm
very prudent thought……….. thanks
September 17th, 2010 on 3:12 pm
i m geting following exception while reading domain thru wlst ,,,, can u help on this ……????
readDomain(‘/hosting/domains/v10/TXEASE_SA_TST_DOMAIN/’)
Error: readDomain() failed. Do dumpStack() to see details
wls:/offline>dumpStack()
com.bea.plateng.domain.script.jython.WLSTException: com.bea.plateng.domain.script.ScriptException: java.lang.NullPointerException
at com.bea.plateng.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:51)
at com.bea.plateng.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java:1468)
at com.bea.plateng.domain.script.jython.WLScriptContext.readDomain(WLScriptContext.java:413)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:160)
at org.python.core.PyMethod.__call__(PyMethod.java:96)
at org.python.core.PyObject.__call__(PyObject.java:270)
at org.python.core.PyInstance.invoke(PyInstance.java:261)
at org.python.pycode._pyx5.readDomain$17(/tmp/WLSTOfflineIni5902.py:82)
at org.python.pycode._pyx5.call_function(/tmp/WLSTOfflineIni5902.py)
at org.python.core.PyTableCode.call(PyTableCode.java:208)
at org.python.core.PyTableCode.call(PyTableCode.java:267)
at org.python.core.PyFunction.__call__(PyFunction.java:172)
at org.python.pycode._pyx19.f$0(:1)
at org.python.pycode._pyx19.call_function()
at org.python.core.PyTableCode.call(PyTableCode.java:208)
at org.python.core.PyCode.call(PyCode.java:14)
at org.python.core.Py.runCode(Py.java:1135)
at org.python.core.Py.exec(Py.java:1157)
at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:148)
at org.python.util.InteractiveInterpreter.runcode(InteractiveInterpreter.java:89)
at org.python.util.InteractiveInterpreter.runsource(InteractiveInterpreter.java:70)
at org.python.util.InteractiveInterpreter.runsource(InteractiveInterpreter.java:44)
at weblogic.management.scripting.WLST.main(WLST.java:157)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at weblogic.WLST.main(WLST.java:29)
Caused by: com.bea.plateng.domain.script.ScriptException: java.lang.NullPointerException
at com.bea.plateng.domain.script.ScriptExecutor.readTemplate(ScriptExecutor.java:420)
at com.bea.plateng.domain.script.jython.WLScriptContext.readDomain(WLScriptContext.java:405)
September 18th, 2010 on 5:56 pm
Hi Vivek,
if you are getting NullPointerException …it means there is something wrong with your Domain Template. Please recreate a new Domain Template and then try.
.
.
Keep Posting π
Thanks
Jay SenSharma
September 17th, 2010 on 8:57 pm
Jay yeah after reading over my post I wasn’t exactly clear. What we have are properties for our application that set things like session time outs, integration endpoints, custom MOTD type messages for the login screen etc..
The Java properties file gets read into a custom mbean tree and then pushed out the the cluster members. Normally how we would have our ops people change properties “on the fly” would be to use Jconsole, attach to the app and change the bean values. The problem is between the ops people and the app is a firewall which make life hard for connecting with jconsole.
I’d rather build out a console extension and let them change the bean there than have another tool to use. Further, it would be nice if I could let them change each property independently rather than pushing out the entire file. I can figure out the logic to handle the specifics on how to handle the properties, what I really need is a coding example for a console extension.
The manual I have found from oracle never give a completed source code example, which really helps me when working with this type of project. Thanks for your help. This site is an awesome resource for Weblogic specifics that I haven’t seen anywhere else.
September 17th, 2010 on 11:56 pm
Hi Kevin,
I am not sure i will be able to do it or not. But i will try it once. If i will succeed in that then definitely along with the Post on that i will Email you the TestCase as well. After leaving Oracle Support (11 Months Back) I too do not have the access of Oracle’s Internal Source Codes…But i will try to manage so that i can develope a Console extension according to your requirement…or atleast similar to your requirement.
.
.
Keep Posting π
Thanks
Jay SenShar,a
September 18th, 2010 on 9:41 pm
I am not creating domain template.. i m just tryong to read the domain using WLST…. The domain that i am trying to read thru WLST is the domain created thru config.sh….. while reading that domain i encoutered this null pointer exception……
September 19th, 2010 on 2:01 am
readDomain(β/hosting/domains/v10/TXEASE_SA_TST_DOMAIN/β)
remove the forward slash at the end
readDomain(β/hosting/domains/v10/TXEASE_SA_TST_DOMAIN’)
October 26th, 2010 on 4:56 am
Hi, first of all: thanks!!! you guys have founded a great source of experience-based solutions.
I’ve developed a JMX performance interface based on 8.x implemented model (mbeanhome type safe stubs) that works also on 9.x domains, relying on the compatibility libraries. That is so far great to get in seconds ServerLifeCycleRuntime, ServerRuntime, and JDBC datasources managed servers stats with a single remote connection to the domain, and also the second objective that is to maintain a single source code.
So, as you may notice my objetives are, in importance:
1) speed to retrieve information.
2) ease to maintain the JMX monitor.
Now, I’m stuck trying to retrieve the thread statistics of the 9.x self-tuning threadpool for managed servers with the same 8.x mbeanhome model.
I’ve tried with
Set set=sm.mbeanHome.getMBeansByType(“ThreadPoolRuntime”);
without success… and ExecuteQueueRuntime gives me only mutex sockets stats for 9.x domains.
I’m aware that I’m just one step to need to separate this feature in a new monitor for 9.x domains, but I didn’t wanted to skip asking if you have any clue to get this info in 8.x deprecated way.
Thanks again for the great work.
Best regards,
ManΓΊ.
October 26th, 2010 on 9:35 am
Hi Manu,
The problem is …..From WLS9.x onwards we have introduced a new feature called as WorkManager in WebLogic Container….Due to this change Many new MBeans have introduced in the Threading Module. So to access those new MBeans you must have to use the new Style of MBean. The Deprecated WLS8.1 MBean API is not aware of this change so you wont get the desired results using Old style of MBean code.
At the base level the Thread Model is not changed a lot but accessing them via MBean and with WorkManager Module changes the way we access it. From WLS 9.x onwards even if you dont create a WorkManager a “default” self tuning workManager will be available and start functioning.
One way you can try enebaling the WLS8.1 style Execute Queue Model in your WLS9.x container by applying the following JAVA_OPTION in servers start Script ..-Dweblogic.Use81StyleExecuteQueues=true
Note: it is not recommended to use old style execute queue model in WLS9.x onwards because perfiormance wise WorkManagers are always better.
.
.
Keep Posting π
Thanks
Jay SenSharma
November 17th, 2010 on 4:28 am
Hi jay
I am fairly new to WLST, but I’m trying to see the application status (active, installed, etc. ..) through WLST, but I can not locate the state on the tree.
what I should use?
I used domainRuntime and serverRuntime, but not localized, because my idea is to mount a shell script to show me the status of all applications in a domain …
thanks
November 17th, 2010 on 4:33 am
sorry jay,
I have seen the answer to my question in “generalWeblogic”, number 40
November 17th, 2010 on 9:45 am
Hi Vigaros,
Please find the WLST Script to get the Application State in your E-Mail and the details on http://middlewaremagic.com/weblogic/?page_id=2594#comment-2010
.
.
Keep Posting π
Thanks
Jay SenSharma
December 15th, 2010 on 7:41 pm
Hi Team,
Please let me know do we you any method /script to read the contents of the DIAGNOSTIC.DAT file created in WebLogic10.3 ?
Thanks in advance
December 17th, 2010 on 3:12 pm
Hi Team,
Can you please get a chance to reply on my post posted on December 15th, 2010 on 7:41 pm
December 18th, 2010 on 10:21 am
Hi Praveen,
We never tried reading the “DIAGNOSTICS.DAT” file. Please let us know what kind of informations you are looking for inside this file. May be we can suggest some different ways to do it.
.
.
Keep Posting π
Thanks
Jay SenSharma
December 20th, 2010 on 3:37 pm
Hi Jay,
We are getting jdbc connection leakages in one our applications but not able to find any clue to investigate the reason from the logs and thread dumps(our entire team). Since this is an escalated issue for us, we are hoping for your quick response to help/guide us to identify the reason ? Thanks in advance
December 20th, 2010 on 3:45 pm
Hi Praveen,
How are u so sure that the reason behind memory leak is Connection Leaking? Do u see anything strange in the Server Logs or Stdout of the Server?
Which version of WLS are u using and which DataBase Version ?
Which Driver u are using BEA provided Jdbc Driver or The Database Vendor Specific Jdbc Driver?
Are u sure that the Application code is properly closing the Connections as mentioned in the “Common Jdbc Issues-4).” of the following Link: http://middlewaremagic.com/weblogic/?p=2477
.
.
Keep Posting π
Thanks
Jay SenSharma
December 20th, 2010 on 5:58 pm
Hi Jai,
Thanks for your quick reply.
1.We are getting jdbc connection leaks and not memory leaks.
2.We dont find anything strange in the server logs.
3.WebLogic version is: 10.3.0
4.DB version : Oracle 10G
5.No matching issues found on given URL:http://middlewaremagic.com/weblogic/?p=2477.
6.We are using Weblogic driven db controllers for getting the DB connection. So I beleive WLS itself will close the DB connection once it’s task completed and there is no explicit code written for opening and closing the DB connection.
This issue is in our production application. Dev team said that whenever users are pulling the huge data thru appln (like more than 10000 records) connection leak is happening.We are not seeing any errors/ exceptions in the logs.
Actually this issue in our production.
please let us know if you need any further information.
December 20th, 2010 on 8:07 pm
Hi Praven,
We would request you to try tuning Data Source from weblogic side like
– Shrinking a Data Source = That would help you to shrink the connections when they are not used.
– Inactive Connection Timeout = This would help you to close the connections and gives it back to the pool, which are inactive but still opened for the long time
Hope that would help you.
Regards,
Ravish Mody
December 20th, 2010 on 9:55 pm
Hi Ravish,
thanks for your email. We are further investigating on your recommandations. Will update you once we completed it.
March 9th, 2011 on 6:48 pm
Hi
For monitoring reasons I need to connect to multiple WLS (Admin)Servers at one time within a jython script.
Like:
import wl as wl
dom1=wl.connect(…)
dom2=wl.connect(…)
print dom1.cmo.getName()
print dom2.cmo.getName()
Unfortunately with “import wl as wl” I can get only one connection, using different imports to different names will not help.
Thanks
March 9th, 2011 on 8:32 pm
Hi Penguin,
I don’t see any option in WLST to connect to multiple domains in parallel. The only thing you can do is to connect to a single domain and then disconnect to it then next connect to a different domain.
.
.
Keep Posting π
Thanks
Jay SenSharma
March 9th, 2011 on 11:26 pm
Hi Jay
Thanks for reply.
That’s what I was afraid of…
Regards
April 29th, 2011 on 9:13 am
Issue: Restarting Admin Server Using WLST
OS: RedHat Enterprise Linux 5 β 32bit
WLS: 10.3.3
Jdk: jrockit_160_05_R27.6.2-20 , Xms1024 Xmx2048
Is there a simple way to restart the WebLogic Admin Server process using WLST? Even with performance optimizations the Admin server sometimes hangs an inordinate amount of time, and having a scripted way to handle the shutdown and startup of this process would be helpful in our environment.
When we try this through the NodeManager we’re getting SSL exceptions.
Any help is appreciated.
April 29th, 2011 on 9:20 pm
Hi Chris,
We have just created a WLST script which would take care of your requirement, check out the below script.
Topic: Start AdminServer And NodeManager Using WLST
http://middlewaremagic.com/weblogic/?p=6580
Also we would like to give you 10 Magic Points for giving us a proper description of your environment and your issue.
Regards,
Ravish Mody
May 1st, 2011 on 11:38 am
Hi,
I tried to start Admin Server with nodemanager using startServer() using WLST, but no luck. I noticed the error listed in the log files.
java.io.IOException: Bad properties data format
at weblogic.nodemanager.common.DataFormat.readProperties(DataFormat.java:44)
at weblogic.nodemanager.server.Handler.handleStart(Handler.java:538)
at weblogic.nodemanager.server.Handler.handleCommand(Handler.java:119)
at weblogic.nodemanager.server.Handler.run(Handler.java:66)
at java.lang.Thread.run(Thread.java:619)
I have updated nodemanager propertes from SSL to plain and startScriptEnabled=true but no luck. Kindly help me. Thanks.
Rajendra
May 1st, 2011 on 12:47 pm
Hi Rajendra,
Please try following the Below Article:
http://middlewaremagic.com/weblogic/?p=6580
And compare it with the steps which you are following you might get some hint just in case if you are missing anything.
.
.
Keep Posting π
Thanks
Jay SenSharma
June 29th, 2011 on 3:21 pm
Hi All,
I have created clustered domain on weblgoic 10.3 (10G). After making all JDBC, RSA key store changes made the Server up and running. Now I want to make the template of this domain and install it on another machine.
Using WLST I am able to automate each and every values like machine name, JDBC username and password.
But not sure how to modify RSA key store values as they are machine dependant :(.
Please help how to and where the changes need to be done for RSA key store values to automate my domain migration proces..
please let me know if more information is required.
Regards,
Sagar
June 30th, 2011 on 4:11 pm
Hi Sagar,
From WebLogic side there is no such tool or utility available to make the RSA keystore changes automated. So you will have to make it manually.
.
.
Keep Posting π
Thanks
Jay SenSharma
June 30th, 2011 on 1:47 am
Hi
We are deploying the build and need to change the deployment order after the deployment.
Can we change the deployment order from 100 using wlst script? If so what is the command to do?
Thanks
Sarath
June 30th, 2011 on 4:09 pm
Hi Absarath,
Following is a Simple WLST Script which shows how to change the deployment Order of a particular DataSource Deployment : http://middlewaremagic.com/weblogic/?p=1502
Same way you can change the deployment orders for your Applications as well. The only thing you need to do is You need to change the Line-03 and Line-04 in the WLST Script mentioned in the above link:
04 cd (‘JDBCSystemResources’)
05 cd (‘TestDS’)
There in place of above two lines you need to do a cd(‘AppDeployments/YourAppName’) and then you can try .
.
.
Keep Posting π
Thanks
Jay SenSharma
June 30th, 2011 on 8:20 pm
Issue: invoke descriptor using WLST
OS: RedHat Enterprise Linux 4 β 64bit
WLS: 10.0 MP1
Jdk: jrockit-jdk1.5.0_19 , Xms1024 Xmx1024
Hello team,
I use the descriptor “pageCheckSeconds” for an application in weblogic.xml:
pageCheckSeconds
14400
Did you know if its posibble to invoke this parameter through WLST?
thanks.
July 1st, 2011 on 12:46 pm
Hi Vigaros,
It is not possible to change the entries which are present inside yourApplication. Or in other word We cannot change the deployment descriptor values using WLST.
But you can use the “Plan.xml” feature of WebLogic to change the deployment descriptor values without editing your actual Application On The Fly (Dynamically). Please refer to the following:
http://middlewaremagic.com/weblogic/?s=plan.xml
.
.
Keep Posting π
Thanks
Jay SenSharma
July 1st, 2011 on 5:46 pm
thank you very much, jay.
the only way that I had seen was the use of weblogic.Deployer , like this:
java weblogic.Deployer -adminurl http://localhost:7001 -user weblogic -password weblogic -name myApp -redeploy myApp/
for an exploded archive directory.
thanks.
July 18th, 2011 on 6:44 pm
Issue: Export SAML 2.0 server properties with WLST
OS: Ubuntu Natty
WLS: 10.3.4.0
Jdk: jrockit-jdk1.6.0_24-R28
Hi everybody,
I am wondering if it would be possible to export the SAML 2.0 properties of a server using WLST.
The idea would be getting a xml file that could be consumed for a com.bea.security.saml2.providers.registry.WebSSOSPPartner using the “consumeSPPartnerMetadata(String fileName)” method.
If it would be not possible I guess that I will have to provide the WebSSOSPPartner properties by hand, won’t I? See: http://download.oracle.com/docs/cd/E15523_01/web.1111/e13707/saml.htm#i1103778
Thanks in advance,
Luis
July 19th, 2011 on 6:15 pm
Hi everybody,
In the meantime I have developed a jython script that create the WebSSOSPPartner and added to the credential mapper:
from com.bea.security.saml2.providers.registry import *
#######################################################
# Connect
# Declare wls admin user and password
wlsUserID=’weblogic’
wlsPassword=’welcome1′
# We have to manage from taken these vars encripted like in the startManagedWeblogic.sh (taken from security/boot.properties)
connect(wlsUserID, wlsPassword, url=’t3://localhost:7001′, adminServerName=’AdminServer’)
serverConfig()
#######################################################
# Create and setup the Service Provider Partner (“relying party”)
# Get our security default realm (“myrealm”)
cd(‘SecurityConfiguration’)
cd(‘mydomain’)
rlm=cmo.findDefaultRealm()
# Get the CredentialMapper (com.bea.security.saml2.providers.SAML2CredentialMapper)
cm=rlm.lookupCredentialMapper(‘testForJython3’)
# Create a new WebSSOSPPartner (com.bea.security.saml2.providers.registry.WebSSOSPPartner)
webSSOspPartner=cm.newWebSSOSPPartner()
# Set properties. Note: find out how to use import…
webSSOspPartner.setName(‘webSSOspPartnerTestForJython’)
webSSOspPartner.setDescription(‘setting through jython’)
webSSOspPartner.setEntityID(‘https://myhost.mydomain.com/myhost_mydomain_com_sample_weblogic_app_2/’)
# Set the X509 certificate
fileCert=java.io.FileInputStream(‘/home/luis/DEVELOPING/TEMP/demoidentityFromSPxml’)
cf=java.security.cert.CertificateFactory.getInstance(‘X.509’)
cert=cf.generateCertificate(fileCert)
webSSOspPartner.setSSOSigningCert(cert)
fileCert.close()
# Artifact Resolution Service
#ars=com.bea.security.saml2.providers.registry.IndexedEndpointImpl()
ars=IndexedEndpointImpl()
ars.setLocation(‘https://myhost.mydomain.com/saml2/sp/ars/soap’)
ars.setBinding(Endpoint.SOAP_BINDING)
ars.setDefault(true)
ars.setIndex(0)
webSSOspPartner.setArtifactResolutionService([ars])
# Assertion Consumer Service
#acs1=com.bea.security.saml2.providers.registry.IndexedEndpointImpl()
acs1=IndexedEndpointImpl()
acs1.setLocation(‘https://myhost.mydomain.com/saml2/sp/acs/artifact’)
acs1.setBinding(Endpoint.HTTP_ARTIFACT_BINDING)
acs1.setDefault(false)
acs1.setIndex(0)
#acs2=com.bea.security.saml2.providers.registry.IndexedEndpointImpl()
acs2=IndexedEndpointImpl()
acs2.setLocation(‘https://myhost.mydomain.com/saml2/sp/acs/post’)
acs2.setBinding(Endpoint.HTTP_POST_BINDING)
acs2.setDefault(false)
acs2.setIndex(1)
webSSOspPartner.setAssertionConsumerService([acs1,acs2])
# Other properties
webSSOspPartner.setOrganizationName(‘IT’)
webSSOspPartner.setOrganizationURL(‘http://mydomain.com’)
webSSOspPartner.setContactPersonType(‘technical’)
webSSOspPartner.setContactPersonCompany(‘mydomain’)
webSSOspPartner.setContactPersonGivenName(‘MyName’)
webSSOspPartner.setContactPersonSurName(‘Surname’)
webSSOspPartner.setContactPersonEmailAddress(‘lurodrig@mydomain.ch’)
webSSOspPartner.setContactPersonTelephoneNumber(‘000’)
# Enable
webSSOspPartner.setEnabled(true)
cm.addSPPartner(webSSOspPartner)
But I am still interested in the export functionality.
Thanks in advance,
Luis
September 27th, 2011 on 9:01 pm
=== How to setup correctly Dye Injection? ===
— system information —
Windows server 2008 R2
Weblogic 10.3.2
Sun JVM 1.6.0_20
————————–
Hi all,
I have an EAR containing a war deployed on a cluster made of 2 managed servers.
This web app is very slow and I try to figure out where the bottleneck could be.
Therefore I try to enable the “Dye Injection” feature to get metrics; especially elapsed time in Weblogic.
I follow the Weblogic doco to setup ‘simple’ dye-injection (no instrumentation at application-level) but it doesn’t seem to work, I’m requesting your help because I don’t get what I’m missing.
Here’s my diagnostic monitor configuration
Sd-console
true
DyeInjection
ADDR1=10.30.73.39
When I restart me server I can see some ‘ContextID’ which make me think my confi is OK
#### <>
But This message makes me think something is still not set correctly
#### <>
#### <>
The result is when I’m connected to my website directly targeting one node, I don’t see any message in my ADmin Console (under diagnostics–>Log files)
I’d appreciate if anyone could help me on this.
Thanks all.
September 27th, 2011 on 9:13 pm
Oups it seems my conf and logs don’t appear correctly, here’s my conf (I replace ” with ‘||’hope it’ll work now)
CONF:
||?xml version=’1.0′ encoding=’UTF-8’?||
||wldf-resource xmlns=”http://xmlns.oracle.com/weblogic/weblogic-diagnostics” xmlns:sec=”http://xmlns.oracle.com/weblogic/security” xmlns:wls=”http://xmlns.oracle.com/weblogic/security/wls” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation=”http://xmlns.oracle.com/weblogic/weblogic-diagnostics http://xmlns.oracle.com/weblogic/weblogic-diagnostics/1.0/weblogic-diagnostics.xsd“||
||name||Sd-console||/name||
||instrumentation||
||enabled||true||/enabled||
||wldf-instrumentation-monitor||
||name||DyeInjection||/name||
||description||||/description||
||dye-mask xsi:nil=”true”||||/dye-mask||
||properties||ADDR1=10.30.73.39||/properties||
||/wldf-instrumentation-monitor||
||/instrumentation||
||/wldf-resource||
LOGS with ContextID:
||Sep 27, 2011 5:23:11 PM CEST|| ||Info|| ||Health|| ||EQDG1UZSMRTD001|| ||SmartDispatcherNodeConsole1|| ||weblogic.GCMonitor|| ||||anonymous|||| |||| ||92c80240c00d4dbc:-7cdcb7df:132ab66e5ec:-7ffd-000000000000002e|| ||1317136991923|| ||BEA-310002|| ||35% of the total memory in the server is free||
Suspiscious message in log files:
||Sep 27, 2011 5:02:14 PM CEST|| ||Info|| ||Diagnostics|| ||EQDG1UZSMRTD001|| ||SmartDispatcherNodeConsole1|| ||[STANDBY] ExecuteThread: ‘2’ for queue: ‘weblogic.kernel.Default (self-tuning)’|| ||||WLS Kernel|||| |||| ||92c80240c00d4dbc:-7cdcb7df:132ab66e5ec:-7ffd-0000000000000016|| ||1317135734942|| ||BEA-320129|| ||Instrumentation module bea_wls_diagnostics created.||
||Sep 27, 2011 5:02:14 PM CEST|| ||Warning|| ||Diagnostics|| ||EQDG1UZSMRTD001|| ||SmartDispatcherNodeConsole1|| ||[STANDBY] ExecuteThread: ‘2’ for queue: ‘weblogic.kernel.Default (self-tuning)’|| ||||WLS Kernel|||| |||| ||92c80240c00d4dbc:-7cdcb7df:132ab66e5ec:-7ffd-0000000000000016|| ||1317135734943|| ||BEA-320130|| ||Instrumentation module bea_wls_diagnostics is disabled.||
Thanks
September 28th, 2011 on 5:12 pm
Hi fipnova51,
I don’ have much idea about die injection in WLDF. I will check if i can find some relevant information regarding your issue.
.
.
Keep Posting π
Thanks
Jay SenSharma
September 28th, 2011 on 2:53 am
Hi guys,
Could you post an example of creating (or updating if one already exist) security policies from WLST script and/or JMX code. Specifically if I have a say particular EJB to which I want to give rights to do jndi lookup only to a particular user/group.
Thanks!
September 28th, 2011 on 3:38 pm
Hi Lach_v,
Currently we don’t have any existing sample to create a security policy for Jndi lookup restriction. And personally i don’t think that doing it through WLST or JMX would be easy. You can not even take help of “WLST Recording feature” of admin console, because wlst recorder will not record this event.
So it will be better if you do it manually. Because WLST and JMX are usually needed for automating various repetitive tasks but setting Policy is One time job, that’s why people don;t even go with this option.
.
.
Keep Posting π
Thanks
Jay SenSharma
September 28th, 2011 on 7:41 am
Can someone explain about MBeans querying,
How can we acheive MBeans querying,
I would like to query the application state using Mbeans querying,
is the possible?
September 28th, 2011 on 3:13 pm
Hi Snehid,
The following JMX code also gets the Application state using standard MBean query which might be helpful:
http://middlewaremagic.com/weblogic/?p=497
.
.
Keep Posting π
Thanks
Jay SenSharma
September 28th, 2011 on 7:33 pm
Hi Jay,
Thanks for the quick response! Unfortunately setting policy is not one time task for us. I am working for a software vendor. So we need to do it for each installation. That is why I looking for a way to automate it. π
September 30th, 2011 on 12:53 pm
Hello,
I have WLST script, which will connect to a running admin server and print the server status.
How to call the below script from JAVA, Is there any java api to call this WLST script
OS= windows
weblogic version= 10.3.5
import sys
#@PydevCodeAnalysisIgnore
username = ‘weblogic’
password = ‘1qaz2wsx’
URL=’t3://localhost:7001′
connect(username,password,URL)
domainConfig()
serverList=cmo.getServers();
print ‘ Total Number of Servers ==>’ +’ ‘ +`len(serverList)`+ ”
domainRuntime()
cd(‘/ServerLifeCycleRuntimes/’)
for server in serverList:
name=server.getName()
cd(name)
serverState=cmo.getState()
if serverState==’RUNNING’:
print ‘[‘
print ‘Server Name::’+’ ‘+ name+’ ‘
print ‘Server State::’+’ ‘+serverState+’ ‘
print ‘Server Port::’+’ ‘+str(server.getListenPort())+’ ‘
print ‘]’
elif serverState==’SHUTDOWN’:
print ‘[‘
print ‘Server Name::’+’ ‘+ name+’ ‘
print ‘Server State::’+’ ‘+serverState+’ ‘
print ‘Server Port::’+’ ‘+str(server.getListenPort())+’ ‘
print ‘]’
elif serverState==’UNKNOWN’:
print ‘[‘
print ‘Server Name::’+’ ‘+ name+’ ‘
print ‘Server State::’+’ ‘+serverState+’ ‘
print ‘Server Port::’+’ ‘+str(server.getListenPort())+’ ‘
print ‘]’
cd(‘..’)
Thanks,
Alok
September 30th, 2011 on 6:51 pm
Hi Alok,
You can run the WLST embedded inside a Java program as mentioned in “EmbeddedWLST.java” program:
http://download.oracle.com/docs/cd/E12840_01/wls/docs103/config_scripting/using_WLST.html#wp1075602
.
.
Keep Posting π
Thanks
Jay SenSharma
October 2nd, 2011 on 10:26 pm
Hi Jay,
I am unable to get Node Manager up using WLST. I followed the below steps.
1. First I Ran setWLSEnv.sh script successfully.
2. Started java weblogic.WLST command
3. Then I ran below command on WLST.
connect(‘weblogic’,’welcome1′,’t3://192.168.0.5:7001′)
4. Enrolled NM using nmEnroll command successfully.
5. Finally I ran nmConnect command and getting error
Please assist on this.
NOTE: My nodemanger port is 5556 (default port only). I am able to run the NodeManger using normal start script (.sh script) & and able to start Managed servers from Weblogic Console.
October 3rd, 2011 on 10:34 am
Use startNodeManager wlst command to start the NodeManager.
nmConnect is used to connect wlst to nodemanager so that
we can execute the node manager commands.
Note: The prerequisite step for the nmConnect command is “Node manager should be running”
October 3rd, 2011 on 5:07 pm
Hi All,
I am working on creating a domain creation script using WLST. I could create a domain with the possible offline options. But I need to perform a few operations, which can only be done in online mode. We do not have node manager in our environment, so I cannot use nodemanager to start my admin server.
So I am trying to use os.system module from python to invoke startWeblogic.cmd. I can invoke the script, but I run in to an issue that after invoking the script, the control does not return back to the python script.
I am looking for a solution which may work on both jython 2.1 and jython 2.2.
With regards,
Vishal mahajan
October 4th, 2011 on 10:41 am
Thank you Renne for WLST NM command help.
October 4th, 2011 on 3:36 pm
Hi Vishal,
You can try the following
In os.system call, Give the command to start the weblogic server as a background process.
Use sleep function with some time as weblogic will take little time to come up then the rest of flow will be executed.
The flow could be:
>> os.system(startWeblogic.sh >/dev/null &)
>> sleep func;
>> Rest of the flow;
Please modify the above as per the correct syntax.
I don’t have environment at the moment to try the above snippet. Kindly try that in your Dev Environment and let me know the results.
October 4th, 2011 on 7:28 pm
Hi Renne,
Thanks for the response!
I am trying to execute that on Windows XP and as of now, I am not able to find how to send a process to background. I tried using cmd /c start/min. That does solve purpose to some extent but not completely as os.system calls waits for the child process to complete before it returns.
subprocess may have solved the purpose or spawnv but unfortunately they are not available in windows and on jython 2.1 and 2.2
As of now I am working around by calling that routine separately from a command script.
Thanks for the suggestion again!
October 5th, 2011 on 11:22 am
Hi Magic team,
I wanted to know below options usage.
As I am aware, the option:A is used to start the Admin & Managed instances and also know the status of the same servers..
Initial steps::: Started NMscirpt (.sh) to use the NM commands on WLSt.
Option:A
1. java weblogic.WLSt
2. nmConnect(βweblogicβ,’welcome1β²,β192.168.0.5β²,β5556β²,βmydomainβ)
3. nmServerStat(Adminserver)
4. nmStatus (AdminServer)
Below Option:B only used when the Domain is running.
Once we executed the below steps, what are other steps used pertaining to NM?
As I am aware, once we executed the steps 1 & 2, then we can check any domain or server related statistics using corresponding commands.
Option:B
1. java weblogic.WLST
2. connect(βweblogicβ,’welcome1β²,βt3://192.168.0.5:7001β²)
3. nmEnroll(β/opt/oracle/Middleware/user_projects/domains/mydomainβ,’/opt/oracle/Middleware/wlserver_10.3/common/nodemanagerβ)
4. nmConnect(βweblogicβ,’welcome1β²,β192.168.0.5β²,β5556β²,βmydomainβ,’/opt/oracle/Middleware/user_projects/domains/mydomainβ)
Please assist on the same.
With regards,
Gopal
December 2nd, 2011 on 5:50 pm
Hi Guys,
could any one post an example of creating and deploying JMS event generator through WLST script(Automatic Generation). i am using weblogic server 10.3.1.
December 26th, 2011 on 11:27 am
Hi Jay,
Could you help me knowing we could read the Diagnostic “.dat” file which server reads? Is there any tool or so..for it.
We were facing some issue with the connection pool consumption and have enabled JDBC profiling debuggers in weblogic 9.2.3 which will write logs in the WLDF files. But not sure how to extract information from those files.
Thanks,
Ranjan
December 26th, 2011 on 3:32 pm
Hi Ranjank,
I am not familiar with any publicly available Such WLDF dat file analyzer tool, These files are supposed to be analyzed by the Oracle WebLogic Support team. So if you suspect something is wrong in these files then it is better to contact Oracle Support to get the DAT files analyzed properly, Their internal tools can be useful in this case.
.
.
Keep Posting π
Thanks
Jay SenSharma
June 9th, 2012 on 5:59 pm
Hi,
I have deployed one EAR application to the weblogic server 10.3.5 to connect to the siebel using RestFul,This EAR application consists of one EAIConnector.rar file where i have configured the EAIConnector adapter by navigating to the Configuration Tab, and then Outbound Connection Pool and created a new Connection Factory ,Specified the JNDI name and then provided the properties(like HostUrl,Username,Password) value.
Question is :How to access the adapter and provide the properties value from JMX code.
Can you please help me in this or any suggestion will be really appreciated.
August 23rd, 2012 on 6:04 pm
Hi,
I have a small issue in my script. I am using a while loop to create 9 queues at a time in the Weblogic Console. But the while loop is not breaking, and is throwing an error for no more queue names are available in the .properties file. Please help..:)
Please let me know as to how can I send you the script.
August 23rd, 2012 on 6:55 pm
My issue has been resolved…thanks anyways..:)
August 24th, 2012 on 10:01 am
Hi,
Another query..:)
Just as we can write script for creating multiple queues and topics. Can we have a script to create multiple Connection Pools for the corresponding Connection Factoriies. If yes, where can I find it?
Thanks.:)
August 24th, 2012 on 12:28 pm
But will the logic for data source and connection pool be same? I had seen this blog before, but could not understand as to how that will help.
August 28th, 2012 on 4:58 pm
Hi,
I am using 10.3.4.0 weblogic server based on sun-solaris os
I want to monitoring no. of users my application deploy on my managed servers and no. of JDBC connections for each managed servers.
Can you please help me wlst scripting in this or any suggestion will be really appreciated.
September 21st, 2012 on 7:38 am
How to create WLI domain with WLST.I don’t see wli.jar file in the installation binaries.
September 26th, 2012 on 7:39 am
How can I give custom name for the jdbc xml file during the datasource creation with wlst.
I want to give a name like abcdatasource-jdbc.xml instead of abcdatasource-1237-jdbc.xml
sorry ..the tag is missing in the request…here is my question again.
can anybody tell me why the
descriptor-file-name tag is missing in config.xml when creating jdbc resource using WLST.Is there a way to create it using the script during datasource creation
October 4th, 2012 on 12:07 pm
Need some help in following items
1) how to monitor JMS Queue Throughput results ( will this possible by using SNMP or Diagnostic? if yes is any example available
2)how to find JMS Queue depth
January 23rd, 2013 on 11:39 am
For a JMX project, I have a situation where I need to restart admin server through wlst.
Though there are scripts to stop the admin server and start it.
But my issue is that I need to change the admin port before starting it for the next time.
For that I am using one of the codes provided by you to change the admin port using jmx.
After changing the port I want the admin server to shutdown and restart with the new port.
but issue is that once admin server is shutdown, it requires admin port to start back. Since the new port is not set in environment but only in config.xml, I could not start it back.
January 23rd, 2013 on 7:08 pm
the issue got fixed π thank you anyways π
May 15th, 2013 on 12:02 pm
Hi,
I am writing a script to move messages from one uniform distributes queue to another but while navigating to the path using cd command
cd(‘ServerRuntimes/’ + ‘WLS_OSB1’ + ‘/JMSRuntime/’ + ‘WLS_OSB1′ +’.jms/JMSServers/’+ ‘OSBJMSServer_WLS_OSB1’ +’/Destinations/’+fullTargetQueueName) I am not able to reach to the destination queue. It seems that the following is not used to point to uniform distributed queue:
‘/Destinations/’+fullTargetQueueName.
Can you please help
August 22nd, 2013 on 5:53 pm
I was facing the same error given below:
wls:/offline>dumpStack()
com.bea.plateng.domain.script.jython.WLSTException: com.bea.plateng.domain.script.ScriptException: java.lang.NullPointerException
at com.bea.plateng.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:51)
at – See more at: http://middlewaremagic.com/weblogic/?page_id=2608#sthash.uAsSq46f.dpuf
Solution: Entries in ‘E:OracleMiddlewareregistry.xml’ was wrong. Initially i had installed in C: and then moved to E:. Here the registry was failing. Once i pointed out to the correct path then the error for resolved π π Check these value is pointing to correct path : “InstallDir”, “JavaHome” in E:OracleMiddlewareregistry.xml file.
September 18th, 2013 on 6:41 pm
Hi there,
I am trying to develop a NotificationListener that will send me an email wherever somebody restart an instance. So now I am stucked in how to be aware who is starting/stopping something. How to get this username? I know itΒ΄s possible because I can see in the logs the username that is trying to stop/start something.
IΒ΄d be glad to hear this solution.
Thanks.
Luiz.
November 25th, 2013 on 12:12 pm
Hi,
I’m new to WLST and I have created script to monitor weblogic server and data source connections by combining few of your’s examples
and it working fine and give expected outputs. so I added it to crontab to get daily alerts.
But after few days I have noticed admin server crashed sevaral times (unable to login admin console) and had to restart full weblogic service to restart admin server. I’m afraid that this had occurred due to my script.
OS:- SUSE Linux ES 11 ,2.6.32.29-0.3-default
weblogic:-10.3.5.0
Q1)Please find the below my script and can you please tell me is there anything can lead to weblogic admin crash (Eg: I have use many connections and disconnections to same admin console within script).
Q2)if there any way to trace back to crash issue
#======================================
from java.io import FileInputStream
import java.lang
import os
import string
import sys
sys.stdout = file(“currentAppState_file_DEL”,”w”)
propInputStream = FileInputStream(“/xxxxx/oracle/App_Mon/details_properties”)
configProps = Properties()
configProps.load(propInputStream)
ServerUrl = configProps.get(“datasource.targetServer.url”)
UserName = configProps.get(“admin.username”)
Password = configProps.get(“admin.password”)
def sendMailString():
os.system(‘cat currentAppState_file_DEL | /usr/bin/mailx -s “ALERT: xx.xx.xx.xx WL Applications Health Check !!! ” “xx@xxxx.com” ‘)
print ‘********* ALERT MAIL HAS BEEN SENT ***********’
#This module is for retrieve the JVM statistics————————————
def monitorJVMHeapSize():
connect(UserName,Password,ServerUrl)
serverNames = getRunningServerNames()
domainRuntime()
print ‘WL xx.xx.xx.xx server instances JVM statistics:’
print ‘ TotalJVM FreeJVM Used JVM’
print ”
print ‘================================================’
for name in serverNames:
try:
cd(“/ServerRuntimes/”+name.getName()+”/JVMRuntime/”+name.getName())
freejvm = int(get(‘HeapFreeCurrent’))/(1024*1024)
totaljvm = int(get(‘HeapSizeCurrent’))/(1024*1024)
usedjvm = (totaljvm – freejvm)
writeInFile0 =’%14s %4d MB %4d MB %4d MB ‘ % (name.getName(),totaljvm, freejvm, usedjvm)
print ”, writeInFile0
# cmd = “echo ” + writeInFile0 + ” >> currentAppState_file”
# os.system(cmd)
except WLSTException,e:
pass
print”
# This module for managed Servers list
def getRunningServerNames():
domainConfig()
return cmo.getServers()
if __name__== “main”:
monitorJVMHeapSize()
disconnect()
#Aplication state monitoring——————————————————-
print ‘==============================================’
redirect(‘wlst.log’,’false’)
connect(UserName,Password,ServerUrl)
cd (‘AppDeployments’)
myapps=cmo.getAppDeployments()
print ‘==============================================’
print ‘Following Applications are not in STATE_ACTIVE’
print ”
print ‘==============================================’
for appName in myapps:
domainConfig()
cd (‘/AppDeployments/’+appName.getName()+’/Targets’)
mytargets = ls(returnMap=’true’)
domainRuntime()
cd(‘AppRuntimeStateRuntime/AppRuntimeStateRuntime’)
for targetinst in mytargets:
currentAppState=cmo.getCurrentState(appName.getName(),targetinst)
if currentAppState != “STATE_ACTIVE”:
writeInFile =’Applicaiton = “‘+ appName.getName() +'” // Targeted Server = “‘+str(mytargets)+'” // Current STATE = “‘+ currentAppState +'”‘
print ”, writeInFile
# cmd = “echo ” + writeInFile + ” >> currentAppState_file”
# os.system(cmd)
connect(UserName,Password,ServerUrl)
allServers=domainRuntimeService.getServerRuntimes();
if (len(allServers) > 0):
for tempServer in allServers:
jdbcServiceRT = tempServer.getJDBCServiceRuntime();
dataSources = jdbcServiceRT.getJDBCDataSourceRuntimeMBeans();
print ‘WL xx.xx.xx.xx server DataSource statistics:’
print ‘=============================================’
if (len(dataSources) > 0):
for dataSource in dataSources:
print ‘ModuleId ‘ , dataSource.getModuleId()
print ‘Name ‘ , dataSource.getName()
print ‘State ‘ , dataSource.getState()
print ‘Properties ‘ , dataSource.getProperties()
print ‘ActiveConnectionsAverageCount ‘ , dataSource.getActiveConnectionsAverageCount()
print ‘ActiveConnectionsCurrentCount ‘ , dataSource.getActiveConnectionsCurrentCount()
print ‘ActiveConnectionsHighCount ‘ , dataSource.getActiveConnectionsHighCount()
print ‘ConnectionDelayTime ‘ , dataSource.getConnectionDelayTime()
print ‘ConnectionsTotalCount ‘ , dataSource.getConnectionsTotalCount()
print ‘CurrCapacity ‘ , dataSource.getCurrCapacity()
print ‘CurrCapacityHighCount ‘ , dataSource.getCurrCapacityHighCount()
print ‘DeploymentState ‘ , dataSource.getDeploymentState()
print ‘FailedReserveRequestCount ‘ , dataSource.getFailedReserveRequestCount()
print ‘FailuresToReconnectCount ‘ , dataSource.getFailuresToReconnectCount()
print ‘HighestNumAvailable ‘ , dataSource.getHighestNumAvailable()
print ‘HighestNumUnavailable ‘ , dataSource.getHighestNumUnavailable()
print ‘LeakedConnectionCount ‘ , dataSource.getLeakedConnectionCount()
print ‘NumAvailable ‘ , dataSource.getNumAvailable()
print ‘NumUnavailable ‘ , dataSource.getNumUnavailable()
print ‘Parent ‘ , dataSource.getParent()
# print ‘PrepStmtCacheAccessCount ‘ , dataSource.getPrepStmtCacheAccessCount()
# print ‘PrepStmtCacheAddCount ‘ , dataSource.getPrepStmtCacheAddCount()
# print ‘PrepStmtCacheCurrentSize ‘ , dataSource.getPrepStmtCacheCurrentSize()
# print ‘PrepStmtCacheDeleteCount ‘ , dataSource.getPrepStmtCacheDeleteCount()
# print ‘PrepStmtCacheHitCount ‘ , dataSource.getPrepStmtCacheHitCount()
# print ‘PrepStmtCacheMissCount ‘ , dataSource.getPrepStmtCacheMissCount()
print ‘ReserveRequestCount ‘ , dataSource.getReserveRequestCount()
print ‘Type ‘ , dataSource.getType()
print ‘VersionJDBCDriver ‘ , dataSource.getVersionJDBCDriver()
# print ‘WaitingForConnectionCurrentCount ‘ , dataSource.getWaitingForConnectionCurrentCount()
# print ‘WaitingForConnectionFailureTotal ‘ , dataSource.getWaitingForConnectionFailureTotal()
# print ‘WaitingForConnectionHighCount ‘ , dataSource.getWaitingForConnectionHighCount()
# print ‘WaitingForConnectionSuccessTotal ‘ , dataSource.getWaitingForConnectionSuccessTotal()
# print ‘WaitingForConnectionTotal ‘ , dataSource.getWaitingForConnectionTotal()
# print ‘WaitSecondsHighCount ‘ , dataSource.getWaitSecondsHighCount()
print ‘————————————–‘
sendMailString()
cmd = “rm -f wlst.log currentAppState_file_DEL”
os.system(cmd)
disconnect()
#======================================
Thanks in advance.
November 26th, 2013 on 3:40 am
Hello MM Team,
I get the below error when trying to connect to Admin server using WLST, can you please shed some light on this?
What does this mean ? what could cause this ? etc..
Im on 10.3.5
The CompatabilityMBeanServer is not initialized properly.
This might happen if the CompatabilityMBeanServer is
disabled via the JMXMBean.
December 3rd, 2013 on 2:52 am
yes.. this is happening when i try to connect to WLST , so I cannot do the connect() now and im usig ./wlst.sh script so that it sets the path itself…is there a alternative to check CompatibilityMbeanServer ??
Thanks in advance
March 31st, 2014 on 11:19 pm
I have a script to start Node Manager/Admin/Managed servers called from crontab with @reboot command. The code is as follows:
from java.io import FileInputStream
import java.lang
import os
import string
#start Node Manager
try:
startNodeManager(verbose=’true’,NodeManagerHome=’/u01/app/oracle/product/fmw/soa/wlserver_10.X/common/nodemanager’,ListenPort=’5556′,ListenAddress=’localhost’)
#startNodeManager()
print ‘ ‘
print ‘Node Manager started successfully’
print ‘ ‘
except:
print ‘Unable to start Node Manager. Please see the log file’
disconnect()
exit()
#connect WLST to Node Manager
try:
nmConnect(‘nmAdmin’,’password’,’localhost’,’5556′,’our_domain’,’/u01/app/oracle/admin/our_domain/aserver/our_domain’)
print ‘successfully connected WLST to Node Manager’
print ‘ ‘
except:
print ‘Unable to connect WLST to Node Manager. Please see the log file’
disconnect()
exit()
#start Admin Server
try:
nmStart(‘AdminServer’)
print ‘successfully started Admin Server’
print ‘ ‘
except:
print ‘Unable to start Admin Server. Please see the log file’
disconnect()
exit()
#get Status of AdminServer
try:
nmServerStatus(‘AdminServer’)
except:
print ‘Unable to get Status of AdminServer. Please see the log file’
disconnect()
exit()
#connect to AdminServer
try:
connect(‘weblogic’,’password’,’t3://XXX.XXX.XXX.XX:7001′)
#print ‘ ‘
#print “successfully connected to Admin Server”
except:
print ‘Unable to connect to AdminServer. Please see the log file’
disconnect()
exit()
def serverStatus(server):
cd(‘/ServerLifeCycleRuntimes/’+server.getName())
return cmo.getState()
domainConfig()
serverList=cmo.getServers();
print serverList
domainRuntime()
#cd(‘/ServerLifeCycleRuntimes/’)
#cd(‘ServerRuntimes’)
#servers=domainRuntimeService.getServerRuntimes()
for server in serverList:
if server.getName()!=’AdminServer’:
serverState=serverStatus(server)
if serverState==’SHUTDOWN’ or ‘UNKNOWN’:
start(server.getName(),’Server’)
serverState=serverStatus(server)
print “Now ” + server.getName()+” is “+serverState
disconnect()
exit()
#name=server.getName();
# print ‘*******************************’
#print ‘*****Server state ******’, server.getHealthState()
#cd(‘..’)
Above script works where Admin and all managed servers are on same host.
a) What changes to be done when Admin server is on one host(host1) and Managed servers are on different hosts(host2, host3, host 4 etc)?
b) Any configuration to be done prior to run script?
c) Also, if I have to have similar script to shutdown the environment from where should I call the script in Linux environment and any input will be helpful.
Thanks
April 7th, 2014 on 5:29 am
Hi,
Can I get update on my questions asked?
Thanks
April 23rd, 2014 on 11:28 am
Java (JMX) vs WLST (Please Reply.. Its Urgent!)
Hi,
I know that there are two ways to admin weblogic server. One way is by WLST scripts which we write in WLST console. Second way is by JMX which we write in JAVA language.
I know that java language gives more flexibility but still all the scripts present in my companies Weblogic servers are WLST scripts.
Can anyone tell me about all the benefits and advantages I can have if I change them to Java (JMX) code.
One of the Flexibility is that I can implement multithreading and start multiple AdminServer (in multiple domain) at same time.
Thanks
Nitish Kumar
May 7th, 2014 on 10:02 pm
Hi Team,
Can you please advice on the below problem?
I am observing the below behavior while running any command for my managed instances in wlst script:
wls:/application/domainRuntime/ServerRuntimes/owb015> ls()
this command hangs indefinitely. no operations will work here. IT just displays the directories and hangs while displaying other Mbeans. It also needs to display other Mbeans like State, StateVal, Type etc. this happens intermittently.
wls:/application/domainRuntime/ServerRuntimes/owb015> ls()
dr– ApplicationRuntimes
dr– AsyncReplicationRuntime
dr– ClusterRuntime
dr– ConnectorServiceRuntime
dr– DefaultExecuteQueueRuntime
dr– EntityCacheCumulativeRuntime
dr– EntityCacheCurrentStateRuntime
dr– EntityCacheHistoricalRuntime
dr– ExecuteQueueRuntimes
dr– JDBCServiceRuntime
dr– JMSRuntime
dr– JTARuntime
dr– JVMRuntime
dr– JoltRuntime
dr– LibraryRuntimes
dr– LogBroadcasterRuntime
dr– LogRuntime
dr– MANAsyncReplicationRuntime
dr– MANReplicationRuntime
dr– MailSessionRuntimes
dr– MaxThreadsConstraintRuntimes
dr– MessagingBridgeRuntime
dr– MinThreadsConstraintRuntimes
dr– PathServiceRuntime
dr– PersistentStoreRuntimes
dr– RequestClassRuntimes
dr– SAFRuntime
dr– SNMPAgentRuntime
dr– ServerChannelRuntimes
dr– ServerSecurityRuntime
dr– SingleSignOnServicesRuntime
dr– ThreadPoolRuntime
dr– TimerRuntime
dr– WANReplicationRuntime
dr– WLDFRuntime
dr– WTCRuntime
dr– WebServerRuntimes
dr– WorkManagerRuntimes
dr– WseeClusterFrontEndRuntime
dr– WseeWsrmRuntime
Any help ASAP would be really appreciated.
May 8th, 2014 on 12:28 pm
Hi Ravi or Rene?
Anybody can help me in this issue as little urgent? π