Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

i am getting error in log4j.anyone can please reply me?

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am getting following errors.

i am not able to figure out this error.

Because of that the class file is already in appropriate directory structure.

please reply me .

The error is:





log4j:ERROR Could not instantiate class [com.atroad.util.log.RoadPatternLayout].

java.lang.ClassNotFoundException: com.atroad.util.log.RoadPatternLayout
at com.evermind._as.findClass(.:417)
at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:115)
at org.apache.log4j.helpers.OptionConverter.instantiateByClassName(Optio
nConverter.java:301)
at org.apache.log4j.helpers.OptionConverter.instantiateByKey(OptionConve
rter.java:116)
at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigura
tor.java:624)
at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigura
tor.java:595)
at org.apache.log4j.PropertyConfigurator.parseCatsAndRenderers(PropertyC
onfigurator.java:522)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurato
r.java:412)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurato
r.java:309)
at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.
java:317)
at com.atroad.adm.log.LogConfigure.<clinit>(LogConfigure.java:36)
at com.atroad.adm.asap.util.NoName.<clinit>(NoName.java:366)
at com.atroad.exception.bean.CurrentExceptions.setClientID(CurrentExcept
ions.java:239)
at __jspPage2_exception_jspServer_CurrentExceptions_jsp._jspService(__js
pPage2_exception_jspServer_CurrentExceptions_jsp.java:74)
at com.orionserver.http.OrionHttpJspPage.service(.:70)
at com.evermind._ay._rkb(.:5741)
at com.evermind.server.http.JSPServlet.service(.:31)
at com.evermind._cub._pod(.:521)
at com.evermind._cub._bmc(.:177)
at com.evermind._ax._ltc(.:666)
at com.evermind._ax._uab(.:191)
at com.evermind._bf.run(.:62)
log4j:ERROR No layout set for the appender named [ADMFILE].
ERROR com.atroad.adm.asap.util.NoName:: getClientId throw exception com.atroad.e
jb.user.UserHome not found in devicegroups

ERROR com.atroad.adm.asap.util.NoName:: getClientId throw exception user =xmpp_u
ser3

log4j:WARN [log4j.configDebug] is deprecated. Use [log4j.debug] instead.
log4j: Parsing for [root] with value=[ERROR].
log4j: Priority token is [ERROR].
log4j: Category root set to ERROR
log4j: Parsing for [ExceptionsRoverIn] with value=[DEBUG,ExceptionsRoverIn].
log4j: Priority token is [DEBUG].
log4j: Category ExceptionsRoverIn set to DEBUG
log4j: Parsing appender named "ExceptionsRoverIn".
log4j: Parsing layout options for "ExceptionsRoverIn".
log4j: Setting property [conversionPattern] to [%m%n].
log4j: End of parsing for "ExceptionsRoverIn".
log4j: Setting property [append] to [true].
log4j: Setting property [immediateFlush] to [true].
log4j: Setting property [file] to [rover_exp_in.log].
log4j: Parsed "ExceptionsRoverIn" options.
log4j: Handling log4j.additivity.ExceptionsRoverIn=[null]
log4j: Parsing for [Exception] with value=[INFO, EXP_OPERATION].
log4j: Priority token is [INFO].
log4j: Category Exception set to INFO
log4j: Parsing appender named "EXP_OPERATION".
log4j: Parsing layout options for "EXP_OPERATION".
log4j: Setting property [conversionPattern] to [%m%n].
log4j: End of parsing for "EXP_OPERATION".
log4j: Setting property [file] to [exp_operation.log].
log4j: Parsed "EXP_OPERATION" options.
log4j: Handling log4j.additivity.Exception=[null]
log4j: Finished configuring.

































































log4j:ERROR Could not instantiate class [com.atroad.util.log.RoadPatternLayout].

java.lang.ClassNotFoundException: com.atroad.util.log.RoadPatternLayout
at com.evermind._as.findClass(.:417)
at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:115)
at org.apache.log4j.helpers.OptionConverter.instantiateByClassName(Optio
nConverter.java:301)
at org.apache.log4j.helpers.OptionConverter.instantiateByKey(OptionConve
rter.java:116)
at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigura
tor.java:624)
at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigura
tor.java:595)
at org.apache.log4j.PropertyConfigurator.parseCatsAndRenderers(PropertyC
onfigurator.java:522)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurato
r.java:412)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurato
r.java:309)
at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.
java:317)
at com.atroad.adm.log.LogConfigure.<clinit>(LogConfigure.java:36)
at com.atroad.adm.asap.util.NoName.<clinit>(NoName.java:366)
at com.atroad.exception.bean.CurrentExceptions.setClientID(CurrentExcept
ions.java:239)
at __jspPage2_exception_jspServer_CurrentExceptions_jsp._jspService(__js
pPage2_exception_jspServer_CurrentExceptions_jsp.java:74)
at com.orionserver.http.OrionHttpJspPage.service(.:70)
at com.evermind._ay._rkb(.:5741)
at com.evermind.server.http.JSPServlet.service(.:31)
at com.evermind._cub._pod(.:521)
at com.evermind._cub._bmc(.:177)
at com.evermind._ax._ltc(.:666)
at com.evermind._ax._uab(.:191)
at com.evermind._bf.run(.:62)
log4j:ERROR No layout set for the appender named [ADMFILE].
ERROR com.atroad.adm.asap.util.NoName:: getClientId throw exception com.atroad.e
jb.user.UserHome not found in devicegroups

ERROR com.atroad.adm.asap.util.NoName:: getClientId throw exception user =xmpp_u
ser3

log4j:WARN [log4j.configDebug] is deprecated. Use [log4j.debug] instead.
log4j: Parsing for [root] with value=[ERROR].
log4j: Priority token is [ERROR].
log4j: Category root set to ERROR
log4j: Parsing for [ExceptionsRoverIn] with value=[DEBUG,ExceptionsRoverIn].
log4j: Priority token is [DEBUG].
log4j: Category ExceptionsRoverIn set to DEBUG
log4j: Parsing appender named "ExceptionsRoverIn".
log4j: Parsing layout options for "ExceptionsRoverIn".
log4j: Setting property [conversionPattern] to [%m%n].
log4j: End of parsing for "ExceptionsRoverIn".
log4j: Setting property [append] to [true].
log4j: Setting property [immediateFlush] to [true].
log4j: Setting property [file] to [rover_exp_in.log].
log4j: Parsed "ExceptionsRoverIn" options.
log4j: Handling log4j.additivity.ExceptionsRoverIn=[null]
log4j: Parsing for [Exception] with value=[INFO, EXP_OPERATION].
log4j: Priority token is [INFO].
log4j: Category Exception set to INFO
log4j: Parsing appender named "EXP_OPERATION".
log4j: Parsing layout options for "EXP_OPERATION".
log4j: Setting property [conversionPattern] to [%m%n].
log4j: End of parsing for "EXP_OPERATION".
log4j: Setting property [file] to [exp_operation.log].
log4j: Parsed "EXP_OPERATION" options.
log4j: Handling log4j.additivity.Exception=[null]
log4j: Finished configuring.




Thanks
 
These are not the droids you are looking for. Perhaps I can interest you in a tiny ad?
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic