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 "Benjohn P. Villedo" <bv...@chpii.com> on 2004/03/22 09:12:45 UTC

url port 8080

hi all,

Good Day!!!

am not sure if this is the right place to post this i just hope to get all 
the help i could... here it is i am able to access fop with the url

http://localhost:8080/fop?fo=/usr/local/fop/examples/fo/basic/fonts.fo

or with cocoon implementation with the url 

http://localhost:8080/cocoon/xml-files/xml-file1.pdf

is there a means by which i could access those web applications 
without port 8080??

i am actually able to do it with my other JSP web applications but the 
method i use for my other web applications when implemented on 
fop or cocoon wont work... here is what i did

inside server.xml of tomcat i placed the context
~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
<!-- Define Cocoon Context -->
<Context path="/cocoon" docBase="/var/www/cocoon" debug="3"
	reloadable="true" crossContext="true">
<Logger className="org.apache.catalina.logger.FileLogger"
	prefix="localhost_cocoon_log." suffix=".txt"
	timestamp="true"/>
</Context>
~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=

mod_jk.conf file added the line
~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
JkMount /cocoon/* worker1
~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=

but still doesn't work... any hint or tip would be very much 
appreciated... all the best!!!

pal,
benjohn


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Re: url port 8080

Posted by "Benjohn P. Villedo" <bv...@chpii.com>.
i just thought its possible to access fop without the ports so as the 
user wont need to be bothered with those ports numbers during 
entry... will follow ur suggestions... thanks a lot :-)

> > 
> 
> The Cocoon-user list may also be of help here.  But
> I'm missing something--I don't see how any of this
> could possibly change your servlet port (parameters
> that use numeric attributes would appear to be more
> plausible, no?  ;)
> 
> Glen

all the best!!!

pal,
benjohn


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Re: url port 8080

Posted by "J.Pietschmann" <j3...@yahoo.de>.
Glen Mazza wrote:
> I'm not sure--it's been a while since I've personally
> worked with Tomcat.  The tomcat-user list is probably
> the best resource for you--this also looks like a
> (very) FAQ question--that of changing the port the
> servlet container listens to--so you may want to check
> the Tomcat website as well.

Tomcat's HTTP connector listens on 8080 by default, in addition
to the JK connector. The HTTP connector can be disabled or changed,
but I believe the OP asked why it doesn't work through the Apache
front end. Of course, the tomcat-user list seems to be the primary
ressource, I'd also check cocoon-user.

J.Pietschmann

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Re: url port 8080

Posted by Glen Mazza <gr...@yahoo.com>.
--- "Benjohn P. Villedo" <bv...@chpii.com> wrote:
> 
> is there a means by which i could access those web
> applications 
> without port 8080??
> 

I'm not sure--it's been a while since I've personally
worked with Tomcat.  The tomcat-user list is probably
the best resource for you--this also looks like a
(very) FAQ question--that of changing the port the
servlet container listens to--so you may want to check
the Tomcat website as well.


> 
> inside server.xml of tomcat i placed the context
> ~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
> <!-- Define Cocoon Context -->
> <Context path="/cocoon" docBase="/var/www/cocoon"
> debug="3"
> 	reloadable="true" crossContext="true">
> <Logger
> className="org.apache.catalina.logger.FileLogger"
> 	prefix="localhost_cocoon_log." suffix=".txt"
> 	timestamp="true"/>
> </Context>
> ~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
> 
> mod_jk.conf file added the line
> ~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
> JkMount /cocoon/* worker1
> ~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
> 
> but still doesn't work... any hint or tip would be
> very much 
> appreciated... all the best!!!
> 

The Cocoon-user list may also be of help here.  But
I'm missing something--I don't see how any of this
could possibly change your servlet port (parameters
that use numeric attributes would appear to be more
plausible, no?  ;)

Glen


> pal,
> benjohn
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org