<< March 5, 2005 | Home | March 7, 2005 >>

Java 5 Odditty, Seeking The Right(TM) Fix

I attempted to upgrade my weblog from Red Hat 7.2/JDK 1.4.2_02/JBoss 3.2.2 (Tomcat 4.1.12)/Pebble 1.4 to Fedora Core 3/JDK 1.5.0_01/Tomcat 5.0.30/Pebble 1.7 this weekend. The transition is pretty smooth with one show stopper bug:

2005-03-06 21:44:27 StandardWrapperValve[SecureBlogController]: Servlet.service(
) for servlet SecureBlogController threw exception
javax.xml.transform.TransformerFactoryConfigurationError: Provider for javax.xml
.transform.TransformerFactory cannot be found
        at javax.xml.transform.TransformerFactory.newInstance(Unknown Source)
        at pebble.blog.persistence.file.FileBlogEntryDAO.store(FileBlogEntryDAO.
java:382)

A little Googling brought me to this page at sun.com, which says the error can be eliminated by setting the system property javax.xml.transform.TransformerFactory to com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.

The big question, of course, is, "How?"

Tags :

Jonathan Schwartz: Web Services May Collapse Under Its Own Weight

Jonathan Schwartz:

...

5. Web services may collapse under its own weight.
No one at the conference said this. Those are my words. I'm beginning to feel that all the disparate web service specs and fragmented standards activities are way out of control. Want proof? Ask one of your IT folks to define web services. Ask two others. They won't match. We asked folks around the room - it was pretty grim. It's either got to be simplified, or radically rethought.

As you know, I also believe simplicity and volume always win - and that today's web services initiatives are in danger of vastly overcomplicating a very simple (really simple) solution.

...

I don't agree with everything that the Sun CEO says. But web services have got to simplify. And real world web services success stories have got to come out. Not the kind like "Look, ma, I have a web service. How cool am I!", but the kind like "We can do X now, which generates lot of revenues for us. And we did it with web services. Doing it any other way would have cost us millions of dollars more!"