UserManager registration error

Questions and answers on developing, deploying and using plugins and JavaBeans

UserManager registration error

Postby irene.meyer1422261887 » Fri Mar 03, 2017 4:22 pm

Hi,

I use the UserManager plugin to download movie files from a folder to another. It works in developer without problems.

In the application server doesn't work at all. It gives an error at registration.

Both, application server and developer, are version 8.1.2, the pluigin is version UserManagerPro-Plugin 2.1.7.

Can someone help please?

Java Web Start 11.121.2.13 x86_64
Using JRE version 1.8.0_121-b13 Java HotSpot(TM) 64-Bit Server VM
User home directory = /Users/ubNumberCruncher
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
0-5: set trace level to <n>
----------------------------------------------------
CacheEntry[http://localhost:8080/servoy-client/servoy_client.jnlp]: updateAvailable=true,lastModified=Fri Mar 03 15:01:52 CET 2017,length=-1
Mar 03, 2017 3:13:24 PM com.servoy.j2db.util.Debug error
SEVERE: Throwable
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: Class not whitelisted for RMI: com.drmaison.plugin.usermanager.RemoteClient
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:354)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$240(TCPTransport.java:683)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$9/586046542.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:276)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:253)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:162)
at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:227)
at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:179)
at com.sun.proxy.$Proxy16.registerClientInfo(Unknown Source)
at com.drmaison.plugin.usermanager.UserManagerProvider.registerClientOnServer(UserManagerProvider.java:2272)
at com.drmaison.plugin.usermanager.UserManagerProvider.<init>(UserManagerProvider.java:77)
at com.drmaison.plugin.usermanager.UserManager.getScriptObject(UserManager.java:56)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.servoy.j2db.scripting.PluginScope.get(PluginScope.java:116)
at org.mozilla.javascript.ScriptableObject.getProperty(ScriptableObject.java:2141)
at org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1518)
at org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1505)
at org.mozilla.javascript.gen.WoFOG_scopes_globals_openWoFOG_1._c_openWoFOG_0(WoFOG/scopes/globals/openWoFOG:75)
at org.mozilla.javascript.gen.WoFOG_scopes_globals_openWoFOG_1.call(WoFOG/scopes/globals/openWoFOG)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:406)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3204)
at org.mozilla.javascript.gen.WoFOG_scopes_globals_openWoFOG_1.call(WoFOG/scopes/globals/openWoFOG)
at com.servoy.j2db.scripting.ScriptEngine.executeFunction(ScriptEngine.java:664)
at com.servoy.j2db.scripting.ScopesScope.executeGlobalFunction(ScopesScope.java:193)
at com.servoy.j2db.FormManager.makeSolutionSettings(FormManager.java:262)
at com.servoy.j2db.smart.SwingFormManager.makeSolutionSettings(SwingFormManager.java:180)
at com.servoy.j2db.FormManager$1.run(FormManager.java:151)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: Class not whitelisted for RMI: com.drmaison.plugin.usermanager.RemoteClient
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:314)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$240(TCPTransport.java:683)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$9/586046542.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: Class not whitelisted for RMI: com.drmaison.plugin.usermanager.RemoteClient
at com.servoy.rmi.whitelist.WhitelistingRMIClassLoaderSpi.block(WhitelistingRMIClassLoaderSpi.java:95)
at com.servoy.rmi.whitelist.WhitelistingRMIClassLoaderSpi.checkWhitelist(WhitelistingRMIClassLoaderSpi.java:90)
at com.servoy.rmi.whitelist.WhitelistingRMIClassLoaderSpi.loadClass(WhitelistingRMIClassLoaderSpi.java:103)
at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:264)
at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:214)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1613)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1518)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1774)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:371)
at sun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:326)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:308)
... 13 more

Mar 03, 2017 3:13:24 PM com.servoy.j2db.util.Debug error
SEVERE: Throwable, script stacktrace:
at WoFOG/scopes/globals/openWoFOG:75 (openWoFOG)

