hi Christopher
The problem was that there was attempt to access
\c:\{$catalina.base}\lib\ojdbc6.jar rather than
c:\{$catalina.base}\lib\ojdbc6.jar. when I added new rule the error went
away.
-suresh
Christopher Schultz-2 wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Suresh,
The problem was with oracle jar in {catalina.base}\lib dir was getting called
with \ at the start. When I added the AllProperty policy rule for that
\file:{catalina.base}\lib\- . this error went away.
suresht wrote:
>
> hi Christopher,
> I see a char array being set to a number.
> charstr
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Suresh,
On 4/22/2010 8:33 PM, suresht wrote:
> I see a char array being set to a number.
> charstring1[charstring1-1] = 0;
That's obviously not actual code. Can you decompile or otherwise browse
the source of the method where the exception occu
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 stri
-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 applica
hi Christopher
i have attached a copy of the policy file.
yes that is true but the command line application includes the security
manager with equivalent policy,
Tomcat + your webapp + Oracle JDBC Driver + SecurityManager = Exception
Some other app + Oracle JDBC Driver = no exception
-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 pol