geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hearty <heartyraph...@gmail.com>
Subject org.apache.commons.logging.LogConfigurationException
Date Wed, 27 May 2009 08:33:28 GMT

I am using Apache Geronimo Server 2.1.3 server.

I have the following entry with geronimo.bat
SET JAVA_OPTS=-Xmx500m -XX:MaxPermSize=384m
-Dorg.apache.geronimo.jaxws.builder.useSimpleFinder=true
-Dorg.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.LogFactoryImpl
-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger
%JAVA_OPTS%

(This should force the applications using commons-logging to use the
Jdk14Logger instead of log4j.
These settings are tried against tomcat webserver and found to be working
fine.)

My application is able to deploy but not able to start.
I am gettting the following error.

SEVERE: Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'appCtxtFP' defined in ServletContext resource
[/WEB-INF/applicationContext.xml]: Cannot resolve reference to bean
'webserviceManager' while setting bean property 'webserviceManager'; nested
exception is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'webserviceManager' defined in ServletContext
resource [/WEB-INF/applicationContext.xml]: Initialization of bean failed;
nested exception is java.lang.ExceptionInInitializerError
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'webserviceManager' defined in ServletContext
resource [/WEB-INF/applicationContext.xml]: Initialization of bean failed;
nested exception is java.lang.ExceptionInInitializerError
Caused by: java.lang.ExceptionInInitializerError
        at com.telelogic.focalpoint.webservices.dto.ID.<clinit>(ID.java:100)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at $Proxy62.<clinit>(Unknown Source)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at java.lang.reflect.Proxy.newProxyInstance(Unknown Source)
        at
org.springframework.aop.framework.JdkDynamicAopProxy.getProxy(JdkDynamicAopProxy.java:115)
        at
org.springframework.aop.framework.JdkDynamicAopProxy.getProxy(JdkDynamicAopProxy.java:104)
        at
org.springframework.aop.framework.ProxyFactory.getProxy(ProxyFactory.java:72)
        at
org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.createProxy(AbstractAutoProxyCreator.java:389)
        at
org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.postProcessAfterInitialization(AbstractAutoProxyCreator.java:267)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:316)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1094)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:429)
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:250)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:247)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:161)
        at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:245)
        at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:124)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1019)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:809)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:425)
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:250)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:247)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:161)
        at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:273)
        at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:346)
        at
org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
        at
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
        at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)
        at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
        at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3839)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4332)
        at
org.apache.geronimo.tomcat.GeronimoStandardContext.access$201(GeronimoStandardContext.java:63)
        at
org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:398)
        at
org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:47)
        at
org.apache.geronimo.tomcat.GeronimoStandardContext.start(GeronimoStandardContext.java:251)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
        at
org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:364)
        at
org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:512)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:998)
        at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268)
        at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:541)
        at
org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:111)
        at
org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:146)
        at
org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:120)
        at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:176)
        at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
        at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:254)
        at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:294)
        at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
        at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:555)
        at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
        at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456)
        at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:188)
        at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:562)
        at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
        at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:832)
        at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
        at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
        at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
        at
org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$da0e60ff.startConfiguration(<generated>)
        at
org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:162)
        at
org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:79)
        at
org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
        at
org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67)
        at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30)
Caused by: org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException: Invalid class loader
hierarchy.  You have more than one version of
'org.apache.commons.logging.Log' visible, which is not allowed. (Caused by
org.apache.commons.logging.LogConfigurationException: Invalid class loader
hierarchy.  You have more than one version of
'org.apache.commons.logging.Log' visible, which is not allowed.) (Caused by
org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException: Invalid class loader
hierarchy.  You have more than one version of
'org.apache.commons.logging.Log' visible, which is not allowed. (Caused by
org.apache.commons.logging.LogConfigurationException: Invalid class loader
hierarchy.  You have more than one version of
'org.apache.commons.logging.Log' visible, which is not allowed.))
        at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)
        at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
        at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:370)
        at
org.apache.axis.components.logger.LogFactory.getLog(LogFactory.java:37)
        at org.apache.axis.description.TypeDesc.<clinit>(TypeDesc.java:61)
        ... 80 more
