solaris and resource adapter fixes