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.

Reply via email to