|
Re: Tomcat Deployment problem [message #79669 is a reply to message #79503] |
Fri, 28 March 2008 09:55 |
Eclipse User |
|
|
|
Originally posted by: fappel.innoopract.com
Hi,
seems as if compiling errors occured during pde build. Often it helps to
trigger the PDE-Feature-Export directly from the feature editor, since
this provides better error infos. One problem I could think of is that
the dependency list isn't complete. The feature for deployment normally
contains the update configurator plug-in for example, but unfortunately
this isn't currently included in the development target.
Ciao
Frank
-----Ursprüngliche Nachricht-----
Von: Murali Krishna [mailto:murakris@gmail.com]
Bereitgestellt: Donnerstag, 27. März 2008 16:32
Bereitgestellt in: eclipse.technology.rap
Unterhaltung: Tomcat Deployment problem
Betreff: Tomcat Deployment problem
Hi,
When i tried to deploy my RAP application war file on to tomcat, i get
the following errors on the browser side:
"
HTTP Status 404 - BridgeServlet: /webtda/rap
type Status report
message BridgeServlet: /webtda/rap
description The requested resource (BridgeServlet: /webtda/rap) is not
available.
"
ON THE LOGS:
!ENTRY org.eclipse.equinox.http.servletbridge 4 0 2008-03-27
20:54:25.530
!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 BundleActiva
tor(AbstractBundle.java:141)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleC
ontextImpl.java:970)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHo
st.java:346)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractB
undle.java:350)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framewor
k.java:1118)
at
org.eclipse.osgi.framework.internal.core.PackageAdminImpl.re sumeBundles(
PackageAdminImpl.java:268)
at
org.eclipse.osgi.framework.internal.core.PackageAdminImpl.do ResolveBundl
es(PackageAdminImpl.java:236)
at
org.eclipse.osgi.framework.internal.core.PackageAdminImpl$1. run(PackageA
dminImpl.java:164)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.Error: Unresolved compilation problems:
The type javax.servlet.http.HttpServlet cannot be resolved. It
is
indirectly referenced from required .class files
The method registerServletDelegate(HttpServlet) in the type
BridgeServlet
is not applicable for the arguments (HttpServiceServlet)
The method unregisterServletDelegate(HttpServlet) in the type
BridgeServlet is not applicable for the arguments (HttpServiceServlet)
at
org.eclipse.equinox.http.servletbridge.internal.Activator.<init >(Activat
or.java:25)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(Native ConstructorA
ccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingCons
tructorAccessorImpl.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 BundleActiva
tor(AbstractBundle.java:136)
... 8 more
Root exception:
java.lang.Error: Unresolved compilation problems:
The type javax.servlet.http.HttpServlet cannot be resolved. It
is
indirectly referenced from required .class files
The method registerServletDelegate(HttpServlet) in the type
BridgeServlet
is not applicable for the arguments (HttpServiceServlet)
The method unregisterServletDelegate(HttpServlet) in the type
BridgeServlet is not applicable for the arguments (HttpServiceServlet)
at
org.eclipse.equinox.http.servletbridge.internal.Activator.<init >(Activat
or.java:25)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(Native ConstructorA
ccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingCons
tructorAccessorImpl.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 BundleActiva
tor(AbstractBundle.java:136)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleC
ontextImpl.java:970)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHo
st.java:346)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractB
undle.java:350)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framewor
k.java:1118)
at
org.eclipse.osgi.framework.internal.core.PackageAdminImpl.re sumeBundles(
PackageAdminImpl.java:268)
at
org.eclipse.osgi.framework.internal.core.PackageAdminImpl.do ResolveBundl
es(PackageAdminImpl.java:236)
at
org.eclipse.osgi.framework.internal.core.PackageAdminImpl$1. run(PackageA
dminImpl.java:164)
at java.lang.Thread.run(Thread.java:619)
!ENTRY org.eclipse.core.runtime 2 0 2008-03-27 20:54:25.733
!MESSAGE Authorization infrastructure
(org.eclipse.core.runtime.compatibility.auth) not installed.
!STACK 0
java.lang.NoClassDefFoundError:
org/eclipse/core/internal/runtime/auth/AuthorizationHandler
at
org.eclipse.core.internal.runtime.InternalPlatform.initializ eAuthorizati
onHandler(InternalPlatform.java:603)
at
org.eclipse.core.internal.runtime.InternalPlatform.start(Int ernalPlatfor
m.java:745)
at
org.eclipse.core.internal.runtime.PlatformActivator.start(Pl atformActiva
tor.java:31)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleC
ontextImpl.java:999)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivato
r(BundleContextImpl.java:993)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleC
ontextImpl.java:974)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHo
st.java:346)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBu
ndle.java:260)
at
org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400
)
at
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLoc
alClass(EclipseLazyStarter.java:111)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(Clas
spathManager.java:417)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(
DefaultClassLoader.java:189)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(Bun
dleLoader.java:340)
at
org.eclipse.osgi.framework.internal.core.SingleSourcePackage .loadClass(S
ingleSourcePackage.java:37)
at
org.eclipse.osgi.framework.internal.core.MultiSourcePackage. loadClass(Mu
ltiSourcePackage.java:31)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(
BundleLoader.java:405)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLo
ader.java:369)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLo
ader.java:357)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(Defau
ltClassLoader.java:83)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319 )
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.def ineClass(Def
aultClassLoader.java:161)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineC lass(Classpa
thManager.java:501)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findCla ssImpl(Class
pathManager.java:471)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClassImpl(
ClasspathManager.java:430)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(Clas
spathManager.java:413)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(
DefaultClassLoader.java:189)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(Bun
dleLoader.java:340)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(
BundleLoader.java:408)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLo
ader.java:369)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLo
ader.java:357)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(Defau
ltClassLoader.java:83)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLo
ader.java:289)
at
org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost
..java:227)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.load BundleActiva
tor(AbstractBundle.java:134)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleC
ontextImpl.java:970)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHo
st.java:346)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBu
ndle.java:260)
at
org.eclipse.update.internal.configurator.ConfigurationActiva tor.installB
undles(ConfigurationActivator.java:218)
at
org.eclipse.update.internal.configurator.ConfigurationActiva tor.start(Co
nfigurationActivator.java:82)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleC
ontextImpl.java:999)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivato
r(BundleContextImpl.java:993)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleC
ontextImpl.java:974)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHo
st.java:346)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractB
undle.java:350)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framewor
k.java:1118)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles
(StartLevelManager.java:634)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(Start
LevelManager.java:508)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLev
el(StartLevelManager.java:282)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent
(StartLevelManager.java:468)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventMana
ger.java:195)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventMa
nager.java:297)
!ENTRY org.eclipse.update.configurator 2008-03-27 20:54:25.780
!MESSAGE Could not install bundle
update@plugins/org.eclipse.equinox.http.servlet_1.0.100.200803272043.jar
The activator org.eclipse.equinox.http.servlet.internal.Activator for
bundle org.eclipse.equinox.http.servlet is invalid
!ENTRY org.eclipse.equinox.http.servletbridge 4 0 2008-03-27
20:54:25.811
!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 BundleActiva
tor(AbstractBundle.java:141)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleC
ontextImpl.java:970)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHo
st.java:346)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractB
undle.java:350)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framewor
k.java:1118)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles
(StartLevelManager.java:634)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(Start
LevelManager.java:508)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLev
el(StartLevelManager.java:282)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent
(StartLevelManager.java:468)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventMana
ger.java:195)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventMa
nager.java:297)
Caused by: java.lang.Error: Unresolved compilation problems:
The type javax.servlet.http.HttpServlet cannot be resolved. It
is
indirectly referenced from required .class files
The method registerServletDelegate(HttpServlet) in the type
BridgeServlet
is not applicable for the arguments (HttpServiceServlet)
The method unregisterServletDelegate(HttpServlet) in the type
BridgeServlet is not applicable for the arguments (HttpServiceServlet)
at
org.eclipse.equinox.http.servletbridge.internal.Activator.<init >(Activat
or.java:25)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(Native ConstructorA
ccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingCons
tructorAccessorImpl.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 BundleActiva
tor(AbstractBundle.java:136)
... 10 more
Root exception:
java.lang.Error: Unresolved compilation problems:
The type javax.servlet.http.HttpServlet cannot be resolved. It
is
indirectly referenced from required .class files
The method registerServletDelegate(HttpServlet) in the type
BridgeServlet
is not applicable for the arguments (HttpServiceServlet)
The method unregisterServletDelegate(HttpServlet) in the type
BridgeServlet is not applicable for the arguments (HttpServiceServlet)
at
org.eclipse.equinox.http.servletbridge.internal.Activator.<init >(Activat
or.java:25)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(Native ConstructorA
ccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingCons
tructorAccessorImpl.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 BundleActiva
tor(AbstractBundle.java:136)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleC
ontextImpl.java:970)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHo
st.java:346)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractB
undle.java:350)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framewor
k.java:1118)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles
(StartLevelManager.java:634)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(Start
LevelManager.java:508)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLev
el(StartLevelManager.java:282)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent
(StartLevelManager.java:468)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventMana
ger.java:195)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventMa
nager.java:297)
!ENTRY org.eclipse.osgi 4 0 2008-03-27 20:54:25.858
!MESSAGE Bundle
initial@reference:file:plugins/org.eclipse.equinox.http.servletbridge_1.
0.0.200803272043.jar/
[3] is not active.
I used the servlet bundle project set provided under eclipse equinox
project site.
Why do we get these errors?
Could someone help me out of this.
Regards,
Murali
|
|
|
Re: Tomcat Deployment problem [message #79957 is a reply to message #79503] |
Fri, 28 March 2008 16:36 |
Eclipse User |
|
|
|
Originally posted by: fappel.innoopract.com
Hi,
did you check that your export works properly? The deployment with the
antscript isn't that helpful for checking this. So I recommend to run
the feature export from the feature editor. This normally prompts if
build errors occur. Also check if there any log.zip Files in your build
output that may contain information about what's going wrong. Ensure
that all dependencies in the feature.xml are fullfilled.
Ciao
Frank
-----Ursprüngliche Nachricht-----
Von: Murali Krishna [mailto:murakris@gmail.com]
Bereitgestellt: Donnerstag, 27. März 2008 16:32
Bereitgestellt in: eclipse.technology.rap
Unterhaltung: Tomcat Deployment problem
Betreff: Tomcat Deployment problem
Hi,
When i tried to deploy my RAP application war file on to tomcat, i get
the following errors on the browser side:
"
HTTP Status 404 - BridgeServlet: /webtda/rap
type Status report
message BridgeServlet: /webtda/rap
description The requested resource (BridgeServlet: /webtda/rap) is not
available.
"
ON THE LOGS:
!ENTRY org.eclipse.equinox.http.servletbridge 4 0 2008-03-27
20:54:25.530
!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 BundleActiva
tor(AbstractBundle.java:141)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleC
ontextImpl.java:970)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHo
st.java:346)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractB
undle.java:350)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framewor
k.java:1118)
at
org.eclipse.osgi.framework.internal.core.PackageAdminImpl.re sumeBundles(
PackageAdminImpl.java:268)
at
org.eclipse.osgi.framework.internal.core.PackageAdminImpl.do ResolveBundl
es(PackageAdminImpl.java:236)
at
org.eclipse.osgi.framework.internal.core.PackageAdminImpl$1. run(PackageA
dminImpl.java:164)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.Error: Unresolved compilation problems:
The type javax.servlet.http.HttpServlet cannot be resolved. It
is
indirectly referenced from required .class files
The method registerServletDelegate(HttpServlet) in the type
BridgeServlet
is not applicable for the arguments (HttpServiceServlet)
The method unregisterServletDelegate(HttpServlet) in the type
BridgeServlet is not applicable for the arguments (HttpServiceServlet)
at
org.eclipse.equinox.http.servletbridge.internal.Activator.<init >(Activat
or.java:25)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(Native ConstructorA
ccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingCons
tructorAccessorImpl.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 BundleActiva
tor(AbstractBundle.java:136)
... 8 more
Root exception:
java.lang.Error: Unresolved compilation problems:
The type javax.servlet.http.HttpServlet cannot be resolved. It
is
indirectly referenced from required .class files
The method registerServletDelegate(HttpServlet) in the type
BridgeServlet
is not applicable for the arguments (HttpServiceServlet)
The method unregisterServletDelegate(HttpServlet) in the type
BridgeServlet is not applicable for the arguments (HttpServiceServlet)
at
org.eclipse.equinox.http.servletbridge.internal.Activator.<init >(Activat
or.java:25)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(Native ConstructorA
ccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingCons
tructorAccessorImpl.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 BundleActiva
tor(AbstractBundle.java:136)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleC
ontextImpl.java:970)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHo
st.java:346)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractB
undle.java:350)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framewor
k.java:1118)
at
org.eclipse.osgi.framework.internal.core.PackageAdminImpl.re sumeBundles(
PackageAdminImpl.java:268)
at
org.eclipse.osgi.framework.internal.core.PackageAdminImpl.do ResolveBundl
es(PackageAdminImpl.java:236)
at
org.eclipse.osgi.framework.internal.core.PackageAdminImpl$1. run(PackageA
dminImpl.java:164)
at java.lang.Thread.run(Thread.java:619)
!ENTRY org.eclipse.core.runtime 2 0 2008-03-27 20:54:25.733
!MESSAGE Authorization infrastructure
(org.eclipse.core.runtime.compatibility.auth) not installed.
!STACK 0
java.lang.NoClassDefFoundError:
org/eclipse/core/internal/runtime/auth/AuthorizationHandler
at
org.eclipse.core.internal.runtime.InternalPlatform.initializ eAuthorizati
onHandler(InternalPlatform.java:603)
at
org.eclipse.core.internal.runtime.InternalPlatform.start(Int ernalPlatfor
m.java:745)
at
org.eclipse.core.internal.runtime.PlatformActivator.start(Pl atformActiva
tor.java:31)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleC
ontextImpl.java:999)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivato
r(BundleContextImpl.java:993)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleC
ontextImpl.java:974)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHo
st.java:346)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBu
ndle.java:260)
at
org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400
)
at
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLoc
alClass(EclipseLazyStarter.java:111)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(Clas
spathManager.java:417)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(
DefaultClassLoader.java:189)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(Bun
dleLoader.java:340)
at
org.eclipse.osgi.framework.internal.core.SingleSourcePackage .loadClass(S
ingleSourcePackage.java:37)
at
org.eclipse.osgi.framework.internal.core.MultiSourcePackage. loadClass(Mu
ltiSourcePackage.java:31)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(
BundleLoader.java:405)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLo
ader.java:369)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLo
ader.java:357)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(Defau
ltClassLoader.java:83)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319 )
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.def ineClass(Def
aultClassLoader.java:161)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineC lass(Classpa
thManager.java:501)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findCla ssImpl(Class
pathManager.java:471)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClassImpl(
ClasspathManager.java:430)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(Clas
spathManager.java:413)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(
DefaultClassLoader.java:189)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(Bun
dleLoader.java:340)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(
BundleLoader.java:408)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLo
ader.java:369)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLo
ader.java:357)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(Defau
ltClassLoader.java:83)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLo
ader.java:289)
at
org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost
..java:227)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.load BundleActiva
tor(AbstractBundle.java:134)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleC
ontextImpl.java:970)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHo
st.java:346)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBu
ndle.java:260)
at
org.eclipse.update.internal.configurator.ConfigurationActiva tor.installB
undles(ConfigurationActivator.java:218)
at
org.eclipse.update.internal.configurator.ConfigurationActiva tor.start(Co
nfigurationActivator.java:82)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleC
ontextImpl.java:999)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivato
r(BundleContextImpl.java:993)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleC
ontextImpl.java:974)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHo
st.java:346)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractB
undle.java:350)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framewor
k.java:1118)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles
(StartLevelManager.java:634)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(Start
LevelManager.java:508)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLev
el(StartLevelManager.java:282)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent
(StartLevelManager.java:468)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventMana
ger.java:195)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventMa
nager.java:297)
!ENTRY org.eclipse.update.configurator 2008-03-27 20:54:25.780
!MESSAGE Could not install bundle
update@plugins/org.eclipse.equinox.http.servlet_1.0.100.200803272043.jar
The activator org.eclipse.equinox.http.servlet.internal.Activator for
bundle org.eclipse.equinox.http.servlet is invalid
!ENTRY org.eclipse.equinox.http.servletbridge 4 0 2008-03-27
20:54:25.811
!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 BundleActiva
tor(AbstractBundle.java:141)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleC
ontextImpl.java:970)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHo
st.java:346)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractB
undle.java:350)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framewor
k.java:1118)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles
(StartLevelManager.java:634)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(Start
LevelManager.java:508)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLev
el(StartLevelManager.java:282)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent
(StartLevelManager.java:468)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventMana
ger.java:195)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventMa
nager.java:297)
Caused by: java.lang.Error: Unresolved compilation problems:
The type javax.servlet.http.HttpServlet cannot be resolved. It
is
indirectly referenced from required .class files
The method registerServletDelegate(HttpServlet) in the type
BridgeServlet
is not applicable for the arguments (HttpServiceServlet)
The method unregisterServletDelegate(HttpServlet) in the type
BridgeServlet is not applicable for the arguments (HttpServiceServlet)
at
org.eclipse.equinox.http.servletbridge.internal.Activator.<init >(Activat
or.java:25)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(Native ConstructorA
ccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingCons
tructorAccessorImpl.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 BundleActiva
tor(AbstractBundle.java:136)
... 10 more
Root exception:
java.lang.Error: Unresolved compilation problems:
The type javax.servlet.http.HttpServlet cannot be resolved. It
is
indirectly referenced from required .class files
The method registerServletDelegate(HttpServlet) in the type
BridgeServlet
is not applicable for the arguments (HttpServiceServlet)
The method unregisterServletDelegate(HttpServlet) in the type
BridgeServlet is not applicable for the arguments (HttpServiceServlet)
at
org.eclipse.equinox.http.servletbridge.internal.Activator.<init >(Activat
or.java:25)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(Native ConstructorA
ccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingCons
tructorAccessorImpl.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 BundleActiva
tor(AbstractBundle.java:136)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleC
ontextImpl.java:970)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHo
st.java:346)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractB
undle.java:350)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framewor
k.java:1118)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles
(StartLevelManager.java:634)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(Start
LevelManager.java:508)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLev
el(StartLevelManager.java:282)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent
(StartLevelManager.java:468)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventMana
ger.java:195)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventMa
nager.java:297)
!ENTRY org.eclipse.osgi 4 0 2008-03-27 20:54:25.858
!MESSAGE Bundle
initial@reference:file:plugins/org.eclipse.equinox.http.servletbridge_1.
0.0.200803272043.jar/
[3] is not active.
I used the servlet bundle project set provided under eclipse equinox
project site.
Why do we get these errors?
Could someone help me out of this.
Regards,
Murali
|
|
|
Re: Tomcat Deployment problem [message #79987 is a reply to message #79503] |
Sat, 29 March 2008 05:20 |
Eclipse User |
|
|
|
Originally posted by: evolanakis.innoopract.com
You may find this helpful:
http://rapblog.innoopract.com/2007/12/rap-deployment-part-2- deploying-your.html
Regards,
Elias.
Murali Krishna wrote:
> Hi,
> When i tried to deploy my RAP application war file on to tomcat, i get
> the following errors on the browser side:
>
> "
> HTTP Status 404 - BridgeServlet: /webtda/rap
>
> type Status report
>
> message BridgeServlet: /webtda/rap
>
> description The requested resource (BridgeServlet: /webtda/rap) is not
> available.
> "
>
>
> ON THE LOGS:
>
> !ENTRY org.eclipse.equinox.http.servletbridge 4 0 2008-03-27 20:54:25.530
> !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:141)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:970)
>
> 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:350)
>
> at
> org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1118)
>
> at
> org.eclipse.osgi.framework.internal.core.PackageAdminImpl.re sumeBundles(PackageAdminImpl.java:268)
>
> at
> org.eclipse.osgi.framework.internal.core.PackageAdminImpl.do ResolveBundles(PackageAdminImpl.java:236)
>
> at
> org.eclipse.osgi.framework.internal.core.PackageAdminImpl$1. run(PackageAdminImpl.java:164)
>
> at java.lang.Thread.run(Thread.java:619)
> Caused by: java.lang.Error: Unresolved compilation problems: The
> type javax.servlet.http.HttpServlet cannot be resolved. It is indirectly
> referenced from required .class files
> The method registerServletDelegate(HttpServlet) in the type
> BridgeServlet is not applicable for the arguments (HttpServiceServlet)
> The method unregisterServletDelegate(HttpServlet) in the type
> BridgeServlet is not applicable for the arguments (HttpServiceServlet)
>
> 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:136)
>
> ... 8 more
> Root exception:
> java.lang.Error: Unresolved compilation problems: The type
> javax.servlet.http.HttpServlet cannot be resolved. It is indirectly
> referenced from required .class files
> The method registerServletDelegate(HttpServlet) in the type
> BridgeServlet is not applicable for the arguments (HttpServiceServlet)
> The method unregisterServletDelegate(HttpServlet) in the type
> BridgeServlet is not applicable for the arguments (HttpServiceServlet)
>
> 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:136)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:970)
>
> 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:350)
>
> at
> org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1118)
>
> at
> org.eclipse.osgi.framework.internal.core.PackageAdminImpl.re sumeBundles(PackageAdminImpl.java:268)
>
> at
> org.eclipse.osgi.framework.internal.core.PackageAdminImpl.do ResolveBundles(PackageAdminImpl.java:236)
>
> at
> org.eclipse.osgi.framework.internal.core.PackageAdminImpl$1. run(PackageAdminImpl.java:164)
>
> at java.lang.Thread.run(Thread.java:619)
>
> !ENTRY org.eclipse.core.runtime 2 0 2008-03-27 20:54:25.733
> !MESSAGE Authorization infrastructure
> (org.eclipse.core.runtime.compatibility.auth) not installed.
> !STACK 0
> java.lang.NoClassDefFoundError:
> org/eclipse/core/internal/runtime/auth/AuthorizationHandler
> at
> org.eclipse.core.internal.runtime.InternalPlatform.initializ eAuthorizationHandler(InternalPlatform.java:603)
>
> at
> org.eclipse.core.internal.runtime.InternalPlatform.start(Int ernalPlatform.java:745)
>
> at
> org.eclipse.core.internal.runtime.PlatformActivator.start(Pl atformActivator.java:31)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:999)
>
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:993)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:974)
>
> 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:260)
>
> at
> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:417)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:189)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:340)
>
> at
> org.eclipse.osgi.framework.internal.core.SingleSourcePackage .loadClass(SingleSourcePackage.java:37)
>
> at
> org.eclipse.osgi.framework.internal.core.MultiSourcePackage. loadClass(MultiSourcePackage.java:31)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:405)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:369)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:357)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:83)
>
> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319 )
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.def ineClass(DefaultClassLoader.java:161)
>
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineC lass(ClasspathManager.java:501)
>
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findCla ssImpl(ClasspathManager.java:471)
>
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClassImpl(ClasspathManager.java:430)
>
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:413)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:189)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:340)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:408)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:369)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:357)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:83)
>
> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:289)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:227)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.load BundleActivator(AbstractBundle.java:134)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:970)
>
> 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:260)
>
> at
> org.eclipse.update.internal.configurator.ConfigurationActiva tor.installBundles(ConfigurationActivator.java:218)
>
> at
> org.eclipse.update.internal.configurator.ConfigurationActiva tor.start(ConfigurationActivator.java:82)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:999)
>
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:993)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:974)
>
> 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:350)
>
> at
> org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1118)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:634)
>
> 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:282)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:468)
>
> at
> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:195)
>
> at
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:297)
>
>
> !ENTRY org.eclipse.update.configurator 2008-03-27 20:54:25.780
> !MESSAGE Could not install bundle
> update@plugins/org.eclipse.equinox.http.servlet_1.0.100.200803272043.jar
> The activator org.eclipse.equinox.http.servlet.internal.Activator for
> bundle org.eclipse.equinox.http.servlet is invalid
>
> !ENTRY org.eclipse.equinox.http.servletbridge 4 0 2008-03-27 20:54:25.811
> !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:141)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:970)
>
> 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:350)
>
> at
> org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1118)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:634)
>
> 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:282)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:468)
>
> at
> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:195)
>
> at
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:297)
>
> Caused by: java.lang.Error: Unresolved compilation problems: The
> type javax.servlet.http.HttpServlet cannot be resolved. It is indirectly
> referenced from required .class files
> The method registerServletDelegate(HttpServlet) in the type
> BridgeServlet is not applicable for the arguments (HttpServiceServlet)
> The method unregisterServletDelegate(HttpServlet) in the type
> BridgeServlet is not applicable for the arguments (HttpServiceServlet)
>
> 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:136)
>
> ... 10 more
> Root exception:
> java.lang.Error: Unresolved compilation problems: The type
> javax.servlet.http.HttpServlet cannot be resolved. It is indirectly
> referenced from required .class files
> The method registerServletDelegate(HttpServlet) in the type
> BridgeServlet is not applicable for the arguments (HttpServiceServlet)
> The method unregisterServletDelegate(HttpServlet) in the type
> BridgeServlet is not applicable for the arguments (HttpServiceServlet)
>
> 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:136)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:970)
>
> 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:350)
>
> at
> org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1118)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:634)
>
> 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:282)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:468)
>
> at
> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:195)
>
> at
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:297)
>
>
> !ENTRY org.eclipse.osgi 4 0 2008-03-27 20:54:25.858
> !MESSAGE Bundle
> initial@reference :file:plugins/org.eclipse.equinox.http.servletbridge_1.0.0.2 00803272043.jar/
> [3] is not active.
>
>
> I used the servlet bundle project set provided under eclipse equinox
> project site.
> Why do we get these errors?
> Could someone help me out of this.
>
> Regards,
> Murali
>
>
|
|
|
|
|
|
Re: Tomcat Deployment problem [message #80803 is a reply to message #80794] |
Wed, 02 April 2008 07:58 |
Eclipse User |
|
|
|
Originally posted by: fappel.innoopract.com
Hi,
did you check that all your plug-in dependencies which are declared in
the feature are available in the target. The RAP target exists only of a
minimalistic bundle set that is enough for development. For deployment
the update configurator bundle for example is missing.
Ciao
Frank
-----Ursprüngliche Nachricht-----
Von: Murali Krishna [mailto:murakris@gmail.com]
Bereitgestellt: Mittwoch, 2. April 2008 06:51
Bereitgestellt in: eclipse.technology.rap
Unterhaltung: Tomcat Deployment problem
Betreff: Re: Tomcat Deployment problem
Hi Arpit,
We r on the same boat.I too am finding it difficult to resolve what's
going wrong in the servlet bridge bundle project set.Iam looking forward
to someone who has faced this problem.Lets wait and see if anyone comes
up with an amicable solution.
Regards,
Murali
|
|
|
|
|
Re: Tomcat Deployment problem [message #81016 is a reply to message #80924] |
Wed, 02 April 2008 15:57 |
Arpit Desai Messages: 25 Registered: July 2009 |
Junior Member |
|
|
Stefan/Murali/Frank,
I was able to successfully deploy the war file yesterday. The work
around is
1) After importing the required plugins using the Team Project Set file,
export these 4 plugins to your local dir. Do this one by one and export
them as deployable plugins
javax.servlet
org.eclipse.equinox.http.registry
org.eclipse.equinox.http.servlet
org.eclipse.equinox.http.servletbridge
2) Now delete them (with contents) from your workspace
3) Now Re-import them from the local disk into your workspace.
The difference here is these are in binary form and wont be re-compiled
by PDE Builder again.
4) Run your features build after clearing the previous build folder.
This time you should not see any logs.zip file.
I think there is some issue when PDE builder compiles these plugins
together (not one by one) it runs into some dependencies (cyclic) and
gets thrown off.
If we use precompiled plugins, the only thing that needs to be compiled
is our project. Less chance of errors there :)
org.eclipse.equinox.servletbridge.jar is built during this PDE build by
itself. You dont need to add it as a dependency in your feature.
Try it and let us know how it goes.
Cheers,
Arpit
Stefan Röck wrote:
> Hi,
>
> just a guess: the plugin "org.eclipse.equinox.servletbridge" is missing
> (don't mix up with "org.eclipse.equinox.http.servletbridge").
>
> Regards,
> Stefan.
>
> Murali Krishna schrieb:
>> The following is my feature.xml.
>> When i replace the servlet bridge bundle with an older one, 2007-05-02
>> version, it works fine.When u execute the script, a newer version of
>> it is generated and it gives us this problem.
>>
>> Is anything missing from the file.
>> DO please look into this.
>>
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <feature
>> id="com.demo.app.feature"
>> label="Demo App"
>> version="1.0.0.0"
>> provider-name="Demo">
>>
>> <description url="http://www.example.com/description">
>> [Enter Feature Description here.]
>> </description>
>>
>> <copyright url="http://www.example.com/copyright">
>> [Enter Copyright Description here.]
>> </copyright>
>>
>> <license url="http://www.example.com/license">
>> [Enter License Description here.]
>> </license>
>>
>> <plugin
>> id="org.eclipse.core.commands"
>> download-size="0"
>> install-size="0"
>> version="0.0.0"
>> unpack="false"/>
>>
>> <plugin
>> id="org.eclipse.core.contenttype"
>> download-size="0"
>> install-size="0"
>> version="0.0.0"
>> unpack="false"/>
>>
>> <plugin
>> id="org.eclipse.core.jobs"
>> download-size="0"
>> install-size="0"
>> version="0.0.0"
>> unpack="false"/>
>>
>> <plugin
>> id="org.eclipse.core.runtime"
>> download-size="0"
>> install-size="0"
>> version="0.0.0"
>> unpack="false"/>
>>
>> <plugin
>> id="org.eclipse.equinox.common"
>> download-size="0"
>> install-size="0"
>> version="0.0.0"
>> unpack="false"/>
>>
>> <plugin
>> id="org.eclipse.equinox.http.registry"
>> download-size="0"
>> install-size="0"
>> version="0.0.0"
>> unpack="false"/>
>>
>> <plugin
>> id="org.eclipse.equinox.http.servlet"
>> download-size="0"
>> install-size="0"
>> version="0.0.0"
>> unpack="false"/>
>>
>> <plugin
>> id="org.eclipse.equinox.http.servletbridge"
>> download-size="0"
>> install-size="0"
>> version="0.0.0"
>> unpack="false"/>
>>
>> <plugin
>> id="org.eclipse.equinox.preferences"
>> download-size="0"
>> install-size="0"
>> version="0.0.0"
>> unpack="false"/>
>>
>> <plugin
>> id="org.eclipse.equinox.registry"
>> download-size="0"
>> install-size="0"
>> version="0.0.0"
>> unpack="false"/>
>>
>> <plugin
>> id="org.eclipse.osgi"
>> download-size="0"
>> install-size="0"
>> version="0.0.0"
>> unpack="false"/>
>>
>> <plugin
>> id="org.eclipse.osgi.services"
>> download-size="0"
>> install-size="0"
>> version="0.0.0"
>> unpack="false"/>
>>
>> <plugin
>> id="org.eclipse.rap.jface"
>> download-size="0"
>> install-size="0"
>> version="0.0.0"
>> unpack="false"/>
>>
>> <plugin
>> id="org.eclipse.rap.rwt"
>> download-size="0"
>> install-size="0"
>> version="0.0.0"
>> unpack="false"/>
>>
>> <plugin
>> id="org.eclipse.rap.ui.workbench"
>> download-size="0"
>> install-size="0"
>> version="0.0.0"
>> unpack="false"/>
>>
>> <plugin
>> id="org.eclipse.update.configurator"
>> download-size="0"
>> install-size="0"
>> version="0.0.0"
>> unpack="false"/>
>>
>> <plugin
>> id="org.eclipse.core.expressions"
>> download-size="0"
>> install-size="0"
>> version="0.0.0"
>> unpack="false"/>
>>
>> <plugin
>> id="org.eclipse.equinox.app"
>> download-size="0"
>> install-size="0"
>> version="0.0.0"
>> unpack="false"/>
>>
>> <plugin
>> id="org.eclipse.rap.ui"
>> download-size="0"
>> install-size="0"
>> version="0.0.0"
>> unpack="false"/>
>>
>> <plugin
>> id="com.demo.app"
>> download-size="0"
>> install-size="0"
>> version="0.0.0"
>> unpack="false"/>
>>
>> <plugin
>> id="org.eclipse.rap.ui.forms"
>> download-size="0"
>> install-size="0"
>> version="0.0.0"
>> unpack="false"/>
>>
>> </feature>
>>
>>
|
|
|
|
Re: Tomcat Deployment problem [message #81213 is a reply to message #81112] |
Thu, 03 April 2008 17:00 |
Eclipse User |
|
|
|
Originally posted by: benjamin.wolff.web.de
Hi,
don't know if it related to this or if it still exists but i had to
remove the cvs javax.servlet and use the one in the latest rap target
platform (which means NO javax.servlet project in the workspace).
somehow the cvs javax.servlet v2.4 was screwed up after i updated it
from cvs (as i did daily for a long time with no problems). there were
no errors within the projects but the pde export always created the zip
file with javax.servlet errors etc. so i deleted it from the workspace
so the javax.servlet from the target platform was used and it worked.
didn't check if the problem still persits, but maybe you're experiencing
the same.
mfg
ben w.
Murali Krishna schrieb:
> Arpit,
> Thanks for the solution.It worked and i presume there is a problem with
> the PDE builder in resolving cyclic dependencies.
> Cheers,
> Murali
>
|
|
|
Powered by
FUDForum. Page generated in 0.05214 seconds