problems deploying RAP application using RAP 1.2 and Galileo [message #137736] |
Thu, 25 June 2009 00:19  |
Eclipse User |
|
|
|
Hello, I had a nice deployment mechanism for my standalone, Jetty powered
RAP 1.1 app. I was using the methodology described
here:http://eclipsesource.com/blogs/2007/11/28/rap-deploymen t-part-1-deploying-your-application-with-jetty/
I have tried to recreate using RAP 1.2 and Eclipse 3.5, structure but
running into difficulties
(1) I cannot get new launcher jars to work in Windows. I get
NoClassDefFoundError for the laucher classes. When i use older launcher
jars the app launches fine.
But I can work around this by using the older launcher bundles:
org.eclipse.equinox.launcher.win32.win32.x86_1.0.2.R331_v200 71019
org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
(2) Using latest Jetty jars (instead of org.mortbay.jetty 5.1, which was
working fine). My app starts up and the bundles are active, but I do not
see in the console any evidence that Jetty is running, and it does not
respond to requests.
Thanks for your help!
David Donohue
|
|
|
|
|
|
|
|
Re: problems deploying RAP application using RAP 1.2 and Galileo [message #138224 is a reply to message #138023] |
Fri, 26 June 2009 09:06  |
Eclipse User |
|
|
|
David Donohue wrote:
> Rüdiger,
> Thanks for your time and help!
>
> I have not updated config.ini but I manually start the relevalt Jetty
> bundles and that does not change anything. Do you still think
> generating config.ini using the product would help? I am unfamiliar
> with the Product Configuration in general. Do you recommend using it?
There was a misunderstanding. I only mentioned the product
configuration because it offers a way to validate the feature. If
some of the bundles in the feature are missing required bundles or
such things, that would surface before trying to run the incomplete
feature.
>
> I did as you said and my feature project validates with no errors.
> I always start with -consolelog and no errors.
>
> Here is what I see in the browser.
> HTTP ERROR 404
> Problem accessing /inqle. Reason:
> ProxyServlet: /inqle
> Powered by Jetty://
>
> When I try to start bundle org.eclipse.rap.ui.workbench, I get
> java.lang.NullPointerException
> at
> org.eclipse.rap.ui.internal.branding.BrandingExtension.readB ody(BrandingExtension.java:213)
>
> at
> org.eclipse.rap.ui.internal.branding.BrandingExtension.readB randing(BrandingExtension.java:94)
>
> at
> org.eclipse.rap.ui.internal.branding.BrandingExtension.read( BrandingExtension.java:72)
>
> at
> org.eclipse.ui.internal.WorkbenchPlugin$3.addingService(Work benchPlugin.java:1093)
>
> ...
>
Here we go! To me this very likely the reason why your application
doesn't run.
Most likely the file that is specified in the body attribute of the
branding does not exist or isn't deployed.
> I started all other bundles and Jetty still will not respond.
>
> I diag org.mortbay.jetty.server and get this
> osgi> diag 119
> update@plugins/org.mortbay.jetty.server_6.1.15.v200905151201.jar [119]
> Direct constraints which are unresolved:
> Missing imported package javax.servlet.jsp_0.0.0.
> Missing imported package org.apache.jasper.servlet_0.0.0.
> Missing imported package org.mortbay.jetty.handler.management_0.0.0.
>
> I diag org.mortbay.jetty.util and get this
> osgi> diag 120
> update@plugins/org.mortbay.jetty.util_6.1.15.v200905182336/ [120]
> Direct constraints which are unresolved:
> Missing imported package org.slf4j_1.3.0.
>
> Could the missing SLF4J explain the lack of logging from Jetty?
>
> Many thanks,
> David Donohue
>
|
|
|
Powered by
FUDForum. Page generated in 0.05483 seconds