RAP deployment [message #112527] |
Mon, 17 November 2008 10:00 |
May Messages: 10 Registered: July 2009 |
Junior Member |
|
|
Hi,
I have been worked for three days on the RAP deployment of the demo.
Without success.
I'm referring to
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.rap.help/help/html/intro.html
I tried it step by step and several times, but it doesn't work. I also
tried to search here without success.
When I deploy my rap.war ( zip auf WEB-INF) in tomcat and start it under
http://localhost:8080/rap/rap. The following error occurs:
The requested resource (BridgeServlet: /rap/rap) is not available.
The deployment auf the rapdemo.war works fine.
The tomcat log-file says quit a lot, but I don't find the reason for my
problem:
!SESSION 2008-11-17 10:52:27.503
-----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_07
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments: -console
!ENTRY org.eclipse.equinox.http.servletbridge 4 0 2008-11-17 10:52:27.503
!MESSAGE
!STACK 0
org.osgi.framework.BundleException: The bundle could not be resolved.
Reason: Missing Constraint: Import-Package:
org.eclipse.equinox.servletbridge; version="1.0.0"
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:305)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:355)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1074)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:616)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:508)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:299)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:489)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:211)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:321)
!ENTRY org.eclipse.rap.demo 4 0 2008-11-17 10:52:27.534
!MESSAGE
!STACK 0
org.osgi.framework.BundleException: The bundle could not be resolved.
Reason: Missing Constraint: Require-Bundle: org.eclipse.rap.ui;
bundle-version="0.0.0"
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:305)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:355)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1074)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:616)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:508)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:299)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:489)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:211)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:321)
!ENTRY org.eclipse.rap.ui.workbench 4 0 2008-11-17 10:52:27.550
!MESSAGE
!STACK 0
org.osgi.framework.BundleException: The bundle could not be resolved.
Reason: Missing Constraint: Require-Bundle:
org.eclipse.rap.jface.databinding; bundle-version="[1.1.0,2.0.0)"
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:305)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:355)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1074)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:616)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:508)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:299)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:489)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:211)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:321)
!ENTRY org.eclipse.rap.ui 4 0 2008-11-17 10:52:27.550
!MESSAGE
!STACK 0
org.osgi.framework.BundleException: The bundle could not be resolved.
Reason: Missing Constraint: Require-Bundle: org.eclipse.rap.ui.workbench;
bundle-version="[1.1.0,2.0.0)"
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:305)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:355)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1074)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:616)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:508)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:299)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:489)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:211)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:321)
!ENTRY org.eclipse.equinox.http.servletbridge 4 0 2008-11-17 10:52:28.081
!MESSAGE
!STACK 0
org.osgi.framework.BundleException: The activator
org.eclipse.equinox.http.servletbridge.internal.Activator for bundle
org.eclipse.equinox.http.servletbridge is invalid
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.load BundleActivator(AbstractBundle.java:146)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:980)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:355)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1074)
at
org.eclipse.osgi.framework.internal.core.PackageAdminImpl.re sumeBundles(PackageAdminImpl.java:272)
at
org.eclipse.osgi.framework.internal.core.PackageAdminImpl.pr ocessDelta(PackageAdminImpl.java:506)
at
org.eclipse.osgi.framework.internal.core.PackageAdminImpl.do ResolveBundles(PackageAdminImpl.java:224)
at
org.eclipse.osgi.framework.internal.core.PackageAdminImpl$1. run(PackageAdminImpl.java:162)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.VerifyError: (class:
org/eclipse/equinox/http/servletbridge/internal/Activator, method: stop
signature: (Lorg/osgi/framework/BundleContext;)V) Incompatible argument to
function
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.load BundleActivator(AbstractBundle.java:141)
... 9 more
Root exception:
java.lang.VerifyError: (class:
org/eclipse/equinox/http/servletbridge/internal/Activator, method: stop
signature: (Lorg/osgi/framework/BundleContext;)V) Incompatible argument to
function
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.load BundleActivator(AbstractBundle.java:141)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:980)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:355)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1074)
at
org.eclipse.osgi.framework.internal.core.PackageAdminImpl.re sumeBundles(PackageAdminImpl.java:272)
at
org.eclipse.osgi.framework.internal.core.PackageAdminImpl.pr ocessDelta(PackageAdminImpl.java:506)
at
org.eclipse.osgi.framework.internal.core.PackageAdminImpl.do ResolveBundles(PackageAdminImpl.java:224)
at
org.eclipse.osgi.framework.internal.core.PackageAdminImpl$1. run(PackageAdminImpl.java:162)
at java.lang.Thread.run(Unknown Source)
!ENTRY org.eclipse.osgi 4 0 2008-11-17 10:52:28.112
!MESSAGE Bundle
initial@reference :file:plugins/org.eclipse.equinox.http.servletbridge_1.0.0.2 00811171047.jar/
[10] is not active.
!ENTRY org.eclipse.osgi 4 0 2008-11-17 10:52:28.112
!MESSAGE Bundle
initial@reference:file:plugins/org.eclipse.rap.demo_1.1.1.20080917-1625.jar/
was not resolved.
!ENTRY org.eclipse.osgi 4 0 2008-11-17 10:52:28.112
!MESSAGE Bundle
initial@reference :file:plugins/org.eclipse.rap.ui.workbench_1.1.1.20080917-16 25.jar/
was not resolved.
!ENTRY org.eclipse.osgi 4 0 2008-11-17 10:52:28.112
!MESSAGE Bundle
initial@reference:file:plugins/org.eclipse.rap.ui_1.1.1.20080917-1625.jar/
was not resolved.
I really would appreciate some help
May
|
|
|
|
|
|
|
|
Re: RAP deployment [message #112715 is a reply to message #112702] |
Wed, 19 November 2008 12:39 |
Eclipse User |
|
|
|
Originally posted by: rsternberg.innoopract.com
Hi,
May wrote:
> 0 ACTIVE org.eclipse.osgi_3.3.0.v20070530
> Fragments=18
> 1 ACTIVE org.eclipse.equinox.common_3.3.0.v20070426
> 2 INSTALLED org.eclipse.rap.demo_1.1.1.20080917-1625
> 3 ACTIVE org.eclipse.update.configurator_3.2.101.R33x_v20070810
> 4 ACTIVE
> org.eclipse.equinox.http.servletbridge_1.0.0.200712051252
> 5 ACTIVE org.eclipse.equinox.http.registry_1.0.100.200712051252
> 6 RESOLVED org.eclipse.core.commands_3.3.0.I20070605-0010
> 7 ACTIVE org.eclipse.core.contenttype_3.2.100.v20070319
> 8 ACTIVE org.eclipse.core.expressions_3.3.0.v20070606-0010
> 9 ACTIVE org.eclipse.core.jobs_3.3.0.v20070423
> 10 ACTIVE org.eclipse.core.runtime_3.3.100.v20070530
> 11 ACTIVE org.eclipse.equinox.app_1.0.0.v20070606
> 15 ACTIVE org.eclipse.equinox.http.servlet_1.0.100.200712051252
> 16 ACTIVE org.eclipse.equinox.preferences_3.2.100.v20070522
> 17 ACTIVE org.eclipse.equinox.registry_3.3.0.v20070522
> 18 RESOLVED org.eclipse.equinox.servletbridge.extensionbundle_1.0.0
> Master=0
> 19 RESOLVED org.eclipse.osgi.services_3.1.200.v20070605
> 22 RESOLVED org.eclipse.rap.jface_1.0.0.20071010-2241
> 23 RESOLVED org.eclipse.rap.rwt_1.0.0.20071010-2241
> 24 ACTIVE org.eclipse.rap.ui.workbench_1.0.0.20071010-2241
> 25 RESOLVED org.eclipse.rap.ui_1.0.0.20071010-2241
At least the org.eclipse.rap.rwt.q07 fragment seems to be missing. If
the application runs fine from inside eclipse, I'd recommend to compare
the list of bundles in your launch config with this one.
> I don't get why INSTALLED org.eclipse.rap.demo_1.1.1.20080917-1625
> is not ACTIVE/RESOLVED
you can type `diag 2` in the OSGi console to find out.
Best regards, Ralf
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04058 seconds