|
Re: Error when deploying rap application in tomcat [message #21225 is a reply to message #21170] |
Wed, 02 May 2007 14:21 |
Eclipse User |
|
|
|
Originally posted by: fappel.innoopract.com
Hi,
seems as if the OSGi framework could not be located. Please check the
temp-dir of your web-app-context (tomcat locates those under in windows the
work directory for example) whether the eclipse directory has been created
and all plug-ins of your application are available in the plugin-directory.
Did the PDE-export work properly? You may check this by starting a
PDE-export launching the export from the feature.xml editor and see whether
any problems are reported (this is useful, since the script runs the same
export).
Ciao
Frank
"Xavier" <javier.rodriguez@genaker.net> schrieb im Newsbeitrag
news:d7e0ecf90f1434bd07f521b9c9137e50$1@www.eclipse.org...
> Hi,
>
> When deploying a RAP application by using the servlet bridge method (RAP
> M3), we have the following error when trying to start the tomcat server.
> Do you have any idea about the problem?
>
> Thanks,
> Xavier
>
>
> 02-may-2007 14:26:03 org.apache.catalina.core.ApplicationContext log
> GRAVE: Error while starting Framework
> java.lang.NoSuchMethodException:
> org.eclipse.core.runtime.adaptor.EclipseStarter.internalAddF rameworkShutdownHandler(java.lang.Runnable)
> at java.lang.Class.getDeclaredMethod(Class.java:1909)
> at
> org.eclipse.equinox.servletbridge.FrameworkLauncher.start(Fr ameworkLauncher.java:216)
> at
> org.eclipse.equinox.servletbridge.BridgeServlet.init(BridgeS ervlet.java:63)
> at javax.servlet.GenericServlet.init(GenericServlet.java:212)
> at
> org.apache.catalina.core.StandardWrapper.loadServlet(Standar dWrapper.java:1161)
> at org.apache.catalina.core.StandardWrapper.load(StandardWrappe r.java:981)
> at
> org.apache.catalina.core.StandardContext.loadOnStartup(Stand ardContext.java:4044)
> at
> org.apache.catalina.core.StandardContext.start(StandardConte xt.java:4350)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(Cont ainerBase.java:761)
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBas e.java:741)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost. java:525)
> at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig. java:825)
> at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig .java:714)
> at org.apache.catalina.startup.HostConfig.deployApps(HostConfig .java:490)
> at org.apache.catalina.startup.HostConfig.start(HostConfig.java :1138)
> at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostCo nfig.java:311)
> ..
>
|
|
|
Re: Error when deploying rap application in tomcat [message #21781 is a reply to message #21225] |
Thu, 03 May 2007 00:22 |
Eclipse User |
|
|
|
Originally posted by: webmaster.playershouse.com
Hello,
I have the same error! The good news is, I solved it for now, but the bad
news is that I have no clue why this happens.
It seems like that the servletbridge plugin causes the error, or some
depencies of this plugin.
Before I updated to M3, inlcuding the update of servletbridge plugin,
everthing worked well. So I started a research on it today. Forunately, I
had a WAR file backuped before I updated. After comparing the old WAR file
content and the new WAR file content, including the config files, I noticed
that the servlet bridge.jar had a different file size. So after replacing
the new servletbridge.jar with the old one everything worked well again.
Maybe it is a bug, but I do not know how to post it correctly since I do not
know the correct reason for it.
Best regards,
Markus
"Frank Appel" <fappel@innoopract.com> schrieb im Newsbeitrag
news:f1a6q5$1g2$1@build.eclipse.org...
> Hi,
>
> seems as if the OSGi framework could not be located. Please check the
> temp-dir of your web-app-context (tomcat locates those under in windows
> the work directory for example) whether the eclipse directory has been
> created and all plug-ins of your application are available in the
> plugin-directory.
>
> Did the PDE-export work properly? You may check this by starting a
> PDE-export launching the export from the feature.xml editor and see
> whether any problems are reported (this is useful, since the script runs
> the same export).
>
> Ciao
> Frank
>
>
> "Xavier" <javier.rodriguez@genaker.net> schrieb im Newsbeitrag
> news:d7e0ecf90f1434bd07f521b9c9137e50$1@www.eclipse.org...
>> Hi,
>>
>> When deploying a RAP application by using the servlet bridge method (RAP
>> M3), we have the following error when trying to start the tomcat server.
>> Do you have any idea about the problem?
>>
>> Thanks,
>> Xavier
>>
>>
>> 02-may-2007 14:26:03 org.apache.catalina.core.ApplicationContext log
>> GRAVE: Error while starting Framework
>> java.lang.NoSuchMethodException:
>> org.eclipse.core.runtime.adaptor.EclipseStarter.internalAddF rameworkShutdownHandler(java.lang.Runnable)
>> at java.lang.Class.getDeclaredMethod(Class.java:1909)
>> at
>> org.eclipse.equinox.servletbridge.FrameworkLauncher.start(Fr ameworkLauncher.java:216)
>> at
>> org.eclipse.equinox.servletbridge.BridgeServlet.init(BridgeS ervlet.java:63)
>> at javax.servlet.GenericServlet.init(GenericServlet.java:212)
>> at
>> org.apache.catalina.core.StandardWrapper.loadServlet(Standar dWrapper.java:1161)
>> at
>> org.apache.catalina.core.StandardWrapper.load(StandardWrappe r.java:981)
>> at
>> org.apache.catalina.core.StandardContext.loadOnStartup(Stand ardContext.java:4044)
>> at
>> org.apache.catalina.core.StandardContext.start(StandardConte xt.java:4350)
>> at
>> org.apache.catalina.core.ContainerBase.addChildInternal(Cont ainerBase.java:761)
>> at
>> org.apache.catalina.core.ContainerBase.addChild(ContainerBas e.java:741)
>> at org.apache.catalina.core.StandardHost.addChild(StandardHost. java:525)
>> at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig. java:825)
>> at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig .java:714)
>> at org.apache.catalina.startup.HostConfig.deployApps(HostConfig .java:490)
>> at org.apache.catalina.startup.HostConfig.start(HostConfig.java :1138)
>> at
>> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostCo nfig.java:311)
>> ..
>>
>
>
|
|
|
Re: Error when deploying rap application in tomcat [message #21915 is a reply to message #21781] |
Thu, 03 May 2007 11:40 |
Eclipse User |
|
|
|
Originally posted by: fappel.innoopract.com
Hi,
I tried now myself and encoutered the same problem. Unfortunately the
workaround with the backup servletbridge.jar didn't do the trick. It
improved the situation since now OSGi started up, but the http.registry
plugin could not be activated. I'm not sure that the problem is a RAP bug.
I'm doing some further investigations...
Ciao
Frank
"Markus Kr
|
|
|
|
Re: Error when deploying rap application in tomcat [message #22004 is a reply to message #21960] |
Thu, 03 May 2007 15:25 |
Eclipse User |
|
|
|
Originally posted by: fappel.innoopract.com
Hi,
sure that the browser does not use proxy settings for localhost access? Did
you check if there is an error log in the WEB-INF/eclipse/configuration
directory of the temp dir of the application context? Any hints in the
servlet container log?
By the way I just found out that the first problem could also be solved by
checking out the v20070416 tag of the org.eclipse.equinox.servletbridge
bundle, if you are developing against a 3.2 target. There are changes that
are not compatible with the old one.
Ciao
Frank
"Xavier" <javier.rodriguez@genaker.net> schrieb im Newsbeitrag
news:7d13ed0ee7acf779b14cb146050be2c8$1@www.eclipse.org...
> Hi,
>
> Finally the problem of the NoSuchMethodException was resolved by using the
> last snapshot of the org.eclipse.osgi plugin.
> Now we have all the bundles activated but the RAP context is not available
> (http://localhost:8080/rapdemo/rap -> gives a HTTP 404).
>
> Any idea about the problem or how to debug this?
>
>
> Thanks a lot,
> Xavier
>
|
|
|
Powered by
FUDForum. Page generated in 0.02998 seconds