JDBC Authentication : Name Not Found Exception
Hi, I'm currently working on JDBC authentication on Sun Access Manager. The problem is I'm having the Name Not Found Exception when i tried to login using crafted URL. I think the problem is already clear. But still i can't find why error
No object bound to name java:comp/env/jdbc/JDBCPool still happened eventhough I already create a connection pool, JDBC resources and JNDI external resources in the Sun Application Server. My setting of connection pool and JDBC Resource in the Sun Application Server is
Connection Pool (ping successful)
Name of connection pool : JDBCConPool
Datasource class name : oracle.jdbc.pool.OracleDataSource
Resource type : javax.sql.DataSource
Properties
1)ServerName = ipNumber
2)PortNumber = 1521
3)Password ="password"
4)User = "username"
5)DatabaseName = "application_DB"
6)SID = "orcl"
7)URL = "jdbc:oracle:thin:@ipNumber:1521:orcl"
JDBC Resource
JNDI Name = JDBCPool
JNDI external resource
JNDI Name = jdbc/JDBCPool
Resource type = jdbc.JDBCPool
JNDI lookup = java:comp/env/jdbc/JDBCPool
Factory class = oracle.jdbc.pool.OracleDataSource
I try to access using URL
http://anwar-notebook:8080/amserver/UI/Login?IDToken1=username&IDToken2=password&org=&module=JDBC&goto=&gotoOnFail=&gx_charset=UTF-8
but got an error Authentication failed which is to be expected as NameNotFoundExcetion is there. What is another setting that need to be done? I admit I still confused with JNDI :D. FYI I already configured JDBC.xml, amAuthJDBC.xml, and amAuthJDBC.properties and put it into corresponding place.

