I\'m just pla开发者_开发知识库ying around with implementing Hibernate as persistence provider in Glassfish application server. I already configured JNDI datasource, connection pool etc. My Hibernate c
i have a problem with JNDI in Tomcat: without tomcat I have used JNDI as following: Context context = new InitialContext();
I\'m creating a series of webservices for my application and i have the need to access a different database based on the serviceCode that is passed as a parameter in the webservice call.
I am using Weblogic 11, ejb3.0 I have code which is doing lookup to another deployment in my container remotely.
We have a plain standalone spring application and we need to put jdbc datasource in jndi. (we use jboss treecache and it need datasource to be in the jndi).
I created a small web service(test), I\'m unable to get it to deploy to jboss server. It might be something with one of these files, this is my web.xml :
I am trying to use JNDI to create a new binding while using \'RefFSContextFactory\'. So what i am trying to do create a new File using JNDI. However this code throws an exception javax.naming.Operatio
Given the below ldap structure (more or less) C=NO -o=mydomain --cn=groups ---cn=group1 ----uid=bob,cn=users,o=mydomain,C=NO
I have implemented a pool for LDAP connections using Apache commons-pool. I cannot use the pooling feature provided by JNDI (http://download.oracle.com/javase/jndi/tutorial/ldap/connect/pool.html) bec
I\'m using JUnit test cases to exercise my web service using embedded Tomcat. Under Tomcat 6 everything was working fine, but when I switched my project to Tomcat 7 I\'m coming unstuck.