ITeye博客

OSGI 远程console登录

huangxiaobing · 2010-02-20 09:24 · Linux · 企业架构 · Markdown

在OSGI启动中增加port参数:osgi.console = 9527 ,注意启动参数和config.ini的参数不能重复

 

启动命令:java -jar org.eclipse.osgi.jar

config.ini配置文件:

#Assign Bundle's start order

osgi.bundles=plugins/TestOSGI@start,\

org.eclipse.osgi.services@start

osgi.bundles.defaultStartLevel=4

org.osgi.framework.bootdelegation=org.*,sun.*,javax.*,com.sun.*

osgi.noShutdown=true

osgi.console=1230

eclipse.ignoreApp=true

 

启动后就可以使用:telnet 127.0.0.1 9527登录

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。