Thursday, October 23, 2008

W3C XML Schema design

Recently, I am involved in a project to design some XML Schema for our partners. While working on it, I referred to some resources on the internet, most of them are listed in this Google search result page. I list a few that caught my eyes and I felt helpful:

Thursday, October 09, 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}