One more attempt at this and now I am going to set this aside until someone has an idea on how to handle this:

I made a change to the jvm settings in the domain.xml file based on this article:

I added the following:

<jvm-options>-Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl </jvm-options>

The good news is that it seemed to change things. The bad news is that it cannot find the class:

[#|2010-09-24T11:48:51.497-0600|WARNING|glassfish3.0.1|org.jvnet.hk2.osgimain|_ThreadID=1;_ThreadName=Thread-5;|Exception while starting bundle com.sun.enterprise.osgi-adapter [88]
org.osgi.framework.BundleException: Activator start error in bundle com.sun.enterprise.osgi-adapter [88].
at org.apache.felix.framework.Felix.activateBundle(
at org.apache.felix.framework.Felix.startBundle(
at org.apache.felix.framework.BundleImpl.start(
at org.jvnet.hk2.osgimain.Main.start(
at org.apache.felix.framework.util.SecureAction.startActivator(
at org.apache.felix.framework.Felix.activateBundle(
at org.apache.felix.framework.Felix.startBundle(
at org.apache.felix.framework.Felix.setActiveStartLevel(
Caused by: javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.TransformerFactoryImpl not found
at javax.xml.transform.TransformerFactory.newInstance(Unknown Source)
at com.sun.enterprise.registration.impl.RepositoryManager.<init>(
at com.sun.enterprise.registration.glassfish.RegistrationUtil.synchUUID(
at com.sun.enterprise.registration.glassfish.PingService.postConstruct(
at com.sun.hk2.component.AbstractWombImpl.inject(
at com.sun.hk2.component.ConstructorWomb$
at com.sun.hk2.component.ConstructorWomb.initialize(
at com.sun.hk2.component.AbstractWombImpl.get(
at com.sun.hk2.component.SingletonInhabitant.get(
at com.sun.hk2.component.LazyInhabitant.get(
at com.sun.hk2.component.AbstractInhabitantImpl.get(
at com.sun.enterprise.v3.server.AppServerStartup.start(
at com.sun.enterprise.module.bootstrap.Main.launch(
at com.sun.enterprise.module.bootstrap.Main.launch(
at org.jvnet.hk2.osgiadapter.HK2Main.start(
at org.apache.felix.framework.util.SecureAction.startActivator(
at org.apache.felix.framework.Felix.activateBundle(
... 9 more

I have stuffed the xalan.jar, et al jar into every /lib folder I can think of and still no joy. I spent some time looking into how Glassfish V3 is doing class loading but I can't figure out why what I have done is still not working. I could script some explicit class loading but I have already invested 10 more hours into this than I wanted to.

The deployed apps run fine but the nice thing about Glassfish is administration and right now the command line method and autodeploy method is a step backward, even from Tomcat. Hoping someone else has some insight here.

Pete Helgren
Value Added Software, Inc

On 9/24/2010 10:24 AM, Pete Helgren wrote:
I have been looking for a way to replace the sun implementation of
xalan (which was buggy) with the latest, without much luck. I found a
"Pimp your Glassfish" article that does just that in V2 but some of the
configuration files changed from V2 to V3 so I have been trying to
figure out not only where to put the jars but also to tell Glassfish to
use them. Still sorting through it.

My deployed application runs very nicely though! It is a fairly complex
web app packaged up in a 10 mb war file and it *seems* to be running
faster under Glassfish on i vs Tomcat 5.5 but I can't tell for sure.

Pete Helgren
Value Added Software, Inc

On 9/24/2010 12:58 AM, Thorbjoern Ravn Andersen wrote:
Den 23/09/10 23.52, Pete Helgren skrev:
javax.xml.transform.TransformerFactoryConfigurationError: Provider not

Excellent work!

The above seems to me like that some code _thinks_ it is running on a
Sun JVM with an embedded Xalan, and TRaX is a mechanism for abstracting
the implementation from the XSLT API, so it should be a matter of
telling it to use the XSLT implementation actually present.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.