Monitoring Service 1.0.1 icon and plugins updating issues

Monitoring plugin’s new icon has a lot of white space around it.

I dont know what’s wrong. I have made fresh installation of Openfire (with embedded-db) and i still have problems with plugins installing, updating, uninstalling. Sometimes it works, but most of the time with IM Gateway and now with Monitoring service it just sits in “Updating” and if you press Plugins page link again it will show that update is still available. If you restart the server it will show that plugin’s update is already in place.

Is it embedded-db? But at work with linux i dont have such problems. At home it’s WinXP SP2.

error.log

at java.lang.Class.newInstance(Unknown Source)

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

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)

2008.05.05 22:11:37 [org.jivesoftware.database.EmbeddedConnectionProvider.getConnection(EmbeddedCon nectionProvider.java:57)

] EmbeddedConnectionProvider: Error while getting connection:

java.sql.SQLException: The database is already in use by another process: org.hsqldb.persist.NIOLockFile@f7cf94a6[file =C:\Program Files\Openfire\embedded-db\openfire.lck, exists=true, locked=false, valid=false, fl =null]: java.lang.Exception: checkHeartbeat(): lock file is presumably locked by another process.

at org.hsqldb.jdbc.Util.sqlException(Unknown Source)

at org.hsqldb.jdbc.jdbcConnection.(XMPPServer.java:161)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at java.lang.Class.newInstance0(Unknown Source)

at java.lang.Class.newInstance(Unknown Source)

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

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)

2008.05.07 21:43:45 [org.jivesoftware.util.log.util.CommonsLogFactory$1.error(CommonsLogFactory.jav a:88)

] Line=19 The content of element type “dwr” must match “(init?,allow?,signatures?)”.

warn.log

at org.jivesoftware.stringprep.IDNA.toASCII(IDNA.java:53)

at org.xmpp.packet.JID.init(JID.java:366)

… 33 more

2008.04.28 22:47:36 Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.

2008.04.28 22:47:36 Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.

2008.05.01 15:07:49 Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.

2008.05.01 15:07:50 Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.

2008.05.02 21:56:16 Missing resource for key: gateway.xmpp.connectionclosed in locale en

2008.05.02 21:56:18 Missing resource for key: gateway.xmpp.connectionclosed in locale en

2008.05.03 21:29:19 Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.

2008.05.03 21:29:19 Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.

2008.05.05 22:10:51 Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.

2008.05.05 22:10:51 Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.

2008.05.07 21:43:53 Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.

2008.05.07 21:43:53 Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.

2008.05.07 21:44:47 Error unloading plugin monitoring. Will attempt again momentarily.

2008.05.07 21:44:55 Error unloading plugin monitoring. Will attempt again momentarily.

2008.05.07 21:45:03 Error unloading plugin monitoring. Will attempt again momentarily.

2008.05.07 21:45:12 Error unloading plugin monitoring. Will attempt again momentarily.

2008.05.07 21:45:20 Error unloading plugin monitoring. Will attempt again momentarily.

2008.05.07 21:45:36 Error unloading plugin monitoring. Will attempt again momentarily.

2008.05.07 21:45:44 Error unloading plugin monitoring. Will attempt again momentarily.

2008.05.07 21:45:52 Error unloading plugin monitoring. Will attempt again momentarily.

2008.05.07 21:46:00 Error unloading plugin monitoring. Will attempt again momentarily.

2008.05.07 21:46:08 Error unloading plugin monitoring. Will attempt again momentarily.

2008.05.07 21:46:38 Error unloading plugin monitoring. Will attempt again momentarily.

2008.05.07 21:46:47 Error unloading plugin monitoring. Will attempt again momentarily.

2008.05.07 21:46:55 Error unloading plugin monitoring. Will attempt again momentarily.

2008.05.07 21:47:03 Error unloading plugin monitoring. Will attempt again momentarily.

2008.05.07 21:47:11 Error unloading plugin monitoring. Will attempt again momentarily.

2008.05.07 21:47:41 Error unloading plugin monitoring. Will attempt again momentarily.

2008.05.07 21:47:49 Error unloading plugin monitoring. Will attempt again momentarily.

2008.05.07 21:47:57 Error unloading plugin monitoring. Will attempt again momentarily.

2008.05.07 21:48:06 Error unloading plugin monitoring. Will attempt again momentarily.

