Hi,
you need to add at least one servlet (or webapp) to bind the port. Just
war feature doesn't actually start the Jetty connector.
For instance, install the webconsole feature, and you will see 8181
bound (by default).
Regards
JB
On 07/16/2015 08:21 AM, jtkb wrote:
Hi,
I'm having problems installing the Pax-War feature in Karaf 4.0.0
From a fresh install of Karaf 4.0.0 install the pax-war feature with
'feature:install pax-war'.
The log shows it as installed and a server instance started:
2015-07-16 07:16:23,254 | INFO | pool-29-thread-1 |
JettyFactoryImpl | 89 - org.ops4j.pax.web.pax-web-jetty
- 4.1.4 | SPDY not available, creating standard ServerConnector for Http
2015-07-16 07:16:23,293 | INFO | pool-29-thread-1 |
JettyServerImpl | 89 - org.ops4j.pax.web.pax-web-jetty
- 4.1.4 | Pax Web available at [0.0.0.0]:[8181]
However if I check the open ports with 'netstat' there is not 8181 port
open on any interface.
Also I experienced problems shutting down Karaf with the command line
'stop' command in bin. The only way to stop it was to either kill the
process or log back in and issue the system:shutdown command.
I'm running on Linux Mint Debian 17.1
Kerry
--
View this message in context:
http://karaf.922171.n3.nabble.com/Installing-Feature-Pax-War-in-Karaf-4-0-0-No-server-Instance-started-tp4041454.html
Sent from the Karaf - User mailing list archive at Nabble.com.
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com