Hello Chuck, I don't understand why i have an WARNING: A docBase D:\tomcat\webapps\mywebapp inside the host appBase has been specified
In my web application mywebapp.xml i've defined a context : <Context path="/mywebapp" docBase="mywebapp" debug="99" reloadable="true" ... But, i think tomcat ignore that docBase because the application is on webapps. By the way this error doesn't seem to be a problem in http. Thanks for reply, Kings regards, Hevoila PS : Here the server.xml file <?xml version="1.0"?> <Server port="8005" shutdown="SHUTDOWN"> <Listener className="org.apache.catalina.core.AprLifecycleListener" /> <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" /> <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" /> <Listener className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/> <Listener className="org.apache.catalina.core.AprLifecycleListener" /> <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" /> <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" /> <Listener className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/> <GlobalNamingResources> <Environment name="simpleValue" type="java.lang.Integer" value="30"/> <Resource name="UserDatabase" auth="Container" type="org.apache.catalina.UserDatabase" description="User database that can be updated and saved" factory="org.apache.catalina.users.MemoryUserDatabaseFactory" pathname="conf/tomcat-users.xml" /> </GlobalNamingResources> <Service name="Catalina"> <Connector port="80" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" redirectPort="443" acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" /> <Connector port="443" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" disableUploadTimeout="true" acceptCount="100" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" keystoreFile="D:\myfolder\mycert.keystore" keystorePass="xxxxxx" /> <Engine name="Catalina" defaultHost="localhost"> <Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase"/> <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> <% HashMap map = (HashMap)session.getAttribute("map"); map.put("key","value"); %> </Host> </Engine> </Service> </Server> ----- Mail Original ----- De: "Charles R Caldarale" <chuck.caldar...@unisys.com> À: "Tomcat Users List" <users@tomcat.apache.org> Envoyé: Mercredi 25 Février 2009 14:55:14 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: RE: Using SSL tomcat > From: hevo...@free.fr [mailto:hevo...@free.fr] > Subject: Using SSL tomcat > > I've setup in server.xml file a listen port to 80 and define > a redirectPort to 443. > I've also activate and setup ssl section, and > adding > keystoreFile="D:\myfolder\mycert.keystore" > keystorePass="xxxxx" > and changing 443 port. Post your actual server.xml file, rather than describing what you think you changed. > I've also change the redirectPort in ajp section. If you're not using AJP, you should comment out the <Connector>, not modify it. > The only error, i have is : > WARNING: A docBase D:\tomcat\webapps\mywebapp inside the host > appBase has been specified You should fix that; remove the docBase attribute from the offending <Context> element. - 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: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org