This content has been marked as final.
Show 4 replies
-
1. Re: JNDI Lookup timeout
jaibarra Apr 20, 2006 6:33 PM (in response to peafunk)Hi,
database service is up? -
2. Re: JNDI Lookup timeout
peafunk Apr 21, 2006 4:39 PM (in response to peafunk)Hi,
Thanks for getting back to me. Yes the database server is up. Could this have to do with the port? I thought the correct port for database access was 1433 but I've seen some people use 1099. -
3. Re: JNDI Lookup timeout
jaibarra Apr 21, 2006 7:12 PM (in response to peafunk)Maybe, i'm working with versata-jboss and it use that port (1099) and is defined on file named "VSJNDI.properties" look for somethig like that and maybe you can define in that file the right port
-
4. Re: JNDI Lookup timeout
peafunk Apr 24, 2006 10:01 AM (in response to peafunk)Ah-ha, that got it. I set the port in JNDI.properties and also added the following line to the datasource lookup and got it to work.
env.put(Context.PROVIDER_URL,"localhost:1099");
Thanks for your help jaibarra.