1. Find the settings JNDI is using for error reporting stackoverflow.comI've got a J2SE application that I am maintaining uses JNDI. (It uses JNDI to find it's J2EE application server.) It has pretty poor error reporting of failure to find the JNDI server. I've ... |
2. How to initialize a value in web.xml from a JNDI variable? stackoverflow.comIn my Java web application, the NTLM domain controller name is specified in web.xml like this:
|
3. JNDI failing with NameNotFoundException stackoverflow.comI'm writing regression tests for a in-house library (where the creators are looong gone) and I'm trying to validate the environment. A couple of the tests keep failing with that ... |
4. Can I use JNDI to access FIles/their content? stackoverflow.comCan JNDI be used in a Java servlet to access filesystem on the local machine or a remote machine? I am able to bind local directories/files with it, but not able to ... |
5. JNDI Help regarding group group membership in Active Directory stackoverflow.comI am trying to add a group to a different group in Active Directory using a JNDI program. On doing so, I get the following error [LDAP: error code ... |
6. What is the purpose of JNDI stackoverflow.comHow can you realize the usage of JNDI , with an example if possible? |
7. NoInitialContextException errorI stackoverflow.comI am writing a client for my EJB and when trying to execute it, I get the following exception : javax.naming.NoInitialContextException: Need to specify class name in environment ... |
8. What are the JNDI dependencies? stackoverflow.comwe are wanting to use a JNDI service with our client applications (all written in Java SE 6) and here is our doubt: what are the dependencies? Does the JVM ... |
9. Making .NET configuration environment-neutral stackoverflow.comI want to get some thoughts on best practices around making .NET app configuration environment-neutral. Background. Some background first. I come from the Java world, not the .NET world, and in Java ... |
10. Testing ServiceLocator using JUnit stackoverflow.comThis is a follow up question to my previous question. I am trying to write test case for my ServiceLocator class but it gives me the following error:
|
11. Using JNDI for distributed configuration stackoverflow.comWe're looking at how to do distributed configuration within our primarily Java based deployment. We have a number of applications and it makes sense to centralise the configuration of the applications. ... |
12. Need help understanding JNDI and a particular ClassCastException in J2EE stackoverflow.comI have an enterprise application A and B deployed (in WLS 10.0). A is the "framework", B is a client app. The client issues the following calls:
|
13. How to create a new Active Directory Account from Java (via JNDI)? stackoverflow.comIs it possible to create a new user in AD rom Java via JNDI? I tried via trusty Google but nothing came up - maybe I was googling using the wrong ... |
14. How to synchronize placing an object in JNDI across processes? stackoverflow.comI am trying to place an object in JNDI, so that only one of the progam should be able to place it in JNDI. is there any global lock that can ... |
15. JNDI InvalidnameException for CN 'LastName, FirstName' stackoverflow.comI am writing to active directory using JNDI, it is successful for
|
16. How to use JNDI in Crystal Reports stackoverflow.comI have a Tomcat 5.5 running which includes a Webapp with the Java Reporting Components (JRC) 2008. The Server has a different data source than the client, and currently I set ... |
17. How do you properly exit from a JNDI enabled client? stackoverflow.comAfter starting a JNDI provider:
I used the following test application to play with the JNDI API:
|
18. The mappedName is always the same across application servers? stackoverflow.comI have a stateless bean with some properties:
I can't use injection, so ... |
19. Loading Property file only when it is changed stackoverflow.comGuys i have created a properties file outside the jboss classpath (I kept outside because i can change during runtime and the values will be reflected). I am loading this property file ... |
20. What is JNDI ? What is its basic use..? When it is used? stackoverflow.comWhat is JNDI ? What is its basic use? When it is used? |
21. javax.naming.NameNotFoundException found: ami missing something in my web.xml? stackoverflow.comI am getting following error, am i missing some entry in my web.xml?
|
22. Container Managed Transaction with JDO/DataNucleus stackoverflow.comGoodmorning all, I'm currently playing with Datanucleus/JDO. One thing that I like is the Type safe query system, and I want to use Datanucleus in future projects (I come from Hibernate background). I ... |
23. what is JNDI and do i need it for website building stackoverflow.comI am learning java and spring for websites. few time i see the word JNDI. what it is and do i need to learn it or do i need it in the ... |
24. Extra Information in JNDI Definition stackoverflow.comI'm developing a web application and it is to be deployed on Apache Tomcat 6.0. Application will be connecting a lot of databases (almost 25) so in order to manage the ... |
25. Orbeon- Setting up a DBService stackoverflow.comI have read all the Orbeon documentation I can find and I am still stuck on the DB access stuff.
|
26. Understanding JNDI stackoverflow.comJNDI is like a map on steroids right? I use a key to find references to objects. Also, what is InitialContext? I don't seem to get the idea. |
27. Error javax.naming.NamingException stackoverflow.comi new using j2ee, when i running this project using netbean 6.9 . I got this problem
|
28. Enabling an Active Directory account using JNDI stackoverflow.comI have successfully created a disabled user in Active Directory via JNDI, but I am not sure how to enable it. Am I supposed to manipulate the userAccountControl attribute directly? ... |
29. AD Searchfilter are not working in Java Code but working using ldp client stackoverflow.com
This search filter gives a result when used with ldp client.
but in java code this returns Result set empty.
|
30. Create new file using JNDI stackoverflow.comI 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 ... |
31. Creating custom user attributes in Active Directory using JNDI stackoverflow.comI am attempting to create a custom attribute that can be assigned to an existing Active Directory user in my domain. I am not fully aware of how to achieve ... |
32. Running JNDI Program on Eclipse Fails when Searching a FileName outside current workspace stackoverflow.comI am learning JNDI now. Could someone help me with the folloiwng problem? Thanks a lot. I ran a very simple JNDI program on eclipse. It just need to provide an argument ... |
33. Modifying "msExchHideFromAddressLists" Active Directory Attribute Using JNDI stackoverflow.comI have created an Active Directory client using JNDI, that has the ability to query for attributes, as well as modify existing ones. I have the need to modify the ... |
34. Can i access JNDI from a junit class from a server? stackoverflow.comCan I do a JNDI lookup from a standalone class from a server running in a different JVM ? |
35. Getting JNDI to work with RDS stackoverflow.comI'm trying to configure Tomcat 7 to use an RDS/MySQL instance and I'm having no luck. I suspect the problem is in my context.xml. With a context.xml present, bad things happen ... |
36. Simple JNDI ContextFactory? stackoverflow.comMy WAR application is deployed to Amazon Elastic Beanstalk. They don't support JNDI, but I need it for JPA and unit tests. What JNDI context factory I can use as a ... |
37. JNDI modifyAttributes and NameNotFoundError stackoverflow.comI have a weird problem with LdapContext.modifyAttributes(name,mods) method. It gives me a NameNotFoundException, even though that object exists on the same path. (I already checked with a small piece of code which returns ... |
38. Unlocking a locked active directory account stackoverflow.comI want to unlock a locked active directory account using jndi. It is usually done using by changing the user account attribute as far I know. However I am unable to ... |
39. JNDI exmple for connecting to a named instance of MsSQL stackoverflow.comWe're using Pentaho Data Integration(Open source ETL tool) and are trying to use a JNDI connection to connect to a MS SQL 2005 database. If we use a default instance ... |
40. javax.naming.NameAlreadyBoundException; remaining name 'comp' stackoverflow.comI am using the following code to do JNDI Injection.
|
41. Adding jndi destination queue fails, is there something else needed? stackoverflow.comThis is related to http://stackoverflow.com/questions/2166976/jboss-5-1-0-adding-queues When I use the mbean element as shown in that thread (and as shown in similar web-wide), I eventually got to the point ... |
42. How to get the new JNDI names (esp. ConnectionFactory) stackoverflow.comI upgraded to JBoss 7.0.1 and we are using the following JNDI lookup to get a connection to a HornetQ message queue.
|
43. javax.naming.NoInitialContextException stackoverflow.comgetConnection Exception javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial null when i run below code this ... |
44. Control and get parameters from jwplayer with JNDI stackoverflow.comI had the jwplayer with embed tags in Java GWT code as a widget.
The player is displaying fine.
I have a personnaly control bar and I want to control the jwplayer ... |
45. Can JNDI be used by webapps to look up a logger? stackoverflow.comWe have multiple webapps running in our container (Tomcat 6/7) and each webapp configures its own application-specific logging (to different log files). There are certain events we need logged to ... |
46. JNDI Interceptor stackoverflow.comI was looking for implementing security on |
47. JNDI and Java Thread bytes.com |
48. Netbeans JNDI forums.netbeans.orgWhen I create a new web app project in netbeans, it will create a context.xml under the META-INF/ directory. How is that different than the context.xml in the Tomcat /conf/context.xml? especially ... |
49. challenges and gotchas, using multiple JNDI implementations. forums.netbeans.orgMikePhoenix Joined: 19 May 2009 Posts: 28 Posted: Thu Oct 22, 2009 7:49 pm Post subject: challenges and gotchas, using multiple JNDI implementations. I thought I would share ... |
50. EAR JNDI global names forums.netbeans.orgHello, I just switched from Eclipse (3.5) to NetBeans (6. and I have a problem debuging a JEE6 EAR application: I created a Maven EAR project and when I debug it, ... |
51. Invoking JNDI from Signed applet forums.netbeans.orgI have created a signed applet and would like to invoke a JNDI call. I am currently using Glassfish as an application server.I would like to know which jar files to include in my class path and how to remove the exception.I still get a "NoInitialContextException" as i am not aware of which files to add and how to add it. ... |
52. JNDI lookups failing with EJB3InvokerJob forums.terracotta.orgI'm using Quartz to make EJB3 calls, using the EJB3InvokerJob. This worked perfectly for me for a couple of weeks. However, since the rest of the team has picked up my work, we're all seeing a lot of NameNotFoundExceptions. One or two jobs still work but most fail, I can't see a pattern to it. We're sharing a single scheduler name ... |
53. what is JNDI coderanch.comJNDI is used not only as a lookup point for Java container services (like JMS queues and datasources), but also as a generic interface to many directory services. It is commonly used as a means for accessing LDAP services and sometimes file systems. The JNDI service itself is usually provided by a Java container to the applications that are running in ... |
54. Registering with jndi coderanch.com |
55. Jndi - can't find coderanch.com |
56. JNDI starting off problem coderanch.com |
57. JNDI and JINI coderanch.comJini isn't about embedded systems - unfortunately that perception is out there because for some reason every answer to "tell me what Jini does" uses Jini in embedded systems as the example. Jini is like "super-RMI" - it provides dynamic discovery, "self healing" (i.e. - if one provider of a service isn't able to be accessed anymore, it will find another), ... |
58. what is the use of jndi?? coderanch.com |
59. jndi coderanch.com |
60. JNDI ENC coderanch.comHow the heck does this work? At first appearance I would guess that it's a thread-local thing, but the thread execution can propogate to who-knows-how-many EJBs, or whatever we're talking about. And if we're using a regular InitialContext to access the directory service, it's not like WAS or JBoss can provide some special class to do all the magic. |
61. Question on accessing object in JNDI from diff. JVMs coderanch.comI'm trying to understand exactly how this works: 1. I store a Collection object in an JNDI/RMI Server 2. In two different JVMs, an object does a lookup and retrieves the object 3. while synchronizing on the Collection, both objects attempt to use an iterator and call it.remove(); What will happen? Are they actually synchronizing on the object? Do they see ... |
62. JNDI coderanch.comHi, Thanks for the response. How would i go about referencing an object in one JVM from another JVM ? I am not sure what parameters to specify that the objects that I need are in another JVM. The specific objects that I am trying to get a reference to are JMS Queues and topics so that I can publish some ... |
63. What is JNDI ENC??? coderanch.com |
64. ADS?JNDI encryption coderanch.comHi, I am using ADS(Active directory server) for authenticating our users using JNDI API's. And we used simple authentication for the purpose. It just works fine. Now we have issue: Since i am using simple authentication userid and password are in simple text format and when it goes to server some one with latest network software will be able to read ... |
65. How to Bound JNDI names and references coderanch.com |
66. Falkner or Jones; JNDI? coderanch.comDo you cover any JNDI or LDAP topics in your book? Is it for beginners or advanced? Do you use practical examples or "fun" examples? Are your examples Model-View-Controller oriented? I wish you success with your book. I hope it's one that would help me (a novice) have good success! I'll be looking at the sample chapters trying to decide whether ... |
67. Simple Add using JNDI coderanch.comHi All, I installed OpenLDAP and i am trying to access slapd server using JNDI. Now, I am trying to add using JNDI. following is an example program taken from this mailing list.which I have modified according to my values. Thanks Prabhakaran.N Add.java -------- package test; import java.util.Hashtable; import java.util.*; import javax.naming.*; import javax.naming.directory.*; class Add{ final static String rootContext = ... |
69. how to specify arabic encoding in jndi coderanch.comDear All, I configured the java application to read the database configuration from jndi I have some arabic data in the database so i have to specify the unicode as well as characterEncoding , i have made the below |
70. How to initialize a value in web.xml from a JNDI variable? coderanch.comGood luck with JCIFS. We had a tough time with it. Using context.xml per application is always preferred against setting values in tomcat config. However tomcat will make a copy of context.xml which will be cached in server "work" directory as |
71. JNDI coderanch.com |
72. JNDI Lookups coderanch.comI'm wondering about the cost of doing JNDI lookups.. Here's the setup: 1. A business tier has a dozen or so stateless beans that make requests to the back end system and return a result to the caller. 2. a remote web client does a JNDI lookup to one or more of the beans, and may invoke one or more methods ... |
73. Using the JNDI coderanch.comHello all! I have a problem... I am successfully using the JNDI classes to access and read/write to an LDAP directory, everything seems to be fine except writing the jpegPhoto attribute! The problem I have is that it refuses to write the LDAP attribute as a attribute of type binary, it's only store as a text value. I managed to save ... |
74. Howto setup JNDI Federation coderanch.comWe are using a lot of RMI services and some JMS services. We would like to expose these services by using JNDI. For the RMI Services, we've installed an LDAP Server (ApacheDS) where references are stored to the actual RMI services. This was very easy to realize. For JMS we are using ActiveMQ which uses it's own JNDI server implementation. But ... |
75. JNDI problem coderanch.comI have a problem,I have basically set jndi 2, 1 to access a db and the other to access a properties file so you can manage some parameters outside the application, the jdbc jndi is read properly, instead of the jndi properties file I should be in error. first of all I will explain my setup, I have a tomcat server ... |
76. status 404 with jndi coderanch.comHi all, welcome a new newbie [In dire need of help as they usually are] I've been asked to change our webapp authentication to integrate with AD. I know this is a JAVA forum, but I figured this would be the best place to ask.... Some background:- Firstly, the webapp uses a J2EE Framework (& Tomcat & Hibernate & Struts etc). ... |
81. JNDI forums.oracle.com |
82. JNDI newbie forums.oracle.com |
83. Connetct to JNDI forums.oracle.comYour problem starts with the title. You don't 'connect to' JNDI, you use JNDI to 'connect to' naming services. There is no such thing as a JNDI server. So, first question, what naming service are you trying to connect to? The answer to that determines what goes in the env.put() calls. Then you need to pass that environment to the initial ... |
84. JNDI problem forums.oracle.comI would like to experiment with java jndi software. I have followed some tutorial on the subject and I tried to run one of its example, unfortunately I get error. It has been suggested that the error it might been due to the version of the java platform I have, or the installation of the JNDI as extension. I have jdk1.5.0_11 ... |
85. JNDI Question forums.oracle.com |
86. JNDI: InitialDirContext not an instance of DirContext? forums.oracle.comejp wrote: This is a very unusual usage pattern. Do a lookup with the InitialDirContext and use the resulting DirContext to get the attributes. I know there are some threads out there that say the File System Context I am trying to use does not support DirContext. I can see that. But that doesn't answer my question Yes it does. Okay...using ... |
87. Application behaves up normal after 5 months due to JNDI look up forums.oracle.com |
88. Default JNDI server question. forums.oracle.com |
89. JNDI propertise forums.oracle.com |
90. OpenJMS and JNDI problem -- classpath difficulties forums.oracle.comThe problem isn't what classpath the OpenJMS classes are using, because you can't even load them. The problem is, what classpath is this Portware thing using? If (for example) it put all its classes into the Java extensions directory and loaded them from there, then they wouldn't be able to load any classes that were in the regular classpath. This is ... |
91. JNDI namespace confused. Help forums.oracle.com |
92. JNDI forums.oracle.com |
93. JNDI name not found in JBuilder 2005 forums.oracle.com |
94. JNDI access from web layer forums.oracle.comwell i'm not sure what you are trying to explain however,Are you sure the respective is being registered at your container end ?? for example if you are using JBoss you configure entries in jboss.xml or sun-web.xml for Sun Application server and etc... ?? and these have to be found in WEB-INF folder of your web context... And these may differ ... |
95. Exception or no? Somebody writing JNDI code has a tough time deciding... forums.oracle.comAug 6, 2007 3:26:43 AM com.sun.enterprise.naming.SerialContext lookup SEVERE: NAM0004: Exception during name lookup : {0} java.rmi.RemoteException: CORBA UNKNOWN 1398079690 Maybe; nested exception is: org.omg.CORBA.UNKNOWN: ----------BEGIN server-side stack trace---------- org.omg.CORBA.UNKNOWN: vmcid: SUN minor code: 202 completed: Maybe at com.sun.corba.ee.impl.logging.ORBUtilSystemException.runtimeexception(ORBUtilSystemException.java:8946) at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.convertThrowableToSystemException(CorbaMessageMediatorImpl.java:1943) at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleThrowableDuringServerDispatch(CorbaMessageMediatorImpl.java:1893) at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleThrowableDuringServerDispatch(CorbaMessageMediatorImpl.java:1846) at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:263) at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1705) at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1565) at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:947) at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:178) at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:717) at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:473) at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1270) at ... |
96. JNDI in java forums.oracle.com |
97. JNDI forums.oracle.com |
98. JNDI concept forums.oracle.comThe Java Naming and Directory Interface (JNDI) is an API for directory service that allows clients to discover and lookup data and objects via a name. Like all Java APIs that interface with host systems, JNDI is independent of the underlying implementation. Additionally, it specifies a service provider interface (SPI) that allows directory service implementations to be plugged into the framework. ... |
99. jndi not bound exception forums.oracle.comHi, I am working in spring. I am getting these error logs while starting jboss 4.0.2. I am using mysql as backend and i am unable to connect my code with mysql. These below are the logs when i start jboss. those startup logs shows that jndi-liaga not bound. Exception is 23:10:19,386 INFO [STDOUT] 23:10:19,385 INFO [StorableDataSource] Creating StorableDataSource... 23:10:19,386 INFO ... |
100. How to check whether an attribute is existing in an OU using JNDI forums.oracle.comI want to check whether an attribute is exixting some where in a User URl. Right now I am doing like this. I am setthing the Returning attributes with this attribute and will do a search whic will return a naming enumeration. If the namingEnumeration is not null, then the attribute is valid. But this search will take some time to ... |