Re: web container not working on installing web

2017-11-19 Thread Achim Nierbeck
Hi,

as long as you don't have any application using the war feature you won't
be able to access the server.
It waits till the first WAB or other web related bundle is deployed and
will serve it's content when available.

regards, Achim


2017-11-17 16:34 GMT+01:00 Saravanakumar Murugesan :

> Hi
>
> I installed war feature, on executing feature install war.
>
> I got log messages as below in karaf.log
>
> 34:35,545 | INFO  | paxweb-config-1-thread-1 | JettyFactoryImpl
>  | 100 - org.ops4j.pax.web.pax-web-jetty - 6.0.6 | HTTP/2 not
> available, creating standard ServerConnector for Http
> 2017-11-17T20:34:35,546 | INFO  | paxweb-config-1-thread-1 |
> JettyServerImpl  | 100 - org.ops4j.pax.web.pax-web-jetty
> - 6.0.6 | Pax Web available at [0.0.0.0]:[8181]
>
> I tried connecting localhost:8181, it does not work and it says connection
> refused.
>
> I attached logs .
>
> I would like to know the reason for connection refused error.
>
> thank you for your help
>
>
> cheers
> MSK
>



-- 

Apache Member
Apache Karaf  Committer & PMC
OPS4J Pax Web  Committer &
Project Lead
blog 
Co-Author of Apache Karaf Cookbook 

Software Architect / Project Manager / Scrum Master


web container not working on installing web

2017-11-17 Thread Saravanakumar Murugesan
Hi

I installed war feature, on executing feature install war.

I got log messages as below in karaf.log

34:35,545 | INFO  | paxweb-config-1-thread-1 | JettyFactoryImpl
 | 100 - org.ops4j.pax.web.pax-web-jetty - 6.0.6 | HTTP/2 not
available, creating standard ServerConnector for Http
2017-11-17T20:34:35,546 | INFO  | paxweb-config-1-thread-1 |
JettyServerImpl  | 100 - org.ops4j.pax.web.pax-web-jetty -
6.0.6 | Pax Web available at [0.0.0.0]:[8181]

I tried connecting localhost:8181, it does not work and it says connection
refused.

I attached logs .

I would like to know the reason for connection refused error.

thank you for your help


cheers
MSK


karaf.log
Description: Binary data