If anyone is interested, I got everything to work eventually. SVG rendering 
seemed impossible with the JDK (1.3.0) that accompanied JBuilder 4, but using 
1.3.1_16 works OK (with JBuilder also). Also using jaxp 1.2.2 for the xml/xslt 
stuff (i.e. not the versions contained in fop 0.20.5).

The biggest "problem" was to implement our own classloader so that FOP could 
get all resources from it (we load the jar dynamically in memory only), this 
involved also implementing my own URLStreamHandler and URLConnection derivates 
to be able to get GIF resources for the AWTViewer.

Now it seems to work allright.

Thanks for the help!
/Rob

> -----Original Message-----
> From: Bielik, Robert 
> Sent: Thursday, August 04, 2005 11:04 AM
> To: [email protected]
> Subject: RE: Almost there...
> 
> 
> You're absolutely correct. Thanks for the extra pair of eyes! 
> I'll debug OUR OWN classloader ;)
> 
> /Rob
> 
> > -----Original Message-----
> > From: Jeremias Maerki [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, August 04, 2005 11:01 AM
> > To: [email protected]
> > Subject: Re: Almost there...
> > 
> > 
> > 
> > On 04.08.2005 10:41:14 Bielik, Robert wrote:
> > > Ok, I finally got rid of crimson requirement by setting up the
> > > jaxp.properties correctly (using jaxp 1.2.2). But now I get 
> > this when
> > > batik is setting up:
> > > 
> > > java.lang.ClassNotFoundException: 
> > java.lang.ClassNotFoundException: 
> > org.apache.batik.util.resources.XMLResourceDescriptor
> > >   at 
> > guiPackages.misc.DynamicClassLoader.loadClass(DynamicClassLoad
> > er.java:132)
> > 
> > Looking at this, I'd guess that it has to do with this special class
> > loader you're using. Maybe it has a problem. I've never seen
> > "guiPackages.misc.DynamicClassLoader" before. Can you try the 
> > same with
> > a regular class loader setup? Just as a reference.
> > 
> > >   at java.util.ResourceBundle.loadBundle(Unknown Source)
> > >   at java.util.ResourceBundle.findBundle(Unknown Source)
> > >   at java.util.ResourceBundle.getBundleImpl(Unknown Source)
> > >   at java.util.ResourceBundle.getBundle(Unknown Source)
> > >   at 
> > org.apache.batik.util.XMLResourceDescriptor.<clinit>(XMLResour
> > ceDescriptor.java:57)
> > >   at 
> > org.apache.fop.svg.SVGElementMapping.setupSVG(SVGElementMappin
> > g.java:72)
> > >   at 
> > org.apache.fop.svg.SVGElementMapping.addToBuilder(SVGElementMa
> > pping.java:134)
> > >   at org.apache.fop.apps.Driver.addElementMapping(Driver.java:439)
> > >   at org.apache.fop.apps.Driver.addElementMapping(Driver.java:450)
> > >   at 
> > org.apache.fop.apps.Driver.setupDefaultMappings(Driver.java:314)
> > >   at org.apache.fop.apps.Driver.<init>(Driver.java:222)
> > > 
> > > I'm using fop 0.20.5 embedded, very similarly to the 
> > ExampleAWTViewer.java example.
> > 
> > 
> > Jeremias Maerki
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: 
> [EMAIL PROTECTED]
> > 
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to