Linux and Java Fixes for SaaJ and Setting Date/Time

This post is primarily for my later reference.  I found that when upgrading from Java 5 to Java 6, xml-driven apps may have errors and it seems to be caused by the SAAJ library.

Error:

com.sun.xml.internal.messaging.saaj.soap.LocalStrings !=
com.sun.xml.messaging.saaj.soap.LocalStrings

To remedy, I simply moved the saaj.jar (or saaj-impl.jar) to the /endorsed/ folder on the Java app server.

—-

I also needed to ensure that a server clock was in synch and every time I try to auto-update it seems buggy.  Instead, I just updated the system clock, then updated the hardware clock using the following commands:

> date 112822052008   (11/28 10:05pm 2008 uses 24hr time)

> /sbin/hwclock --systohc   (sets hardware clock to system time; I used GMT and not UTC)

2 Votes | Average: 5 out of 52 Votes | Average: 5 out of 52 Votes | Average: 5 out of 52 Votes | Average: 5 out of 52 Votes | Average: 5 out of 5 (2 votes, average: 5 out of 5)
Loading ... Loading ...


Leave a Reply

You must be logged in to post a comment.