Re site problems, here is server.xml

2005-11-21 Thread Scott Purcell
Here is the actual server.xml file:

Server port=8005 shutdown=SHUTDOWN

  Listener 
className=org.apache.catalina.storeconfig.StoreConfigLifecycleListener/
  Service name=Catalina
Connector port=80   maxHttpHeaderSize=8192
   maxThreads=150 minSpareThreads=25 maxSpareThreads=75
   enableLookups=false redirectPort=8443 acceptCount=100
   connectionTimeout=2 disableUploadTimeout=true /

!-- Define an AJP 1.3 Connector on port 8009 --
Connector port=8009 
   enableLookups=false redirectPort=8443 protocol=AJP/1.3 /

!-- Define a Proxied HTTP/1.1 Connector on port 8082 --
!-- See proxy documentation for more information about using this. --
!--
Connector port=8082 
   maxThreads=150 minSpareThreads=25 maxSpareThreads=75
   enableLookups=false acceptCount=100 connectionTimeout=2
   proxyPort=80 disableUploadTimeout=true /
--


Engine name=Catalina defaultHost=localhost

  Host name=www.mySite.com appBase=webapps/
   unpackWARs=true autoDeploy=true
   xmlValidation=false xmlNamespaceAware=false
Context path= docBase=/mySite /


  /Host


/Engine

  /Service

/Server




-Original Message-
From: Hassan Schroeder [mailto:[EMAIL PROTECTED]
Sent: Monday, November 21, 2005 10:43 AM
To: Tomcat Users List
Subject: Re: Tomcat 5.5 configure site to web problems


Scott Purcell wrote:

 But after that, I am having more problems. Each time a user goes 
 to the site, they get two JSESSIONIDS, and have to click on the
 first buttons two times?

Uh, right. first buttons? Sorry, crystal ball doesn't work this
early on Mondays...

 with the entry in the server.xml, I cannot create another site on
 the box and call it with localhost or 127.0.0.1 Anyway to get
 around this.

Again, no idea what you mean by the above; it's perfectly possible
to have multiple hosts defined in server.xml, as the doc indicates.

Perhaps if you posted your actual server.xml file (with, *please*,
all the irrelevant comment sections removed!) someone could help...

-- 
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

  dream.  code.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Re site problems, here is server.xml

2005-11-21 Thread Hassan Schroeder
Scott Purcell wrote:

 Engine name=Catalina defaultHost=localhost
 
   Host name=www.mySite.com appBase=webapps/
unpackWARs=true autoDeploy=true
xmlValidation=false xmlNamespaceAware=false
 Context path= docBase=/mySite /
 
   /Host
 /Engine

So, what's the issue? You have a defaultHost in your Engine element
that doesn't exist; add a Host element for it.

Note: it's no longer recommended to put your Context elements in
server.xml -- see the docs for alternatives.

-- 
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

  dream.  code.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Re site problems, here is server.xml

2005-11-21 Thread Scott Purcell
I do not understand your comments. Could you give me a link to what part of the 
docs you are referring to?


-Original Message-
From: Hassan Schroeder [mailto:[EMAIL PROTECTED]
Sent: Monday, November 21, 2005 11:00 AM
To: Tomcat Users List
Subject: Re: Re site problems, here is server.xml


Scott Purcell wrote:

 Engine name=Catalina defaultHost=localhost
 
   Host name=www.mySite.com appBase=webapps/
unpackWARs=true autoDeploy=true
xmlValidation=false xmlNamespaceAware=false
 Context path= docBase=/mySite /
 
   /Host
 /Engine

So, what's the issue? You have a defaultHost in your Engine element
that doesn't exist; add a Host element for it.

Note: it's no longer recommended to put your Context elements in
server.xml -- see the docs for alternatives.

-- 
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

  dream.  code.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Re site problems, here is server.xml

2005-11-21 Thread Caldarale, Charles R
 From: Scott Purcell [mailto:[EMAIL PROTECTED] 
 Subject: RE: Re site problems, here is server.xml
 
 I do not understand your comments. Could you give me a link 
 to what part of the docs you are referring to?

http://tomcat.apache.org/tomcat-5.5-doc/config/index.html

Read up on the three Containers linked to from the left side of the
page.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Re site problems, here is server.xml

2005-11-21 Thread Hassan Schroeder
Scott Purcell wrote:
 I do not understand your comments. Could you give me a link to 
 what part of the docs you are referring to?

http://tomcat.apache.org/tomcat-5.5-doc/config/engine.html
  -- look at the entry for 'defaultHost' --

http://tomcat.apache.org/tomcat-5.5-doc/config/host.html

http://tomcat.apache.org/tomcat-5.5-doc/config/context.html

-- 
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

  dream.  code.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]