Mar 03, 2017 3:13:24 PM com.servoy.j2db.util.Debug error
SEVERE: Throwable
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: Class not whitelisted for RMI: com.drmaison.plugin.usermanager.RemoteClient
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:354)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$240(TCPTransport.java:683)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$9/586046542.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:276)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:253)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:162)
at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:227)
at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:179)
at com.sun.proxy.$Proxy16.registerClientInfo(Unknown Source)
at com.drmaison.plugin.usermanager.UserManagerProvider.registerClientOnServer(UserManagerProvider.java:2272)
at com.drmaison.plugin.usermanager.UserManagerProvider.js_register(UserManagerProvider.java:2065)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:158)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:312)
at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:70)
at org.mozilla.javascript.gen.WoFOG_scopes_globals_openWoFOG_1._c_openWoFOG_0(WoFOG/scopes/globals/openWoFOG:75)
at org.mozilla.javascript.gen.WoFOG_scopes_globals_openWoFOG_1.call(WoFOG/scopes/globals/openWoFOG)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:406)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3204)
at org.mozilla.javascript.gen.WoFOG_scopes_globals_openWoFOG_1.call(WoFOG/scopes/globals/openWoFOG)
at com.servoy.j2db.scripting.ScriptEngine.executeFunction(ScriptEngine.java:664)
at com.servoy.j2db.scripting.ScopesScope.executeGlobalFunction(ScopesScope.java:193)
at com.servoy.j2db.FormManager.makeSolutionSettings(FormManager.java:262)
at com.servoy.j2db.smart.SwingFormManager.makeSolutionSettings(SwingFormManager.java:180)
at com.servoy.j2db.FormManager$1.run(FormManager.java:151)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: Class not whitelisted for RMI: com.drmaison.plugin.usermanager.RemoteClient
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:314)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$240(TCPTransport.java:683)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$9/586046542.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: Class not whitelisted for RMI: com.drmaison.plugin.usermanager.RemoteClient
at com.servoy.rmi.whitelist.WhitelistingRMIClassLoaderSpi.block(WhitelistingRMIClassLoaderSpi.java:95)
at com.servoy.rmi.whitelist.WhitelistingRMIClassLoaderSpi.checkWhitelist(WhitelistingRMIClassLoaderSpi.java:90)
at com.servoy.rmi.whitelist.WhitelistingRMIClassLoaderSpi.loadClass(WhitelistingRMIClassLoaderSpi.java:103)
at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:264)
at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:214)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1613)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1518)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1774)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:371)
at sun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:326)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:308)
... 13 more

Mar 03, 2017 3:13:24 PM com.servoy.j2db.util.Debug error
SEVERE: Throwable, script stacktrace:
at WoFOG/scopes/globals/openWoFOG:75 (openWoFOG)

Mar 03, 2017 3:13:24 PM com.servoy.j2db.util.Debug error
SEVERE: Error at css parsing, WoFOG,servoy stylesheet:Value verdana is not a recognized identifier at line 46. Skipping declaration.
User avatar
irene.meyer1422261887
 
Posts: 34
Joined: Mon Jan 26, 2015 10:44 am

Re: UserManager registration error

Postby Bernd.N » Sat Mar 04, 2017 10:22 am

Bernd Korthaus
LinkedIn
Servoy 7.4.9 SC postgreSQL 9.4.11 Windows 10 Pro
User avatar
Bernd.N
 
Posts: 474
Joined: Mon Oct 21, 2013 5:57 pm
Location: Langenhorn, North Friesland, Germany

Re: UserManager registration error

Postby irene.meyer1422261887 » Mon Mar 13, 2017 12:31 pm

Thank you Bend and sorry for the late reaction.

If I understand well I need to add the UserManager to the whitelist in servoy_server.sh. Something like this:

$CMD_LINE_START -Djava.awt.headless=true -Drmi.whitelist.config=com.servoy.:com.sebster.:the plugin


The sample given was for JasperReport but I have no idea what I have to add for the UserManager Plugin.

Any help woud be very much appreciated.
User avatar
irene.meyer1422261887
 
Posts: 34
Joined: Mon Jan 26, 2015 10:44 am

Re: UserManager registration error

Postby patrick » Mon Mar 13, 2017 12:54 pm

I guess you need to add a

com.drmaison.

where it says "the plugin"
Patrick Ruhsert
Servoy DACH
patrick
 
Posts: 3598
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany

Re: UserManager registration error

Postby Bernd.N » Mon Mar 13, 2017 12:57 pm

Hm, I am not totally sure, but as the error says "java.lang.ClassNotFoundException: Class not whitelisted for RMI: com.drmaison.plugin.usermanager.RemoteClient", I would try to add ":com.drmaison." behind "....sebster.", as that seems to be the right pattern from the other examples.

If that does not work, Patrick can for sure anwer it.
It is a bit weird, because we call the userManager 31 times in our code, and we did not get that error. For example we call
var arrClients = plugins.UserManager.getClients()
Bernd Korthaus
LinkedIn
Servoy 7.4.9 SC postgreSQL 9.4.11 Windows 10 Pro
User avatar
Bernd.N
 
Posts: 474
Joined: Mon Oct 21, 2013 5:57 pm
Location: Langenhorn, North Friesland, Germany

Re: UserManager registration error

Postby irene.meyer1422261887 » Tue Mar 14, 2017 10:23 am

Sorry, no luck. I still get the same error.

It doesn't seem to register the plugin at client startup while it is registered in the server plugin settings.
User avatar
irene.meyer1422261887
 
Posts: 34
Joined: Mon Jan 26, 2015 10:44 am

Re: UserManager registration error

