hey
i was trying ds = (DataSource) new InitialContext().lookup("java:/mySQL");
 conn = ds.getConnection(); in my entity bean code.

when i run client , it prompts Provider URL missing ,
javax.naming.ConfigurationException

mysql is running smoothly ..
my client code is as under

----
InitialContext jndiContext = new InitialContext();
System.out.println("Got context ..");
Object ref = jndiContext.lookup("java:/mySQL");
System.out.println("got reference");

it prints Got context and but at Object ref = xxxx
it throws NamingException - PRovider url missing

any tip ?

-=0 Basit




_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to