Resource(Data Source/etc.,) Not Found issue : NameNotFoundException
javax.naming.NameNotFoundException: resolved com. Remaining com/source/poolName
Failed to get connection from datasource !java.sql.SQLException: Pool connect failed : java.sql.SQLException: Data Source cpi_PoolTXDS does not exist.
Solution
- Check Whether application is pointed/attached to deployed server.
1 >> Pool name
2 >> Server name
If it is not pointed to the server , then the 'target' column in Data Source is empty as shown below.
Then we need to add/point/connect the respective pool to the server
Then you will get the target added to the data source.
Now try to access the application and you will find it's working fine.
No comments:
Post a Comment