You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Pardha Paruchuri <pa...@yahoo.com> on 2007/03/12 22:27:44 UTC
root must be root element
All,
we are getting below error message while trying to run FOP 0.20.5 servlet.
javax.xml.transform.TransformerException: org.apache.fop.apps.FOPException: root must be root element
at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:725)
at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:425)
at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:216)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2339)
at org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2160)
at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1213)
at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:668)
at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1129)
at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1107)
The same code was running fine until yesterday. Could you someone help me what could be causing this issue. I tried running the FOP from command prompt just to see if it produces the same error but it ran fine so the problem is in running as a servlet.
Thanks
Pardha
---------------------------------
We won't tell. Get more on shows you hate to love
(and love to hate): Yahoo! TV's Guilty Pleasures list.
Re: root must be root element
Posted by Pardha Paruchuri <pa...@yahoo.com>.
Thanks for the reply.
Restarting the servlet solved the issue. Dont know what caused the issue, I could not find any other error in the log file.
Jeremias Maerki <de...@jeremias-maerki.ch> wrote:
Did you miss the namespace declaration for the FO namespace? Or are you
using a non-namespace-aware XML parser?
On 12.03.2007 22:27:44 Pardha Paruchuri wrote:
> All,
>
> we are getting below error message while trying to run FOP 0.20.5 servlet.
>
> javax.xml.transform.TransformerException: org.apache.fop.apps.FOPException: root must be root element
> at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:725)
> at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:425)
> at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:216)
> at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2339)
> at org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2160)
> at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1213)
> at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:668)
> at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1129)
> at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1107)
>
>
> The same code was running fine until yesterday. Could you someone
> help me what could be causing this issue. I tried running the FOP from
> command prompt just to see if it produces the same error but it ran
> fine so the problem is in running as a servlet.
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
---------------------------------
Looking for earth-friendly autos?
Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
Re: root must be root element
Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
Did you miss the namespace declaration for the FO namespace? Or are you
using a non-namespace-aware XML parser?
On 12.03.2007 22:27:44 Pardha Paruchuri wrote:
> All,
>
> we are getting below error message while trying to run FOP 0.20.5 servlet.
>
> javax.xml.transform.TransformerException: org.apache.fop.apps.FOPException: root must be root element
> at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:725)
> at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:425)
> at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:216)
> at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2339)
> at org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2160)
> at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1213)
> at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:668)
> at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1129)
> at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1107)
>
>
> The same code was running fine until yesterday. Could you someone
> help me what could be causing this issue. I tried running the FOP from
> command prompt just to see if it produces the same error but it ran
> fine so the problem is in running as a servlet.
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
RE: root must be root element
Posted by Pardha Paruchuri <pa...@yahoo.com>.
Jennifer,
I just tried restarting the servlet and that solved the issue. It may not be a memory issue as it is a small document. I will keep looking into log files and let you know if I find anything specific.
Thanks,
Pardha
Jennifer Fletcher <fl...@nettally.com> wrote:
v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} Hi Pardha,
You may have a memory issue. Can you give more memory to FOP servlet?
Also, is there plenty of disk space in the write directory?
If stopping/restarting the servlet with more memory doesnt work, I suggest we open a SR with Oracle.
+Jennifer
-----Original Message-----
From: Pardha Paruchuri [mailto:pardha_paruchuri@yahoo.com]
Sent: Monday, March 12, 2007 2:28 PM
To: fop-users@xmlgraphics.apache.org
Subject: root must be root element
All,
we are getting below error message while trying to run FOP 0.20.5 servlet.
javax.xml.transform.TransformerException: org.apache.fop.apps.FOPException: root must be root element
at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:725)
at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:425)
at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:216)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2339)
at org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2160)
at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1213)
at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:668)
at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1129)
at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1107)
The same code was running fine until yesterday. Could you someone help me what could be causing this issue. I tried running the FOP from command prompt just to see if it produces the same error but it ran fine so the problem is in running as a servlet.
Thanks
Pardha
---------------------------------
We won't tell. Get more on shows you hate to love
(and love to hate): Yahoo! TV's Guilty Pleasures list.
---------------------------------
8:00? 8:25? 8:40? Find a flick in no time
with theYahoo! Search movie showtime shortcut.
RE: root must be root element
Posted by Jennifer Fletcher <fl...@nettally.com>.
Hi Pardha,
You may have a memory issue. Can you give more memory to FOP servlet?
Also, is there plenty of disk space in the write directory?
If stopping/restarting the servlet with more memory doesn't work, I
suggest we open a SR with Oracle.
+Jennifer
-----Original Message-----
From: Pardha Paruchuri [mailto:pardha_paruchuri@yahoo.com]
Sent: Monday, March 12, 2007 2:28 PM
To: fop-users@xmlgraphics.apache.org
Subject: root must be root element
All,
we are getting below error message while trying to run FOP 0.20.5
servlet.
javax.xml.transform.TransformerException:
org.apache.fop.apps.FOPException: root must be root element
at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.j
ava:725)
at
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(Ele
mApplyTemplates.java:425)
at
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates
.java:216)
at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Trans
formerImpl.java:2339)
at
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(Transfo
rmerImpl.java:2160)
at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerIm
pl.java:1213)
at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.j
ava:668)
at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.j
ava:1129)
at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.j
ava:1107)
The same code was running fine until yesterday. Could you someone help
me what could be causing this issue. I tried running the FOP from
command prompt just to see if it produces the same error but it ran fine
so the problem is in running as a servlet.
Thanks
Pardha
_____
We won't tell. Get more on shows
<http://us.rd.yahoo.com/evt=49980/*http:/tv.yahoo.com/collections/265%0d
%0a> you hate to love
(and love to hate): Yahoo!
<http://us.rd.yahoo.com/evt=49980/*http:/tv.yahoo.com/collections/265%0d
%0a> TV's Guilty Pleasures list.