On solaris 10, “S” link is not part of $ORACLE_HOME/bin/oracle as default. ( For 9.2.0.8)
Re : Can’t create a new connection for jdbc ORA-01034: ORACLE not available ORA-27121 There is a problem with permissions do this: cd $ORACLE_HOME/bin chmod a+s oracle