powered by Jive Software

First time setup

Hey guys,

Im setting up Openfire with a view to using Spark as our chat application in house. I have actually used Spark in a previous JOb but was not the one to set it up. As i understand it I just need to install Openfire, Launch Admin setup a few users and point the Spark clients towards the Ipaddress of the server with Openfire installed. To start testing I tried setting it up on my Windows 7 machine however I cant Launch the Openfire admin console. When Openfire launches (takes about 3 minutes) I get the following messages in the openfire window which I am guessing are the issue. Seems to be a Java permissions issue. Please see the Attached Word document.

When launching the Admin Panel i just get the usual bad address window. See attached screen shot

Im sure this is probably covered somewhere in the forums but iv tried to find it and cant. Any and all help appreciated

Cheers

Kenny
Openfire MEssages.docx (15163 Bytes)

I get the exact same issue when installing on Windows 2012, a screen full of file not found exceptions (here are the first 3 exceptons…)

I see …\lib\XXXXX.jar.pack files with similar names, but I don’t see …\lib\XXX.jar files. Did the installer forget to unpack the files?

java.io.FileNotFoundException: …\lib\commons-el.jar (Access is denied)

at java.io.FileOutputStream.open(Native Method)

at java.io.FileOutputStream.(Unknown Source)

at java.io.FileOutputStream.(Unknown Source)

at org.jivesoftware.openfire.starter.ServerStarter.unpackArchives(ServerStarter.ja va:171)

at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:90)

at org.jivesoftware.openfire.starter.ServerStarter.main(ServerStarter.java:58)

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.exe4j.runtime.WinLauncher.main(Unknown Source)

at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)

java.io.FileNotFoundException: …\lib\hsqldb.jar (Access is denied)

at java.io.FileOutputStream.open(Native Method)

at java.io.FileOutputStream.(Unknown Source)

at java.io.FileOutputStream.(Unknown Source)

at org.jivesoftware.openfire.starter.ServerStarter.unpackArchives(ServerStarter.ja va:171)

at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:90)

at org.jivesoftware.openfire.starter.ServerStarter.main(ServerStarter.java:58)

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.exe4j.runtime.WinLauncher.main(Unknown Source)

at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)

java.io.FileNotFoundException: …\lib\jasper-compiler.jar (Access is denied)

at java.io.FileOutputStream.open(Native Method)

at java.io.FileOutputStream.(Unknown Source)

at java.io.FileOutputStream.(Unknown Source)

at org.jivesoftware.openfire.starter.ServerStarter.unpackArchives(ServerStarter.ja va:171)

at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:90)

at org.jivesoftware.openfire.starter.ServerStarter.main(ServerStarter.java:58)

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.exe4j.runtime.WinLauncher.main(Unknown Source)

at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)

I figured it out, you need to make sure you run openfire.exe “as an adiministrator”. on first launch the .jar.pack files will be extracted to .jar. And the launch amdin portal button works!

Might want to add that to the windows setup release notes.

Oh for the love of God if thats all this is ill have to slap myself repeatedly…

I can confirm this works im an idiot. Thanks for the help I cant believe after 5 installs i never once hit the admin install button.

Don’t feel bad, I think I did 2-3 installs. It is not obvious, or documented.

It wasn’t until I read my post above and noticed the “Access is Denied” that I thought about using an administrator command prompt to launch the exe.

Yeah but iv fixed two seperate issues in the office last wekk with Admin installs i really should have spotted this

That’s what odd about this issue, you do NOT have to “run as administrator” the install exe. You have to “run as administrator” openfire.exe. I think admin token is required because the openfire.exe generates new files on first time use (xxx.jar are created and xxx.jar.pack are deleted).