Hi Tomasz,
1/ for the hotdeploy folder, could you turn in debug to see if Felix
fileinstall is calling the deployer ?
2/ for the console, I guess that you talk about the ssh connection.
Could you check if the sshd server is started (for instance, checking if
the ssh and management features are correctly installed, and performing
a telnet on te given port), especially if there are some port overlap.
We can discuss about adding a war distribution of Karaf, or at least
document how to do it.
Regards
JB
On 02/01/2012 02:53 PM, Tomasz Kaczanowski wrote:
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?
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com