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 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 in an application resource file: > java.naming.factory.inintial" > > how to fix this problem? > > thanks -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.