• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

invalid console appender .....

 
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all
I am getting the following error on the console
ERROR: invalid console appender config detected, console stream is looping
Seems it's got to do with the log4J configuration.

How do i resolve this???
Sarita
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I guess you can have a look at this site: http://www.2k-software.de/ingo/log4j.html. I faced a similar problem trying to deploy my application with log4j into JBoss. The catch apparently is that since JBoss internally uses log4j, you will have to migrate the contents of your log4j.properties to the log4j.xml of JBoss.
Gr,
Marco
 
Marco van Weverwijk
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Some more info:
We solved this problem by checking if Log4J is already configured before we configure it. In Jboss Log4J is already configured on startup. In Weblogic it's not...
// We check the system property:
String log4jConfig = System.getProperty("log4j.configuration");
// And our own properties file
String log4jFile = getInitParameter("log4j-init-file");
if (log4jConfig != null && log4jConfig.length() > 0) {
//Use Systems configuration( .... -Dlogj4.configuration=/path/to/log4j.*)
System.out.println("Log4J ConfigFile: " + log4jConfig);
configureLog4j(log4jConfig);
}
else if (log4jFile != null && log4jFile.length() > 0) {
//logj4.* from web.xml
System.out.println("Log4j file (from web.xml): " + configDirectory + log4jFile);
configureLog4j(configDirectory + log4jFile);
}
else {
//no log4j.configuration found
System.out.println("Using BaseConfigurator. Please specify the log4j.configuration in the System Properties");
BasicConfigurator.configure();
}
I think this will help...
Greatz,
Marco
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There is an easy solution. Put log4j.jar (1.2.13 at time of writing, with JBoss 4.04 release) in your WEB-INF/lib, or for an ear APP-INF/lib.

The problem is that you are trying to configure log4j and when you use the singleton DOMConfigurator or similar, the class is found in the JBoss class loader (not your application classloader). You are then reconfiguring the JBoss log4j instance, which leads to this error.

Providing the log4j jar in your application as stated above causes your app to load it's own log4j classes, thereby not interfering or colliding with the JBoss internal configuration. Works for JBoss 4 latest.

Best,
Chris
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

There is an easy solution. Put log4j.jar (1.2.13 at time of writing, with JBoss 4.04 release) in your WEB-INF/lib, or for an ear APP-INF/lib.



Hey,

I just tried your suggestion above, and it does eliminate the "invalid console appender config" problem. However, it creates tons of failures when my webapp (axis2) loads. Since I have no control over the Axis2 application, this is not a viable solution for me, but I thought I would try it just to get some testing done.

My question is - do you (or others) also get errors like these? Are you just ignoring them?

Here are the JBoss errors I see:

 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JBoss uses the log4j.xml present in its conf folder. You can either add your application specific log4j configurations to the same file or use your own log4j configuration file. If you are going for the latter, then here's what you will have to do:

Use your own log4j.xml in JBoss
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Experts,

I am facing the dame problem and I believe you must have solved this problem.

Just for the reference:
- trying deploying struts application on JBOSS
- Error: invalid console appender config detected, console stream is looping on the console

error stack :

2007-04-02 14:54:27,174 DEBUG [org.jboss.web.tomcat.filters.ReplyHeaderFilter] Adding header name: X-Powered-By='Servlet 2.4; JBoss-4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)/Tomcat-5.5'
2007-04-02 14:54:28,554 ERROR [STDERR] [INFO] ValidatorPlugIn - Loading validation rules file from '/WEB-INF/validator-rules.xml'
2007-04-02 14:54:28,554 ERROR [STDERR] [INFO] ValidatorPlugIn - Loading validation rules file from '/WEB-INF/validation.xml
Error: invalid console appender config detected, console stream is looping on the console

Any help would be most appreciated.

Thanks in advance,
Harry
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do you have Log4j In your Struts application. That could be it. Try removing log4j jars from your struts application.

Mark
 
Har Aulakh
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Mark Spritzler:
Do you have Log4j In your Struts application. That could be it. Try removing log4j jars from your struts application.

Mark



Thanks Mark for your quick response.

Well, I use log4j.jar only for compilation within Ant and do not have it under {myapp}/WEB-INF/lib ?

