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 Juan Manuel Bellina <ju...@yahoo.com> on 2004/05/12 21:58:53 UTC
Executing FOP example
Finally I could install the .war file in the Tomcat
directory.
Now when I am trying to execute the example that comes
with the file distribution as show in the FOP site
(see
http://xml.apache.org/fop/servlets.html#example-servlets)
I got the following error:
"javax.servlet.ServletException:
\home\path\to\fofile.fo (The system cannot find the
path specified)
at FopServlet.doGet(Unknown Source)
"
The URL is
"http://localhost:8080/fop/fop?fo=/home/path/to/fofile.fo"
and I Imagine the problem is the "home/path/to".
My question is which value I should type?
__________________________________
Do you Yahoo!?
Yahoo! Movies - Buy advance tickets for 'Shrek 2'
http://movies.yahoo.com/showtimes/movie?mid=1808405861
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: Executing FOP example
Posted by Juan Manuel Bellina <ju...@yahoo.com>.
Thanks Cris, but still does not work.
Any order sugestion?
--- Chris Bowditch <bo...@hotmail.com> wrote:
> Juan Manuel Bellina wrote:
>
> > Thanks.
> > I 've got the idea but still does not work. The
> > cuestion is where the "example" dir should be?
> > My context is the following:
> >
> > Fop install in "C:\fop-0.20.5"
>
> In this case, the path to some sample FO would be:
>
> C:\fop-0.20.5\examples\fo\basic\simple.fo
>
> and so the URL would be
>
>
"http://localhost:8080/fop/fop?fo=c:/fop-0.20.5/examples/fo/basic/simple.fo"
>
> <snip/>
>
> Chris
>
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> fop-user-unsubscribe@xml.apache.org
> For additional commands, e-mail:
> fop-user-help@xml.apache.org
>
__________________________________
Do you Yahoo!?
Yahoo! Movies - Buy advance tickets for 'Shrek 2'
http://movies.yahoo.com/showtimes/movie?mid=1808405861
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: Executing FOP example
Posted by Chris Bowditch <bo...@hotmail.com>.
Juan Manuel Bellina wrote:
> Thanks.
> I 've got the idea but still does not work. The
> cuestion is where the "example" dir should be?
> My context is the following:
>
> Fop install in "C:\fop-0.20.5"
In this case, the path to some sample FO would be:
C:\fop-0.20.5\examples\fo\basic\simple.fo
and so the URL would be
"http://localhost:8080/fop/fop?fo=c:/fop-0.20.5/examples/fo/basic/simple.fo"
<snip/>
Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
RE: Executing FOP example
Posted by Juan Manuel Bellina <ju...@yahoo.com>.
Thanks.
I 've got the idea but still does not work. The
cuestion is where the "example" dir should be?
My context is the following:
Fop install in "C:\fop-0.20.5"
Tomcat install in "C:\jakarta-tomcat-3.3.2"
Inside of Tomcat directory I have a
"C:\jakarta-tomcat-3.3.2\webapps\fop" which was
generated after I deploy the .war file inside Tomcat
directory.
Inside "C:\jakarta-tomcat-3.3.2\webapps\fop" I have
two folders "META-INF" ad "WEB-INF".
Please if someone realize that something is missing,
please let me know.
Thanks,
Juan
--- "Andreas L. Delmelle" <a_...@pandora.be>
wrote:
> > -----Original Message-----
> > From: Andreas L. Delmelle
> [mailto:a_l.delmelle@pandora.be]
>
> > > From: Juan Manuel Bellina
> [mailto:juanmbellina@yahoo.com]
> <snip />
> > > The URL is
> > >
>
"http://localhost:8080/fop/fop?fo=/home/path/to/fofile.fo"
> > > and I Imagine the problem is the "home/path/to".
> > >
> > > My question is which value I should type?
> > >
> >
> > You could try the real location of your FO file
> > (as opposed to literally copying the uri from the
> site).
> >
>
> Or, if you don't have one, try:
>
>
http://localhost:8080/fop/fop?fo=examples/fo/basic/simple.fo
>
> Greetz,
>
> Andreas
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> fop-user-unsubscribe@xml.apache.org
> For additional commands, e-mail:
> fop-user-help@xml.apache.org
>
__________________________________
Do you Yahoo!?
Yahoo! Movies - Buy advance tickets for 'Shrek 2'
http://movies.yahoo.com/showtimes/movie?mid=1808405861
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
RE: Executing FOP example
Posted by "Andreas L. Delmelle" <a_...@pandora.be>.
> -----Original Message-----
> From: Andreas L. Delmelle [mailto:a_l.delmelle@pandora.be]
> > From: Juan Manuel Bellina [mailto:juanmbellina@yahoo.com]
<snip />
> > The URL is
> > "http://localhost:8080/fop/fop?fo=/home/path/to/fofile.fo"
> > and I Imagine the problem is the "home/path/to".
> >
> > My question is which value I should type?
> >
>
> You could try the real location of your FO file
> (as opposed to literally copying the uri from the site).
>
Or, if you don't have one, try:
http://localhost:8080/fop/fop?fo=examples/fo/basic/simple.fo
Greetz,
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
RE: Executing FOP example
Posted by "Andreas L. Delmelle" <a_...@pandora.be>.
> -----Original Message-----
> From: Juan Manuel Bellina [mailto:juanmbellina@yahoo.com]
>
Hi,
<snip />
> "javax.servlet.ServletException:
> \home\path\to\fofile.fo (The system cannot find the
> path specified)
> at FopServlet.doGet(Unknown Source)
> "
>
> The URL is
> "http://localhost:8080/fop/fop?fo=/home/path/to/fofile.fo"
> and I Imagine the problem is the "home/path/to".
>
> My question is which value I should type?
>
You could try the real location of your FO file (as opposed to literally
copying the uri from the site).
HTH!
Greetz,
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org