2008.05.07 21:48:14 Error unloading plugin monitoring. Will attempt again momentarily.

2008.05.07 21:48:44 Error unloading plugin monitoring. Will attempt again momentarily.

2008.05.07 21:48:52 Error unloading plugin monitoring. Will attempt again momentarily.

2008.05.07 21:49:00 Error unloading plugin monitoring. Will attempt again momentarily.

2008.05.07 21:49:08 Error unloading plugin monitoring. Will attempt again momentarily.

2008.05.07 21:49:17 Error unloading plugin monitoring. Will attempt again momentarily.

2008.05.07 21:49:47 Error unloading plugin monitoring. Will attempt again momentarily.

2008.05.07 21:49:55 Error unloading plugin monitoring. Will attempt again momentarily.

2008.05.07 21:50:03 Error unloading plugin monitoring. Will attempt again momentarily.

2008.05.07 21:50:11 Error unloading plugin monitoring. Will attempt again momentarily.

2008.05.07 21:50:19 Error unloading plugin monitoring. Will attempt again momentarily.

2008.05.07 21:50:50 Error unloading plugin monitoring. Will attempt again momentarily.

2008.05.07 21:50:58 Error unloading plugin monitoring. Will attempt again momentarily.

2008.05.07 21:51:06 Error unloading plugin monitoring. Will attempt again momentarily.

2008.05.07 21:51:14 Error unloading plugin monitoring. Will attempt again momentarily.

2008.05.07 21:51:22 Error unloading plugin monitoring. Will attempt again momentarily.

Hey wroot,

It is possible that the exception

EmbeddedConnectionProvider: Error while getting connection:
java.sql.SQLException: The database is already in use by another process: org.hsqldb.persist.NIOLockFile@f7cf94a6file =C:\Program Files\Openfire\embedded-db\openfire.lck, exists=true, locked=false, valid=false, fl =null: java.lang.Exception: checkHeartbeat(): lock file C:\Program Files\Openfire\embedded-db\openfire.lck is presumably locked by another process.

is the root problem that you are seeing. If no other process is using the database then delete the openfire.lck file and restart the server.

Let me know how it goes.

Regards,

– Gato

I have started the server and tried to delete and install Monitoring. Went fine. Now i have tried to delete it again and got this error.

HTTP ERROR: 500

INTERNAL_SERVER_ERROR

RequestURI=/plugin-admin.jsp

Caused by:

java.lang.NullPointerException

at org.jivesoftware.openfire.container.PluginManager.getName(PluginManager.java:68 4)

at org.jivesoftware.openfire.admin.plugin_002dadmin_jsp$1.compare(plugin_002dadmin _jsp.java:109)

at org.jivesoftware.openfire.admin.plugin_002dadmin_jsp$1.compare(plugin_002dadmin _jsp.java:108)

at java.util.Arrays.mergeSort(Unknown Source)

at java.util.Arrays.sort(Unknown Source)

at java.util.Collections.sort(Unknown Source)

at org.jivesoftware.openfire.admin.plugin_002dadmin_jsp._jspService(plugin_002dadm in_jsp.java:107)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)

at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1093)

at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:11 8)

at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)

at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1084)

at org.jivesoftware.util.LocaleFilter.doFilter(LocaleFilter.java:66)

at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1084)

at org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingF ilter.java:42)

at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1084)

at org.jivesoftware.admin.PluginFilter.doFilter(PluginFilter.java:70)

at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1084)

at org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:99)

at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1084)

at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)

at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)

at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)

at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)

at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)

at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollect ion.java:206)

at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)

at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)

at org.mortbay.jetty.Server.handle(Server.java:324)

at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)

at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.j ava:828)

at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)

at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)

at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)

at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)

at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)

Though the plugin was deleted eventually.

lck file is empty and i cant delete it while server is working, so what is the point in deleting it? Ok. I have stopped the server, deleted that file, started the server, installed Monitoring, tried to delete. The was a message that plugin was deleted, but it was still in the Plugins page (and after page refresh). Maybe this is some timing issue. Plugin is getting very long to cleanup maybe. Or this is somehow related to windows launcher (those database locked issues). There is an open ticket in JIRA about quick stopping and launching of server and problems caused by that (only with windows launcher).