Working on this problem since last week. Any advice or hint please.

Thanks
Harry
 
Har Aulakh
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, problem is solved by running the server with following command:

run -Dorg.jboss.logging.Log4jService.catchSystemOut=false

Do not know why but it works. If someone can explain that would be help.
 
Mark Spritzler
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't think you actually solved the problem as more, just masked it by hiding it. And the solution to the actual problem has to do with the ClassLoader not finding the log4j.jar to get the RollingFileAppender class.

Mark
 
Har Aulakh
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Mark Spritzler:
I don't think you actually solved the problem as more, just masked it by hiding it. And the solution to the actual problem has to do with the ClassLoader not finding the log4j.jar to get the RollingFileAppender class.

Mark



Yes Mark, you are right. I have just masked the problem...Sorry for that.

As I told earlier, I do not have log4j.jar file under {myapp}/WEB-INF/lib or elsewhere with {myapp}, though I have it in ant.properties to compile this application.

Can you please suggest anything to solve this problem?

Thanks and Regards,
Har
 
Jaikiran Pai
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Post the contents of your log4j.xml file
 
Har Aulakh
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Jaikiran Pai:
Post the contents of your log4j.xml file


Thanks, This is log4j.xml file under boss-4.0.5.GA\server\default\conf...I haven't made any change in this file yet.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">

<!-- ===================================================================== -->
<!-- -->
<!-- Log4j Configuration -->
<!-- -->
<!-- ===================================================================== -->

<!-- $Id: log4j.xml 56612 2006-09-07 15:12:39Z thomas.diesler@jboss.com $ -->

<!--
| For more configuration infromation and examples see the Jakarta Log4j
| owebsite: http://jakarta.apache.org/log4j
-->

<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">

<!-- ================================= -->
<!-- Preserve messages in a local file -->
<!-- ================================= -->

<!-- A time/date based rolling appender -->
<appender name="FILE" class="org.jboss.logging.appender.DailyRollingFileAppender">
<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
<param name="File" value="${jboss.server.log.dir}/server.log"/>
<param name="Append" value="false"/>

<!-- Rollover at midnight each day -->
<param name="DatePattern" value="'.'yyyy-MM-dd"/>

<!-- Rollover at the top of each hour
<param name="DatePattern" value="'.'yyyy-MM-dd-HH"/>
-->

<layout class="org.apache.log4j.PatternLayout">
<!-- The default pattern: Date Priority [Category] Message\n -->
<param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>

<!-- The full pattern: Date MS Priority [Category] (Thread:NDC) Message\n
<param name="ConversionPattern" value="%d %-5r %-5p [%c] (%t:%x) %m%n"/>
-->
</layout>
</appender>

<!-- A size based file rolling appender
<appender name="FILE" class="org.jboss.logging.appender.RollingFileAppender">
<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
<param name="File" value="${jboss.server.log.dir}/server.log"/>
<param name="Append" value="false"/>
<param name="MaxFileSize" value="500KB"/>
<param name="MaxBackupIndex" value="1"/>

<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
</layout>
</appender>
-->

<!-- ============================== -->
<!-- Append messages to the console -->
<!-- ============================== -->

<appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
<param name="Target" value="System.out"/>
<param name="Threshold" value="INFO"/>

<layout class="org.apache.log4j.PatternLayout">
<!-- The default pattern: Date Priority [Category] Message\n -->
<param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/>
</layout>
</appender>

<!-- ====================== -->
<!-- More Appender examples -->
<!-- ====================== -->

<!-- Buffer events and log them asynchronously
<appender name="ASYNC" class="org.apache.log4j.AsyncAppender">
<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
<appender-ref ref="FILE"/>
<appender-ref ref="CONSOLE"/>
<appender-ref ref="SMTP"/>
</appender>
-->

<!-- EMail events to an administrator
<appender name="SMTP" class="org.apache.log4j.net.SMTPAppender">
<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
<param name="Threshold" value="ERROR"/>
<param name="To" value="admin@myhost.domain.com"/>
<param name="From" value="nobody@myhost.domain.com"/>
<param name="Subject" value="JBoss Sever Errors"/>
<param name="SMTPHost" value="localhost"/>
<param name="BufferSize" value="10"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="[%d{ABSOLUTE},%c{1}] %m%n"/>
</layout>
</appender>
-->

