Hi All,
trying to run Karaf embedded within web application deployed to Jetty or
JBoss. Yes, I know this is suboptimal, but well, I need it have it
running inside some web container.
So I managed to run Karaf by calling Main() within some web listener
(invoked from web.xml), but:
- hot deploy does not seem to work: OSGi bundles copied into
WEB-INF/karaf/deploy are ignored (nothing happens)
- I can't connect to local or remote console - even though I put system
properties (System.setProperty("karaf.startLocalConsole",
"true");System.setProperty("karaf.startRemoteShell", "true");) which
should (AFAIK) start the console
The question is if I'm hitting the limits of what embedded Karaf can do,
or (most probably) I do it wrong. Is there any complete example of
having fully-fledged Karaf running in embedded mode?
--
Tomasz Kaczanowski
Senior Software Engineer
Software Mind SA| Where Quality Meets the Future
ul. Bociana 22a
31-231 Krakow
Poland
Tel. +48 12 252 34 00
Fax: +48 12 252 34 01
[email protected]
skype: tkaczanowski_sm
http://www.softwaremind.pl
Software Mind SA based in Krakow at ul. Bociana 22A, 31-231 Krakow
NIP 9452012822, seed capital PLN 500,000.00 (fully paid up)
District Court Kraków Śródmieście, XI Economics Department
of the National Court Register, KRS 0000300409
****************************** LEGAL DISCLAIMER*************************
This email may contain confidential and privileged material for the
sole use of the intended recipient(s). Any review, use, retention,
distribution or disclosure by others is strictly prohibited. If you are
not the intended recipient (or authorized to receive for the
recipient), please contact the sender by reply email and delete all
copies of this message. Also, email is susceptible to data corruption,
interception, tampering, unauthorized amendment and viruses. We only
send and receive emails on the basis that we are not liable for any
such corruption, interception, tampering, amendment or viruses or any
consequence thereof.