File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Log4j time problem in Solaris

 
Muthu Prasad Venkatraman
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have different behavior of log4j on windows and Solaris.

I get wrong time entry in log file for march month in Solaris machine.

i.e if the console displays date & time as Thu Mar 29 06:29:39 EDT 2007
then i get [29 Mar 2007 05:29]

but i gives me correct time for all other months & in windows.

Why it occurs. please give me solution for this

Thanks in advance
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could this be something to do with the DST change? Have you patched the JDK on both systems?
 
Muthu Prasad Venkatraman
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks paul,
your reply really helped me a lot. actually i had solaris with jre 1.2 & i tried the same code in jre 1.4 it is working correctly.
Thanks once again
Prasad

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic