While getting JDBC connection I am getting above error. I tried with ojdbc14 and ojdbc6 jar but same error.
my java version is 1.6 and oracle 11.2 and glassfish3
Note: I have created one sample java program to connect to DB using same DB details.Its working fine but with appication its giving me this error.
below is the line of code giving error
con = DriverManager.getConnection(
"jdbc:oracle:thin:@192.168.1.255:1521:orcl","system","rakesh");