<!-- Syslog events
<appender name="SYSLOG" class="org.apache.log4j.net.SyslogAppender">
<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
<param name="Facility" value="LOCAL7"/>
<param name="FacilityPrinting" value="true"/>
<param name="SyslogHost" value="localhost"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="[%d{ABSOLUTE},%c{1}] %m%n"/>
</layout>
</appender>
-->

<!-- Log events to JMS (requires a topic to be created)
<appender name="JMS" class="org.apache.log4j.net.JMSAppender">
<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
<param name="Threshold" value="ERROR"/>
<param name="TopicConnectionFactoryBindingName" value="java:/ConnectionFactory"/>
<param name="TopicBindingName" value="topic/MyErrorsTopic"/>
</appender>
-->

<!-- Log events through SNMP
<appender name="TRAP_LOG" class="org.apache.log4j.ext.SNMPTrapAppender">
<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
<param name="ImplementationClassName" value="org.apache.log4j.ext.JoeSNMPTrapSender"/>
<param name="ManagementHost" value="127.0.0.1"/>
<param name="ManagementHostTrapListenPort" value="162"/>
<param name="EnterpriseOID" value="1.3.6.1.4.1.24.0"/>
<param name="LocalIPAddress" value="127.0.0.1"/>
<param name="LocalTrapSendPort" value="161"/>
<param name="GenericTrapType" value="6"/>
<param name="SpecificTrapType" value="12345678"/>
<param name="CommunityString" value="public"/>
<param name="ForwardStackTraceWithTrap" value="true"/>
<param name="Threshold" value="DEBUG"/>
<param name="ApplicationTrapOID" value="1.3.6.1.4.1.24.12.10.22.64"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d,%p,[%t],[%c],%m%n"/>
</layout>
</appender>
-->

<!-- Emit events as JMX notifications
<appender name="JMX" class="org.jboss.monitor.services.JMXNotificationAppender">
<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>

<param name="Threshold" value="WARN"/>
<param name="ObjectName" value="jboss.system:service=Logging,type=JMXNotificationAppender"/>

<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d %-5p [%c] %m"/>
</layout>
</appender>
-->

<!-- ================ -->
<!-- Limit categories -->
<!-- ================ -->

<!-- Limit the org.apache category to INFO as its DEBUG is verbose -->
<category name="org.apache">
<priority value="INFO"/>
</category>

<!-- Limit the org.jboss.serial (jboss-serialization) to INFO as its DEBUG is verbose -->
<category name="org.jboss.serial">
<priority value="INFO"/>
</category>

<!-- Limit the org.jgroups category to WARN as its INFO is verbose -->
<category name="org.jgroups">
<priority value="WARN"/>
</category>

<!-- Limit the jacorb category to WARN as its INFO is verbose -->
<category name="jacorb">
<priority value="WARN"/>
</category>

<!-- Limit JBoss categories
<category name="org.jboss">
<priority value="INFO"/>
</category>
-->

<!-- Limit the JSR77 categories -->
<category name="org.jboss.management">
<priority value="INFO"/>
</category>

<!-- Enable JBossWS message tracing
<category name="jbossws.SOAPMessage">
<priority value="TRACE" class="org.jboss.logging.XLevel"/>
</category>
-->

<!-- Decrease the priority threshold for the org.jboss.varia category
<category name="org.jboss.varia">
<priority value="DEBUG"/>
</category>
-->

<!-- Show the evolution of the DataSource pool in the logs [inUse/Available/Max]
<category name="org.jboss.resource.connectionmanager.JBossManagedConnectionPool">
<priority value="TRACE" class="org.jboss.logging.XLevel"/>
</category>
-->

<!--
| An example of enabling the custom TRACE level priority that is used
| by the JBoss internals to diagnose low level details. This example
| turns on TRACE level msgs for the org.jboss.ejb.plugins package and its
| subpackages. This will produce A LOT of logging output.
<category name="org.jboss.system">
<priority value="TRACE" class="org.jboss.logging.XLevel"/>
</category>
<category name="org.jboss.ejb.plugins">
<priority value="TRACE" class="org.jboss.logging.XLevel"/>
</category>
-->

