There were some reports from the EMT that installing tomcat5 from jpackage with SUN's JDK 1.5 is a little problematic. Had a look at it today and now I understand it all though how to proceed is unclear. In short tomcat5 requires xml-commons-jaxp-1.3-apis which obsoletes xml-commons-apis. This property is however is provided by SUN's JDK 1.5 and so installing the xml-common api has the result of removing SUN's JDK! Submitted a bug to jpackage and provided a recipe of installation order that works. Bug 266.