commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jai PP <jpgulba...@yahoo.com>
Subject Re: Digester - JVM pre-1.4 warning
Date Wed, 02 Apr 2003 21:50:34 GMT
Craig,
Thanks a lot. Is this error is ignorable ? I am able
to get the values of the xml in the bean through bean
getters
thanks!
- Jaiteerth

--- "Craig R. McClanahan" <craigmcc@apache.org> wrote:
> 
> 
> On Tue, 1 Apr 2003, Jai PP wrote:
> 
> > Date: Tue, 1 Apr 2003 19:17:46 -0800 (PST)
> > From: Jai PP <jpgulbarga@yahoo.com>
> > Reply-To: Jakarta Commons Users List
> <commons-user@jakarta.apache.org>
> > To: commons-user@jakarta.apache.org
> > Subject: Digester - JVM pre-1.4 warning
> >
> > I am using the Digester inside oracle database JVM
> (
> > oracle provides a way where you can load your java
> > classes . When you run these classes they use
> oracle
> > JVM)
> >
> > I get the following Warning in log4j. Do you what
> this
> > message means ? Is this error is ignorable or it
> is a
> > nasty one
> >
> > 2003-04-01 19:10:18,704  WARN [Root Thread]
> > <apache.commons.beanutils.MethodUtils>
> > (MethodUtils.java:583) - Cannot use JVM pre-1.4
> access
> > bug workaround die to restrictive security
> manager.
> >
> 
> MethodUtils contains a workaround to a problem on
> pre-1.4 JVMs where
> accessibility of public methods differs between
> directly compiled code and
> reflection-based dynamic access.  We try to call the
> Method.setAccessible() method to tell the JVM that
> this method is really
> accessible.
> 
> If you are running under a SecurityManager (and it
> sounds like you are,
> since you got a SecurityException), the code that
> you are running must be
> granted sufficient privileges in order to execute
> this call --
> specifically, you must have a ReflectPermission
> named
> "suppressAccessChecks" at runtime.
> 
> For a Sun JDK/JRE, you would set this sort of stuff
> up in a
> $JAVA_HOME/jre/lib/security/java.policy file. 
> You'll have to consult the
> Oracle documentation on how to do that in their JVM.
> 
> > thanks!
> > - Jai
> 
> Craig
> >
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> commons-user-help@jakarta.apache.org
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com

Mime
View raw message