<!--
| Logs these events to SNMP:
- server starts/stops
- cluster evolution (node death/startup)
- When an EJB archive is deployed (and associated verified messages)
- When an EAR archive is deployed

<category name="org.jboss.system.server.Server">
<priority value="INFO" />
<appender-ref ref="TRAP_LOG"/>
</category>

<category name="org.jboss.ha.framework.interfaces.HAPartition.lifecycle">
<priority value="INFO" />
<appender-ref ref="TRAP_LOG"/>
</category>

<category name="org.jboss.deployment.MainDeployer">
<priority value="ERROR" />
<appender-ref ref="TRAP_LOG"/>
</category>

<category name="org.jboss.ejb.EJBDeployer">
<priority value="INFO" />
<appender-ref ref="TRAP_LOG"/>
</category>

<category name="org.jboss.deployment.EARDeployer">
<priority value="INFO" />
<appender-ref ref="TRAP_LOG"/>
</category>

-->

<!-- ======================= -->
<!-- Setup the Root category -->
<!-- ======================= -->

<root>
<appender-ref ref="CONSOLE"/>
<appender-ref ref="FILE"/>
</root>

<!-- Clustering logging -->
<!-- Uncomment the following to redirect the org.jgroups and
org.jboss.ha categories to a cluster.log file.

<appender name="CLUSTER" class="org.jboss.logging.appender.RollingFileAppender">
<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
<param name="File" value="${jboss.server.log.dir}/cluster.log"/>
<param name="Append" value="false"/>
<param name="MaxFileSize" value="500KB"/>
<param name="MaxBackupIndex" value="1"/>

<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
</layout>
</appender>
<category name="org.jgroups">
<priority value="DEBUG" />
<appender-ref ref="CLUSTER"/>
</category>
<category name="org.jboss.ha">
<priority value="DEBUG" />
<appender-ref ref="CLUSTER"/>
</category>
-->

</log4j:configuration>
 
Jaikiran Pai
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The log4j.xml file looks fine. Used this in my jboss setup and it did not throw up any issues. In all probability your application or some other application that is deployed in JBoss has a log4j.jar. Post the output of the following command :

- From the command prompt, go to %JBOSS_HOME%/server/default/deploy folder
- Run the following command:



where myApp.war is your Struts application.
 
Har Aulakh
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Jaikiran for your reply.

PS: log4j.jar file is only under {jboss-home}/server/default/lib and no application, including this, have log4j.jar file.

Here are the contents of the command you asked for:


