You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Lars Heinemann (JIRA)" <ji...@apache.org> on 2009/02/11 10:17:59 UTC

[jira] Resolved: (SMX4-205) Logging not fully working with Windows (Vista?)

     [ https://issues.apache.org/activemq/browse/SMX4-205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lars Heinemann resolved SMX4-205.
---------------------------------

    Resolution: Fixed

You were right, Guillaume.
There was another log4j library in the class path which caused this mess.


> Logging not fully working with Windows (Vista?)
> -----------------------------------------------
>
>                 Key: SMX4-205
>                 URL: https://issues.apache.org/activemq/browse/SMX4-205
>             Project: ServiceMix 4
>          Issue Type: Bug
>    Affects Versions: 4.0-m2
>         Environment: Windows Vista
> latest JDK 1.5
>            Reporter: Lars Heinemann
>             Fix For: 4.0-m2
>
>
> The startup output looks like this:
> {noformat}
> C:\devtools\javakit\apache-servicemix-4.0-m2-SNAPSHOT>bin\servicemix.bat 
> log4j:ERROR A "org.apache.log4j.ConsoleAppender" object is not assignable to a "org.apache.log4j.Appender" variable. 
> log4j:ERROR The class "org.apache.log4j.Appender" was loaded by 
> log4j:ERROR [9.0] whereas object of type 
> log4j:ERROR "org.apache.log4j.ConsoleAppender" was loaded by [sun.misc.Launcher$AppClassLoader@13f5d07]. 
> log4j:ERROR Could not instantiate appender named "A1". 
> log4j:ERROR A "org.apache.log4j.ConsoleAppender" object is not assignable to a "org.apache.log4j.Appender" variable. 
> log4j:ERROR The class "org.apache.log4j.Appender" was loaded by 
> log4j:ERROR [9.0] whereas object of type 
> log4j:ERROR "org.apache.log4j.ConsoleAppender" was loaded by [sun.misc.Launcher$AppClassLoader@13f5d07]. 
> log4j:ERROR Could not instantiate appender named "A1". 
> log4j:ERROR A "org.apache.log4j.ConsoleAppender" object is not assignable to a "org.apache.log4j.Appender" variable. 
> log4j:ERROR The class "org.apache.log4j.Appender" was loaded by 
> log4j:ERROR [9.0] whereas object of type 
> log4j:ERROR "org.apache.log4j.ConsoleAppender" was loaded by [sun.misc.Launcher$AppClassLoader@13f5d07]. 
> log4j:ERROR Could not instantiate appender named "A1". 
> log4j:ERROR A "org.apache.log4j.FileAppender" object is not assignable to a "org.apache.log4j.Appender" variable. 
> log4j:ERROR The class "org.apache.log4j.Appender" was loaded by 
> log4j:ERROR [9.0] whereas object of type 
> log4j:ERROR "org.apache.log4j.FileAppender" was loaded by [sun.misc.Launcher$AppClassLoader@13f5d07]. 
> log4j:ERROR Could not instantiate appender named "out". 
>  ____                  _          __  __ _ 
> / ___|  ___ _ ____   _(_) ___ ___|  \/  (_)_  __ 
> \___ \ / _ \ '__\ \ / / |/ __/ _ \ |\/| | \ \/ / 
>  ___) |  __/ |   \ V /| | (_|  __/ |  | | |>  < 
> |____/ \___|_|    \_/ |_|\___\___|_|  |_|_/_/\_\ 
>  
>  ServiceMix Kernel (1.1.0-SNAPSHOT) 
>  ServiceMix (4.0-m2-SNAPSHOT) 
>  
> Type 'help' for more information. 
> -------------------------------------------------------------------------------------------------------------------------- 
> {noformat}
> There is no folder ./data/log/ created and therefor also no servicemix.log. Using the shell command log/d works.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.