I posted about this before but thought I would follow-up as I had done
some more research.
 
Problem - I am unable to bind to port 443 when specifying "user-name"
and "group-name". I get the following exception.

java.lang.UnsupportedOperationException
        at com.caucho.server.port.Port.bind(Port.java:794)
        at
com.caucho.server.cluster.ClusterServer.bind(ClusterServer.java:338)
        at com.caucho.server.resin.Resin.initMain(Resin.java:1067)
        at com.caucho.server.resin.Resin.main(Resin.java:1259)


I looked at the source below and see that the
UnsupportedOperationException is thrown when any time this method has
been called and a SSLFactory has been set. This might be a bug but I'm
more inclined to think that I mis-configured something.

Does anyone have some suggestions as to where I might look?

Thanks,
Tim

========= source for reference ============

public class Port
  /**
   * Starts the port listening.
   */
  public void bind(QServerSocket ss)
    throws Exception
  {
    if (ss == null)
      throw new NullPointerException();

    _isBound = true;

    if (_protocol == null)
      throw new IllegalStateException(L.l("`{0}' must have a configured
protocol before starting.", this));

    _admin.register();

    _serverSocket = ss;

    String scheme = _protocol.getProtocolName();
    
    if (_address != null)
      log.info(scheme + " listening to " + _address + ":" + _port);
    else
      log.info(scheme + " listening to *:" + _port);

    if (_sslFactory != null) {
      throw new UnsupportedOperationException();
    }

    if (_tcpNoDelay)
      _serverSocket.setTcpNoDelay(_tcpNoDelay);

    _serverSocket.setConnectionSocketTimeout((int) getSocketTimeout());
  }


_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to