C:\JBOSS\jboss-4.0.5.GA\server\default\deploy>jar -tf spm.war
META-INF/
META-INF/MANIFEST.MF
jsp/
jsp/applicationInfo.jsp
jsp/applicationMenu.jsp
jsp/approveExpensePage.jsp
jsp/approvePurchasePage.jsp
jsp/approveexpense.jsp
jsp/approvepurchase.jsp
jsp/approvetimesheet.jsp
jsp/assignment.jsp
jsp/assignmentChange.jsp
jsp/assignmentPage.jsp
jsp/comment.jsp
jsp/createExpense.jsp
jsp/crossReport.jsp
jsp/detailReportPage.jsp
jsp/detailreport.jsp
jsp/displayNewWorklayer.jsp
jsp/displayclient.jsp
jsp/displayexpense.jsp
jsp/displaygroup.jsp
jsp/displayholiday.jsp
jsp/displayholidayset.jsp
jsp/displaypurchase.jsp
jsp/displayrate.jsp
jsp/displaytimesheet.jsp
jsp/displayuser.jsp
jsp/displayworklayer.jsp
jsp/displayworklayerPage.jsp
jsp/error.jsp
jsp/expensepage.jsp
jsp/extrahours.jsp
jsp/holidayinset.jsp
jsp/index.jsp
jsp/maintenance.jsp
jsp/overtime.jsp
jsp/overview.jsp
jsp/postMenu.jsp
jsp/preMenu.jsp
jsp/printexpense.jsp
jsp/projectReportPage.jsp
jsp/projectreport.jsp
jsp/purchasepage.jsp
jsp/summarizedreport.jsp
jsp/systemMenu.jsp
jsp/tree.jsp
jsp/updateworklayer.jsp
jsp/userReportPage.jsp
jsp/useringroup.jsp
jsp/userreport.jsp
jsp/validatorjs.jsp
stylesheet/
stylesheet/applicationSapienzaStyle.css
images/
images/Green.jpg
images/Question.jpg
images/Red.jpg
images/Thumbs.db
images/create_icon.gif
images/create_icon2.gif
images/edit_btn.gif
images/image_folder.gif
images/minus.GIF
images/new.gif
images/pencil_icon.gif
images/plus.GIF
images/reports.gif
images/search.gif
images/search_btn.gif
images/spm_title.jpg
images/tools.gif
images/tree/
images/tree/Thumbs.db
images/tree/close.gif
images/tree/close_green.gif
images/tree/close_grey.gif
images/tree/close_orange.gif
images/tree/close_purple.gif
images/tree/close_red.gif
images/tree/close_turq.gif
images/tree/ftv2blank.gif
images/tree/ftv2doc.gif
images/tree/ftv2doc_old.gif
images/tree/ftv2folderclosed.gif
images/tree/ftv2folderopen.gif
images/tree/ftv2lastnode.gif
images/tree/ftv2link.gif
images/tree/ftv2link_old.gif
images/tree/ftv2mlastnode.gif
images/tree/ftv2mnode.gif
images/tree/ftv2node.gif
images/tree/ftv2plastnode.gif
images/tree/ftv2pnode.gif
images/tree/ftv2vertline.gif
images/tree/open.gif
images/tree/open_green.gif
images/tree/open_grey.gif
images/tree/open_orange.gif
images/tree/open_purple.gif
images/tree/open_red.gif
images/tree/open_turq.gif
images/tree/tri.gif
images/tree/tridown.gif
images/tree/trileft.gif
images/tree/triup.gif
jscript/
jscript/cal2.js
jscript/cal2ori.js
jscript/cal_conf2.js
jscript/tree/
jscript/tree/ftiens4.js
jscript/tree/sdu.js
jscript/tree/ua.js
WEB-INF/
WEB-INF/classes/
WEB-INF/classes/com/
WEB-INF/classes/com/sapienza/
WEB-INF/classes/com/sapienza/spm/
WEB-INF/classes/com/sapienza/spm/CommonData.class
WEB-INF/classes/com/sapienza/spm/Constant.class
WEB-INF/classes/com/sapienza/spm/action/
WEB-INF/classes/com/sapienza/spm/action/AssignmentAction.class
WEB-INF/classes/com/sapienza/spm/action/BaseDispatchAction.class
WEB-INF/classes/com/sapienza/spm/action/ClientAction.class
WEB-INF/classes/com/sapienza/spm/action/CrossReportAction.class
WEB-INF/classes/com/sapienza/spm/action/DetailReportAction.class
WEB-INF/classes/com/sapienza/spm/action/ExpenseAction.class
WEB-INF/classes/com/sapienza/spm/action/GroupAction.class
WEB-INF/classes/com/sapienza/spm/action/HolidayAction.class
WEB-INF/classes/com/sapienza/spm/action/HolidayinsetAction.class
WEB-INF/classes/com/sapienza/spm/action/HolidaysetAction.class
WEB-INF/classes/com/sapienza/spm/action/HomeAction.class
WEB-INF/classes/com/sapienza/spm/action/MaintenanceAction.class
WEB-INF/classes/com/sapienza/spm/action/OverviewAction.class
WEB-INF/classes/com/sapienza/spm/action/ProjectReportAction.class
WEB-INF/classes/com/sapienza/spm/action/PurchaseAction.class
WEB-INF/classes/com/sapienza/spm/action/RateAction.class
WEB-INF/classes/com/sapienza/spm/action/SumReportAction.class
WEB-INF/classes/com/sapienza/spm/action/TestServlet.class
WEB-INF/classes/com/sapienza/spm/action/TimesheetAction.class
WEB-INF/classes/com/sapienza/spm/action/TreeAction.class
WEB-INF/classes/com/sapienza/spm/action/UserAction.class
WEB-INF/classes/com/sapienza/spm/action/UserReportAction.class
WEB-INF/classes/com/sapienza/spm/action/UseringroupAction.class
WEB-INF/classes/com/sapienza/spm/action/WorklayerAction.class
WEB-INF/classes/com/sapienza/spm/action/admin/
WEB-INF/classes/com/sapienza/spm/action/admin/AdminReport.class
WEB-INF/classes/com/sapienza/spm/action/admin/ExpenseReport.class
WEB-INF/classes/com/sapienza/spm/exception/
WEB-INF/classes/com/sapienza/spm/exception/BaseException.class
WEB-INF/classes/com/sapienza/spm/exception/BasicHandler.class
WEB-INF/classes/com/sapienza/spm/exception/GroupNotFoundException.class
WEB-INF/classes/com/sapienza/spm/model/
WEB-INF/classes/com/sapienza/spm/model/bean/
WEB-INF/classes/com/sapienza/spm/model/bean/AdminReportBean.class
WEB-INF/classes/com/sapienza/spm/model/bean/AssignmentBean.class
WEB-INF/classes/com/sapienza/spm/model/bean/ClientBean.class
WEB-INF/classes/com/sapienza/spm/model/bean/CrossReportBean.class
WEB-INF/classes/com/sapienza/spm/model/bean/DetailReportBean.class
WEB-INF/classes/com/sapienza/spm/model/bean/ExpenseBean.class
WEB-INF/classes/com/sapienza/spm/model/bean/ExpensesheetBean.class
WEB-INF/classes/com/sapienza/spm/model/bean/GroupBean.class
WEB-INF/classes/com/sapienza/spm/model/bean/HolidayBean.class
WEB-INF/classes/com/sapienza/spm/model/bean/HolidayinsetBean.class
WEB-INF/classes/com/sapienza/spm/model/bean/HolidaysetBean.class
WEB-INF/classes/com/sapienza/spm/model/bean/OvertimeBean.class
WEB-INF/classes/com/sapienza/spm/model/bean/OverviewBean.class
WEB-INF/classes/com/sapienza/spm/model/bean/ProjectReportBean.class
WEB-INF/classes/com/sapienza/spm/model/bean/PurchaseBean.class
WEB-INF/classes/com/sapienza/spm/model/bean/RateBean.class
WEB-INF/classes/com/sapienza/spm/model/bean/SimpleBean.class
WEB-INF/classes/com/sapienza/spm/model/bean/SumReportBean.class
WEB-INF/classes/com/sapienza/spm/model/bean/UserBean.class
WEB-INF/classes/com/sapienza/spm/model/bean/UserReportBean.class
WEB-INF/classes/com/sapienza/spm/model/bean/UseringroupBean.class
WEB-INF/classes/com/sapienza/spm/model/bean/WeekBean.class
WEB-INF/classes/com/sapienza/spm/model/bean/WorklayerBean.class
WEB-INF/classes/com/sapienza/spm/model/persistence/
WEB-INF/classes/com/sapienza/spm/model/persistence/AssignmentDao.class
WEB-INF/classes/com/sapienza/spm/model/persistence/ClientDao.class
WEB-INF/classes/com/sapienza/spm/model/persistence/ExpensesheetDao.class
WEB-INF/classes/com/sapienza/spm/model/persistence/GenericDao.class
WEB-INF/classes/com/sapienza/spm/model/persistence/GroupDao.class
WEB-INF/classes/com/sapienza/spm/model/persistence/HolidayDao.class
WEB-INF/classes/com/sapienza/spm/model/persistence/HolidaysetDao.class
WEB-INF/classes/com/sapienza/spm/model/persistence/OverviewDao.class
WEB-INF/classes/com/sapienza/spm/model/persistence/PurchaseDao.class
WEB-INF/classes/com/sapienza/spm/model/persistence/RateDao.class
WEB-INF/classes/com/sapienza/spm/model/persistence/UserDao.class
WEB-INF/classes/com/sapienza/spm/model/persistence/WeekDao.class
WEB-INF/classes/com/sapienza/spm/model/persistence/WorklayerDao.class
WEB-INF/classes/com/sapienza/spm/model/service/
WEB-INF/classes/com/sapienza/spm/model/service/AssignmentService.class
WEB-INF/classes/com/sapienza/spm/model/service/ClientService.class
WEB-INF/classes/com/sapienza/spm/model/service/ExpenseService.class
WEB-INF/classes/com/sapienza/spm/model/service/GroupService.class
WEB-INF/classes/com/sapienza/spm/model/service/HolidayService.class
WEB-INF/classes/com/sapienza/spm/model/service/HolidaysetService.class
WEB-INF/classes/com/sapienza/spm/model/service/OverviewService.class
WEB-INF/classes/com/sapienza/spm/model/service/PurchaseService.class
WEB-INF/classes/com/sapienza/spm/model/service/RateService.class
WEB-INF/classes/com/sapienza/spm/model/service/ReportService.class
WEB-INF/classes/com/sapienza/spm/model/service/TimesheetService.class
WEB-INF/classes/com/sapienza/spm/model/service/TreeService.class
WEB-INF/classes/com/sapienza/spm/model/service/UserService.class
WEB-INF/classes/com/sapienza/spm/model/service/WorklayerService.class
WEB-INF/classes/com/sapienza/spm/utility/
WEB-INF/classes/com/sapienza/spm/utility/DateFormatter.class
WEB-INF/classes/com/sapienza/spm/utility/SngCM.class
WEB-INF/classes/com/sapienza/spm/utility/SngLog.class
WEB-INF/classes/com/sapienza/spm/utility/SngPropertyFile.class
WEB-INF/classes/com/sapienza/spm/utility/SpmHtml.class
WEB-INF/classes/LayoutSPM.properties
WEB-INF/classes/commons-logging.properties
WEB-INF/classes/com/sapienza/spm/resourcebundles.properties
WEB-INF/lib/
WEB-INF/layout.tld
WEB-INF/lib/Layout.jar
WEB-INF/lib/OLDsapienza-html.jarOLd
WEB-INF/lib/RichardUtil.jar
WEB-INF/lib/commons-beanutils.jar
WEB-INF/lib/commons-collections.jar
WEB-INF/lib/commons-digester.jar
WEB-INF/lib/commons-fileupload.jar
WEB-INF/lib/commons-lang.jar
WEB-INF/lib/commons-logging.jar
WEB-INF/lib/commons-validator.jar
WEB-INF/lib/itext-1.3.jar
WEB-INF/lib/jakarta-oro.jar
WEB-INF/lib/jakarta-regexp-1.2.jar
WEB-INF/lib/sapienza-html.jar
WEB-INF/lib/sapienza-sdu.jar
WEB-INF/lib/struts.jar
WEB-INF/sapienza-html.tld
WEB-INF/sapienza-htmlold.tld
WEB-INF/sapienza-sdu.tld
WEB-INF/struts-bean.tld
WEB-INF/struts-config.xml
WEB-INF/struts-form.tld
WEB-INF/struts-html.tld
WEB-INF/struts-logic.tld
WEB-INF/struts-nested.tld
WEB-INF/struts-template.tld
WEB-INF/struts-tiles.tld
WEB-INF/struts.tld
WEB-INF/validation.xml
WEB-INF/validator-rules.xml
WEB-INF/web.xml
WEB-INF/lib/_pages.jar

[ April 23, 2007: Message edited by: Har Aulakh ]
[ April 23, 2007: Message edited by: Har Aulakh ]
 
Jaikiran Pai
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

WEB-INF/lib/commons-logging.jar



Remove this commons-logging.jar file from the WEB-INF/lib folder. JBoss' comes with its own version of commons-logging.jar in its server/lib folder and it has been observed many times before, that strange issues come up whenver an application includes this jar in its packaging.

See if it fixes the issue
 
Har Aulakh
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Jaikiran for your time and effort but, unfortunately, its still the same problem.
 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I had the same problem. I removed the
<listener> <listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
</listener>
out of the web.xml, and now it works fine.

Hopes this solves your problem too.
 
Ranch Hand
Posts: 457
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I had a similar error reported when using Flex/Blaze to send >2000 objects an I had the logging set to debug



When I returned it to "Error" it had no problems.
Perhaps the logging guessed incorrectly that an infinite loop was occurring because the outputs were similar (but not identical).
 
Nothing? Or something? Like this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic