문제

I am using the OSGI framework, mainly Equinox.

I know how to get bundles working on a local system.

osgi> install file:path/to/file

or if theyre in a remote location then:

osgi> install http://ip_addressordomain:filelocation

How do I have it so I can have my osgi console running on Machine A and from it start and run a bundle on Machine B?

도움이 되었습니까?

해결책

There are a couple of options. You can tell Equinox to create the console on a TCP/IP port rather than using standard input, for example:

java -jar org.eclipse.osgi_blah.jar -console 9999

... and now you can telnet into the machine on port 9999. Bear in mind however that this is very insecure, so not something you should do in a production environment.

Alternatively you can use the Felix Web Console, which will give you a full web-based management console for the OSGi framework.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top