thanks Jan,

you are right the connector was registered twice indeed.

Now I do not have anymore that stack trace and the bundle start nicely.
My next issue is that I am trying to hit https://localhost:8433 but it seems 
that nothing happens…

Should I also set the host or the host is same as the http service?

regards

antonio


On Dec 3, 2015, at 3:45 PM, Jan Willem Janssen 
<janwillem.jans...@luminis.eu<mailto:janwillem.jans...@luminis.eu>> wrote:

Hi,

On 03 Dec 2015, at 15:08, Antonio Sanso 
<asa...@adobe.com<mailto:asa...@adobe.com>> wrote:

ops it looks like the inline got messed resending

actually the Jetty HTTPS connector is not enabled.
On top I have tried to configure a different port aka 8434 but got the same 
result

03.12.2015 15:27:52.560 *ERROR* [qtp88980584-1363] org.apache.felix.http.jetty 
Failed starting connector 
'ServerConnector@2324caee{SSL-HTTP/1.1}{0.0.0.0:8434}' provided by 
[org.apache.felix.http.jetty.ConnectorFactory] (java.net.BindException: Address 
already in use)
java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:436)
at sun.nio.ch.Net.bind(Net.java:428)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:321)
at 
org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:236)
at 
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at 
org.apache.felix.http.jetty.internal.ConnectorFactoryTracker.addingService(ConnectorFactoryTracker.java:58)

I think this is more related to the host used. Should I use a different host as 
well?

I’ve updated my example project on Github to use the latest Felix Jetty JARs 
and it works fine
for the demos it contains.

The stack trace you’ve pasted doesn’t provide much information other than that 
your SSL connector
is registered twice. Hard to tell without any further information. Are you able 
to share some
code perhaps?

--
Met vriendelijke groeten | Kind regards

Jan Willem Janssen | Software Architect
+31 631 765 814

My world is revolving around INAETICS and Amdatu

Luminis Technologies B.V.
Churchillplein 1
7314 BZ   Apeldoorn
+31 88 586 46 00

http://www.luminis-technologies.com<http://www.luminis-technologies.com/>
http://www.luminis.eu<http://www.luminis.eu/>

KvK (CoC) 09 16 28 93
BTW (VAT) NL8169.78.566.B.01

Reply via email to