[Javalogging-users] pl. help
Status: Beta
Brought to you by:
gilstrap
|
From: Chandrasekhar B. <ba...@te...> - 2001-06-12 17:10:53
|
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
|