Meaningless Drivel is fun!
The moose likes EJB and other Java EE Technologies and the fly likes JNDI: InvalidNameException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JNDI: InvalidNameException" Watch "JNDI: InvalidNameException" New topic

JNDI: InvalidNameException

Nuno Miguel Santos

Joined: Nov 01, 2011
Posts: 10
I'm always getting an error when getting a name from my active directory server.

The error is the following:

javax.naming.InvalidNameException: Invalid name: "CN=»OGMA Serviço LAN/WAN",cn=Recipients,cn=Users,,dc=intra

After googling a bit, I found the following information

As you can see, I tried both with the parser approach and the composite name approach, but the error continues!

What am I missing?

Here's my code that does those operations:

I agree. Here's the link:
subject: JNDI: InvalidNameException
jQuery in Action, 3rd edition