Thanks for your prompt answer,
Could you be more specific on the address attr?
I have the following in the Connector element on my server.xml:

<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
        port="8080" minProcessors="5" masProcessors="75"
        enableLookups="true" redirectPort="8443"
        acceptCount="100" debug="0" connectionTimeout="20000"
        useURIValidationHack="false" disableUploadTimeout="true" />


-----Original Message-----
From: QM [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 17, 2004 6:09 PM
To: Tomcat Users List
Subject: Re: three problems

On Thu, Jun 17, 2004 at 05:44:51PM -0600, Casas, Claudia wrote:
: 1) When I go to another PC and try to access my server:
: http://my.domain.com:8080 <http://my.domain.com:8080/>   I get "The
page
: cannot be displayed"
:     but if I access http://my.domain.com:80 <http://my.domain.com/>
: (apache), it works fine
: 
: Why in this world can I access my tomcat from my server directly but
not
: from outside my server??

You must explicitly setup Tomcat to listen on IP addresses other than
"localhost" if you want to access Tomcat remotely (but not through
Apache).  Refer to the "address" attr of the <Connector> element in
server.xml.


: 2) When I run tomcat as root, my mod_jk.conf file is automatically
: created inside my conf directory.
:     But if I run it as a tomcat user, then no mod_jk.conf file is
: created.

Most likely, a permissions problem: is the directory writable to the
(non-root) user in question?


: 3) But not least, I would like to web applications through my user
: directories and not through the tomcat directory.
:     I know I have to add something in the context path area, but not
: sure what to do.

There's a config directive for this, something like "userdir."
I don't know it off the top of my head, but a search on the Tomcat site
should find it.

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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