how to use JNDI datasource in gwt 2.4 hosted mode?

2012-02-08 Thread tong123123
I try to use JNDI datasource in gwt 2.4 hosted mode as follow; Context ctx = new InitialContext(); ctx.bind(jdbc/ALS, ds); but then javax.naming.NoInitialContextException is thrown. the error message is need to specify class name in environment or system property, or as an applet parameter, or

Re: how to use JNDI datasource in gwt 2.4 hosted mode?

2012-02-08 Thread Rob
Hi, This post might help: - http://groups.google.com/group/google-web-toolkit/browse_thread/thread/ca34b53713d1aa36 And try googling gwt jndi hosted mode. Cheers Rob http://code.google.com/p/gwt-cx/ On Feb 8, 9:37 pm, tong123123 tong123...@gmail.com wrote: I try to use JNDI datasource in