[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] how to Deploy RCP through JWS

Liping Du
2005-10-09 10:35
To: MICHAEL TSAI/rst@RST
cc: Subject: question
Hi everyone,


I have been trying to deploy a eclipse RCP product through Java web start but failed.
my work step is as follows:


1.I use eclipse 3.1 for linux under CentOS to create a eclipse RCP product
2.I package it to a .zip file and put it to "archives" folder under Tomcat/webapps(ps.Tomcat is running in Windows2000)
3.then I run it through Java web start but faild,the error log is as follows:
Application: DLP-Demo
App Version: 20050913173030
Archives: archives/dlp
Sys Archives: archives/swt
Architecture: x86
OS: linux
Creating application directory: /tmp/WebRCP-DLP-Demo-root
New Version available. Cleaning up...
Downloading archives...
Downloading http://172.25.78.40:8080/DLPDemo/archives/dlp.zip...
Downloading sysarchives...
Downloading http://172.25.78.40:8080/DLPDemo/archives/swt/linux-x86.zip...
Waiting for unpacking to finish...
Starting launcher...
Exit code: 13
Eclipse exited with error: 13
and my jnlp file:
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+" codebase="http://172.25.78.40:8080/DLPDemo/"; href="index.jnlp">
<information>
<title>DLP Demo</title>
<vendor>DLP Team</vendor>
<homepage href="index.html"/>
<description>DLP RCP Demo</description>
<description kind="short">DLP RCP Demo</description>
<icon href="icon.jpeg"/>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.3+" href="http://java.sun.com/products/autodl/j2se"/>
<j2se version="1.3"/>
<jar href="webrcp.jar"/>
<property name="osgi.bundles" value="org.eclipse.core.runtime@2:start, org.eclipse.update.configurator@3:start"/>
<property name="eclipse.product" value="com.ricoh.dlp.prototype.dlp"/>
<property name="webrcp.appName" value="DLP-Demo"/>
<property name="webrcp.appVersion" value="20050913173030"/>
<property name="webrcp.archives" value="archives/dlp"/>
<property name="webrcp.sysArchives" value="archives/swt"/>
<property name="webrcp.location" value="http://172.25.78.40:8080/DLPDemo/index.jnlp"/>
</resources>
<application-desc/>
</jnlp>


I couldn't fix the problem until now,and Would you mind to tell me how to deploy a eclipse RCP product use webrcp?
Thank you very much.


Best Regards.