Hi,
I am log4j user and now getting the following exception while using in perl
scripts.
java.lang.NoClassDefFoundError: org/apache/log4j/Appender Exception in
thread "main" [Wed May 30 06:58:43 2007] my.pl: print() on closed filehandle
ERRLOG at my.pl line 111. [Wed May 30 06:58:43 2007] my.pl: print() on
closed filehandle LOGGING at search.pl line 85.
code is :
if(-e "$FileName")
{
open(LOGGING,">>$FileName");
}
else
{
open(LOGGING,">>$FileName");
print LOGGING "#Fields: Date \t Time\t UserIP \t UserAgent \t
Referer \n";
}
$output=`$MyExePath`;
My working environment is : Shared hosting server
and My Application details :
1. Perl Script is calling a Java package (Executable wrapper using
launch4j).
2. Java package contains
MyApplication.jar=Main jar+Log4j Jar (using pro guard)
MyApplication.exe=MyApplication.jar (using launch4j)
3. JRE6
--
Thanks,
Laxmilal menaria
http://www.minalyzer.com/
http://www.chambal.com/