Caused by: org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException: Invalid class loader
hierarchy.  You have more than one version of
'org.apache.commons.logging.Log' visible, which is not allowed. (Caused by
org.apache.commons.logging.LogConfigurationException: Invalid class loader
hierarchy.  You have more than one version of
'org.apache.commons.logging.Log' visible, which is not allowed.)
        at
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:397)
        at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
        ... 84 more
Caused by: org.apache.commons.logging.LogConfigurationException: Invalid
class loader hierarchy.  You have more than one version of
'org.apache.commons.logging.Log' visible, which is not allowed.
        at
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:385)
        ... 85 more
May 21, 2009 7:00:12 PM org.apache.geronimo.tomcat.TomcatWebAppContext
doFail
WARNING: TomcatWebAppContext failed
May 21, 2009 7:00:12 PM org.apache.geronimo.gbean.runtime.GBeanInstanceState
attemptFullStart
SEVERE: Error while starting; GBean is now in the FAILED state:
abstractName="focalpoint/fp/1.0/war?J2EEApplication=null,j2eeType=WebModule,name=focalpoint/fp/1.0/war"
java.lang.IllegalStateException: ContainerBase.addChild: start:
LifecycleException:  java.io.IOException: Context did not start for an
unknown reason
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:795)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
        at
org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:364)
        at
org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:512)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:998)
        at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268)
        at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:541)
        at
org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:111)
        at
org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:146)
        at
org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:120)
        at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:176)
        at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
        at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:254)
        at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:294)
        at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
        at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:555)
        at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
        at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456)
        at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:188)
        at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:562)
        at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
        at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:832)
        at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
        at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
        at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
        at
org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$da0e60ff.startConfiguration(<generated>)
        at
org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:162)
        at
org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:79)
        at
org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
        at
org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67)
        at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30)

In geronimo-web.xml, hidden-classes I am using in order to prevent the
loading of geronimo specific jars as follows

<sys:hidden-classes>

                        <sys:filter>org.springframework</sys:filter>

                        <sys:filter>org.apache.commons</sys:filter>
                       
                        <sys:filter>org.apache.commons.logging</sys:filter>
                       
                        <sys:filter>org.apache.log4j</sys:filter>

                        <sys:filter>org.slf4j</sys:filter>

                        <sys:filter>org.apache.juli</sys:filter>

                        <sys:filter>org.apache.axis2</sys:filter>
                       
                       

                </sys:hidden-classes>
Initially I've tried with only org.apahce.commons. I've tried with only
org.apache.commons.logging
And I've tried both together. In all these cases I am getting the same
error.

I am including the complete geronimo-web.xml as follows
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<web:web-app
        xmlns:web="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1"
        xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.2"
        xmlns:sec="http://geronimo.apache.org/xml/ns/security-2.0"
        xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2">
        <sys:environment>
                <sys:moduleId>
                        <sys:groupId>focalpoint</sys:groupId>
                        <sys:artifactId>fp</sys:artifactId>
                        <sys:version>1.0</sys:version>
                        <sys:type>war</sys:type>
                </sys:moduleId>
                <sys:dependencies>
                        <sys:dependency>
                                <sys:groupId>console.dbpool</sys:groupId>
                                <sys:artifactId>fpdbpool</sys:artifactId>
                        </sys:dependency>
                        <sys:dependency>
                               
<sys:groupId>com.telelogic.focalpoint.lib</sys:groupId>
                                <sys:artifactId>ehcache</sys:artifactId>
                                <sys:version>1.0</sys:version>
                                <sys:type>jar</sys:type>
                        </sys:dependency>
                        <sys:dependency>
                               
<sys:groupId>com.telelogic.focalpoint.lib</sys:groupId>
                               
<sys:artifactId>backport-util-concurrent</sys:artifactId>
                                <sys:version>3.0</sys:version>
                                <sys:type>jar</sys:type>
                        </sys:dependency>
                        <sys:dependency>
                               
<sys:groupId>com.telelogic.focalpoint.lib</sys:groupId>
                                <sys:artifactId>jsr107cache</sys:artifactId>
                                <sys:version>1.0</sys:version>
                                <sys:type>jar</sys:type>
                        </sys:dependency>
                        <sys:dependency>
                               
