Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Deploying JNLP: my app has plugins that needs to be unpacked
Deploying JNLP: my app has plugins that needs to be unpacked [message #460072] Tue, 12 December 2006 18:24 Go to next message
Eclipse UserFriend
Hello,

my app has several plugins that was (automatically) configured to be unpacked (when I have added them to Eclipse). I need to deploy my app using JNLP and this can be done only if I dont have any unpacked plugins.

The "problematic" plugins:

com.ibm.icu.source_3.4.4.1
org.eclipse.opengl.win32.x86_0.5.0
org.eclipse.opengl_0.5.0
org.eclipse.rcp.source.win32.win32.x86_3.2.0.v20060609m-SVDN gVrNoh-MeGG
org.eclipse.rcp.source_3.2.0.v20060609m-SVDNgVrNoh-MeGG

Btw do I really need the "source" plugins? Eclipse added them automaticaly.

When I check not to unpack these plugins and re-export my app it do not start. For example the following log is when I pack the opengl plugins (both):

!SESSION 2006-12-13 00:23:27.906 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=cs_CZ
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.core.runtime 2006-12-13 00:23:29.125
!MESSAGE Product cz.upol.jo.product could not be found.

!ENTRY org.eclipse.osgi 4 0 2006-12-13 00:23:29.140
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: No application id has been found.
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:56)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
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 org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)

!ENTRY org.eclipse.osgi 2 0 2006-12-13 00:23:29.156
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2006-12-13 00:23:29.156
!MESSAGE Bundle update@plugins/cz.upol.jo_1.0.1.jar was not resolved.
!SUBENTRY 2 cz.upol.jo 2 0 2006-12-13 00:23:29.156
!MESSAGE Missing required bundle org.eclipse.opengl_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2006-12-13 00:23:29.156
!MESSAGE Bundle update@plugins/org.eclipse.opengl.selectbuffer_0.5.0.jar was not resolved.
!SUBENTRY 2 org.eclipse.opengl.selectbuffer 2 0 2006-12-13 00:23:29.156
!MESSAGE Missing required bundle org.eclipse.opengl_0.0.0.

!ENTRY org.eclipse.osgi 2 0 2006-12-13 00:23:29.156
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2006-12-13 00:23:29.156
!MESSAGE Bundle update@plugins/cz.upol.jo_1.0.1.jar [4] was not resolved.
!SUBENTRY 2 cz.upol.jo 2 0 2006-12-13 00:23:29.156
!MESSAGE Missing required bundle org.eclipse.opengl_0.0.0.
!SUBENTRY 2 cz.upol.jo 2 0 2006-12-13 00:23:29.156
!MESSAGE Missing required bundle org.eclipse.opengl.selectbuffer_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2006-12-13 00:23:29.156
!MESSAGE Bundle update@plugins/org.eclipse.opengl.selectbuffer.win32.win32.x86_0.5.0.jar [22] was not resolved.
!SUBENTRY 2 org.eclipse.opengl.selectbuffer.win32.win32.x86 2 0 2006-12-13 00:23:29.156
!MESSAGE Missing host org.eclipse.opengl.selectbuffer_0.5.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2006-12-13 00:23:29.156
!MESSAGE Bundle update@plugins/org.eclipse.opengl.selectbuffer_0.5.0.jar [30] was not resolved.
!SUBENTRY 2 org.eclipse.opengl.selectbuffer 2 0 2006-12-13 00:23:29.156
!MESSAGE Missing required bundle org.eclipse.opengl_0.0.0.

