Archive for June, 2011

sudo via LDAP on RHEL6

Tuesday, June 14th, 2011

I couldn’t get sudo to work via LDAP on RHEL6 (actually Scientific Linux 6) until I renamed /etc/ldap.conf.sudo to /etc/nss_ldap.conf as suggested on this thread:

http://comments.gmane.org/gmane.comp.tools.sudo.user/3556

Oracle breaks Sun DTD links, Glassfish java.io.FileNotFoundException

Thursday, June 2nd, 2011

At work today we got bit by a DTD URL change. Thanks Oracle.

One of our web applications would not deploy, giving a java.io.FileNotFoundException for a DTD at this url:

http://www.sun.com/software/appserver/dtds/sun-ejb-jar_3_1-0.dtd.

A little bit of Google sleuthing turned up a working URL for this DTD at this url:

http://www.sun.com/software/dtd/appserver/sun-ejb-jar_3_1-0.dtd

Update

It appears that a lot of DTDs are changed. There is a list of current DTDs here: http://www.sun.com/software/dtd/appserver/