Home » Eclipse Projects » Remote Application Platform (RAP) » Run RAP application on Websphere 8.5 (including workbench)
Run RAP application on Websphere 8.5 (including workbench) [message #928596] |
Sun, 30 September 2012 19:57 |
Mariusz Cwikla Messages: 15 Registered: January 2012 |
Junior Member |
|
|
Hello,
I successfully ran RAP 1.5 application on Websphere 8.5. Article http://wiki.eclipse.org/RAP/Running_RAP_on_WebSphere describes RWT application on WAS, but I've deployed RAP application including org.eclipse.rap.ui (+org.eclipse.rap.ui.workbench), so I wanted to share it.
The biggest problem was org.eclipse.core.runtime bundle. On Equinox download page Equinox 3.7 contains org.eclipse.core.runtime 3.7, which requires org.eclipse.osgi 3.7. Equinox 3.6-3.6.2 does not contain it at all. I downloaded Eclipse IDE 3.6 which contains org.eclipse.core.runtime 3.6. I added it to my bundle list, created an EAB file and deployed. The rest is the same as in http://wiki.eclipse.org/RAP/Running_RAP_on_WebSphere.
BTW, some other bundles are also little older.
Here is APPLICATION.MF - you can see I'm using rap.ui.workbench:
Application-Name: hello.workbench.app
Application-SymbolicName: hello.workbench.app
Application-ManifestVersion: 1.0
Application-Version: 1.0.0.qualifier
Manifest-Version: 1.0
Application-Content: org.eclipse.rap.jface;version=1.5.0,
org.eclipse.rap.jface.databinding;version=1.5.0,
org.eclipse.rap.rwt;version=1.5.0,
org.eclipse.rap.ui;version=1.5.0,
org.eclipse.rap.ui.workbench;version=1.5.0,
org.eclipse.core.expressions;version=3.4.300,
org.eclipse.core.jobs;version=3.5.101,
org.eclipse.core.runtime;version=3.6.0,
org.eclipse.equinox.common;version=3.6.0,
org.eclipse.equinox.preferences;version=3.4.2,
org.eclipse.equinox.registry;version=3.5.101,
org.eclipse.osgi.services;version=3.3.0,
org.eclipse.core.commands;version=3.6.0,
org.eclipse.core.contenttype;version=3.4.100,
org.eclipse.core.databinding;version=1.4.1,
org.eclipse.core.databinding.observable;version=1.4.1,
org.eclipse.core.databinding.property;version=1.4.0,
org.eclipse.equinox.app;version=1.3.100,
org.eclipse.equinox.http.registry;version=1.1.100,
org.eclipse.help;version=3.6.0,
com.ibm.icu.base;version=4.4.2,
org.eclipse.equinox.http.servlet;version=1.1.300,
org.eclipse.equinox.util;version=1.0.300,
org.eclipse.equinox.http.embedded.web;version=1.0.0,
org.eclipse.rap.rwt.osgi,
hello.rap.workbench;version=1.0.0
hello.rap.workbench is a very simple RAP project with following entry point:
public class HelloEntryPoint implements IEntryPoint {
public HelloEntryPoint() {
}
public int createUI() {
Display display = PlatformUI.createDisplay();
WorkbenchAdvisor advisor = new ApplicationWorkbenchAdvisor();
return PlatformUI.createAndRunWorkbench(display, advisor);
}
}
I also tried to run demo from RAP (org.eclipse.rap.demo + org.eclipse.rap.demo.branding + org.eclipse.rap.design.example) but I got following error:
[30.09.12 21:33:45:504 CEST] 00000086 SystemErr R Caused by: java.lang.NullPointerException
[30.09.12 21:33:45:504 CEST] 00000086 SystemErr R at org.eclipse.rap.ui.internal.branding.BrandingExtension.readBody(BrandingExtension.java:251)
[30.09.12 21:33:45:504 CEST] 00000086 SystemErr R at org.eclipse.rap.ui.internal.branding.BrandingExtension.readBranding(BrandingExtension.java:98)
[30.09.12 21:33:45:504 CEST] 00000086 SystemErr R at org.eclipse.rap.ui.internal.branding.BrandingExtension.read(BrandingExtension.java:78)
[Updated on: Sun, 30 September 2012 19:57] Report message to a moderator
|
|
| |
Goto Forum:
Current Time: Sat Jan 18 02:11:03 GMT 2025
Powered by FUDForum. Page generated in 0.02992 seconds
|