Re: [Lumberjack-devel] pl. help
Brought to you by:
mluker
|
From: <ko...@re...> - 2001-06-12 14:39:08
|
Balla,
I've loaded up my NT JDK-1.3 system, and I'm a bit confused. You have an
import for java.util.logging.* and you are having problems with
java.util.logging.ConsoleHandler. That package does not appear to be a
part of my JDK (same build for NT). Where are you getting that package?
As a side note, I have tested this under IBM's JDK-1.3 on Linux and it
works fine--not that it rules out an NT problem, but I believe there is
nothing fundementally wrong with the lumberjack-0.8.1 package that would
cause a JNI exception under 1.3 NT.
Please send me the entire java source file for your test program so I
can take a look at it. Also let me know where you are getting this
java.util.logging package--I can't find it in the JDK or in the JDK docs.
Thanks,
Matt
ba...@te... 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
>
>
>
>
> _______________________________________________
> Lumberjack-devel mailing list
> Lum...@li...
> http://lists.sourceforge.net/lists/listinfo/lumberjack-devel
>
|