geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "xiezhi (JIRA)" <>
Subject [jira] [Created] (GERONIMO-6479) Top-level log4j.jar issue
Date Tue, 02 Jul 2013 02:28:19 GMT
xiezhi created GERONIMO-6479:

             Summary: Top-level log4j.jar issue
                 Key: GERONIMO-6479
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
    Affects Versions: 3.0.0
            Reporter: xiezhi
            Priority: Minor

We want to place our log4j jar file (log4j-1.2.17) in the top-level lib directory of our J2EE
application. The goal is to make our version of log4j and our log4j.xml configuration available
to all sub projects in our J2EE application. We have added a <hidden-classes> in geronimo-application.xml.
But it doesn't work. Our application cann't start because it couldn't find the class files
in our log4j-1.2.17.jar file.

The error is below
null: Cannot validate jar:                
at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.getAppInfo(
at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.doInitContext(
at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.initContext(
at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(
at org.apache.geronimo.deployment.Deployer.deploy(
at org.apache.geronimo.deployment.Deployer.deploy(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(         
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor                       
at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(Reflect
at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.j  
at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.jav  
at org.apache.geronimo.kernel.basic.BasicKernel.invoke(             
at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(

The temp solution is below.
1. add this line into your <geronimo-home>\etc\
2. start the server, and deploy the application.

We need a solid solution

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

View raw message