Hi Lukateake,
Have you been able to solve your problem?
I have a simpler problem of configuring JNDI in GWT 2.0.3. My
<Configure class="org.mortbay.jetty.webapp.WebAppContext"/> looks
exactly as yours (that works under M1), except it uses postgresql
driver.
<Configure class="org.mortbay.jetty.webapp.WebAppContext">
<New id="DS" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>java:comp/env/jdbc/testDb</Arg>
<Arg>
<New class="org.apache.commons.dbcp.BasicDataSource">
<Set name="driverClassName">org.postgresql.Driver</Set>
<Set name="url">jdbc:postgresql://localhost/testDb</Set>
<Set name="username">user</Set>
<Set name="password">password</Set>
</New>
</Arg>
</New>
</Configure>
When I ran the application in eclipse, I'm getting the following
error:
java.lang.ClassNotFoundException:
org.mortbay.jetty.plus.naming.Resource
at java.lang.ClassLoader.findClass(ClassLoader.java:359)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
...
It looks like there is no problem locating
org.mortbay.jetty.webapp.WebAppContext, but
org.mortbay.jetty.plus.naming.Resource cannot be found.
I tried to modify -classpath to point to jetty-plus-6.1.23.jar, but it
didn't help, same error.
Would really appreciate yours or someone else's advice on how to make
JNDI work with GWT 2.0.3.
Thanks in advance!