February 27, 2006 IT2Be released version 2.8 of the Tools plugin
This release has a new property and a new function to work with the (default) printer(s) on the client computer.
Main reason to add these functions was to be able to retrieve a list of all available (named) printers on the client computer and to set the default printer on a OS X computer.
It is not a replacement for the controller.setPreferredPrinter() method. That method sets the preferred printer per event. Instead it sets the default printer. Good news is that it also works on Mac OS X.
Only thing is that I recieve this message (after update by update checker) in the terminal at application server startup:
java.rmi.StubNotFoundException: Stub class not found: com.it2be.plugins.tools.ToolsServer_Stub; nested exception is:
java.lang.ClassNotFoundException: com.it2be.plugins.tools.ToolsServer_Stub
java.rmi.StubNotFoundException: Stub class not found: com.it2be.plugins.tools.ToolsServer_Stub; nested exception is:
java.lang.ClassNotFoundException: com.it2be.plugins.tools.ToolsServer_Stub
at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:98)
at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:55)
at sun.rmi.server.UnicastServerRef.setSkeleton(UnicastServerRef.java:179)
at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:142)
at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:129)
at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:275)
at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:178)
at com.servoy.j2db.server.ApplicationServer.exportObject(Unknown Source)
at com.servoy.j2db.server.ApplicationServer.registerService(Unknown Source)
at com.servoy.j2db.server.ServerAccessProvider.registerRMIService(Unknown Source)
at com.it2be.plugins.tools.ToolsServer.initialize(ToolsServer.java)
at com.servoy.j2db.plugins.PluginManager.initServerPlugins(Unknown Source)
at com.servoy.j2db.server.ApplicationServer.startDataServer(Unknown Source)
at com.servoy.j2db.server.ApplicationServer.main(Unknown Source)
Caused by: java.lang.ClassNotFoundException: com.it2be.plugins.tools.ToolsServer_Stub
at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at sun.rmi.server.RemoteProxy.loadClassFromClass(RemoteProxy.java:191)
at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:93)
... 13 more
Any idea what this could be?
The application server runs on OS X 10.4.5 with Java 5.0
Yep, I know what that is. When did you download/update the installer?
BTW I would very much appreciate to receive this type of messages in my support mail. Faster and more reliable. On top of that I don’t want to ‘clutter’ the Servoy forum with support for the plugins…