cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Gallardo <agalla...@agssa.net>
Subject Re: question
Date Fri, 26 May 2006 04:08:03 GMT
Hi,

The class: org.apache.log.Logger is in avalon-logkit-2.1.jar. Make sure this jar is in your
classpath. If you still have problem you might switch to log4j logging.

If the file is there, check the content of logkit.xconf (if you switch to log4j then the log4j.xconf).


Also, I would recommend to compare the cocoon.xconf files in both servers.

Good luck.

Best Regards,

Antonio Gallardo.

Ayzenberg, Nina N escribió:
> Hi,
>
> We have a problem with the application when we try to create a dynamic report in Excel
format.  The same application is running on four servers.  Servers 1 and 3 are on one computer
 and the servers 2 and 4 are on another computer.  The problem happens only on servers 1 and
3 and it began occurring about a month ago.  Before that everything was fine and we did not
implement any changes to the application since January.
>
> Below is the text of an error.  The strange thing that the error occurs only when we
try to generate large excel file (700 rows, 20 columns).  When we generate smaller reports
(100 rows, 10 columns) everything works fine. When we try to generate about 150 rows report,
sometimes program works and sometimes it does not.  So it looks like the problem is related
to the size of the excel files.
>
> The first thing we did is to compare path and classpath on both computers.  They are
the same.  This is the java application (jdk 1.4.2) running under weblogic 8.1 server.  Weblogic
configurations are the same on both machines.
>
> >From the error text below looks like the program cannot find the org.apache.log.Logger
class.  If this is the case, then how can this program work fine on small excel files?  Does
it use the Logger class only to generate the large files?  Could you suggest anything on how
to debug this error?  For now we stopped servers 1 and 3 because the help desk gets too many
customer calls and we need to fix the error asap.
>
> Any help and ideas will be greatly appreciated.
>
> Thank you,
> Nina Ayzenberg
>
>
>
> javax.xml.transform.TransformerException: org.apache.cocoon.components.elementprocessor.CannotCreateElementProcessorException:
Could not create ElementProcessor for element Content (exception (java.lang.ClassNotFoundException:
org.apache.log.Logger) occured while creating new instance of ElementProcessor)
>         at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:725)
>         at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2339)
>         at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:710)
>         at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2339)
>         at org.apache.xalan.templates.ElemChoose.execute(ElemChoose.java:185)
>         at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2339)
>         at org.apache.xalan.templates.ElemIf.execute(ElemIf.java:210)
>         at org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.java:441)
>         at org.apache.xalan.templates.ElemForEach.execute(ElemForEach.java:300)
>         at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:425)
>         at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:216)
>         at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2339)
>         at org.apache.xalan.templates.ElemChoose.execute(ElemChoose.java:185)
>         at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:425)
>         at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:216)
>         at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2339)
>         at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:710)
>         at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2339)
>         at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:710)
>         at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2339)
>         at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:710)
>         at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2339)
>         at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:710)
>         at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:425)
>         at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:216)
>         at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2339)
>         at org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2160)
>         at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1213)
>         at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:668)
>         at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1129)
>         at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1107)
>         at com.questdiagnostics.applications.resultview.servlet.QueryServlet.service(QueryServlet.java:278)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
>         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
>         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
>         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
>         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
>         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
>         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
>         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
>         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
>         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
>
>
> ==============================================================================
> The contents of this message, together with any attachments, are intended only for the
use of the person(s) to which they are addressed and may contain confidential and/or privileged
information. Further, any medical information herein is confidential and protected by law.
It is unlawful for unauthorized persons to use, review, copy, disclose, or disseminate confidential
medical information. If you are not the intended recipient, immediately advise the sender
and delete this message and any attachments. Any distribution, or copying of this message,
or any attachment, is prohibited.
> ==============================================================================
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message