This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Java in General and the fly likes i am getting error in log4j.anyone can please reply me? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "i am getting error in log4j.anyone can please reply me?" Watch "i am getting error in log4j.anyone can please reply me?" New topic
Author

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

arulraj michealraj
Greenhorn

Joined: Mar 02, 2005
Posts: 28
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: i am getting error in log4j.anyone can please reply me?
 
Similar Threads
Cannot log into UNIX Syslog with log4j
Logging question : Where should I put the log4j jar file?
Help! I am getting strange and unusual Eclipse Warnings
SimpleSocketServer error
Setting up JMSAppender with Websphere 5.0