Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!

Ricardo Polero

Ranch Hand
+ Follow
since May 18, 2001
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ricardo Polero

Hi, in my code
....
Hashtable ht = new Hashtable();
ht.put(Context.SECURITY_PRINCIPAL, "cn=Directory Manager,dc=x,dc=com");
ht.put(Context.SECURITY_PRINCIPAL, "cn=Directory Manager");
ht.put(Context.SECURITY_CREDENTIALS, "password");
ht.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");
ht.put(Context.PROVIDER_URL, "ldap://localhost:389";);
InitialDirContext initcntx = new InitialDirContext(ht);
// get the namespace
String namespace = initcntx.getNameInNamespace();
BasicAttributes attrs = new BasicAttributes();
// the new is sub-class of the person witch is subclass of top. Store the hierarchy in objectclass attb
Attribute classes = new BasicAttribute("objectclass");
classes.add("top");
classes.add("person");
classes.add("organizationalperson");
// add attclasses to to the attrib set
attrs.put(classes);
String shost = "ldap://localhost/cn=Ricardo Baraldi," + "o=x,dc=xp,dc=com";
//add the new entry to direct server
initcntx.createSubcontext(shost, attrs);
I always got an NamingException. The tree is empty because is the first node. How can i create the firts time node (root)?
Best Regards
Ricardo
I�ll nice to have both ! and JCEA too !
Hi, good news
I want to participate in the giving away !
Ricardo
18 years ago
Dear fellows
I tried to test the deadlock situation.
I did domething like:
if(lock)
wait()
not
thread.sleep(timeout)
I testeing in the same machine with VAJ 4.0, with one server and two instance of the clients all executed from VAJ environment.
But looks like both clients waits for the timeout, the second one never go to wait() method.
I also implemented a Timer for the deadlock and I really don�t now how to test in the same machine.
Some advice ?
Thanks in advance
Hi !
I can go to cwicertified.com
Would you please complete the URL
Thanks a lot
Ricardo
Hi folks
Sombody know how this exception happend ?
And How can i fix it?
Best Regards
Ricardo
don't worry take so long to me too !
Hi,
I want your email for send resumees
Thx in advance
Ricardo
18 years ago
Hi friends
Someone can give more resources in J2EE more than http://www.javaranch.com/ubb/Forum11/HTML/001906.html
give me ?
Thnaks
HI, Mark
Thx so much, I tried yesterday and it works !!!
Hi guys !
I just packed my assignment and I have a doubt.
The people from Sun will unpack all ours jar or execute directly from jar ?
My run-time problem:
I tried to run from Jar and got an error because the program canot be able to find the db.db.
I used "db.db" in the program for open it in Visual Age run ok , but when I tried to run using .bat or any other command line got and error. Would some of you help me !
I want to finish this asap!
Thanks
Ricardo