Thanks for your tip! the operating system is Windows 2000 NT.
the JDK version is 1.4.2_04-b05 the log4j version is log4j-1.2.8.jar My application is not running Tomcat. It's running Oracle Application Server 10g. It seems strange because I have just activated log4j debug option in my .properties file and this is the output I see: LogService.instance(): initializing... log4j: Parsing for [root] with value=[DEBUG, A1]. log4j: Level token is [DEBUG]. log4j: Category root set to DEBUG log4j: Parsing appender named "A1". And in this step is when the application raises the following exception: java.lang.UnsatisfiedLinkError: registerEventSource at sgs.bl.NTEventLogAppender.registerEventSource(Native Method) at sgs.bl.NTEventLogAppender.<init>(NTEventLogAppender.java:67) at sgs.bl.NTEventLogAppender.<init>(NTEventLogAppender.java:53) at sgs.bl.LogService._init(LogService.java:120) at sgs.bl.LogService.<init>(LogService.java:80) at sgs.bl.LogService._getInstance(LogService.java:159) I cannot update the dll and the jar file because it's a requirement of the application. It has to work with log4j-1.2.8. Thanks again! Any idea? 2007/3/19, Curt Arnold <[EMAIL PROTECTED]>:
On Mar 19, 2007, at 2:41 AM, Ruben Gonzalez wrote: > Hi everyone! > > I'm new to log4j and I'm having the following problem: > > My application reads the properties file, but I get this: > * > > java.lang.UnsatisfiedLinkError: register EventSource > * > It appears that you are running Tomcat on Windows, but it is helpful if you let us know: the operating system the JDK version the log4j version the version of any other significant software component (likely Tomcat in this case) The NTEventLogAppender.dll was reworked for the not yet released log4j 1.2.15. It would be good if you would test if the problem still occurs with the last release candidate (http:// people.apache.org/builds/logging/log4j/1.2.15/). It would be also good if you could test use of NTEventLogAppender outside of Tomcat. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]