On 8/9/2012 10:59 AM, Massimo Chirivì - Ict Consultant wrote:
i attach the correct file, but on the server tomcat the file was corrected
but the problem remains.

This file has numerous problems.

You have been pointed at the documentation.
You have had several people point out the problems.

You have not incorporated any of the fixes that several people have recommended that you implement.

1. Your Host setup is at best not in keeping with good practices

http://wiki.apache.org/tomcat/TomcatDevelopmentVirtualHosts

2. You have Context elements in your server.xml

Again, this is not a good practice

3. You are using the wrong SSL Connector configuration

From other logs, you are loading the APR native libraries. See

http://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html#Configuration

4. You have deleted a lot of the Listeners from the stock server.xml

Here's what you should do.

1. Start with a clean server.xml from tomcat.apache.org
2. Follow this document to set up virtual hosts

http://wiki.apache.org/tomcat/TomcatDevelopmentVirtualHosts

3. Add a second Service by copying the first Service and changing the
   name

4. In the second service:
   a. Delete the AJP Connector
   b. Delete the HTTP 1.1 Connector
   c. Add the SSL Connector following

http://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html#Configuration

5. Do NOT add any Context elements in server.xml

6. Use ROOT.war for each virtual host default application
   a. Package your default application into a war file
   b. Name it ROOT.war (case is important)
   c. Place it in the appBase for the targeted virtual host

7. Do not add Logger elements, or other "stuff" you think is necessary

Do these steps, and post the resulting server.xml file (without comments), inline (no attachments). The list normally strips attachments.

Your current server.xml file basically needs a complete rewrite.

/mde/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to