Please help, thanks in advance.
Getting display of running RCP with application in same JVM [message #460077 is a reply to message #460072] Wed, 13 December 2006 03:33 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: no.no.no

Hi,

i'm currently trying to write a program, that starts a RCP Application and does
some gui testing stuff. Therefore i wrote a server, that starts the RCP Application
in the same JVM. I am having huge problems accessing the display of a started
RCP Application, or to be more specific to find a display, that is not null. Anyone
has an idea? I already tried to debug all running threads, but no results.

Dennis
Re: Deploying JNLP: my app has plugins that needs to be unpacked [message #460193 is a reply to message #460072] Sat, 16 December 2006 12:02 Go to previous messageGo to next message
Eclipse UserFriend
Anyone? Cant find any solution... :-!
Re: Deploying JNLP: my app has plugins that needs to be unpacked [message #460204 is a reply to message #460072] Mon, 18 December 2006 03:00 Go to previous messageGo to next message
Eclipse UserFriend
Hello,

do I really need these plugins to be deployed with my RCP application:

com.ibm.icu.source_3.4.4.1
org.eclipse.rcp.source.win32.win32.x86_3.2.0.v20060609m-SVDN gVrNoh-MeGG
org.eclipse.rcp.source_3.2.0.v20060609m-SVDNgVrNoh-MeGG

?

I cant use Java WebStart because it need to be unpacked (or RCP app wont start).

Thanks for help
Re: Deploying JNLP: my app has plugins that needs to be unpacked [message #460222 is a reply to message #460204] Mon, 18 December 2006 05:44 Go to previous messageGo to next message
Eclipse UserFriend
There's no reason why you should need the source plugins with your app. Perhaps you're depending on something else, like the SDK feature, instead of the RCP feature and these are being included by accident?

Alex.
Re: Deploying JNLP: my app has plugins that needs to be unpacked [message #460224 is a reply to message #460222] Mon, 18 December 2006 05:51 Go to previous messageGo to next message
Eclipse UserFriend
> There's no reason why you should need the source
> plugins with your app. Perhaps you're depending on
> something else, like the SDK feature, instead of the
> RCP feature and these are being included by
> accident?

Well I dont know what plugins to remove. I used the feature from the Eclipse IDE that adds all dependant plugins. It always adds the *source plugins for me and the application doesn`t start without it...
Re: Deploying JNLP: my app has plugins that needs to be unpacked [message #460235 is a reply to message #460224] Mon, 18 December 2006 09:13 Go to previous messageGo to next message
Eclipse UserFriend
Lukas Zapletal wrote:
>
> Well I dont know what plugins to remove. I used the feature from the Eclipse IDE that adds all dependant plugins. It always adds the *source plugins for me and the application doesn`t start without it...

If you delete those source plugins and try and deploy, eclipse should
complain about missing dependencies ... that will help you narrow down
which plugin is causing them to be included. You can also start with
your RCP plugins and use the dependency analysis to find out what is
including them.

Alex was mentioning that if your RCP app is feature based, you should be
against the RCP feature or Platform feature, not any of the SDK or
Resources features.

Later,
PW
Re: Deploying JNLP: my app has plugins that needs to be unpacked [message #460245 is a reply to message #460224] Mon, 18 December 2006 09:37 Go to previous messageGo to next message
Eclipse UserFriend
There is nothing that should need these features to be there at startup. However, how did you remove them? You need to make sure they're not listed in the JNLP file for whatever feature it is (and it sounds like you're using the SDK feature, not the RCP feature) and re-deploy it. If you just remove the Jars from the server without amending the JNLP files, your app won't start.

Try hand-editing the JNLP files to remove these dependencies, and then if it doesn't start after that, check the log to find out what's missing.

Alex.
Re: Deploying JNLP: my app has plugins that needs to be unpacked [message #460259 is a reply to message #460245] Mon, 18 December 2006 10:39 Go to previous messageGo to next message
Eclipse UserFriend
> There is nothing that should need these features to
> be there at startup. However, how did you remove
> them? You need to make sure they're not listed in the
> JNLP file for whatever feature it is (and it sounds
> like you're using the SDK feature, not the RCP
> feature) and re-deploy it. If you just remove the
> Jars from the server without amending the JNLP files,
> your app won't start.
>
> Try hand-editing the JNLP files to remove these
> dependencies, and then if it doesn't start after
> that, check the log to find out what's missing.

It does not start from commandline without those plugins. I am not even at the JNLP deployment step yet :-(
Re: Deploying JNLP: my app has plugins that needs to be unpacked [message #460264 is a reply to message #460259] Mon, 18 December 2006 11:39 Go to previous message
Eclipse UserFriend
In that case, you should get a message like 'plugin xxx cannot start due to missing dependencies'. Find out what that plugin is, and stop that too.

Alex.
Previous Topic:Disable Popup menu of the PERSPECTIVE BAR
Next Topic:Error launching an exported product
Goto Forum:
  


Current Time: Tue Mar 18 09:34:26 EDT 2025

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

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

Back to the top