Also, I'm aware that SNI support was 
only recently added and has not officially been announced yet. I was one
 of the people testing the SNI functionality. But I also know that SNI 
is slated for official release in 9.3.0.  
 
:) 
 
Steve Sobol - Lobos Studios wrote:
  
Joakim: 
   
I'm already running Java 8 on this particular server, so I'm set there. I
 am going to upgrade to Jetty 9.3.0 as soon as it is released. 
   
I am doing some local testing using RC0 before I do the upgrade on the 
live server. 
   
   
On the live server, I am declaratively doing something identical to 
this: 
   
  Server server = new Server(); 
  Server server8360 = new 
Server(); 
   
where the first Server object is listening on port 80 and the second on 
port 8360.  
   
I want to change that. I have a couple websites sitting at 
127.0.0.1:8360 and an Apache httpd listening on port 443 and proxying 
requests to 127.0.0.1:8360. I did that because Apache supports SNI and 
Jetty, pre-9.3.0, does not.  
   
To further clarify: here's my start.ini 
   
  OPTIONS=Server,websocket,resources,ext 
  threads.min=10 
  threads.max=200 
  threads.timeout=60000 
  jetty.host=www2-sfo.lobosstudios.com 
  jetty.port=8100 
  jetty.dump.start=false 
  jetty.dump.stop=false 
   
  etc/jetty.xml 
  etc/jetty8360.xml 
   
  OPTIONS=jsp 
  #=========================================================== 
  # HTTP Connector 
   
  jetty.port=80 
  http.timeout=30000 
  etc/jetty-http.xml 
  etc/jetty-http8360.xml 
   
  # 
=========================================================== 
  # Enable servlet 3.1 annotations 
  # 
----------------------------------------------------------- 
   
  OPTIONS=annotations 
  etc/jetty-annotations.xml 
   
  # 
=========================================================== 
  # Enable additional webapp 
environment configurators 
  # 
----------------------------------------------------------- 
   
  OPTIONS=plus 
  etc/jetty-plus.xml 
   
  #=========================================================== 
  # Webapplication Deployer 
  #----------------------------------------------------------- 
   
  etc/jetty-deploy.xml 
  etc/jetty-deploy8360.xml 
   
  #=========================================================== 
  # stderr/stdout logging. 
  # The following configuration 
will
 redirect stderr and stdout 
  # to file which is rolled over 
daily. 
  #----------------------------------------------------------- 
  jetty.log.retain=90 
  etc/jetty-logging.xml 
   
   
  #=========================================================== 
  # The start.d directory contains
 
the active start.ini fragments 
  start.d/ 
   
   
jetty.xml defines a server that listens on port 80, with a 
ServerConnector configured in my jetty-http.xml. 
   
jetty8360.xml defines a server that listens on port 8360, with a 
ServerConnector configured in jetty-http8360.xml. 
   
Likewise, I have a jetty-deploy.xml that configures Jetty to monitor 
changes to /usr/local/jetty/webapps and a jetty-deploy8360.xml that 
configures Jetty to monitor changes to a separate directory, 
/usr/local/jetty/webapps-8360. 
   
I don't need or want to make any changes to the sites served on port 80.
 I want to shut down the Apache httpd proxy and uninstall Apache, and 
take the sites currently running on 127.0.0.1:8360, and have them run on
 0.0.0.0:443 instead, and let Jetty serve them directly. I need to set 
up an ExtendedSslContextFactory so I can take advantage of SNI, since I 
intend to host more than one SSL website on this server and I only have 
one IPv4 address and a handful of IPv6 addresses. 
   
Hopefully this clears things up? Let me know if you need further 
clarification. Thanks for your help. 
   
   
Joakim Erdfelt wrote:
  For starters, SNI is only supported with 
Java 8 on 
Jetty 9.3.x 
 
 SNI support was added recently, as in the
 last month. The Jetty 9.3.0.RC0 release has an early 
implementation.  urge caution here though its implementation and 
configuration are still evolving. Once Jetty 9.3.0 final hits 
then the support will be blessed and stable. 
 
 Also,
 what do you mean by "each instance"? Does that mean an 
instance of Jetty, in its own JVM? Or something else?  
  
  _______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users  
   
  --  Lobos Studios - Website and Mobile 
App
 Design & Development; IT Support; Computer Maintenance 
Toll Free  877.919.4WEB - Apple Valley 760.684.8859 - Los Angeles 
310.945.2410 - Cleveland 216.242.4010
 www.LobosStudios.com *  www.facebook.com/LobosStudios
 * @LobosStudios
    
 
 
--  Lobos Studios - Website and Mobile App
 Design & Development; IT Support; Computer Maintenance 
Toll Free  877.919.4WEB - Apple Valley 760.684.8859 - Los Angeles 
310.945.2410 - Cleveland 216.242.4010
 www.LobosStudios.com *  www.facebook.com/LobosStudios * @LobosStudios
  
 |