-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Suresh,
On 4/22/2010 3:19 PM, suresht wrote: > when I run TOMCAT using -security option on Java 1.6 jdk, I get following > error. I added policy definitions for all properities, oraclejars and > JNDIpermission for the context. Care to share those policy definitions? > java.lang.ArrayIndexOutOfBoundsException: -1 > > oracle.jdbc.driver.T4CTTIoauthenticate.setSessionFields(T4CTTIoauthenticate.java:942) Are you running the latest version of Oracle's JDBC driver? > when I run the similar program outside tomcat with -security it runs > fine. any thoughts Tomcat + your webapp + Oracle JDBC Driver + SecurityManager = Exception Some other app + Oracle JDBC Driver = no exception There are very few common terms in those two equations. Are you sure they have any relation to one another? For instance, are you running your "similar program" with the same policy file? Are you running through the same code that your webapp does? You never said whether your webapp works properly without the SecurityManager installed. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkvQtFcACgkQ9CaO5/Lv0PDm2QCbBZChSL7huRcZS18GvFBFCTza 1BUAn1WGlfBSYbboiHeZNbC/GqxcNzDP =zOZB -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org