Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Deployment Problem
Deployment Problem [message #87543] Thu, 15 May 2008 13:46 Go to next message
Eclipse UserFriend
Originally posted by: jonas.bruestel.net

Hi group,

I have a little problem deploying an application. Hope someone can help
with a hint.

Here is my console output:

Framework is launched.

id State Bundle
0 ACTIVE org.eclipse.osgi_3.4.0.v20080427-0830
Fragments=32
1 ACTIVE org.eclipse.rap.ui.workbench_1.1.0.20080506-1758
2 ACTIVE org.eclipse.core.contenttype_3.3.0.v20080414
3 ACTIVE org.eclipse.rap.rwt_1.1.0.20080506-1758
Fragments=17
4 ACTIVE org.eclipse.equinox.registry_3.4.0.v20080421-2006
5 ACTIVE de.axway.messageanalyzerng.core_1.0.0.200805151535
6 ACTIVE javax.servlet_2.4.0.200805151535
7 ACTIVE org.eclipse.core.jobs_3.4.0.v20080310
8 ACTIVE org.eclipse.rap.ui.forms_1.1.0.20080506-1758
9 ACTIVE org.eclipse.equinox.common_3.4.0.v20080421-2006
10 ACTIVE org.eclipse.equinox.http.registry_1.0.100.200805151535
11 ACTIVE
de.axway.messageanalyzerng.repository_1.0.0.200805151535
12 RESOLVED org.eclipse.equinox.http.servlet_1.0.100.200805151535
13 ACTIVE de.axway.rap.editor.framework_1.0.0
14 ACTIVE org.eclipse.equinox.app_1.1.0.v20080421-2006
15 RESOLVED
org.eclipse.equinox.http.servletbridge_1.0.0.200805151535
16 ACTIVE org.eclipse.rap.jface.databinding_1.1.0.20080506-1758
17 RESOLVED org.eclipse.rap.rwt.q07_1.1.0.20080506-1758
Master=3
18 ACTIVE com.ibm.icu_3.8.1.v20080402
19 ACTIVE org.eclipse.osgi.services_3.1.200.v20071203
20 ACTIVE org.eclipse.rap.jface_1.1.0.20080506-1758
21 ACTIVE org.eclipse.rap.ui.views_1.1.0.20080506-1758
22 ACTIVE de.axway.messageanalyzerng.ui.rap_0.0.1
23 ACTIVE org.eclipse.equinox.servletbridge_1.0.100.200805151535
24 ACTIVE org.eclipse.core.runtime_3.4.0.v20080421-1805
25 ACTIVE org.eclipse.core.expressions_3.4.0.v20080430-0100
26 ACTIVE org.eclipse.core.databinding_1.1.0.I20080425-1551
27 ACTIVE de.axway.rap.widget_1.0.0
28 ACTIVE org.apache.commons.logging_1.0.4.v200803061811
29 ACTIVE org.eclipse.rap.ui_1.1.0.20080506-1758
30 ACTIVE org.eclipse.core.commands_3.4.0.v20080408-0800
31 ACTIVE org.eclipse.equinox.preferences_3.2.200.v20080421-2006
32 RESOLVED org.eclipse.equinox.servletbridge.extensionbundle_1.0.0
Master=0



I can not start the as RESOLVED marked bundles. This comes up when I try
to start org.eclipse.equinox.http.servlet:

osgi> start 12
org.osgi.framework.BundleException: The activator
org.eclipse.equinox.http.servlet.internal.Activator for bundle
org.eclipse.equinox.http.servlet 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.star t(AbstractBundle.java:265)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:257)
at
org.eclipse.osgi.framework.internal.core.FrameworkCommandPro vider._start(FrameworkCommandProvider.java:257)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.eclipse.osgi.framework.internal.core.FrameworkCommandInt erpreter.execute(FrameworkCommandInterpreter.java:150)
at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.do command(FrameworkConsole.java:302)
at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.co nsole(FrameworkConsole.java:287)
at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.ru n(FrameworkConsole.java:223)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.Error: Unresolved compilation problems:
The import javax.servlet.ServletConfig cannot be resolved
ServletConfig cannot be resolved to a type
The method getServletConfig() is undefined for the type
ProxyServlet

at
org.eclipse.equinox.http.servlet.internal.Activator.<init>(Activator.java:16)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(Native ConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:5 13)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.load BundleActivator(AbstractBundle.java:141)
... 14 more




I've added javax.servlet as bundle. Is this correct? Here is my config.ini:

