Wildfire 3.1.1 dies silently after "wildfire start"

jdk1.5.0_09 on Mandriva Linux 2.6.12-15mdksmp

Downloaded&untarred vanilla Wildfire 3.1.1

  1. wildfire start

Starting wildfire

nohup: appending to nohup.out

Note that Wildfire is not running then, it just dies immediately. No logs are written to nohup.out. logs/stdoutt.log is one byte, no other logs in logs/ normally but if one tries to start wildfire several times sometimes there are logs like

2006.11.21 11:55:27 org.jivesoftware.wildfire.XMPPServer.start(XMPPServer.java:405)

java.lang.IllegalStateException: Shutdown in progress

at java.lang.Shutdown.add(Shutdown.java:81)

at java.lang.Runtime.addShutdownHook(Runtime.java:190)

at org.jivesoftware.wildfire.XMPPServer.initialize(XMPPServer.java:295)

at org.jivesoftware.wildfire.XMPPServer.start(XMPPServer.java:365)

at org.jivesoftware.wildfire.XMPPServer.(XMPPServer.java:147)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessor Impl.java:39)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructor AccessorImpl.java:27)

at java.lang.reflect.Constructor.newInstance(Constructor.java:494)

at java.lang.Class.newInstance0(Class.java:350)

at java.lang.Class.newInstance(Class.java:303)

at org.jivesoftware.wildfire.starter.ServerStarter.start(ServerStarter.java:93)

at org.jivesoftware.wildfire.starter.ServerStarter.main(ServerStarter.java:49)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)

at com.install4j.runtime.Launcher.main(Unknown Source)

2006.11.21 11:55:17 Wildfire 3.1.1

2006.11.21 11:55:17 Server halted

strace findings:

strace /usr/java/jdk1.5.0_09/bin/java -server -Dinstall4j.jvmDir=/usr/java/jdk1.5.0_09/ -Dinstall4j.appDir=/usr/local/wildfire/current -Dexe4j.moduleName=/usr/local/wildfire/current/bin/wildfire -classpath /usr/local/wildfire/current/.install4j/i4jruntime.jar:/usr/local/wildfire/curre nt/lib/activation.jar:/usr/local/wildfire/current/lib/bouncycastle.jar:/usr/loca l/wildfire/current/lib/jasper-compiler.jar:/usr/local/wildfire/current/lib/jdic. jar:/usr/local/wildfire/current/lib/jtds.jar:/usr/local/wildfire/current/lib/mai l.jar:/usr/local/wildfire/current/lib/mysql.jar:/usr/local/wildfire/current/lib/ postgres.jar:/usr/local/wildfire/current/lib/startup.jar com.install4j.runtime.Launcher start org.jivesoftware.wildfire.starter.ServerStarter false false /usr/local/wildfire/current/bin/…/logs/stderror.log /usr/local/wildfire/current/bin/…/logs/stdoutt.log true true false “” true true 0 0 “” 20 20 “Arial” “0,0,0” 8 500 “version 3.1.1” 20 40 “Arial” “0,0,0” 8 500 -1 -DwildfireHome=/usr/local/wildfire/current -Dwildfire.lib.dir=/usr/local/wildfire/current/lib start

gettimeofday({1164106655, 542580}, NULL) = 0

gettimeofday({1164106655, 542662}, NULL) = 0

gettimeofday({1164106655, 542791}, NULL) = 0

gettimeofday({1164106655, 542873}, NULL) = 0

mmap2(0xbf747000, 12288, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0xbf747000

rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0

gettid() = 21064

rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0

rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0

rt_sigprocmask(SIG_UNBLOCK, , NULL, 8) = 0

rt_sigprocmask(SIG_BLOCK, , NULL, 8) = 0

sched_setscheduler(21064, SCHED_OTHER, ) = -1 EINVAL (Invalid argument)

mmap2(0xbf747000, 12288, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xbf747000

mprotect(0xbf747000, 12288, PROT_NONE) = 0

futex(0x83a5014, FUTEX_WAIT, 1, NULL) = -1 EINTR (Interrupted system call)

Process 21064 detached

…but that varies.

At least Wildfire 2.6.2 works.

The nightly build (2006-11-21) is okay again.