Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » RAP 1.5 | Deploy on Linux(Windows Work Fine | Exception in Linux)
RAP 1.5 | Deploy on Linux [message #720124] Mon, 29 August 2011 23:37 Go to next message
Raj  is currently offline Raj Friend
Messages: 74
Registered: August 2011
Member
Hi

I have war file which is deployed on windows XP and i took the same war file and deploy on Linux.

I am getting the
java.lang.IllegalArgumentException: Entry point does not exist: sapphire
org.eclipse.rwt.internal.lifecycle.EntryPointManager.checkNameExists(EntryPointManager.java:102)
org.eclipse.rwt.internal.lifecycle.EntryPointManager.createUI(EntryPointManager.java:74)
org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWTLifeCycle.java:205)
org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadController.run(RWTLifeCycle.java:88)
java.lang.Thread.run(Thread.java:619)
org.eclipse.rwt.internal.lifecycle.UIThread.run(UIThread.java:101)

Any idea why it is not getting deployed on Linux????


Re: RAP 1.5 | Deploy on Linux [message #720210 is a reply to message #720124] Tue, 30 August 2011 06:09 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2427
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Raj,
I would suggest you to enable the osgi console in web.xml and list the
status of deployed bundles - use "ss" osgi command. Is all bundles
active? If not, use "diag <bundle number>" to get the reason why the
bundle is not active.
BTW, are you using the same servlet container in both XP and Linux?
Tomcat? Is it the same version (build), or the Linux one is a custom build?
Best,
Ivan

On 8/30/2011 2:37 AM, Raj wrote:
> Hi
>
> I have war file which is deployed on windows XP and i took the same
> war file and deploy on Linux.
>
> I am getting the java.lang.IllegalArgumentException: Entry point does
> not exist: sapphire
> org.eclipse.rwt.internal.lifecycle.EntryPointManager.checkNameExists(EntryPointManager.java:102)
>
> org.eclipse.rwt.internal.lifecycle.EntryPointManager.createUI(EntryPointManager.java:74)
>
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWTLifeCycle.java:205)
>
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadController.run(RWTLifeCycle.java:88)
>
> java.lang.Thread.run(Thread.java:619)
> org.eclipse.rwt.internal.lifecycle.UIThread.run(UIThread.java:101)
>
> Any idea why it is not getting deployed on Linux????
>
>
>
Re: RAP 1.5 | Deploy on Linux [message #720518 is a reply to message #720210] Tue, 30 August 2011 18:41 Go to previous messageGo to next message
Raj  is currently offline Raj Friend
Messages: 74
Registered: August 2011
Member
Yes, your pointer was correct...on Linux i see most of the bundles are in the installed state but in the windows they are in the active state.

When i do diag <bundle number>" i get the error
reference:file:<name of jar>.0.jar [5]
Direct constraints which are unresolved:
Missing required bundle <missing>.


1.Do i need to have any linux based jar files in the pugin folder.

These files are present in the plugin folder which i think are windows based.

org.eclipse.swt.win32.win32.x86_3.6.2.v3659c
org.eclipse.equinox.security.win32.x86_1.0.200.v20100503
org.eclipse.core.filesystem.win32.x86_1.1.201.R36x_v20100727-0745

Do i need to copy the equivalent linux based jars.

2.One of the bundles contain lot of the files which are read by the system.
In the mainfest.mf it has
Eclipse-PlatformFilter: (& (osgi.ws=win32) (osgi.os=win32) (osgi.arch=x86))
Do you think this can be issue.

Cheers
Raj

Re: RAP 1.5 | Deploy on Linux [message #720536 is a reply to message #720518] Tue, 30 August 2011 19:02 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2427
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Raj,
these plugins are not part of RAP runtime (target platform). Maybe you
put them in the WAR by mistake or you are using some classes from them
in your application. If this is the case you need the corresponding
Linux bundles. The bundle with Eclipse-PlatformFilter: osgi.ws=win32 is
also Windows specific. Yes... I think that this is the reason why your
application is not started.
Best,
Ivan

On 8/30/2011 9:41 PM, Raj wrote:
> Yes, your pointer was correct...on Linux i see most of the bundles are
> in the installed state but in the windows they are in the active state.
>
> When i do diag <bundle number>" i get the error
> reference:file:<name of jar>.0.jar [5]
> Direct constraints which are unresolved:
> Missing required bundle <missing>.
>
>
> 1.Do i need to have any linux based jar files in the pugin folder.
>
> These files are present in the plugin folder which i think are windows
> based.
>
> org.eclipse.swt.win32.win32.x86_3.6.2.v3659c
> org.eclipse.equinox.security.win32.x86_1.0.200.v20100503
> org.eclipse.core.filesystem.win32.x86_1.1.201.R36x_v20100727-0745
>
> Do i need to copy the equivalent linux based jars.
>
> 2.One of the bundles contain lot of the files which are read by the
> system.
> In the mainfest.mf it has Eclipse-PlatformFilter: (& (osgi.ws=win32)
> (osgi.os=win32) (osgi.arch=x86))
> Do you think this can be issue.
>
> Cheers
> Raj
>
>
Re: RAP 1.5 | Deploy on Linux [message #720550 is a reply to message #720518] Tue, 30 August 2011 19:47 Go to previous messageGo to next message
Raj  is currently offline Raj Friend
Messages: 74
Registered: August 2011
Member
I am using the same tomcat build 6.0.03.

But the following error is not produced when i do in Windows.

When i do diag <bundle number>" i get the error
reference:file:<name of jar>.0.jar [5]
Direct constraints which are unresolved:
Missing required bundle <missing>.
Re: RAP 1.5 | Deploy on Linux [message #720592 is a reply to message #720536] Tue, 30 August 2011 22:14 Go to previous messageGo to next message
Raj  is currently offline Raj Friend
Messages: 74
Registered: August 2011
Member


Can you point me to the linux equivalent for these jars files.

org.eclipse.swt.win32.win32.x86_3.6.2.v3659c.jar
org.eclipse.equinox.security.win32.x86_1.0.200.v20100503.jar
org.eclipse.core.filesystem.win32.x86_1.1.201.R36x_v20100727-0745.jar

These files are being picked up form <eclipse installation>/plugins.

I am uisng the War Product Configuration to create the war file.


Re: RAP 1.5 | Deploy on Linux [message #720724 is a reply to message #720592] Wed, 31 August 2011 06:49 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2427
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Raj,
get the Eclipese SDK for Linux from Eclipse download page [1].
[1] http://www.eclipse.org/downloads/?osType=linux
Best,
Ivan

On 8/31/2011 1:14 AM, Raj wrote:
>
>
> Can you point me to the linux equivalent for these jars files.
>
> org.eclipse.swt.win32.win32.x86_3.6.2.v3659c.jar
> org.eclipse.equinox.security.win32.x86_1.0.200.v20100503.jar
> org.eclipse.core.filesystem.win32.x86_1.1.201.R36x_v20100727-0745.jar
>
> These files are being picked up form <eclipse installation>/plugins.
>
> I am uisng the War Product Configuration to create the war file.
>
>
>
Re: RAP 1.5 | Deploy on Linux [message #720976 is a reply to message #720724] Wed, 31 August 2011 15:46 Go to previous message
Cole Markham is currently offline Cole MarkhamFriend
Messages: 150
Registered: July 2009
Location: College Station, TX
Senior Member

Raj,

You should check that your target platform is setup correctly. The War Product Configuration should only be pulling bundles from your target platform and the swt.win32 bundle should not be there as it will cause problems. I'm not sure about the other two, but I don't think you should need any platform-specific bundles in your WAR. Try removing those bundles from your .warproduct file and rebuild the WAR.

Hope that helps,
Cole
Previous Topic:problem in swt browser widget...
Next Topic:How to checkout demo project?
Goto Forum:
  


Current Time: Wed Sep 25 17:41:48 GMT 2024

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

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

Back to the top