powered by Jive Software

In openfire 3.3.1 installation, no jars, instead .jar.pack?

Hi,

I unpacked openfire_3_3_1.tar.gz and tried to run “openfire start”. The application couldn’‘t start because it can’'t find some of it jars in lib subdirectory. It looks like those jars are .jar.pack files instead. How do I fix this?

Thanks.

$ ls -l lib/

total 8796

-rw-rr 1 root root 54829 May 10 17:36 activation.jar

-rw-rr 1 root root 1269446 May 10 17:36 bouncycastle.jar

-rw-rr 1 root root 98144 May 10 17:36 commons-el.jar.pack

-rw-rr 1 root root 571333 May 10 17:37 hsqldb.jar.pack

-rw-rr 1 root root 263064 May 10 17:37 jasper-compiler.jar.pack

-rw-rr 1 root root 75574 May 10 17:37 jasper-runtime.jar.pack

-rw-rr 1 root root 74639 May 10 17:36 jdic.jar

-rw-rr 1 root root 240036 May 10 17:37 jtds.jar.pack

-rw-rr 1 root root 356519 May 10 17:36 mail.jar

-rw-rr 1 root root 410202 May 10 17:37 mysql.jar.pack

-rw-rr 1 root root 4611520 May 10 17:37 openfire.jar.pack

-rw-rr 1 root root 308809 May 10 17:37 postgres.jar.pack

-rw-rr 1 root root 444459 May 10 17:37 servlet.jar.pack

-rw-rr 1 root root 70095 May 10 17:36 startup.jar

-rw-rr 1 root root 57344 May 10 17:36 tray.dll

$ sudo grep Excep /home/jive/nohup.out

java.io.FileNotFoundException: …/lib/hsqldb.jar (Permission denied)

java.io.FileNotFoundException: …/lib/openfire.jar (Permission denied)

java.io.FileNotFoundException: …/lib/jasper-compiler.jar (Permission denied)

java.io.FileNotFoundException: …/lib/postgres.jar (Permission denied)

java.io.FileNotFoundException: …/lib/jasper-runtime.jar (Permission denied)

java.io.FileNotFoundException: …/lib/servlet.jar (Permission denied)

java.io.FileNotFoundException: …/lib/commons-el.jar (Permission denied)

java.io.FileNotFoundException: …/lib/mysql.jar (Permission denied)

java.io.FileNotFoundException: …/lib/jtds.jar (Permission denied)

java.io.FileNotFoundException: …/plugins/admin/webapp/WEB-INF/lib/dwr.jar (Permission denied)

java.io.FileNotFoundException: …/plugins/admin/webapp/WEB-INF/lib/admin-jsp.jar (Permission denied)

java.lang.ClassNotFoundException: org.jivesoftware.openfire.XMPPServer

Hi,

did you unpack the tar.gz file as root and did try to run it as a normal user? It looks like this, Openfire will extract the pack files if it can do this.

LG