I simply commented out the following bean in log4jConfiguration.xml:

     <!--<bean id="log4jInitialization"
class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">-->
         <!--<property name="targetClass"
value="org.springframework.util.Log4jConfigurer"/>-->
         <!--<property name="targetMethod" value="initLogging"/>-->
         <!--<property name="arguments">-->
             <!--<list>-->

 <!--&lt;!&ndash;<value>classpath:log4j.xml</value>&ndash;&gt;-->

 
<!--&lt;!&ndash;<value>${log4j.config.location:classpath:log4j.xml}</value>&ndash;&gt;-->
                 <!--<value>${log4j.config.location}</value>-->
                 <!--<value>${log4j.refresh.interval:60000}</value>-->
             <!--</list>-->
         <!--</property>-->
    <!--</bean>-->

I've also excluded all logging libraries from the CAS overylay dependencies
to allow logging configuration from the JBoss console at runtime.  HTH.


On Wed, Sep 17, 2014 at 2:40 AM, Raymond Cheng - ITD <
[email protected]> wrote:

> Dear All,
>
> I find the problem mentioned as subject. I have searched from web and
> find no solution for this. Anyone can give me some hints to get more
> information about this problem?
>
> Caused by: java.io.FileNotFoundException: class path resource
> [log4j.xml] cannot be resolved to absolute file path because it does not
> reside in the file system:
>
> vfs:/C:/jboss-eap-6.1/standalone/deployments/cas.war/WEB-INF/classes/log4j.xml
>
>
> Thanks,
> Raymond
>
>
> ______________________________________________________________________
> http://www.egltours.com/promotion
>
> This message (and any attachments) may contain information that is
> confidential,proprietary,privileged or otherwise protected by law.The
> message is intended solely for the named addressee (or a person responsible
> for delivering it to the addressee).If you are not the intended recipient
> of this message, you are not authorized to read, print, retain , copy or
> disseminate this message or any part of it.If you have received this
> message in error, please destroy the message or delete it from your system
> immediately and notify the sender.
>
> --
> You are currently subscribed to [email protected] as:
> [email protected]
> To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to