in weblogic, I set the data source with JNDI name = "JDBC/ALS", targets is AdminServer
then in
java code, I want to connect to this datasource, I write
but there is exception as follow
javax.naming.NameAlreadyBoundException: ALS is already bound; remaining name 'JDBC'
what is the reason of this error?
how to connect to the datasource using jndi?