I've been experimenting with Ubuntu 6.0.6.1 (aka Dapper Drake) as a possible release build environment, but I'm running into a "Connection Refused" exception on a New Socket((String) null, 5500) call around line 70 in ERFATestCase when attempting to send a message to the ExternallyRolledFileAppender to tell it to roll. The same test passes on other platforms and I'm guessing that it is a firewall issue. I've played with iptables rules (newbie at that), but haven't fixed the problem. When I started, sudo iptables -L showed no rules.

Build environment:

Ubuntu 6.0.6-1 desktop freshly installed in JVM
subversion and sun-java6-jdk installed in Package Manager (requires adding multiverse to repos in Settings/Repos) ant-1.6.5 and maven 2.0.6 installed in home directory from Apache binaries (javah task failed in Ant when installed from Ubuntu)
export JAVA_HOME=/usr/lib/jvm/java-6-sun
export PATH=~/maven-2.0.6/bin:~/apache-ant-1.6.5/bin:$PATH
svn co https://svn.apache.org/repos/asf/logging/log4j/branches/v1_2- branch log4j
cd log4j
mvn test

I was able to build an NTEventAppender.dll on Ubuntu by installing mingw from the package manager and copying include/win32/jni_md.h from a Windows JDK 6 to /usr/lib/java-6-sun/include/win32/jni_md.h. Haven't actually gone back and tried the generated DLL on Windows to make sure that it works.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to