tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mathias P.W Nilsson" <math...@snyltarna.se>
Subject Re: Share war file / virtual hosts
Date Mon, 22 Sep 2008 20:22:00 GMT

Ok! I tested with port 8080 and 8443 as ssl port with no luck.
I only have 2 domains but tomcat complains about java.net.BindException:
Cannot assign requested address: JVM_Bind:8080. Now I guess this isn't
configured right so any pointers here would be greatly appreciated.

<?xml version="1.0" encoding="UTF-8"?>
<Server port="8005" shutdown="SHUTDOWN">
  <Listener SSLEngine="on"
className="org.apache.catalina.core.AprLifecycleListener"/>
  <Listener className="org.apache.catalina.core.JasperListener"/>
  <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"/>
  <Listener
className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"/>
  <GlobalNamingResources>
    <Resource auth="Container" description="User database that can be
updated and saved"
factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
name="UserDatabase" pathname="conf/tomcat-users.xml"
type="org.apache.catalina.UserDatabase"/>
  </GlobalNamingResources>
  <Service name="Catalina">
    <Connector connectionTimeout="20000" port="8080" address="90.2xx.xxx.x6"
protocol="HTTP/1.1" redirectPort="443"/>
    <Connector connectionTimeout="20000" port="8080" address="90.2xx.xxx.x7"
protocol="HTTP/1.1" redirectPort="443"/>

<Connector SSLEnabled="true" clientAuth="false" keystoreFile="store"
keystorePass="pass" maxThreads="150" address="90.2xx.xxx.x6" port="8443" 
redirectPort="443" protocol="HTTP/1.1" scheme="https" secure="true"
sslProtocol="TLS"/>

<Connector SSLEnabled="true" clientAuth="false" keystoreFile="store1"
keystorePass="store" maxThreads="150" address="90.2xx.xxx.x7" port="8443" 
redirectPort="443" protocol="HTTP/1.1" scheme="https" secure="true"
sslProtocol="TLS"/>
	

    <Connector port="8009" protocol="AJP/1.3" redirectPort="8443"/>
    <Engine defaultHost="localhost" name="Catalina">     

      <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase"/>

      <Host appBase="webapps" autoDeploy="true" name="localhost"
unpackWARs="true" xmlNamespaceAware="false" xmlValidation="false">
     
      </Host>
	 </Engine>
  </Service>
</Server>
-- 
View this message in context: http://www.nabble.com/Share-war-file---virtual-hosts-tp19605902p19615778.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message