posted 19 years ago
Hi,
I have copied the mysql data source xml form docs/sample/jca into the deploy directory of my web app and modified as per my settings. I have the jar file where the server can find (already debugged this).
During server intialization i see it gets bound to JNDI name:
"java:MySqlDS" (using same name as file originally had)
When i try to access through JNDI:
DataSource DS = (DataSource)Naming.lookup("java:MySqlDS");
I get a java.net.MalformedURLException with a description saying "invalid URL scheme"
If anyone knows how to resolve this? All the documentation is for changing the default database used by the server - none of the documentation mentions (at least from what i can find) just config of an additional different datasource to be used by an app.
[ December 03, 2004: Message edited by: j whiting ]
[ December 03, 2004: Message edited by: j whiting ]