3.5.0 Enterprise plugin not working on Solaris

Hi, I have previously installed version 3.4.5 with no problem on solaris, but I cannot get version 3.5.0 working…

I am using:

  • Solaris 10

  • java version “1.5.0_12”

Java™ 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)

Java HotSpot™ Client VM (build 1.5.0_12-b04, mixed mode, sharing)

  • Mysql 5.0

This is what happens:

  1. I start the openfire server successfully

  2. I configure the connection to my database and complete the installation

  3. I click the Enterprise tab and choose to install the plugin

  4. The plugin downloads and gives a successful message and attempts to reload

  5. The next screen displayed is blank

  6. When i click the cluster option it says I need to install Enterprise (which I have already done!)

I can see this error in the logs:

2008.04.15 16:01:08 org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginManager.java: 506) Error loading plugin: /opt/openfire/plugins/enterprise

java.lang.ClassNotFoundException: com.jivesoftware.openfire.enterprise.EnterprisePlugin

at java.net.URLClassLoader$1.run(URLClassLoader.java:200)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:188)

at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

at java.lang.ClassLoader.loadClass(ClassLoader.java:251)

I also note that two jar files are apparently empty in this directory

/opt/openfire/plugins/enterprise/lib

-rw-rr 1 root root 0 Apr 15 15:51 enterprise-lib.jar

-rw-rr 1 root root 1773993 Apr 15 15:51 itext.jar

-rw-rr 1 root root 294741 Apr 15 15:51 jcommon.jar

-rw-rr 1 root root 1068045 Apr 15 15:51 jfreechart.jar

-rw-rr 1 root root 241934 Apr 15 15:51 jrobin.jar

-rw-rr 1 root root 404362 Apr 15 15:51 lucene.jar

-rw-rr 1 root root 448892 Apr 15 15:51 nist-sip-1.2.jar

-rw-rr 1 root root 111720 Apr 15 15:51 picocontainer.jar

-rw-rr 1 root root 422463 Apr 15 15:51 plugin-enterprise-jspc.jar

-rw-rr 1 root root 673679 Apr 15 15:51 plugin-enterprise.jar

-rw-rr 1 root root 0 Apr 15 15:51 tangosol-license.jar

-rw-rr 1 root root 343169 Apr 15 15:51 xstream.jar

Any ideas?

Kieran.

I had the same problem with 3.5 which was fixed by upgrading the java to version

1.6

After I upgraded I had to delete the enterprise folder and enterprise.jar in plugins, then reinstall from the admin console.

Yes, that worked - many thanks!