This content has been marked as final. Show 4 replies
What part of
Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initialdon't you understand? It is one of the most explicit and complete error messages I have ever seen in 40+ years of computer programming.
Have you considered reading the documentation?
Have you noticed that the exception isn't thrown by the code you posted?
Ok. Lets assume I choose application resource file. I do believe that I have to put a line like "java.naming.factory.initial=<something>". The question is now: what is the right <something>? (Given that I want to access a DSN created for ODBC).
One more question: is that all, or I am required to do something else? (Like independently "register" a datasource for jndi and something else).
Thank you very much in advance.