org/jivesoftware/util/Log Error on initial startup of rpm 2.4.3 SuSE 10.0

I have a fresh install of SuSE 10.0 and I installed the RPM of Wildfire 2.4.3. When I start wildfire from /opt/wildfire/bin with ./wildfire start I get this in ~/nohup.out:

java.lang.NoClassDefFoundError: org/jivesoftware/util/Log

at org.jivesoftware.wildfire.starter.ServerStarter.unpackArchives(ServerStarter.ja va:152)

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

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

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

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

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

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

java.lang.NoClassDefFoundError: org/jivesoftware/util/Log

at org.jivesoftware.wildfire.starter.ServerStarter.unpackArchives(ServerStarter.ja va:152)

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

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

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

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

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

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

It looks like I am using the 1.5 jre that installs with the rpm.

cat ~/.install4j

JRE_VERSION /opt/wildfire/jre 1 5 0 06

The commandline output when I try to start wildfire is pretty straightforward:

andrew@tango:/opt/wildfire/bin> ./wildfire start

testing JVM in /opt/wildfire/jre …

Starting wildfire

nohup: appending output to `/home/andrew/nohup.out’’

If I rerun ./wildfire start I don’‘t get the “testing” line, which makes sense. netstat shows that nothing is listening on port 9090. Just in case I wasn’'t using the wildfire 1.5 jre I checked my java version. (1.4 was installed when I installed the wildfire rpm, but only 1.5 is on the box now.)

java -version

java version “1.5.0_03”

Java™ 2 Runtime Environment, Standard Edition (build 1.5.0_03-b07)

Java HotSpot™ Client VM (build 1.5.0_03-b07, mixed mode, sharing)

Just to make sure the Preparing JRE… portion wasn’'t dependent on my installed java version I removed and reinstalled wildfire with java 1.5 installed. No difference in output.

So, what do I need to change from the default rpm install of wildfire 2.4.3 to work on SuSE 10.0?

Thanks for the help.

andrewdied

I did a very silly thing. The files were owned by root/root, and I was running the server as a regular user. The libs with a .pack extension are unpacked when you run the server, and my regular user didn’'t have permissions to unpack them.

I changed the ownership and could then run the server. Note to self: Remember what you did when you upgrade versions.

andrewdied