hi Christopher,
I see a char array being set to a number.
charstring1[charstring1-1] = 0;
Christopher Schultz-2 wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Suresh,
>
> On 4/22/2010 4:51 PM, suresht wrote:
>> i have attached a copy of the policy file.
>
> It was stripped by the list.
>
>> yes that is true but the command line application includes the security
>> manager with equivalent policy
>
> Ok.
>
>> The web application works fine without the security manager.
>
> Since the error occurs in the JDBC driver, I would imagine that the
> problem is there: the driver is not properly checking array bounds when
> accessing a String.
>
> Now, more than likely it's some String that is no longer available due
> to the presence of the SecurityManager, but we'll never know what the
> "real" problem is until we can get a report of what String the driver
> can't read properly.
>
> Do you have the source code of the JDBC driver? Can you decompile it to
> find out what is blowing up?
>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAkvQvccACgkQ9CaO5/Lv0PDqXQCfT5BcPuXT2qaKp4ZCChMsBrKy
> Ex4AnikHuVhogRnOM8HW0y3cx9TjqRWu
> =4vR2
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>
--
View this message in context:
http://old.nabble.com/Running-tomcat-6.0.26-with-security-manager-generates-ORACLE-jdbc-error-tp28333480p28336163.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]