jndi
JNDI with Active Directory PartialResultException
I am basically walking the LDAP tree in Active Directory. At each level I query for \"(objectClass=*)\". When I do this on the root eg \"dc=example,dc=com\" I get the exception below. This works fin[详细]
2023-02-21 10:05 分类:问答Hibernate with JNDI: Cannot create JDBC driver of class '' for connect URL 'null'
I tried to use Hibernate for working with MySQL through JNDI but can\'t (from catalina.out): INFO: Deploying web application archive mystamps.war[详细]
2023-02-20 10:39 分类:问答Database connection settings retrieved from a JNDI connection pool
I have hosted a data source on the Websphere server and I wanted make use of that data source through my application开发者_运维知识库 clients.[详细]
2023-02-20 08:08 分类:问答Is portable jndi syntax (EJB3.1) available across machines?
I was reading about \"Portable Global JNDI names\" in several articles, here and there for example, but I was unable to understand whether this syntax only applies to inbound machine lookups (or mayb[详细]
2023-02-19 17:35 分类:问答Add new object class in LDAP schema using JNDI
I wrote code to add object class in LDAP schema. It works fine with SunOne directory service. But it gives \"InvalidAttributeValueException\" in case of OpenLdap and gives \"OperationNotSupportedExcep[详细]
2023-02-19 12:32 分类:问答java RMI and/or JNDI: binding for objects that are not singletons
OK, I get how to use RMI to bind a singleton server object with a well-known name so that other JVMs can find it.[详细]
2023-02-19 05:54 分类:问答Should I close JNDI-obtained data source?
Update: Apparently Tomcat, starting with 7.0.11, closes the DataSource for you, so it\'s not available in the webapp\'s contextDest开发者_StackOverflow社区royed.See: https://issues.apache.org/bugzilla[详细]
2023-02-19 01:06 分类:问答Getting org.hibernate.exception.JDBCConnectionException: could not execute query even through JNDI
I use Struts2+JSP+Tomcat6+Hibernate+Mysql as my J2EE application framework.Following to this topic, I\'ve had the problem of getting this error:[详细]
2023-02-17 16:04 分类:问答Active directory authentication on tomcat by JNDIRealm referrals problem
I\'m trying to look on on the root of a AD server for users with tomcat5.5 and JNDIRealm, but it seems that there are several referrals to other locations in the whole AD structure and one of the refe[详细]
2023-02-17 10:49 分类:问答Configure hibernate to connect to database via JNDI Datasource
Hi all I\'m using Hibernate+Struts2+Tomcat6+Mysql as my J2EE framework. I\'ve been using hibernate\'s built-in connection pooling mechanism but it turned out to be problematic where mysql closes it\'s[详细]
2023-02-17 06:09 分类:问答