The Holy Java

Building the right thing, building it right, fast

Posts Tagged ‘migration’

SOAP/SAAJ/XML Issues When Migrating to Java 6 (with Axis 1.2)

Posted by Jakub Holý on November 19, 2010

When you migrate an application using Apache Axis 1.2 from Java 4 or 5 to Java 6 (JRE 1.6) you will most likely encounter a handful of strange SOAP/SAAJ/XML errors and ClassCastExceptions. This is due to the fact that Sun’s implementation of SAAJ 1.3 has been integrated directly into the 1.6 JRE. Due to this integration it’s loaded by the bootstrap class loader and thus cannot see various classes that you might be referencing in your old code.

As mentioned on Spring pages:

Java 1.6 ships with SAAJ 1.3, JAXB 2.0, and JAXP 1.4 (a custom version of Xerces and Xalan). Overriding these libraries by putting different version on the classpath will result in various classloading issues, or exceptions in org.apache.xml.serializer.ToXMLSAXHandler. The only option for using more recent versions is to put the newer version in the endorsed directory (see above).

Fortunately, there is a simple solution, at least for Axis 1.2. Read the rest of this entry »

Posted in Languages | Tagged: , , , , | 3 Comments »

Migrating from JRoller to WordPress

Posted by Jakub Holý on May 22, 2010

This post describes how to migrate a blog from JRoller.com to WordPress.com. The steps are:

  1. Backup JRoller via the util by La tortue cynique
  2. Export from WP
  3. Convert JRoller to a fragment of the WP format
  4. Add proper header and footer to the generated WP import file
  5. [optional] download images, perhaps upload them somewhere and modify URLs accordingly
  6. Import it into WP
  7. Check formatting, add tags…

Read the rest of this entry »

Posted in General | Tagged: , , , , , , | 3 Comments »