[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[jetty-users] GWT+Jersey+Embedded Jetty+war files query
|
Hi,
Hoping someone can help with a problem I have not been able to solve.
I have a simple GWT application, with a simple Jersey REST server. I
am able to compile and succesfully run it on Eclipse IDE using
SuperDev Mode. I am able to created a .war file from my project, and
drop this .war file into an unmodified stand-alone Jetty (9.4.6)
webapps folder, and again it runs as expected. The .war File Size is
95981747 bytes containing the appropriate GWT and Jersey jars (if that
is relevant).
But when I try to load the .war file into an Embedded Jetty (9.4.2),
the server-side programs will not work at all, as if the server side
programs did not exist. The welcome page is however available, just
that it appears there is no backend. (I am able as well to write and
run simple Jersey REST applications with no dependency on GWT; also
able to run simple GWT apps in embedded mode.) GWT's
JettyLauncher.java (which starts embedded Jetty in Dev Mode) provides
no clue. From my reading of the documentation a .war file should just
work with embedded Jetty. I can't understand why one .war file works
in embedded Jetty and another fails, or why a .war file works in Jetty
stand-alone mode, but seriously fails in Jetty embedded mode. Maybe
it's a configuration problem? If so is there a document that shows how
to configure embedded Jetty to work like the stand-alone Jetty?
Regards
Goffredo