Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Problem war Deployment
Problem war Deployment [message #105667] Fri, 19 September 2008 09:42 Go to next message
No real name is currently offline No real nameFriend
Messages: 4
Registered: July 2009
Junior Member
Hello,

I have big a problem. I want to deploy my RAP application to a servlet
container.
I followed the manual in the Eclipse help. But it doesn't work and I don't
now why, perhaps anybody can help me!?

The logfile show me the following exception:

!ENTRY org.eclipse.equinox.http.servletbridge 4 0 2008-09-19 11:21:43.022
!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.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)
Caused by: java.lang.Error: Unresolved compilation problem:
The type javax.servlet.http.HttpServlet cannot be resolved. It is
indirectly referenced from required .class files

at
org.eclipse.equinox.http.servletbridge.internal.Activator.<init >(Activator.java:25)
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)
... 10 more
Root exception:
java.lang.Error: Unresolved compilation problem:
The type javax.servlet.http.HttpServlet cannot be resolved. It is
indirectly referenced from required .class files

at
org.eclipse.equinox.http.servletbridge.internal.Activator.<init >(Activator.java:25)
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)
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.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.osgi 4 0 2008-09-19 11:21:43.152
!MESSAGE Bundle
initial@reference :file:plugins/org.eclipse.equinox.http.servletbridge_1.0.0.2 00809191059.jar/
[11] is not active.
Re: Problem war Deployment [message #105691 is a reply to message #105667] Fri, 19 September 2008 09:55 Go to previous messageGo to next message
Dmitry Pryadkin is currently offline Dmitry PryadkinFriend
Messages: 146
Registered: July 2009
Senior Member
What Eclipse version do you use? For me, it turned out that 3.3 can't
build a good war-file.

he_re wrote:
> Hello,
>
> I have big a problem. I want to deploy my RAP application to a servlet
> container.
> I followed the manual in the Eclipse help. But it doesn't work and I
> don't now why, perhaps anybody can help me!?
Re: Problem war Deployment [message #105704 is a reply to message #105691] Fri, 19 September 2008 10:06 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 4
Registered: July 2009
Junior Member
I use Eclipse 3.3
Re: Problem war Deployment [message #105734 is a reply to message #105704] Fri, 19 September 2008 10:36 Go to previous messageGo to next message
Dmitry Pryadkin is currently offline Dmitry PryadkinFriend
Messages: 146
Registered: July 2009
Senior Member
he_re wrote:
> I use Eclipse 3.3
>

I couldn't get 3.3 to build me a war file. Installed 3.4 then.
Re: Problem war Deployment [message #105746 is a reply to message #105667] Fri, 19 September 2008 11:01 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rherrmann.innoopract.com

Hi,

you WAR contains compile errors (see stack trace: Unresolved
compilation problem). You will probably find a zip archive somewhere
in your output folder. It contains log files with the compiler output.
Do you have javax.servlet in your workspace?

HTH
Rüdiger

he_re wrote:
> Hello,
>
> I have big a problem. I want to deploy my RAP application to a servlet
> container.
> I followed the manual in the Eclipse help. But it doesn't work and I
> don't now why, perhaps anybody can help me!?
>
> The logfile show me the following exception:
>
> !ENTRY org.eclipse.equinox.http.servletbridge 4 0 2008-09-19 11:21:43.022
> !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.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)
>
> Caused by: java.lang.Error: Unresolved compilation problem: The type
> javax.servlet.http.HttpServlet cannot be resolved. It is indirectly
> referenced from required .class files
>
> at
> org.eclipse.equinox.http.servletbridge.internal.Activator.<init >(Activator.java:25)
>
> 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)
>
> ... 10 more
> Root exception:
> java.lang.Error: Unresolved compilation problem: The type
> javax.servlet.http.HttpServlet cannot be resolved. It is indirectly
> referenced from required .class files
>
> at
> org.eclipse.equinox.http.servletbridge.internal.Activator.<init >(Activator.java:25)
>
> 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)
>
> 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.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.osgi 4 0 2008-09-19 11:21:43.152
> !MESSAGE Bundle
> initial@reference :file:plugins/org.eclipse.equinox.http.servletbridge_1.0.0.2 00809191059.jar/
> [11] is not active.
>
Re: Problem war Deployment [message #105760 is a reply to message #105746] Fri, 19 September 2008 12:32 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 4
Registered: July 2009
Junior Member
I can remember that there was a zip archive in the war file. Now I create
a new file and there is no zip archive, but it's just the same.
Yes I have the javax.servlet projekt in my workspace.
Re: Problem war Deployment [message #105772 is a reply to message #105746] Fri, 19 September 2008 12:41 Go to previous message
No real name is currently offline No real nameFriend
Messages: 4
Registered: July 2009
Junior Member
Rüdiger Herrmann wrote:

> Hi,

> you WAR contains compile errors (see stack trace: Unresolved
> compilation problem). You will probably find a zip archive somewhere
> in your output folder. It contains log files with the compiler output.
> Do you have javax.servlet in your workspace?

> HTH
> Rüdiger

Now it works fine, I removed the javax.servlet from my workspace
Previous Topic:Checkboxes, Buttons in Table
Next Topic:qooxdoo plan
Goto Forum:
  


Current Time: Thu Apr 18 14:26:36 GMT 2024

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

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

Back to the top