#Eclipse Runtime Configuration File
osgi.bundles=org.eclipse.rap.ui.workbench_1.1.0.20080506-1758.jar@start,org.eclipse.core.contenttype_3.3.0.v20080414.jar@start,org.eclipse.rap.rwt_1.1.0.20080506-1758.jar@start,org.eclipse.equinox.registry_3.4.0.v20080421-2006.jar@start,de.axway.messageanalyzerng.core_1.0.0.200805151535@start,javax.servlet_2.4.0.200805151535.jar@start,org.eclipse.core.jobs_3.4.0.v20080310.jar@start,org.eclipse.rap.ui.forms_1.1.0.20080506-1758.jar@start,org.eclipse.equinox.common_3.4.0.v20080421-2006.jar@2:start,org.eclipse.equinox.http.registry_1.0.100.200805151535.jar@start,de.axway.messageanalyzerng.repository_1.0.0.200805151535@start,org.eclipse.equinox.http.servlet_1.0.100.200805151535.jar@start,de.axway.rap.editor.framework_1.0.0.jar@start,org.eclipse.equinox.app_1.1.0.v20080421-2006.jar@start, org.eclipse.equinox.http.servletbridge_1.0.0.200805151535.ja r @start,org.eclipse.rap.jface.databinding_1.1.0.20080506-1758.jar@start,org.eclipse.rap.rwt.q07_1.1.0.20080506-1758.jar,com.ibm.icu_3.8.1.v20080402.jar@start,org.eclipse.osgi.services_3.1.200.v20071203.jar@start,org.eclipse.rap.jface_1.1.0.20080506-1758.jar@start,org.eclipse.rap.ui.views_1.1.0.20080506-1758.jar@start,de.axway.messageanalyzerng.ui.rap_0.0.1.jar@start,org.eclipse.equinox.servletbridge_1.0.100.200805151535@start,org.eclipse.core.runtime_3.4.0.v20080421-1805.jar@start,org.eclipse.core.expressions_3.4.0.v20080430-0100.jar@start,org.eclipse.core.databinding_1.1.0.I20080425-1551.jar@start,de.axway.rap.widget_1.0.0.jar@start,org.apache.commons.logging_1.0.4.v200803061811.jar@start,org.eclipse.rap.ui_1.1.0.20080506-1758.jar@start,org.eclipse.core.commands_3.4.0.v20080408-0800.jar@start,org.eclipse.equinox.preferences_3.2.200.v20080421-2006.jar@start,org.eclipse.equinox.servletbridge.extensionbundle
osgi.bundles.defaultStartLevel=4



