You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by jtkb <ka...@avionicengineers.com> on 2015/07/16 08:21:25 UTC
Installing Feature Pax-War in Karaf 4.0.0 - No server Instance
started
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.
Re: Installing Feature Pax-War in Karaf 4.0.0 - No server Instance
started
Posted by jtkb <ka...@avionicengineers.com>.
Hi Achim,
Thanks for the info. By the way, I did install Pax- Web 4.0.0 in 3.0.2
and seems ok although not done any thorough testing but it looks good
Kerry
On 16/07/15 08:26, Achim Nierbeck [via Karaf] wrote:
> Hi Kerry,
>
> actually there is a war feature for your convenience, it includes the
> pax-* features and does add some extra commands for it.
> Also please note, due to user-request the connector will only be
> started with the first application that actually uses it.
> Till that point the connectors are ready to go, but still not quite
> there yet :-)
> If you install a simple application it will be ready instantly.
>
> regards, Achim
>
>
> 2015-07-16 8:21 GMT+02:00 jtkb <[hidden email]
> </user/SendEmail.jtp?type=node&node=4041456&i=0>>:
>
> 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.
>
>
>
>
> --
>
> Apache Member
> Apache Karaf <http://karaf.apache.org/> Committer & PMC
> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/>
> Committer & Project Lead
> blog <http://notizblog.nierbeck.de/>
> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>
>
> Software Architect / Project Manager / Scrum Master
>
>
>
> ------------------------------------------------------------------------
> If you reply to this email, your message will be added to the
> discussion below:
> http://karaf.922171.n3.nabble.com/Installing-Feature-Pax-War-in-Karaf-4-0-0-No-server-Instance-started-tp4041454p4041456.html
>
> To start a new topic under Karaf - User, email
> ml-node+s922171n930749h87@n3.nabble.com
> To unsubscribe from Karaf - User, click here
> <http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=930749&code=a2FyYWZAYXZpb25pY2VuZ2luZWVycy5jb218OTMwNzQ5fDE5NTcyMjgxNDc=>.
> NAML
> <http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
--
View this message in context: http://karaf.922171.n3.nabble.com/Installing-Feature-Pax-War-in-Karaf-4-0-0-No-server-Instance-started-tp4041454p4041462.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Re: Installing Feature Pax-War in Karaf 4.0.0 - No server Instance started
Posted by Achim Nierbeck <bc...@googlemail.com>.
Hi Kerry,
actually there is a war feature for your convenience, it includes the pax-*
features and does add some extra commands for it.
Also please note, due to user-request the connector will only be started
with the first application that actually uses it.
Till that point the connectors are ready to go, but still not quite there
yet :-)
If you install a simple application it will be ready instantly.
regards, Achim
2015-07-16 8:21 GMT+02:00 jtkb <ka...@avionicengineers.com>:
> 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.
>
--
Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>
Software Architect / Project Manager / Scrum Master
Re: Installing Feature Pax-War in Karaf 4.0.0 - No server Instance
started
Posted by jtkb <ka...@avionicengineers.com>.
Hi JB,
Achim just pipped you to the answer but thanks for your response, much
appreciated.
Regards
Kerry
On 16/07/15 08:28, jbonofre [via Karaf] wrote:
> 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é
> [hidden email] </user/SendEmail.jtp?type=node&node=4041457&i=0>
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
>
> ------------------------------------------------------------------------
> If you reply to this email, your message will be added to the
> discussion below:
> http://karaf.922171.n3.nabble.com/Installing-Feature-Pax-War-in-Karaf-4-0-0-No-server-Instance-started-tp4041454p4041457.html
>
> To start a new topic under Karaf - User, email
> ml-node+s922171n930749h87@n3.nabble.com
> To unsubscribe from Karaf - User, click here
> <http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=930749&code=a2FyYWZAYXZpb25pY2VuZ2luZWVycy5jb218OTMwNzQ5fDE5NTcyMjgxNDc=>.
> NAML
> <http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
--
View this message in context: http://karaf.922171.n3.nabble.com/Installing-Feature-Pax-War-in-Karaf-4-0-0-No-server-Instance-started-tp4041454p4041463.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Re: Installing Feature Pax-War in Karaf 4.0.0 - No server Instance
started
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
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é
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com