Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Equinox Webstart Problem
icon9.gif  Equinox Webstart Problem [message #1692153] Tue, 14 April 2015 02:11 Go to next message
zhang liang is currently offline zhang liangFriend
Messages: 4
Registered: April 2015
Junior Member
I write a simple plugin project (choose" standard osgi" ) in Eclipse,then I write a jnlp file.
I resigned all the jars I need to use.

But when I run the jnlp I got a problem.

gogo: InterruptedException: sleep interrupted

and no more prompt

My jdk is 7 up45.

My JNLP file is

<?xml version="1.0" encoding="UTF-8"?> 
<!--codebase 属性指出搜索应用程序资源的顶级URL,下面的icon/jar元素都是以这个URL为基本.--> 
<jnlp codebase="file:/d:/webstart">  
    <information> 
        <!-- 在"开始"-"运行"菜单中输入"javaws"或"javaws -viewer"启动Web Start,会看到客户端已经安装的webstart应用程序--> 
        <!-- title :应用程序标题 vendor:供应商 title/vendor 元素必须,会显示在用"javaws -viewer"命令 打开的应用程序缓存查看器(Java Application Cache Viewer)中-->
      <title>OSGI WebStart Test</title> 
        <vendor>Akira Zhang</vendor> 
        <description>OSGI WebStart Test</description> 
        <!--homepage :存放有关应用程序的相关文档的URL,如help文件等,仅仅是description作用-->

        <!--icon 指定图标会显示在应用程序缓存查看器中,在查看器中新建webstart快捷方式到桌面时也会显示为快捷方式图标, 只支持GIF/JPEG格式,其它格式无效--> 

        <!--splash 在sun的文档中提到会出现在webstart启动时的闪屏中,不过可能由于速度问题,我没有观察到--> 

        <!-- 允许离线启动,可以使用javaws -offline命令--> 
        <offline-allowed/> 
    </information> 
	
	<security>
		<all-permissions/>
	</security>
	
    <resources> 
        <!-- 指定客户端需要安装的j2se版本,下面指定为1.5+,如果版本是1.4,在链接此jnlp文件时会提示更新j2se版本--> 
        <j2se version="1.4+"/> 
        <!-- 指定要下载到本地的jar文件(注意,所有的文件都需要打包才能够下载),可以包含一些资源文件,如icons/configuration files,可以使用getResource方法取得--> 
 		<jar href="./osgi/org.apache.felix.gogo.command_0.10.0.v201209301215.jar"/>
		<jar href="./osgi/org.apache.felix.gogo.runtime_0.10.0.v201209301036.jar"/>
		<jar href="./osgi/org.apache.felix.gogo.shell_0.10.0.v201212101605.jar"/>
		<jar href="./osgi/org.apache.log4j_1.2.15.v201012070815.jar"/>
		<jar href="./osgi/org.eclipse.equinox.console_1.1.0.v20140131-1639.jar"/>
		<jar href="./osgi/org.eclipse.equinox.util_1.0.500.v20130404-1337.jar"/>
		<jar href="./osgi/org.eclipse.osgi.services_3.4.0.v20140312-2051.jar"/>
		<jar href="./osgi/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar"/>
		<jar href="./org.eclipse.osgi_3.10.0.v20140606-1445.jar"/>
		<jar href="./plugins/WebstartTest_1.0.0.alpha.jar"/>
		<!-- OSGI setup -->
		<property name="jnlp.eclipse.security" value="osgi"/>
		 <property name="osgi.instance.area" value="@user.home/instance/"/>
        <property name="osgi.configuration.area" value="@user.home/config/"/>
        <property name="osgi.install.area" value="@user.home/"/> 
        <property name="eclipse.product" value="app.id"/>
        <property name="eclipse.application" value="app"/>
        <property name="osgi.splashPath" value="platform:/base/plugins/app"/>
        <property name="osgi.nl" value="tr"/> 
		<property name="jnlp.osgi.parentClassloader" value="current"/>
	</resources> 
    <!--application-desc 必须,指定webstart启动时执行jar文件中的哪个类--> 
    <application-desc main-class="org.eclipse.equinox.launcher.WebStartMain"/>
	</jnlp>



sorry for my poor English and thank you for ur help!
Re: Equinox Webstart Problem [message #1692380 is a reply to message #1692153] Wed, 15 April 2015 12:14 Go to previous message
zhang liang is currently offline zhang liangFriend
Messages: 4
Registered: April 2015
Junior Member
any help?
Previous Topic:Eclipse start with agentlib jdwp detect if choosen port is already in use
Next Topic:Conflicting Dependency while updating RCP app using p2
Goto Forum:
  


Current Time: Sun Nov 18 23:12:13 GMT 2018

Powered by FUDForum. Page generated in 0.01446 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top