commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 9599] New: - Problem accessing LogFactoryImpl from servlet
Date Tue, 04 Jun 2002 03:38:21 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9599>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9599

Problem accessing LogFactoryImpl from servlet

           Summary: Problem accessing LogFactoryImpl from servlet
           Product: Commons
           Version: 1.0 Beta 1
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Logging
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: sstrenn@yahoo.com


When trying to access an excel file from a servlet using the POI usermodel 
HSSFWorkbook, I get a ClassNotFoundException when it tries to access the 
LogFactoryImpl class (see below).  What is the problem here?  I don't get this 
exception when I use the same Java code w/in a Java application...

Stephen
sstrenn@yahoo.com


2002-06-03 20:31:00 - Ctx( /ExcelGradeCheck ): Exception in: R
( /ExcelGradeCheck + /gradecheck + null) - 
java.lang.ExceptionInInitializerError: 
org.apache.commons.logging.LogConfigurationException: 
java.lang.ClassNotFoundException: 
org.apache.commons.logging.impl.LogFactoryImpl

	at org.apache.commons.logging.LogFactory.newFactory
(LogFactory.java:497)

	at org.apache.commons.logging.LogFactory.getFactory
(LogFactory.java:350)

	at org.apache.poi.util.POILogFactory.<clinit>(POILogFactory.java:76)

	at org.apache.poi.hssf.usermodel.HSSFWorkbook.<clinit>
(HSSFWorkbook.java:113)

	at excelgradecheck.GradeCheckServlet.init(GradeCheckServlet.java:20)

	at javax.servlet.GenericServlet.init(GenericServlet.java:258)

	at org.apache.tomcat.core.ServletWrapper.doInit
(ServletWrapper.java:317)

	at org.apache.tomcat.core.Handler.init(Handler.java:215)

	at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)

	at org.apache.tomcat.core.Handler.service(Handler.java:254)

	at org.apache.tomcat.core.ServletWrapper.service
(ServletWrapper.java:372)

	at org.apache.tomcat.core.ContextManager.internalService
(ContextManager.java:812)

	at org.apache.tomcat.core.ContextManager.service
(ContextManager.java:758)

	at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection
(HttpConnectionHandler.java:213)

	at org.apache.tomcat.service.TcpWorkerThread.runIt
(PoolTcpEndpoint.java:416)

	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run
(ThreadPool.java:501)

	at java.lang.Thread.run(Thread.java:498)

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message