<sys:groupId>com.telelogic.focalpoint.lib</sys:groupId>
                               
<sys:artifactId>postgresql-8.1</sys:artifactId>
                                <sys:version>405.jdbc3</sys:version>
                                <sys:type>jar</sys:type>
                        </sys:dependency>
                        <sys:dependency>
                               
<sys:groupId>com.telelogic.focalpoint.lib</sys:groupId>
                                <sys:artifactId>ojdbc14_g</sys:artifactId>
                                <sys:version>10.2.0.1.0</sys:version>
                                <sys:type>jar</sys:type>
                        </sys:dependency>
                        <sys:dependency>
                               
<sys:groupId>com.telelogic.focalpoint.lib</sys:groupId>
                                <sys:artifactId>db2jcc</sys:artifactId>
                                <sys:version>9.5</sys:version>
                                <sys:type>jar</sys:type>
                        </sys:dependency>
                        <sys:dependency>
                               
<sys:groupId>com.telelogic.focalpoint.lib</sys:groupId>
                               
<sys:artifactId>db2jcc_license_cu</sys:artifactId>
                                <sys:version>9.5</sys:version>
                                <sys:type>jar</sys:type>
                        </sys:dependency>
                        <sys:dependency>
                               
<sys:groupId>com.telelogic.focalpoint.lib</sys:groupId>
                                <sys:artifactId>tl_lic</sys:artifactId>
                                <sys:version>1.0</sys:version>
                                <sys:type>jar</sys:type>
                        </sys:dependency>
                        <!--
                        <sys:dependency>
                               
<sys:groupId>com.telelogic.focalpoint.lib</sys:groupId>
                                <sys:artifactId>mail</sys:artifactId>
                                <sys:version>1.3</sys:version>
                                <sys:type>jar</sys:type>
                        </sys:dependency>
                         -->
                        <!--
                          <sys:dependency>
                                        
<sys:groupId>org.apache.geronimo.configs</sys:groupId>
                                        
<sys:artifactId>javamail</sys:artifactId>
                                         <sys:version>2.1.3</sys:version>
                                         <sys:type>car</sys:type>
                          </sys:dependency>
                         -->
                </sys:dependencies>
                <!--
                        The <hidden-classes> element is used to specify
classes that will never be loaded from parent classloaders.
                        Use this element to specify classes that should be
loaded from the current module rather than from any parent
                        classloader. This is important when the current
module depends on a different version or when the class
                        represents a framework that must be initialized
independently from the same framework used by the parent.
                -->
                <sys:hidden-classes>

                        <sys:filter>org.springframework</sys:filter>

                        <sys:filter>org.apache.commons</sys:filter>
                       
                        <sys:filter>org.apache.commons.logging</sys:filter>
                       
                        <sys:filter>org.apache.log4j</sys:filter>

                        <sys:filter>org.slf4j</sys:filter>

                        <sys:filter>org.apache.juli</sys:filter>

                        <sys:filter>org.apache.axis2</sys:filter>
               

                </sys:hidden-classes>
                <sys:non-overridable-classes />
        </sys:environment>

        <web:context-root>/fp</web:context-root>
       
       
        <naming:gbean-ref>
                <naming:ref-name>focalpoint/filestorage</naming:ref-name>
                <naming:ref-type>
                       
com.telelogic.focalpoint.tools.filestorage.FileStorage
                </naming:ref-type>
                <naming:pattern>
                        <naming:name>focalpoint/filestorage</naming:name>
                </naming:pattern>
        </naming:gbean-ref>
       
        <naming:gbean-ref>
                <naming:ref-name>focalpoint/initjndi</naming:ref-name>
                <naming:ref-type>
                        com.telelogic.focalpoint.bus.InitialResourceContext
                        <!--