Thanks for your help,
Jonas
Re: Deployment Problem [message #87612 is a reply to message #87543] Thu, 15 May 2008 14:18 Go to previous messageGo to next message
Benjamin Muskalla is currently offline Benjamin MuskallaFriend
Messages: 237
Registered: July 2009
Senior Member
Hi,

where did you get the javax.servlet bundle from? It seems that this
bundle contains compile errors according to your stacktrace.

Greets
Benny

Jonas Brüstel wrote:
> Hi group,
>
> I have a little problem deploying an application. Hope someone can help
> with a hint.
>
> Here is my console output:
>
> Framework is launched.
>
> id State Bundle
> 0 ACTIVE org.eclipse.osgi_3.4.0.v20080427-0830
> Fragments=32
> 1 ACTIVE org.eclipse.rap.ui.workbench_1.1.0.20080506-1758
> 2 ACTIVE org.eclipse.core.contenttype_3.3.0.v20080414
> 3 ACTIVE org.eclipse.rap.rwt_1.1.0.20080506-1758
> Fragments=17
> 4 ACTIVE org.eclipse.equinox.registry_3.4.0.v20080421-2006
> 5 ACTIVE de.axway.messageanalyzerng.core_1.0.0.200805151535
> 6 ACTIVE javax.servlet_2.4.0.200805151535
> 7 ACTIVE org.eclipse.core.jobs_3.4.0.v20080310
> 8 ACTIVE org.eclipse.rap.ui.forms_1.1.0.20080506-1758
> 9 ACTIVE org.eclipse.equinox.common_3.4.0.v20080421-2006
> 10 ACTIVE org.eclipse.equinox.http.registry_1.0.100.200805151535
> 11 ACTIVE
> de.axway.messageanalyzerng.repository_1.0.0.200805151535
> 12 RESOLVED org.eclipse.equinox.http.servlet_1.0.100.200805151535
> 13 ACTIVE de.axway.rap.editor.framework_1.0.0
> 14 ACTIVE org.eclipse.equinox.app_1.1.0.v20080421-2006
> 15 RESOLVED
> org.eclipse.equinox.http.servletbridge_1.0.0.200805151535
> 16 ACTIVE org.eclipse.rap.jface.databinding_1.1.0.20080506-1758
> 17 RESOLVED org.eclipse.rap.rwt.q07_1.1.0.20080506-1758
> Master=3
> 18 ACTIVE com.ibm.icu_3.8.1.v20080402
> 19 ACTIVE org.eclipse.osgi.services_3.1.200.v20071203
> 20 ACTIVE org.eclipse.rap.jface_1.1.0.20080506-1758
> 21 ACTIVE org.eclipse.rap.ui.views_1.1.0.20080506-1758
> 22 ACTIVE de.axway.messageanalyzerng.ui.rap_0.0.1
> 23 ACTIVE org.eclipse.equinox.servletbridge_1.0.100.200805151535
> 24 ACTIVE org.eclipse.core.runtime_3.4.0.v20080421-1805
> 25 ACTIVE org.eclipse.core.expressions_3.4.0.v20080430-0100
> 26 ACTIVE org.eclipse.core.databinding_1.1.0.I20080425-1551
> 27 ACTIVE de.axway.rap.widget_1.0.0
> 28 ACTIVE org.apache.commons.logging_1.0.4.v200803061811
> 29 ACTIVE org.eclipse.rap.ui_1.1.0.20080506-1758
> 30 ACTIVE org.eclipse.core.commands_3.4.0.v20080408-0800
> 31 ACTIVE org.eclipse.equinox.preferences_3.2.200.v20080421-2006
> 32 RESOLVED org.eclipse.equinox.servletbridge.extensionbundle_1.0.0
> Master=0
>
>
>
> I can not start the as RESOLVED marked bundles. This comes up when I try
> to start org.eclipse.equinox.http.servlet:
>
> osgi> start 12
> org.osgi.framework.BundleException: The activator
> org.eclipse.equinox.http.servlet.internal.Activator for bundle
> org.eclipse.equinox.http.servlet 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.star t(AbstractBundle.java:265)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:257)
>
> at
> org.eclipse.osgi.framework.internal.core.FrameworkCommandPro vider._start(FrameworkCommandProvider.java:257)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.eclipse.osgi.framework.internal.core.FrameworkCommandInt erpreter.execute(FrameworkCommandInterpreter.java:150)
>
> at
> org.eclipse.osgi.framework.internal.core.FrameworkConsole.do command(FrameworkConsole.java:302)
>
> at
> org.eclipse.osgi.framework.internal.core.FrameworkConsole.co nsole(FrameworkConsole.java:287)
>
> at
> org.eclipse.osgi.framework.internal.core.FrameworkConsole.ru n(FrameworkConsole.java:223)
>
> at java.lang.Thread.run(Thread.java:619)
> Caused by: java.lang.Error: Unresolved compilation problems: The
> import javax.servlet.ServletConfig cannot be resolved
> ServletConfig cannot be resolved to a type
> The method getServletConfig() is undefined for the type ProxyServlet
>
> at
> org.eclipse.equinox.http.servlet.internal.Activator.<init>(Activator.java:16)
>
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e
> Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(Native ConstructorAccessorImpl.java:39)
>
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstructorAccessorImpl.java:27)
>
> at java.lang.reflect.Constructor.newInstance(Constructor.java:5 13)
> at java.lang.Class.newInstance0(Class.java:355)
> at java.lang.Class.newInstance(Class.java:308)
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.load BundleActivator(AbstractBundle.java:141)
>
> ... 14 more
>
>
>
>
> I've added javax.servlet as bundle. Is this correct? Here is my config.ini:
>
> #Eclipse Runtime Configuration File
> osgi.bundles=org.eclipse.rap.ui.workbench_1.1.0.20080506-1758.jar@start,org.eclipse.core.contenttype_3.3.0.v20080414.jar@start,org.eclipse.rap.rwt_1.1.0.20080506-1758.jar@start,org.eclipse.equinox.registry_3.4.0.v20080421-2006.jar@start,de.axway.messageanalyzerng.core_1.0.0.200805151535@start,javax.servlet_2.4.0.200805151535.jar@start,org.eclipse.core.jobs_3.4.0.v20080310.jar@start,org.eclipse.rap.ui.forms_1.1.0.20080506-1758.jar@start,org.eclipse.equinox.common_3.4.0.v20080421-2006.jar@2:start,org.eclipse.equinox.http.registry_1.0.100.200805151535.jar@start,de.axway.messageanalyzerng.repository_1.0.0.200805151535@start,org.eclipse.equinox.http.servlet_1.0.100.200805151535.jar@start,de.axway.rap.editor.framework_1.0.0.jar@start,org.eclipse.equinox.app_1.1.0.v20080421-2006.jar@start, org.eclipse.equinox.http.servletbridge_1.0.0.200805151535.ja r @start,org.eclipse.rap.jface.databinding_1.1.0.20080506-1758.jar@start ,org.eclipse.rap.rwt.q07_1.1.0.20080506-1758.jar,com.ibm.icu _3.8
1.v20080402.jar@start,org.eclipse.osgi.services_3.1.200.v20071203.jar@start,org.eclipse.rap.jface_1.1.0.20080506-1758.jar@start,org.eclipse.rap.ui.views_1.1.0.20080506-1758.jar@start,de.axway.messageanalyzerng.ui.rap_0.0.1.jar@start,org.eclipse.equinox.servletbridge_1.0.100.200805151535@start,org.eclipse.core.runtime_3.4.0.v20080421-1805.jar@start,org.eclipse.core.expressions_3.4.0.v20080430-0100.jar@start,org.eclipse.core.databinding_1.1.0.I20080425-1551.jar@start,de.axway.rap.widget_1.0.0.jar@start,org.apache.commons.logging_1.0.4.v200803061811.jar@start,org.eclipse.rap.ui_1.1.0.20080506-1758.jar@start,org.eclipse.core.commands_3.4.0.v20080408-0800.jar@start,org.eclipse.equinox.preferences_3.2.200.v20080421-2006.jar@start,org.eclipse.equinox.servletbridge.extensionbundle
>
> osgi.bundles.defaultStartLevel=4
>
>
>
> Thanks for your help,
> Jonas
>
>
>
Re: Deployment Problem [message #87643 is a reply to message #87612] Thu, 15 May 2008 14:50 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jonas.bruestel.net

Thanks,

I had an old javax_servlet version in my workspace. I removed it and know
I'm a tick closer. Only the org.eclipse.rap.rwt.q07_1.1.0 is left.

osgi> ss

Framework is launched.

id State Bundle
0 ACTIVE org.eclipse.osgi_3.4.0.v20080427-0830
Fragments=32
1 ACTIVE
de.axway.messageanalyzerng.repository_1.0.0.200805151646
2 ACTIVE org.eclipse.rap.ui.workbench_1.1.0.20080506-1758
3 ACTIVE org.eclipse.core.contenttype_3.3.0.v20080414
4 ACTIVE org.eclipse.rap.rwt_1.1.0.20080506-1758
Fragments=15
5 ACTIVE org.eclipse.equinox.registry_3.4.0.v20080421-2006
6 ACTIVE org.eclipse.core.jobs_3.4.0.v20080310
7 ACTIVE org.eclipse.rap.ui.forms_1.1.0.20080506-1758
8 ACTIVE org.eclipse.equinox.common_3.4.0.v20080421-2006
9 ACTIVE org.eclipse.equinox.http.servlet_1.0.100.200805151646
10 ACTIVE
org.eclipse.equinox.http.servletbridge_1.0.0.200805151646
11 ACTIVE de.axway.rap.editor.framework_1.0.0
12 ACTIVE de.axway.messageanalyzerng.core_1.0.0.200805151646
13 ACTIVE org.eclipse.equinox.app_1.1.0.v20080421-2006
14 ACTIVE org.eclipse.rap.jface.databinding_1.1.0.20080506-1758
15 RESOLVED org.eclipse.rap.rwt.q07_1.1.0.20080506-1758
Master=4
16 ACTIVE com.ibm.icu_3.8.1.v20080402
17 ACTIVE org.eclipse.equinox.http.registry_1.0.100.200805151646
18 ACTIVE org.eclipse.osgi.services_3.1.200.v20071203
19 ACTIVE org.eclipse.rap.jface_1.1.0.20080506-1758
20 ACTIVE org.eclipse.rap.ui.views_1.1.0.20080506-1758
21 ACTIVE de.axway.messageanalyzerng.ui.rap_0.0.1
22 ACTIVE org.eclipse.core.runtime_3.4.0.v20080421-1805
23 ACTIVE org.eclipse.core.expressions_3.4.0.v20080430-0100
24 ACTIVE org.eclipse.core.databinding_1.1.0.I20080425-1551
25 ACTIVE de.axway.rap.widget_1.0.0
26 ACTIVE org.apache.commons.logging_1.0.4.v200803061811
27 ACTIVE org.eclipse.rap.ui_1.1.0.20080506-1758
28 ACTIVE org.eclipse.core.commands_3.4.0.v20080408-0800
29 ACTIVE org.eclipse.equinox.servletbridge_1.0.100.200805151646
30 ACTIVE javax.servlet_2.4.0.v200803061910
31 ACTIVE org.eclipse.equinox.preferences_3.2.200.v20080421-2006
32 RESOLVED org.eclipse.equinox.servletbridge.extensionbundle_1.0.0
Master=0
Re: Deployment Problem [message #87660 is a reply to message #87643] Thu, 15 May 2008 15:05 Go to previous message
Eclipse UserFriend
Originally posted by: jonas.bruestel.net

Topic solved!

Thanks for your help. I love RAP :-D

Jonas
Previous Topic:ProgressIndicator on custom presentation
Next Topic:RAP in Tomcat strange Problem
Goto Forum:
  


Current Time: Thu Apr 25 04:46:49 GMT 2024

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

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

Back to the top