We are glad to announce that we are almost done with the development of “mfServerUtils” plug-in for Servoy, with a plan to release in the second week of March 2009.
“mfServerUtils”, is a Servoy plug-in that gives the power to developer to control the Application Server and any connected Clients, running on the server.
The plug-in delivers the following features:
• Getting the Application Server Information, such as Servoy version, repository version etc.
• Getting all/specific Client connected to the Application Server
• Shutting down Application Server
• Restart Application Server
• Alerting all the clients connected to the application server
• Checking Client is alive or not
• Flush cached data of all/specific Client
• Shutting down clients
• Alerting clients
• Getting Client Info
• User Information
• And many more …
It would be immense pleasure for us to release the Server Utility Plug-in for Servoy “mfServerUtils 1.0”. The Plug-in is FREE. The plug-in has been tested in the Servoy version 4.1.x under the java version 1.5+ & 1.6+ in windows, Macintosh & Ubuntu Linux 8.10 platform in Rich/Smart & Web Client.
I’m trying to use the plugin (in Developer), but when I use the method getAllCLients I receive this error:
Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: com.servoy.j
2db.server.ApplicationServer.getSQLEngine()Lcom/servoy/j2db/dataprocessing/SQLEn
gine;
at com.mindfire.servoy.plugins.mfserverutils.ServerImpl.alertClient(Serv
erImpl.java:131)
at com.mindfire.servoy.plugins.mfserverutils.JSClient.alertClient(JSClie
nt.java:35)
at sun.reflect.GeneratedMethodAccessor460.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:179)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:35
3)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:366
6)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2680)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.j
ava:166)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:3
87)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:313
5)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.j
ava:165)
at com.servoy.j2db.scripting.ScriptEngine.executeFunction(ScriptEngine.j
ava:476)
at com.servoy.j2db.debug.RemoteDebugScriptEngine.executeFunction(RemoteD
ebugScriptEngine.java:382)
at com.servoy.j2db.FormController.executeFunction(FormController.java:39
77)
at com.servoy.j2db.FormController.executeFunction(FormController.java:38
65)
at com.servoy.j2db.FormController.executeFunction(FormController.java:37
87)
at com.servoy.j2db.FormController$ScriptExecuter.executeFunction(FormCon
troller.java:3642)
at com.servoy.j2db.ui.BaseEventExecutor.fireEventCommand(BaseEventExecut
or.java:272)
at com.servoy.j2db.ui.BaseEventExecutor.fireActionCommand(BaseEventExecu
tor.java:217)
at com.servoy.j2db.smart.dataui.AbstractScriptLabel$5.mouseReleased(Abst
ractScriptLabel.java:1023)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at com.servoy.j2db.util.editlist.EditListUI$MouseInputHandler.repostEven
t(EditListUI.java:448)
at com.servoy.j2db.util.editlist.EditListUI$MouseInputHandler.mouseRelea
sed(EditListUI.java:482)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at com.servoy.j2db.smart.ListView.processMouseEvent(ListView.java:106)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown
Source)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)