[Javalogging-users] Re: pl. help
Status: Beta
Brought to you by:
gilstrap
|
From: Chandrasekhar B. <ba...@te...> - 2001-06-13 17:09:52
|
Thanks Brian, version 0.8.3 helps!
"Brian R. Gilstrap" wrote:
> Chandrasekhar Balla wrote:
> >
> > > Hi,
> > >
> > > I am trying to use lumberjack with jdk1.3 (build 1.3.0-C) on NT
> > >
> > > and am getting this exception:
> > >
> > > # An EXCEPTION_STACK_OVERFLOW exception has been detected in native
> > code
> > > outside
> > > the VM.
> > > # Program counter=0x5025c2c7
> > >
> > >
> > > It is a simple program that I tired out with the default
> > > logging.properties configuration. The error seems to occur when the
> > > java.util.logging.ConsoleHandler is being loaded by the JVM.
> > >
> > > Thanks for any help,
> > > Balla
> > >
> > > The following is the code that I tried.
> > >
> > > ------------------------------------
> > >
> > > import java.util.logging.*;
> > >
> > > public class LogTest
> > > {
> > > private static Logger logger = Logger.getLogger("LogTest");
> > >
> > > public static void main(String[] args)
> > > {
> > > System.out.println("Testing Logging API");
> > > // this is to test the Java logging facility
> > > logger.info("a test message of level, INFO");
> > > logger.fine("a test message of level, FINE");
> > > logger.finer("a test message of level, FINER");
> > > logger.finest("a test message of level, FINEST");
> > > }
> > > }
> > >
> > >
> > > ----- compileit.bat
> > > echo off
> > >
> > > set
> > > CLASSPATH=%CLASSPATH%;D:\JavaLogging\Lumberjack-0.8.1\lib\logging.jar
> > >
> > > javac -g LogTest.java
> > >
> > >
> > > ----------- runit.bat
> > > echo off
> > >
> > > REM java -Xbootclasspath/a:C:\stuff\logging.jar <other args here>
> > >
> > > rem c:\jdk1.3\bin\java
> > > -Xbootclasspath/a:D:\JavaLogging\Lumberjack-0.8.1\lib\logging.jar
> > > LogTest
> > >
> > > c:\jdk1.3\bin\java -Xmx256 -verbose
> > > -Xbootclasspath/a:D:\JavaLogging\logging.jar LogTest
>
> Hi Balla,
>
> Thanks for trying out Lumberjack. I'm not sure why you are getting this
> error. However, I just put out a new release of Lumberjack (I've been
> working on more tests since the 0.8.1 release). Version 0.8.3 fixes a
> number of bugs, including one that could cause an infinite recursion.
> That would fit with you being out of stack space.
>
> Please download 0.8.3 and try again.
>
> ALSO, please do not put the logging.jar on your regular CLASSPATH. You
> should only need to put it on yoru bootclasspath (which you have done
> correctly above).
>
> Please let me know if you continue to have problems.
>
> Thanks,
> Brian
>
> --
> Brian R. Gilstrap
> br...@gi...
> Husband and father, Tai Chi practitioner, Software architect
> Java developer, Macintosh User
>
> "Doubtless, like all of us, he was many men, turned on one or another of
> his selves as occasion required, and kept his real self a frightened
> secret from the world." --Will Durant
|