aspose file tools*
The moose likes Tomcat and the fly likes Problem in using HTTPS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Problem in using HTTPS" Watch "Problem in using HTTPS" New topic
Author

Problem in using HTTPS

Thamarai Sivam
Greenhorn

Joined: Sep 06, 2005
Posts: 3
I'm using Apache Tomcat 4.1, j2sdk1.4.1_02 and jsse1.0.3_03 i configured my tomcat for jsse1.0.3_03, now i can access the application using https but for the first time only (i.e.) if i try to refresh the page or type the same url again in the browser i'm unable to get my application's home page in the second and subsequent request. If i restart my server then i can get my app. home page once but not on second and on more request.


I'm attaching the error i'm getting at the server side

Sep 6, 2005 9:45:40 PM org.apache.coyote.http11.Http11Protocol$Http11ConnectionH
andler processConnection
SEVERE: Error reading request, ignored
org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging
.LogConfigurationException: org.apache.commons.logging.LogConfigurationException
: Class org.apache.commons.logging.impl.Log4JLogger does not implement Log
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactory
Impl.java:532)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactory
Impl.java:272)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactory
Impl.java:246)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:395)
at org.apache.tomcat.util.net.jsse.JSSESupport.<init>(JSSESupport.java:8
7)
at org.apache.tomcat.util.net.jsse.JSSE14Support.<init>(JSSE14Support.ja
va:99)
at org.apache.tomcat.util.net.jsse.JSSE14Factory.getSSLSupport(JSSE14Fac
tory.java:84)
at org.apache.tomcat.util.net.jsse.JSSEImplementation.getSSLSupport(JSSE
Implementation.java:118)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ssConnection(Http11Protocol.java:385)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
:565)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:619)
at java.lang.Thread.run(Thread.java:536)
Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.comm
ons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Log
4JLogger does not implement Log
at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogF
actoryImpl.java:416)
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactory
Impl.java:525)
... 11 more
Caused by: org.apache.commons.logging.LogConfigurationException: Class org.apach
e.commons.logging.impl.Log4JLogger does not implement Log
at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogF
actoryImpl.java:412)
... 12 more

Pls help me on this to resolve it

Thanks in advance

Regards,
Thamarai
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42915
    
  68
That seems to be connected to the logging setup, not the HTTPP setup. Make sure that you're using the right versions of the log4j libraries.
Thamarai Sivam
Greenhorn

Joined: Sep 06, 2005
Posts: 3
Hai Dittmer,

Thank You very much for your reply, can you tell me which version of Log4J i suppose to use.
 
jQuery in Action, 2nd edition
 
subject: Problem in using HTTPS