- Apache error_log files BackEnd errors: grep -r -h --include=error_log Backend . | awk '{print $2 " " $3}'| sort | uniq -c
- Oracle connections: while true; do netstat -an|grep 1521; netstat -an|grep 1521|wc -l; echo "+++++++++++++++++++"; sleep 4; done;
Showing posts with label Weblogic. Show all posts
Showing posts with label Weblogic. Show all posts
Thursday, April 16, 2009
Unix commands help on diagnosing Weblogic problems
While working on diagnosing the Weblogic problems, I found the unix commands help me a lot, here they are:
Thursday, October 9, 2008
Oracle BEA Weblogic Server 10 "invalid pad byte" error
First of first, BEA has the worst error message ever, it just does not make any sense, maybe just for me!
When switch to a new weblogic domain, we like to copy the configuration files to the new domain in order to reserve some configurations works, such as JMS, JDBC settings.
However, you may get weblogic.management.ManagementRuntimeException: com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte.
Does this give you any hint that your password-encrypt is incorrect?
You may need to re-encrypt your password in the new domain by using the BEA supplied weblogic.security.Encrypt tool to archive this goal.
java -cp ./weblogic/server/lib/weblogic.jar -Dweblogic.RootDirectory={your domain} weblogic.security.Encrypt {your plain text password}
When switch to a new weblogic domain, we like to copy the configuration files to the new domain in order to reserve some configurations works, such as JMS, JDBC settings.
However, you may get weblogic.management.ManagementRuntimeException: com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte.
Does this give you any hint that your password-encrypt is incorrect?
You may need to re-encrypt your password in the new domain by using the BEA supplied weblogic.security.Encrypt tool to archive this goal.
java -cp ./weblogic/server/lib/weblogic.jar -Dweblogic.RootDirectory={your domain} weblogic.security.Encrypt {your plain text password}
Subscribe to:
Posts (Atom)