Message-ID: <1984339365.300083.1369029714372.JavaMail.firstname.lastname@example.org> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_300082_1224643389.1369029714372" ------=_Part_300082_1224643389.1369029714372 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Firstly, follow the instructions on the Glassfish site regarding= how to modify your code to provide the right set of properties to your Ini= tialContext to permit remote JNDI lookups.
Then, copy the jars required from your Glassfish installation to a new $= JETTY_HOME/lib/ext/glassfish directory.
For jetty stand-alone, that is pretty much all you should need to do.
For running your webapp with the convenient maven jetty plugin, you need to put those jars onto t= he execution path of the plugin, and ensure that your webapp uses p= arent-first classloading, due to quirks of CORBA classloading. Her= e's an example of how your pom would look:------=_Part_300082_1224643389.1369029714372--