Welcome Guest! Log in
Stambia versions 2.x, 3.x, S17, S18, S19 and S20 are reaching End of Support January, 15th, 2024. Please consider upgrading to the supported Semarchy xDI versions. See Global Policy Support and the Semarchy Documentation.

The Stambia User Community is moving to Semarchy! All the applicable resources have already been moved or are currently being moved to their new location. Read more…


Runtimes can be secured and protected with a user / password.

Connecting to this kind of Runtimes from the Designer is easy and can be done in a few clicks.

Prerequisites:
  • Stambia DI Designer S18.3.0 or higher

 

Runtime Configuration

 

  1. Open the Runtime Editor
  2. Add a new Runtime or Update the Runtime's parameters

 

runtimeEditor

 

That's all, the secured Runtime can now be selected in the list.

 

runtimeViewOk

Any modification on the Runtime Editor will require to disconnect and re-connect on the Runtime View to use the new information.

For this, simply uncheck the 'Connect' box and check it again to open a new connection.

This is mandatory for the Designer to perform a connection with the new parameters.

 

Troubleshooting

If the credentials are incorrect or if you do not have sufficient privileges to connect, the Designer will not be able to perform the connection:

runtimeViewFailedConnection

 

To get more information on the reason why the connection is failing, lead to the 'Error Log' View:

ErrorLogView

 

Then double click on the 'Impossible to connect' error to find the complete error that will give more information about the failure.

If you do not have the Error Log View, you can open it from Window >Show View > Other

 

If the error below is thrown, it is because you are trying to connect to a secured Runtime from a Designer version prior to S18.3.0.

The Designer S18.3.0 or higher is required to connect to a secured Runtime.

java.rmi.UnmarshalException: error unmarshalling return; nested exception is: 
	java.lang.ClassNotFoundException: com.indy.engine.common.IEngineConnection (no security manager: RMI class loader disabled)
	at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
	at com.indy.engine.common.EngineFactory.getEngine(EngineFactory.java:17)
	at com.indy.ui.engine.WatchEngine.connect(WatchEngine.java:347)
	at com.indy.ui.engine.WatchEngine.initEngine(WatchEngine.java:148)
	at com.indy.ui.engine.WatchEngine.run(WatchEngine.java:104)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: com.indy.engine.common.IEngineConnection (no security manager: RMI class loader disabled)
	at sun.rmi.server.LoaderHandler.loadProxyClass(LoaderHandler.java:556)
	at java.rmi.server.RMIClassLoader$2.loadProxyClass(RMIClassLoader.java:646)
	at java.rmi.server.RMIClassLoader.loadProxyClass(RMIClassLoader.java:311)
	at sun.rmi.server.MarshalInputStream.resolveProxyClass(MarshalInputStream.java:265)
	at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1566)
	at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1518)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1781)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1353)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:373)
	... 6 more

 

Runtime Configuration with IP address for HTTP Connection

If the connection does not work in HTTP with a filter on the IP address, please configure the Runtime Server, in the Designer, with the IP address, so that the connection works correctly.

Example:

RuntimeIP

 

Note that until S20.4.1 Runtime version, the filtering was only applied on RMI communications. Please use S20.4.1 or higher if you want it to be applied also on HTTP communications.

 

Articles

Suggest a new Article!