jndi
Can't find Hibernate's SessionFactory in my Glassfish app server
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[详细]
2023-03-08 11:56 分类:问答Tomcat +jndi.properties
i have a problem with JNDI in Tomcat: without tomcat I have used JNDI as following: Context context = new InitialContext();[详细]
2023-03-07 22:42 分类:问答Using dynamic Datasource with Tomcat
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.[详细]
2023-03-07 10:33 分类:问答getConnection null in new transaction
I am using Weblogic 11, ejb3.0 I have code which is doing lookup to another deployment in my container remotely.[详细]
2023-03-07 08:05 分类:问答how to put(bind) object to jndi in spring declaratively?
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).[详细]
2023-03-05 02:55 分类:问答Bean not 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 :[详细]
2023-03-04 14:32 分类:问答Create new file using JNDI
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[详细]
2023-03-04 14:02 分类:问答ldap search in java - finding all groups with a specific user in it
Given the below ldap structure (more or less) C=NO -o=mydomain --cn=groups ---cn=group1 ----uid=bob,cn=users,o=mydomain,C=NO[详细]
2023-03-04 07:06 分类:问答What's the simplest (i.e least complex) possible LDAP operation
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[详细]
2023-03-03 03:50 分类:问答Changing embedded Tomcat from v6 to v7 causes InitialContext lookup to fail
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.[详细]
2023-03-02 01:35 分类:问答