Freshly installed Openfire does not work

I installed Java 1.8.0_291 and Openfire 3.6.4 on Windows Server 2019 (It is to move it from another server).
The old version was installed in Windows Server 2008 R2
I feel more secure installing the same version to make the server change. I prefer not to update openfire on Windows Server 2008 R2 because it is working fine.
when starting Openfire 3.6.4 on Windows Server 2019 I get this error:

java.io.FileNotFoundException: …\lib\commons-el.jar (Acceso denegado)
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.java:164)
at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:83)
at org.jivesoftware.openfire.starter.ServerStarter.main(ServerStarter.java:51)
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)
java.io.FileNotFoundException: …\lib\hsqldb.jar (Acceso denegado)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(Unknown Source)…

This sounds like a file permission issue to me.

I copied the bin, conf and embedded-db folders from the old server and ran openfire.exe as administrator and it worked. Thanks guus.

1 Like