geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sutton, Timothy" <Timothy.Sut...@sensis.com>
Subject RE: Joost and Geronimo with GBean
Date Mon, 24 Jul 2006 13:36:05 GMT
You do not need the files in the  lib/endorsed. It will run just fine
with out them in side there.

Thanks again

Timothy Sutton 

-----Original Message-----
From: ammulder@gmail.com [mailto:ammulder@gmail.com] On Behalf Of Aaron
Mulder
Sent: Friday, July 21, 2006 5:35 PM
To: user@geronimo.apache.org
Subject: Re: Joost and Geronimo with GBean


On 7/21/06, Sutton, Timothy <Timothy.Sutton@sensis.com> wrote:
> With some help I got this issue resolved. The problem was not my 
> program crashing, but Geronimo crashing because the system property 
> was set on the transformer factory system wide in my code. So the way 
> this was resolved was through adding a file to META-INF/services with 
> the javax.xml.transform.TransformerFactory with one line 
> net.sf.joost.trax.TransformerFactoryImpl.
>
> Just thought this update might be useful if anyone else runs into the 
> same problem later on

Thanks for the report!

Did you end up needing to install files into lib/endorsed to get this to
work or not?

Thanks,
     Aaron

> -----Original Message-----
> From: Sutton, Timothy [mailto:Timothy.Sutton@sensis.com]
> Sent: Wednesday, July 19, 2006 2:37 PM
> To: user@geronimo.apache.org
> Subject: RE: Joost and Geronimo with GBean
>
>
> I tried to do by putting the files in lib/endorsed, and as far as I 
> can tell I was already setting the System Property for the 
> Transformer. Is it possible I would need to set this system property 
> at a higher level or maybe even in a different classloader?
>
> Thanks
>
> Timothy Sutton
>
> -----Original Message-----
> From: David Jencks [mailto:david_jencks@yahoo.com]
> Sent: Wednesday, July 19, 2006 12:45 PM
> To: user@geronimo.apache.org
> Subject: Re: Joost and Geronimo with GBean
>
>
> My guess would be that you would have to put the xsl implementation 
> you want to use in lib/endorsed.  The selection of which transformer 
> factory to use is made by a setting a system property and IIUC the 
> implementation has to be in an endorsed directory rather than added to

> the classpath some other way.
>
> thanks
> david jencks
>
> On Jul 19, 2006, at 9:33 AM, Sutton, Timothy wrote:
>
> > I was wondering if anyone had tried to deploy a Gbean with Joost 
> > (stx xml parser), and if they had any problems with it. I get the 
> > following
>
> > exception.
> >
> > Exception in thread "Timer-2"
> > javax.xml.transform.TransformerFactoryConfigurationError: Provider 
> > net.sf.joost.trax.TransformerFactoryImpl could not be instantiated: 
> > java.lang.NullPointerException
> >         at javax.xml.transform.TransformerFactory.newInstance
> > (TransformerFactory.ja
> > va:109)
> >         at
> >
org.apache.geronimo.system.configuration.LocalAttributeManager.saveXml
>
> > To
> > File(LocalAttributeManager.java:467)
> >         at 
> > org.apache.geronimo.system.configuration.LocalAttributeManager.save
> > (Loca
> > lAttributeManager.java:433)
> >         at 
> > org.apache.geronimo.system.configuration.LocalAttributeManager$2.run
> > (Loc
> > alAttributeManager.java:636)
> >         at java.util.TimerThread.mainLoop(Timer.java:512)
> >         at java.util.TimerThread.run(Timer.java:462)
> >
> >
> > Thanks again!
> >
> >
> > Tim
>
>

Mime
View raw message