Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » RCP3.2.1 & JNLP , Application doesn't launch
RCP3.2.1 & JNLP , Application doesn't launch [message #459995] Mon, 11 December 2006 01:49 Go to next message
Eclipse UserFriend
Originally posted by: lzkbeijing.163.com

Hi,

When I open the JNLP file in a browser, Java Web Start finds all the jars and downloads them and asks for the permission to start the application. But after that nothing happens.

iceland

----------------errors---------------

!SESSION Mon Dec 11 09:48:49 CST 2006 ------------------------------------------
!ENTRY org.eclipse.core.launcher 4 0 2006-12-11 09:48:49.96
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.NullPointerException
at java.util.Hashtable.put(Unknown Source)
at org.eclipse.core.launcher.WebStartMain.basicRun(WebStartMain .java:58)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.WebStartMain.main(WebStartMain.jav a:40)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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(Unknown Source)
Re: RCP3.2.1 & JNLP , Application doesn't launch [message #460003 is a reply to message #459995] Mon, 11 December 2006 10:42 Go to previous messageGo to next message
Alex Blewitt is currently offline Alex BlewittFriend
Messages: 946
Registered: July 2009
Senior Member
Looks like it's missing a property, possibly something like 'osgi.ws' in your JNLP resources file. What does it look like? PS Posting it to EclipseZone, surround it by (xml) and (/xml) to prevent browser mangling, except using [] instead of ()

Alex.
Re: RCP3.2.1 & JNLP , Application doesn't launch [message #460030 is a reply to message #460003] Tue, 12 December 2006 02:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: lzkbeijing.163.com

------=_Part_1360_11920891.1165889968017
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

pls see the attachment below.
------=_Part_1360_11920891.1165889968017
Content-Type: text/plain; name=examples.jnlp.txt; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=examples.jnlp.txt

<?xml version="1.0" encoding="UTF-8"?>
<jnlp
spec="1.0+"
codebase="file:/d:/temp/examples"
href="examples.jnlp">

<information>
<title>Examples RCP Application</title>
<vendor>Jerome</vendor>
<homepage href="http://www.eclipse.org"/>
<description>Examples RCP Application</description>
<icon kind="splash" href="splash.gif"/>
<offline-allowed/>
</information>
<security>
<all-permissions/>
</security>

<application-desc main-class="org.eclipse.core.launcher.WebStartMain">
<argument>-nosplash</argument>
</application-desc>
<resources>
<j2se version="1.4+" />
<jar href="startup.jar"/>
<extension
name="Examples RCP Feature"
href="features/com.ibm.csdl.guardian.examples.feature_1.0.0.jnlp "/>
<property
name="osgi.instance.area"
value="@user.home/Application Data/examples"/>
<property
name="osgi.configuration.area"
value="@user.home/Application Data/examples"/>
<property
name="eclipse.product"
value="com.ibm.csdl.guardian.examples.product"/>
</resources>
</jnlp>

------=_Part_1360_11920891.1165889968017--
Re: RCP3.2.1 & JNLP , Application doesn't launch [message #460041 is a reply to message #460030] Tue, 12 December 2006 09:23 Go to previous messageGo to next message
Alex Blewitt is currently offline Alex BlewittFriend
Messages: 946
Registered: July 2009
Senior Member
That looks OK. What about the other JNLP feature? Presumably it uses the RCP feature internally, too, and you've got an RCP feature.jnlp there as well?

Also, what OS?

Alex.
Re: RCP3.2.1 & JNLP , Application doesn't launch [message #460474 is a reply to message #460041] Thu, 21 December 2006 09:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: lucas.bigeardel.anyware-tech.com

Pb is Eclipse 3.2.1 "deploy as Feature with JNLP options" exports jars
with additional release tags like :

<plugin.name>_3.2.1.<R32x_>.I<YYYYMMDD>.jar where <R32x_> or <R321_> are
the incriminated release tags.

It causes NPE in WebStartMAin.basicRun(...) line 58.

Practically, from WebStart point of view, you may have a valid root JNLP
file and download jars to your sandbox without problem and nothing seems
to happen because of this silent exception in startup.jar.

see : https://bugs.eclipse.org/bugs/show_bug.cgi?id=168747

HTH,

- LuCaS

Alex Blewitt a écrit :
> That looks OK. What about the other JNLP feature? Presumably it uses the RCP feature internally, too, and you've got an RCP feature.jnlp there as well?
>
> Also, what OS?
>
> Alex.
Re: RCP3.2.1 & JNLP , Application doesn't launch [message #460634 is a reply to message #460474] Sun, 24 December 2006 09:28 Go to previous messageGo to next message
Pascal Rapicault is currently offline Pascal RapicaultFriend
Messages: 333
Registered: July 2009
Location: Ottawa
Senior Member
This has been fixed in the M leading build toward 3.2.2.

"lb" <lucas.bigeardel@anyware-tech.com> wrote in message
news:emdlk8$etq$1@utils.eclipse.org...
> Pb is Eclipse 3.2.1 "deploy as Feature with JNLP options" exports jars
> with additional release tags like :
>
> <plugin.name>_3.2.1.<R32x_>.I<YYYYMMDD>.jar where <R32x_> or <R321_> are
> the incriminated release tags.
>
> It causes NPE in WebStartMAin.basicRun(...) line 58.
>
> Practically, from WebStart point of view, you may have a valid root JNLP
> file and download jars to your sandbox without problem and nothing seems
> to happen because of this silent exception in startup.jar.
>
> see : https://bugs.eclipse.org/bugs/show_bug.cgi?id=168747
>
> HTH,
>
> - LuCaS
>
> Alex Blewitt a
Re: RCP3.2.1 & JNLP , Application doesn't launch [message #460675 is a reply to message #459995] Wed, 27 December 2006 09:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sheng.clanfang.com

Hi,

I've got the same problem, the same project export, works with 3.2, but
not with 3.2.1 .

As what I read, it's a bug of Eclipse 3.2.1 release, so I have returned to
the release 3.2, or you can usr 3.2.2 Milestone versions.

Regards,

Sheng Fang
Re: RCP3.2.1 & JNLP , Application doesn't launch [message #460707 is a reply to message #459995] Thu, 28 December 2006 19:59 Go to previous message
Eclipse UserFriend
Originally posted by: devals9.hotmail.com

Hi,
Have you tried WebRCP. It is a framework over webstart. It works great for me.
http://sourceforge.net/projects/webrcp/
Previous Topic:Table/View size
Next Topic:DAO
Goto Forum:
  


Current Time: Fri Apr 26 04:32:52 GMT 2024

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

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

Back to the top