Showing posts with label weblogic. Show all posts
Showing posts with label weblogic. Show all posts

Tuesday, November 19, 2013

WLSTException: Error occured while performing save : Cannot call Edit functions when you are not in the Edit tree

I'm getting the following message for my weblogic script .... what to do next?
Create mbean Properties with name user
INFO: Saving domain
Problem invoking WLST - Traceback (innermost last):
File "/installables/met10.3/met/wdm/1_02/bin/configure_domain_9.py", line 81, in ?
File "", line 405, in save
File "", line 1744, in raiseWLSTException
WLSTException: Error occured while performing save : Cannot call Edit functions when you are not in the Edit tree.
Try wrapping your work in a session like this....
edit()
startEdit(-1,-1,'false')
..
...
..
save()
activate()

Saturday, July 13, 2013

WebLogic Password Encryption / Recovery

Put this in the startup in the JAVA_OPTIONS
-Dweblogic.system.RemoveBootIdentity=true -Dweblogic.management.username=weblogic -Dweblogic.management.password=weblogic -Dweblogic.system.StoreBootIdentity=false
$ java -cp /opt/weblogic/wl10.3.2/wlserver_10.3/server/lib/weblogic.jar -Dweblogic.RootDirectory=/opt/my/domain/here -Dweblogic.management.allowPasswordEcho=true weblogic.security.Encrypt Password: MY_PASSWORD

Wednesday, October 7, 2009

WebLogic JRockit jrcmd diagnostics

JRockit Diagnostic Commands

Here is a list of other jrockit commands that can be used for performance tuning .


22 export JAVA_HOME=/opt/bea/java/jrockit-R27.1.0-jdk1.5.0_08/
23 export PATH=$PATH:$JAVA_HOME/bin
26 jrcmd `ps auxww | grep -v grep | grep gbrServer | awk '{ print $2 }'` print_threads