com.telelogic.focalpoint.tools.jndi.gBeans.InitialResourceContext -->
                </naming:ref-type>
                <naming:pattern>
                <naming:name>focalpoint/initjndi</naming:name>
                </naming:pattern>
        </naming:gbean-ref>
       
        <naming:resource-ref>
                <naming:ref-name>jdbc/focalpoint</naming:ref-name>
                <naming:pattern>
                        <naming:groupId>console.dbpool</naming:groupId>
                        <naming:artifactId>fpdbpool</naming:artifactId>
                        <naming:name>fpdbpool</naming:name>
                </naming:pattern>
        </naming:resource-ref>
       
       
        <sys:gbean name="FPLogger"
                class="com.telelogic.focalpoint.tools.log.LogInitGBean">
                <sys:attribute name="logResource">
                        fp-logging.properties
                </sys:attribute>
        </sys:gbean>
        <sys:gbean name="focalpoint/filestorage"
               
class="com.telelogic.focalpoint.tools.filestorage.FileStorageDB">
                <sys:attribute name="basePath">
                </sys:attribute>
        </sys:gbean>
       
        <!--  GBEANS Created to let user set the runtime parameters to be
used by application  -->
       
        <!-- sys:gbean name="focalpoint/initjndi"
class="com.telelogic.focalpoint.tools.jndi.gBeans.InitialResourceContext"
-->
        <sys:gbean name="focalpoint/initjndi"
class="com.telelogic.focalpoint.bus.InitialResourceContext" >
                <!-- REFER DOCUMENTATION BEFORE INSERTING/EDITING VALUE -->
               
                <sys:attribute name="licenseLocation">
               
                </sys:attribute>
               
                <sys:attribute name="dataStorage">
                IN FP_DATA
                </sys:attribute>
               
                <sys:attribute name="indexStorage">
                IN FP_INDEX
                </sys:attribute>
               
                <sys:attribute name="bigObjStorage">
                IN FP_BIGOBJ
                </sys:attribute>
               
                <sys:attribute name="defaultLocale">
               
                </sys:attribute>
               
                <sys:attribute name="fontFile">
               
                </sys:attribute>
                       
                        <!-- name="defaultStorage" -->
                        <!--  
                                  TABLE SPACE NAME MADATORY IF DB IS
ORACLE/DB2
                                  typical default values are  
                             
                              FOR ORACLE [TABLESPACE FP_DATA STORAGE
(initial 1m next 1m pctincrease 0)]
                              FOR DB2 [IN FP_DATA]
                              FOR POSTGRES  []
                         -->
                        <!-- name="indexStorage" -->
                        <!--  
                                  TABLE SPACE NAME MADATORY IF DB IS
ORACLE/DB2
                                  typical default values are  
                             
                              FOR ORACLE [TABLESPACE FP_INDEX STORAGE
(initial 1m next 1m pctincrease 0)]
                              FOR DB2 [IN FP_INDEX]
                              FOR POSTGRES  []
                         -->
                        <!-- name="bigObjStorage" -->
                        <!--  
                                  TABLE SPACE NAME MADATORY IF DB IS
ORACLE/DB2
                                  typical default values are  
                             
                              FOR ORACLE [TABLESPACE FP_BIGOBJ STORAGE
(initial 1m next 1m pctincrease 0)]
                              FOR DB2 [IN FP_BIGOBJ]
                              FOR POSTGRES  []
                         -->
                        <!--   name="defaultLocale"
                                        MANDATORY FIELD.
                                        FOLLOWS JAVA CONVENTION OF LOCALE
SETTING i.e.,<LANGUAGE,COUNTRY>  
                        -->
                        <!-- name="fontFile" -->
                        <!--
                                 NOT MANDATORY
                                 FONT FILE LOCATION IN most cases. USED TO
RENDER FONTS IN PDF REPORTS FOR FEW LANGUAGES like japanese.
                                 NOT NEEDED FOR MOST LANGUAGES.
                        -->
        </sys:gbean>
       

</web:web-app>

I need to use application specific jars. Both commons-logging.jar [version
1.0.4] and log4j-1.2.15.jar are included with WEB-INF\lib of my application
war.

Please advise me how to deal with this issue? Thanks in advance 
-- 
View this message in context: http://www.nabble.com/org.apache.commons.logging.LogConfigurationException-tp23738362s134p23738362.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message