RCp application with webstart [message #42648] |
Tue, 01 June 2004 19:15  |
Eclipse User |
|
|
|
Originally posted by: anupama20.hotmail.com
Hi ,
I was trying to install the rcp example from the rcp tutorial (browser
app) using webstart, but was unable to do so.
I jared all the files under the directory in which I installed this RCP
app(where it can be used with run.cmd) and then created a directory under
tomcat/webapp and put evrything ther and created ajnlp, signed jars.
When I click the link in the browser it downloads files and does nothing.
In the log file where the files are downloaded this is the exception.
Could somebody shed some light????
Thanks
-Anupama
SESSION Tue Jun 01 16:21:32 PDT 2004
------------------------------------------
!ENTRY org.eclipse.core.launcher 4 0 Jun 01, 2004 16:21:32.289
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.RuntimeException: Could not find framework
at org.eclipse.core.launcher.Main.getBootPath(Main.java:357)
at org.eclipse.core.launcher.Main.basicRun(Main.java:174)
at org.eclipse.core.launcher.Main.run(Main.java:638)
at org.eclipse.core.launcher.Main.main(Main.java:622)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Thread.java:536)
|
|
|
|
Re: RCp application with webstart [message #42709 is a reply to message #42680] |
Wed, 02 June 2004 11:12  |
Eclipse User |
|
|
|
Originally posted by: anupama20.hotmail.com
My jar contains the entire browserapp directory with the structure like
the deployed browserapp directory structure.
I also tried with pulling out just the browser.jar + rest of the files in
the jar file.
Thanks
-Anupama
Here is my jnlp file--
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+" codebase="http://localhost:8080/browserapp"
href="index.jnlp">
<information>
<title>BrowserApp</title>
<vendor>Callidus software</vendor>
<homepage href="index.html"/>
<description>BrowserApp</description>
<description kind="short">BrowserApp</description>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.4"/>
<jar href="startup.jar"/>
</resources>
<resources os="Windows">
<jar href="browser.jar"/>
<jar href="browserapp.jar"/>
</resources>
<application-desc main-class="org.eclipse.core.launcher.Main">
<argument>-application org.eclipse.ui.examples.rcp.browser.app -debug
-consoleLog</argument>
</application-desc>
</jnlp>
Pascal Rapicault wrote:
> How is your jar structured?
> What does it contain?
> anupama wrote:
> > Hi ,
> > I was trying to install the rcp example from the rcp tutorial (browser
> > app) using webstart, but was unable to do so.
> > I jared all the files under the directory in which I installed this RCP
> > app(where it can be used with run.cmd) and then created a directory under
> > tomcat/webapp and put evrything ther and created ajnlp, signed jars.
> > When I click the link in the browser it downloads files and does nothing.
> > In the log file where the files are downloaded this is the exception.
> > Could somebody shed some light????
> > Thanks
> > -Anupama
> > SESSION Tue Jun 01 16:21:32 PDT 2004
> > ------------------------------------------
> > !ENTRY org.eclipse.core.launcher 4 0 Jun 01, 2004 16:21:32.289
> > !MESSAGE Exception launching the Eclipse Platform:
> > !STACK
> > java.lang.RuntimeException: Could not find framework
> > at org.eclipse.core.launcher.Main.getBootPath(Main.java:357)
> > at org.eclipse.core.launcher.Main.basicRun(Main.java:174)
> > at org.eclipse.core.launcher.Main.run(Main.java:638)
> > at org.eclipse.core.launcher.Main.main(Main.java:622)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> >
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
> > at
> >
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
> > at java.lang.reflect.Method.invoke(Method.java:324)
> > at com.sun.javaws.Launcher.executeApplication(Unknown Source)
> > at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
> > at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
> > at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
> > at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
> > at com.sun.javaws.Launcher.run(Unknown Source)
> > at java.lang.Thread.run(Thread.java:536)
> >
> >
|
|
|
Powered by
FUDForum. Page generated in 1.07007 seconds