Postby patrick » Tue Mar 14, 2017 10:39 am

A common issue is that the plugin's client/server communication is blocked prior to login. Have you added the plugin to the list of trusted plugins in servoy-admin (the servoy.application_server.trustedRemotePlugins setting)?
Patrick Ruhsert
Servoy DACH
patrick
 
Posts: 3598
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany

Re: UserManager registration error

Postby irene.meyer1422261887 » Tue Mar 14, 2017 11:30 am

I added "com.drmaison.plugin.usermanager" but still no luck.

A common issue is that the plugin's client/server communication is blocked prior to login


Speaking about login, in my solution properties the mustAuthenicate is set to false but in the application server it requires a login. Just to be sure I exported en imported the solution again. Couls it have something to do with that?
User avatar
irene.meyer1422261887
 
Posts: 34
Joined: Mon Jan 26, 2015 10:44 am

Re: UserManager registration error

Postby patrick » Tue Mar 14, 2017 11:43 am

I'm not 100% sure, but I think it should just be "UserManagerService". I am not even sure, this is your problem (if it was it should be "Couldn't get remote service: 'UserManagerService' for a not authenticated client"). All I can say is that quite a few people use the plugin successfully.
Patrick Ruhsert
Servoy DACH
patrick
 
Posts: 3598
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany

Re: UserManager registration error

Postby irene.meyer1422261887 » Tue Mar 14, 2017 12:30 pm

Ok, Just to be sure I ste the mustAuthenticate to true and exported the solution again but it doesn't help.

I used the plugin often in previous versions of Servoy and never had problems. I have the idea that is something with this version of the application server but I can't downgrade, the application is written in the last version.

Any idea what I could try?
User avatar
irene.meyer1422261887
 
Posts: 34
Joined: Mon Jan 26, 2015 10:44 am

Re: UserManager registration error

Postby patrick » Tue Mar 14, 2017 12:46 pm

What exactly have you done until now? How do you start your server? Via the service (wrapper) or directly using servoy_server.bat?
Patrick Ruhsert
Servoy DACH
patrick
 
Posts: 3598
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany

Re: UserManager registration error

Postby irene.meyer1422261887 » Tue Mar 14, 2017 1:15 pm

The application server is installed on a Mac Pro.

1. I added ":com.drmaison.plugin.usermanager.RemoteClient." behind "$CMD_LINE_START -Djava.awt.headless=true -Drmi.whitelist.config=com.servoy.:com.sebster." in the servoy_server.sh
2. Added "com.drmaison.plugin.usermanager" in the "servoy.application_server.trustedRemotePlugins" in servoy-admin.
3. The plugin is registered at applications startup with plugins.UserManager.register.
4. I can see the registered plugin in the Sever Plugin Settings of servoy-admin.
5. I added the mustAuthenticate to the solution.

The server is started via the servoy_server.sh.
User avatar
irene.meyer1422261887
 
Posts: 34
Joined: Mon Jan 26, 2015 10:44 am

Re: UserManager registration error

Postby patrick » Tue Mar 14, 2017 1:28 pm

How about

1. I added ":com.drmaison.plugin.usermanager.RemoteClient." behind "$CMD_LINE_START -Djava.awt.headless=true -Drmi.whitelist.config=com.servoy.:com.sebster." in the servoy_server.sh


make it -Drmi.whitelist.config=com.servoy.:com.sebster.:com.drmaison."

2. Added "com.drmaison.plugin.usermanager" in the "servoy.application_server.trustedRemotePlugins" in servoy-admin.


As written above, instead of "com.drmaison.plugin.usermanager" add "UserManagerService"

3. The plugin is registered at applications startup with plugins.UserManager.register.


I guess that is when you get your error...

4. I can see the registered plugin in the Sever Plugin Settings of servoy-admin.


Obvious, because that is the server part of the plugin, no RMI needed.

And make sure, "rmi-whitelist.jar" is on the classpath list in your servoy_server.sh (I think it is by default).
Patrick Ruhsert
Servoy DACH
patrick
 
Posts: 3598
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany

Re: UserManager registration error

Postby irene.meyer1422261887 » Wed Mar 15, 2017 1:18 pm

Hi Patrick,

It works like a charm.

Thank you and of course Bend for the assistance.
User avatar
irene.meyer1422261887
 
Posts: 34
Joined: Mon Jan 26, 2015 10:44 am

Re: UserManager registration error

Postby patrick » Wed Mar 15, 2017 1:32 pm

Glad to hear that...

What made it work in the end? I suppose that one

-Drmi.whitelist.config=com.servoy.:com.sebster.:com.drmaison.
Patrick Ruhsert
Servoy DACH
patrick
 
Posts: 3598
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany


Return to Plugins and Beans

Who is online

Users browsing this forum: No registered users and 2 guests