on 01-08-2009 6:16 AM
Hi All,
While i try to deploy a dc in the server i'm getting the following exception.
ConnectionException,cause=[ERROR CODE DPL.DCAPI.1144] NamingException.Cannot get initial context.Reason: Exception while trying to get InitialContext.
Any suggestions??
Thanks,
Murli
Hi Murli,
to be more specific. If you are using similar type of code as mentioned below. Then please check the datasource name you have given.
InitialContext initialContext = new InitialContext();
DataSource dataSource =
(DataSource) initialContext.lookup(
resourceBundle.getString("datasource"));
conn = dataSource.getConnection();
Regards
Narendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Murli,
if your apllication using some database connection then please check the name you have given to initial context.
Hope this will help
Regards
Narendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.