RE: Newbie: Fopservlet problem

2004-09-22 Thread Erik Trip
 Hello,
Did some further investigation, looks like it is an oracle problem.
See part of the error:
at com.evermind[Oracle Application Server Containers for J2EE 10g
(9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestD
ispatcher.java:765)
Logged the problem at oracle support and the say I have to ovreride the
default XML parser with other parser in OC4J.
Does anybody know how I should do this
Regrads Erik


-Oorspronkelijk bericht-
Van: Chris Bowditch [mailto:[EMAIL PROTECTED] 
Verzonden: maandag 20 september 2004 17:15
Aan: [EMAIL PROTECTED]
Onderwerp: Re: Newbie: Fopservlet problem

Glen Mazza wrote:

 It may be Xalan-related, because the first URL below (which works) 
 does not use Xalan while the others do.  Perhaps use newer versions of

 the XML jars?

Yes, I also think this is Xalan related. An old version of xalan is
often included with early versions of JDK 1.4.0, but also possibly with
Oracle Application Server.

Rather than simply searching the local disk for files named xalan*.*,
look carefully at the class path in your servlet to see where the xalan
classes are coming from. To output the classpath from a java program to
std out do:

System.out.println(System.getProperty(java.class.path));

Chris

snip/


-
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]



RE: Newbie: Fopservlet problem

2004-09-20 Thread Erik Trip
Hello,
Sorry but the error message has changed. The new error message is
java.lang.NullPointerException
at
oracle.xml.jaxp.JXTransformer.reportXSLException(JXTransformer.java:769)
at
oracle.xml.jaxp.JXTransformer.transform(JXTransformer.java:342)
at
oracle.xml.jaxp.JXTransformerHandler.endDocument(JXTransformerHandler.ja
va:137)
at
oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingPars
er.java:275)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:149)
at oracle.xml.jaxp.JXXMLFilter.parse(JXXMLFilter.java:91)
at org.apache.fop.apps.Driver.render(Driver.java:498)
at FopServlet.renderXML(Unknown Source)
at FopServlet.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE
10g
(9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestD
ispatcher.java:765)
at com.evermind[Oracle Application Server Containers for J2EE
10g
(9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(Servle
tRequestDispatcher.java:317)
at com.evermind[Oracle Application Server Containers for J2EE
10g
(9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHa
ndler.java:790)
at com.evermind[Oracle Application Server Containers for J2EE
10g
(9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:20
8)
at com.evermind[Oracle Application Server Containers for J2EE
10g
(9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:12
5)
at com.evermind[Oracle Application Server Containers for J2EE
10g
(9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(Releasab
leResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)

Any help would be appreciated
Regards Erik

-Oorspronkelijk bericht-
Van: Erik Trip [mailto:[EMAIL PROTECTED] 
Verzonden: maandag 20 september 2004 15:32
Aan: [EMAIL PROTECTED]
Onderwerp: RE: Newbie: Fopservlet problem

I replaced the mentioned files but the result is still the same.
Any help would be appreciated.
Regards Erik 

-Oorspronkelijk bericht-
Van: Glen Mazza [mailto:[EMAIL PROTECTED]
Verzonden: maandag 20 september 2004 14:13
Aan: [EMAIL PROTECTED]
Onderwerp: Re: Newbie: Fopservlet problem

I'm not an expert on this either--hopefully others can add to this--but,
yes, that library, as well as xercesImpl*.jar and xml-apis.jar are the
three that may need replacing within your servlet container.  Replacing,
however, can create other problems--the Xalan library can be buggy--so
of course save the older versions you replaced.  Getting the latest
versions from Xerces and Xalan projects instead of using the ones in
fop-dir/lib may also be a good idea if the above doesn't work.

Glen


Erik Trip schrieb:

Hello,
Thanks for the response.
As said, I'm completely new to this. I searched my file system and 
filesystem and found xalan-2.4.1.jar Is this the one you mean. It is 
located in yhe lib directory of fop.
Regards Erik

-Oorspronkelijk bericht-
Van: Glen Mazza [mailto:[EMAIL PROTECTED]
Verzonden: maandag 20 september 2004 13:06
Aan: [EMAIL PROTECTED]
Onderwerp: Re: Newbie: Fopservlet problem

It may be Xalan-related, because the first URL below (which works) does

not use Xalan while the others do.  Perhaps use newer versions of the 
XML jars?

Glen

Erik Trip wrote:

  

Hello,
I'am using the standard fopservlet program (fop.war). I deployed it on



  

the Oracle 10g application server.
When i use the following url:
 
http://demo-01.decade.nl/fop/fopservlet?fo=c:\temp\readme.fo
http://demo-01.decade.nl/fop/fopservlet?fo=c:%5Ctemp%5Creadme.fo
everything works fine
When I use:
http://demo-01.decade.nl/fop/fopservlet?xsl=c:\temp\testdata.xslxml=c
:\temp\testdata.xmlext=.pdf
http://demo-01.decade.nl/fop/fopservlet?xsl=c:%5Ctemp%5Ctestdata.xsl;
xml=c:%5Ctemp%5Ctestdata.xmlext=.pdf
or
http://demo-01.decade.nl/fop/fopservlet?xsl=c:\temp\testdata.xslxml=c
:\temp\testdata.xml
http://demo-01.decade.nl/fop/fopservlet?xsl=c:%5Ctemp%5Ctestdata.xsl;
xml=c:%5Ctemp%5Ctestdata.xml
 
I get:
500 Internal server error
org.apache.fop.apps.FOPException: XSL-1000: (Fatal Error) Error while 
parsing XSL file (null).
Any help would be appreciated.
Regards Erik
 
 





-
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