You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Collins, Jim" <ji...@uk.nomura.com> on 2003/01/21 11:16:46 UTC

How do you change the port Tomcat listens to

Hi,

I thought this subject might at least get some response. Has anyone ever had
or know anything about the following error I have started getting from
Tomcat? It cause Tomcat to crash and I then need to restart Tomcat. 

 
org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException: Class
org.apache.commons.logging.impl.Log4JCategoryLog does not 
implement Log
        at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(Log
FactoryImpl.java:530)
        at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(Log
FactoryImpl.java:285)
        at 

org.apache.commons.logging.LogFactory.getLog(LogFactory.java:401)
        at
org.apache.tomcat.util.log.CommonLogHandler.log(CommonLogHandler.java:97)
        at org.apache.tomcat.util.log.Log.log(Log.java:198)
        at org.apache.tomcat.util.log.Log.log(Log.java:192)
        at org.apache.tomcat.util.log.Log.log(Log.java:174)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
ThreadPool.java:536)
        at java.lang.Thread.run(Thread.java:536)
Caused by: org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException: Class
org.apache.commons.logging.impl.Log4JCategoryLog does not 
implement Log
        at
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryI
mpl.java:415)
        at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(Log
FactoryImpl.java:523)
        ... 8 more
Caused by: 
org.apache.commons.logging.LogConfigurationException: Class
org.apache.commons.logging.impl.Log4JCategoryLog does not implement Log
        at
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryI
mpl.java:411)
        ... 9 more
 
 


PLEASE READ: The information contained in this email is confidential
and intended for the named recipient(s) only. If you are not an intended
recipient of this email you must not copy, distribute or take any 
further action in reliance on it and you should delete it and notify the
sender immediately. Email is not a secure method of communication and 
Nomura International plc cannot accept responsibility for the accuracy
or completeness of this message or any attachment(s). Please examine this
email for virus infection, for which Nomura International plc accepts
no responsibility. If verification of this email is sought then please
request a hard copy. Unless otherwise stated any views or opinions
presented are solely those of the author and do not represent those of
Nomura International plc. This email is intended for informational
purposes only and is not a solicitation or offer to buy or sell
securities or related financial instruments. Nomura International plc is
regulated by the Financial Services Authority and is a member of the
London Stock Exchange.



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: How do you change the port Tomcat listens to

Posted by Adam Fowler <ao...@aber.ac.uk>.
Hello,

Sounds like you've got a version of Log4J that Tomcat doesn't like. 
You've probably upgraded one of them without upgrading the other. It 
sounds like a Java error where the version of Log that Log4J implements 
is not the one Tomcat is using.

I'd reccommend making sure you have two versions that work together. The 
two latest stable ones should work. (Disclaimer: I haven't tried it, so 
don't sure me if it doesn't!)

Hope that helps,

Adam.

Collins, Jim wrote:
> Hi,
> 
> I thought this subject might at least get some response. Has anyone ever had
> or know anything about the following error I have started getting from
> Tomcat? It cause Tomcat to crash and I then need to restart Tomcat. 
> 
>  
> org.apache.commons.logging.LogConfigurationException:
> org.apache.commons.logging.LogConfigurationException:
> org.apache.commons.logging.LogConfigurationException: Class
> org.apache.commons.logging.impl.Log4JCategoryLog does not 
> implement Log
>         at
> org.apache.commons.logging.impl.LogFactoryImpl.newInstance(Log
> FactoryImpl.java:530)
>         at
> org.apache.commons.logging.impl.LogFactoryImpl.getInstance(Log
> FactoryImpl.java:285)
>         at 
> 
> org.apache.commons.logging.LogFactory.getLog(LogFactory.java:401)
>         at
> org.apache.tomcat.util.log.CommonLogHandler.log(CommonLogHandler.java:97)
>         at org.apache.tomcat.util.log.Log.log(Log.java:198)
>         at org.apache.tomcat.util.log.Log.log(Log.java:192)
>         at org.apache.tomcat.util.log.Log.log(Log.java:174)
>         at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> ThreadPool.java:536)
>         at java.lang.Thread.run(Thread.java:536)
> Caused by: org.apache.commons.logging.LogConfigurationException:
> org.apache.commons.logging.LogConfigurationException: Class
> org.apache.commons.logging.impl.Log4JCategoryLog does not 
> implement Log
>         at
> org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryI
> mpl.java:415)
>         at
> org.apache.commons.logging.impl.LogFactoryImpl.newInstance(Log
> FactoryImpl.java:523)
>         ... 8 more
> Caused by: 
> org.apache.commons.logging.LogConfigurationException: Class
> org.apache.commons.logging.impl.Log4JCategoryLog does not implement Log
>         at
> org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryI
> mpl.java:411)
>         ... 9 more
>  
>  
> 
> 
> PLEASE READ: The information contained in this email is confidential
> and intended for the named recipient(s) only. If you are not an intended
> recipient of this email you must not copy, distribute or take any 
> further action in reliance on it and you should delete it and notify the
> sender immediately. Email is not a secure method of communication and 
> Nomura International plc cannot accept responsibility for the accuracy
> or completeness of this message or any attachment(s). Please examine this
> email for virus infection, for which Nomura International plc accepts
> no responsibility. If verification of this email is sought then please
> request a hard copy. Unless otherwise stated any views or opinions
> presented are solely those of the author and do not represent those of
> Nomura International plc. This email is intended for informational
> purposes only and is not a solicitation or offer to buy or sell
> securities or related financial instruments. Nomura International plc is
> regulated by the Financial Services Authority and is a member of the
> London Stock Exchange.
> 
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>