bval-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Albert Lee (Created) (JIRA)" <>
Subject [jira] [Created] (BVAL-100) Java2 Security AccessControlException after moving to use common-lang3
Date Wed, 01 Feb 2012 19:08:58 GMT
Java2 Security AccessControlException after moving to use common-lang3

                 Key: BVAL-100
             Project: BeanValidation
          Issue Type: Bug
          Components: jsr303
    Affects Versions: 0.4-incubating
            Reporter: Albert Lee
            Priority: Minor
             Fix For: 0.4-incubating

Encountered the following exception when Java 2 security is enabled in an application server.
This is caused after switching the use common-lang from 2.4 to 3.1 pacakge. Access denied (java.lang.RuntimePermission getClassLoader)
        at java.lang.SecurityManager.checkPermission(
        at java.lang.Thread.getContextClassLoader(
        at org.apache.commons.lang3.StringUtils.<clinit>(
        at java.lang.J9VMInternals.initializeImpl(Native Method)
        at java.lang.J9VMInternals.initialize(
        at org.apache.commons.lang3.ClassUtils.toCanonicalName(
        at org.apache.commons.lang3.ClassUtils.getClass(
        at org.apache.bval.jsr303.resolver.DefaultTraversableResolver.initJpa(
        at org.apache.bval.jsr303.resolver.DefaultTraversableResolver.<init>(
        at org.apache.bval.jsr303.ConfigurationImpl.<init>(
        at org.apache.bval.jsr303.ApacheValidationProvider.createGenericConfiguration(
        at javax.validation.Validation$GenericBootstrapImpl.configure(
        at javax.validation.Validation.buildDefaultValidatorFactory(

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message