Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » please help me figure out this error(scout error while running web ui )
please help me figure out this error [message #1841441] Mon, 17 May 2021 07:06 Go to next message
ij lr is currently offline ij lrFriend
Messages: 3
Registered: May 2021
Junior Member
2021-05-17 14:16:07,445 WARN [scout-thread-3] org.eclipse.scout.rt.platform.job.internal.CallableChainExceptionHandler.intercept(CallableChainExceptionHandler.java:62) - Exception in callable chain. - MDC[]
java.io.IOException: org.eclipse.scout.rt.platform.exception.ProcessingException: unable to create signature. [severity=ERROR]
at org.eclipse.scout.rt.shared.servicetunnel.http.HttpServiceTunnel.addSignatureHeader(HttpServiceTunnel.java:155)
at org.eclipse.scout.rt.shared.servicetunnel.http.HttpServiceTunnel.addCustomHeaders(HttpServiceTunnel.java:143)
at org.eclipse.scout.rt.shared.servicetunnel.http.HttpServiceTunnel.executeRequest(HttpServiceTunnel.java:119)
at org.eclipse.scout.rt.shared.servicetunnel.http.RemoteServiceInvocationCallable.call(RemoteServiceInvocationCallable.java:78)
at org.eclipse.scout.rt.shared.servicetunnel.http.RemoteServiceInvocationCallable.call(RemoteServiceInvocationCallable.java:1)
at org.eclipse.scout.rt.platform.chain.callable.CallableChain$Chain.continueChain(CallableChain.java:227)
at org.eclipse.scout.rt.platform.chain.callable.CallableChain$Chain.continueChain(CallableChain.java:227)
at org.eclipse.scout.rt.platform.transaction.TransactionProcessor.runTxMandatory(TransactionProcessor.java:156)
at org.eclipse.scout.rt.platform.transaction.TransactionProcessor.runTxRequired(TransactionProcessor.java:139)
at org.eclipse.scout.rt.platform.transaction.TransactionProcessor.intercept(TransactionProcessor.java:78)
at org.eclipse.scout.rt.platform.chain.callable.CallableChain$Chain.continueChain(CallableChain.java:222)
at org.eclipse.scout.rt.platform.chain.callable.CallableChain.call(CallableChain.java:170)
at org.eclipse.scout.rt.platform.context.RunContext.call(RunContext.java:158)
at org.eclipse.scout.rt.platform.context.RunContextRunner.intercept(RunContextRunner.java:38)
at org.eclipse.scout.rt.platform.chain.callable.CallableChain$Chain.continueChain(CallableChain.java:222)
at org.eclipse.scout.rt.platform.job.internal.CallableChainExceptionHandler.intercept(CallableChainExceptionHandler.java:33)
at org.eclipse.scout.rt.platform.chain.callable.CallableChain$Chain.continueChain(CallableChain.java:222)
at org.eclipse.scout.rt.platform.chain.callable.CallableChain.call(CallableChain.java:170)
at org.eclipse.scout.rt.platform.job.internal.JobFutureTask.lambda$0(JobFutureTask.java:106)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.eclipse.scout.rt.platform.job.internal.JobFutureTask.run(JobFutureTask.java:175)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
at java.base/java.lang.Thread.run(Thread.java:832)
at org.eclipse.scout.rt.platform.job.internal.NamedThreadFactory$1.run(NamedThreadFactory.java:63)
Caused by: org.eclipse.scout.rt.platform.exception.ProcessingException: unable to create signature. [severity=ERROR]
at org.eclipse.scout.rt.platform.security.SunSecurityProvider.createSignature(SunSecurityProvider.java:277)
at org.eclipse.scout.rt.platform.security.SecurityUtility.createSignature(SecurityUtility.java:267)
at org.eclipse.scout.rt.platform.security.SecurityUtility.createSignature(SecurityUtility.java:287)
at org.eclipse.scout.rt.shared.servicetunnel.http.DefaultAuthTokenSigner.signature(DefaultAuthTokenSigner.java:130)
at org.eclipse.scout.rt.shared.servicetunnel.http.DefaultAuthTokenSigner.sign(DefaultAuthTokenSigner.java:124)
at org.eclipse.scout.rt.shared.servicetunnel.http.DefaultAuthTokenSigner.createDefaultSignedToken(DefaultAuthTokenSigner.java:75)
at org.eclipse.scout.rt.shared.servicetunnel.http.HttpServiceTunnel.addSignatureHeader(HttpServiceTunnel.java:149)
... 24 common frames omitted
Caused by: java.security.spec.InvalidKeySpecException: java.security.InvalidKeyException: IOException : DER input, Integer tag error
at jdk.crypto.ec/sun.security.ec.ECKeyFactory.engineGeneratePrivate(ECKeyFactory.java:169)
at java.base/java.security.KeyFactory.generatePrivate(KeyFactory.java:384)
at org.eclipse.scout.rt.platform.security.SunSecurityProvider.createSignature(SunSecurityProvider.java:262)
... 30 common frames omitted
Caused by: java.security.InvalidKeyException: IOException : DER input, Integer tag error
at java.base/sun.security.pkcs.PKCS8Key.decode(PKCS8Key.java:133)
at java.base/sun.security.pkcs.PKCS8Key.<init>(PKCS8Key.java:94)
at jdk.crypto.ec/sun.security.ec.ECPrivateKeyImpl.<init>(ECPrivateKeyImpl.java:74)
at jdk.crypto.ec/sun.security.ec.ECKeyFactory.implGeneratePrivate(ECKeyFactory.java:237)
at jdk.crypto.ec/sun.security.ec.ECKeyFactory.engineGeneratePrivate(ECKeyFactory.java:165)
... 32 common frames omitted
2021-05-17 14:16:07,447 ERROR [scout-thread-2 ClientNotificationPoller] org.eclipse.scout.rt.client.clientnotification.ClientNotificationPoller.run(ClientNotificationPoller.java:119) - Error receiving client notifications - MDC[principal=notification-authenticator, jobName=ClientNotificationPoller]
org.eclipse.scout.rt.platform.exception.PlatformException: org.eclipse.scout.rt.platform.exception.ProcessingException: unable to create signature. [severity=ERROR] [translator=org.eclipse.scout.rt.platform.exception.DefaultRuntimeExceptionTranslator, user=notification-authenticator, calling-thread=scout-thread-2 ClientNotificationPoller, job=Tunneling service request [seq=1, submitter=ClientNotificationPoller]]
at org.eclipse.scout.rt.platform.exception.DefaultRuntimeExceptionTranslator.translateInternal(DefaultRuntimeExceptionTranslator.java:54)
at org.eclipse.scout.rt.platform.exception.DefaultRuntimeExceptionTranslator.translate(DefaultRuntimeExceptionTranslator.java:37)
at org.eclipse.scout.rt.platform.exception.DefaultRuntimeExceptionTranslator.translate(DefaultRuntimeExceptionTranslator.java:1)
at org.eclipse.scout.rt.platform.job.internal.JobExceptionTranslator.translateExecutionException(JobExceptionTranslator.java:65)
at org.eclipse.scout.rt.platform.job.internal.JobFutureTask.awaitDoneAndGet(JobFutureTask.java:411)
at org.eclipse.scout.rt.platform.job.internal.JobFutureTask.awaitDoneAndGet(JobFutureTask.java:400)
at org.eclipse.scout.rt.shared.servicetunnel.http.HttpServiceTunnel.tunnel(HttpServiceTunnel.java:230)
at org.eclipse.scout.rt.shared.servicetunnel.AbstractServiceTunnel.invokeService(AbstractServiceTunnel.java:48)
at org.eclipse.scout.rt.shared.servicetunnel.AbstractServiceTunnel.invokeService(AbstractServiceTunnel.java:40)
at org.eclipse.scout.rt.shared.servicetunnel.http.HttpServiceTunnel.invokeService(HttpServiceTunnel.java:192)
at org.eclipse.scout.rt.shared.servicetunnel.ServiceTunnelProxyProducer.invoke(ServiceTunnelProxyProducer.java:51)
at org.eclipse.scout.rt.platform.interceptor.DecoratingProxy.invokeImpl(DecoratingProxy.java:137)
at org.eclipse.scout.rt.platform.interceptor.DecoratingProxy$P_InvocationHandler.invoke(DecoratingProxy.java:170)
at com.sun.proxy.$Proxy21.getNotifications(Unknown Source)
at org.eclipse.scout.rt.client.clientnotification.ClientNotificationPoller$P_NotificationPoller.lambda$0(ClientNotificationPoller.java:107)
at org.eclipse.scout.rt.platform.util.concurrent.Callables.lambda$0(Callables.java:31)
at org.eclipse.scout.rt.platform.chain.callable.CallableChain$Chain.continueChain(CallableChain.java:227)
at org.eclipse.scout.rt.platform.transaction.TransactionProcessor.runTxMandatory(TransactionProcessor.java:156)
at org.eclipse.scout.rt.platform.transaction.TransactionProcessor.runTxRequired(TransactionProcessor.java:139)
at org.eclipse.scout.rt.platform.transaction.TransactionProcessor.intercept(TransactionProcessor.java:78)
at org.eclipse.scout.rt.platform.chain.callable.CallableChain$Chain.continueChain(CallableChain.java:222)
at org.eclipse.scout.rt.platform.chain.callable.CallableChain.call(CallableChain.java:170)
at org.eclipse.scout.rt.platform.context.RunContext.call(RunContext.java:158)
at org.eclipse.scout.rt.platform.context.RunContext.call(RunContext.java:139)
at org.eclipse.scout.rt.platform.context.RunContext.run(RunContext.java:110)
at org.eclipse.scout.rt.client.clientnotification.ClientNotificationPoller$P_NotificationPoller.run(ClientNotificationPoller.java:105)
at org.eclipse.scout.rt.platform.util.concurrent.Callables.lambda$0(Callables.java:31)
at org.eclipse.scout.rt.platform.chain.callable.CallableChain$Chain.continueChain(CallableChain.java:227)
at org.eclipse.scout.rt.platform.job.internal.ExceptionProcessor.intercept(ExceptionProcessor.java:41)
at org.eclipse.scout.rt.platform.chain.callable.CallableChain$Chain.continueChain(CallableChain.java:222)
at org.eclipse.scout.rt.platform.chain.callable.CallableChain$Chain.continueChain(CallableChain.java:227)
at org.eclipse.scout.rt.platform.transaction.TransactionProcessor.runTxRequiresNew(TransactionProcessor.java:113)
at org.eclipse.scout.rt.platform.transaction.TransactionProcessor.runTxRequired(TransactionProcessor.java:142)
at org.eclipse.scout.rt.platform.transaction.TransactionProcessor.intercept(TransactionProcessor.java:78)
at org.eclipse.scout.rt.platform.chain.callable.CallableChain$Chain.continueChain(CallableChain.java:222)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:691)
at java.base/javax.security.auth.Subject.doAs(Subject.java:425)
at org.eclipse.scout.rt.platform.security.SubjectProcessor.intercept(SubjectProcessor.java:43)
at org.eclipse.scout.rt.platform.chain.callable.CallableChain$Chain.continueChain(CallableChain.java:222)
at org.eclipse.scout.rt.platform.chain.callable.CallableChain.call(CallableChain.java:170)
at org.eclipse.scout.rt.platform.context.RunContext.call(RunContext.java:158)
at org.eclipse.scout.rt.platform.context.RunContextRunner.intercept(RunContextRunner.java:38)
at org.eclipse.scout.rt.platform.chain.callable.CallableChain$Chain.continueChain(CallableChain.java:222)
at org.eclipse.scout.rt.platform.job.internal.CallableChainExceptionHandler.intercept(CallableChainExceptionHandler.java:33)
at org.eclipse.scout.rt.platform.chain.callable.CallableChain$Chain.continueChain(CallableChain.java:222)
at org.eclipse.scout.rt.platform.chain.callable.CallableChain.call(CallableChain.java:170)
at org.eclipse.scout.rt.platform.job.internal.JobFutureTask.lambda$0(JobFutureTask.java:106)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.eclipse.scout.rt.platform.job.internal.JobFutureTask.run(JobFutureTask.java:175)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
at java.base/java.lang.Thread.run(Thread.java:832)
at org.eclipse.scout.rt.platform.job.internal.NamedThreadFactory$1.run(NamedThreadFactory.java:63)
Caused by: java.io.IOException: org.eclipse.scout.rt.platform.exception.ProcessingException: unable to create signature. [severity=ERROR]
at org.eclipse.scout.rt.shared.servicetunnel.http.HttpServiceTunnel.addSignatureHeader(HttpServiceTunnel.java:155)
at org.eclipse.scout.rt.shared.servicetunnel.http.HttpServiceTunnel.addCustomHeaders(HttpServiceTunnel.java:143)
at org.eclipse.scout.rt.shared.servicetunnel.http.HttpServiceTunnel.executeRequest(HttpServiceTunnel.java:119)
at org.eclipse.scout.rt.shared.servicetunnel.http.RemoteServiceInvocationCallable.call(RemoteServiceInvocationCallable.java:78)
at org.eclipse.scout.rt.shared.servicetunnel.http.RemoteServiceInvocationCallable.call(RemoteServiceInvocationCallable.java:1)
at org.eclipse.scout.rt.platform.chain.callable.CallableChain$Chain.continueChain(CallableChain.java:227)
at org.eclipse.scout.rt.platform.chain.callable.CallableChain$Chain.continueChain(CallableChain.java:227)
at org.eclipse.scout.rt.platform.transaction.TransactionProcessor.runTxMandatory(TransactionProcessor.java:156)
at org.eclipse.scout.rt.platform.transaction.TransactionProcessor.runTxRequired(TransactionProcessor.java:139)
at org.eclipse.scout.rt.platform.transaction.TransactionProcessor.intercept(TransactionProcessor.java:78)
... 15 common frames omitted
Caused by: org.eclipse.scout.rt.platform.exception.ProcessingException: unable to create signature. [severity=ERROR]
at org.eclipse.scout.rt.platform.security.SunSecurityProvider.createSignature(SunSecurityProvider.java:277)
at org.eclipse.scout.rt.platform.security.SecurityUtility.createSignature(SecurityUtility.java:267)
at org.eclipse.scout.rt.platform.security.SecurityUtility.createSignature(SecurityUtility.java:287)
at org.eclipse.scout.rt.shared.servicetunnel.http.DefaultAuthTokenSigner.signature(DefaultAuthTokenSigner.java:130)
at org.eclipse.scout.rt.shared.servicetunnel.http.DefaultAuthTokenSigner.sign(DefaultAuthTokenSigner.java:124)
at org.eclipse.scout.rt.shared.servicetunnel.http.DefaultAuthTokenSigner.createDefaultSignedToken(DefaultAuthTokenSigner.java:75)
at org.eclipse.scout.rt.shared.servicetunnel.http.HttpServiceTunnel.addSignatureHeader(HttpServiceTunnel.java:149)
... 24 common frames omitted
Caused by: java.security.spec.InvalidKeySpecException: java.security.InvalidKeyException: IOException : DER input, Integer tag error
at jdk.crypto.ec/sun.security.ec.ECKeyFactory.engineGeneratePrivate(ECKeyFactory.java:169)
at java.base/java.security.KeyFactory.generatePrivate(KeyFactory.java:384)
at org.eclipse.scout.rt.platform.security.SunSecurityProvider.createSignature(SunSecurityProvider.java:262)
... 30 common frames omitted
Caused by: java.security.InvalidKeyException: IOException : DER input, Integer tag error
at java.base/sun.security.pkcs.PKCS8Key.decode(PKCS8Key.java:133)
at java.base/sun.security.pkcs.PKCS8Key.<init>(PKCS8Key.java:94)
at jdk.crypto.ec/sun.security.ec.ECPrivateKeyImpl.<init>(ECPrivateKeyImpl.java:74)
at jdk.crypto.ec/sun.security.ec.ECKeyFactory.implGeneratePrivate(ECKeyFactory.java:237)
at jdk.crypto.ec/sun.security.ec.ECKeyFactory.engineGeneratePrivate(ECKeyFactory.java:165)
... 32 common frames omitted
Re: please help me figure out this error [message #1841459 is a reply to message #1841441] Mon, 17 May 2021 17:13 Go to previous messageGo to next message
Beat Schwarzentrub is currently offline Beat SchwarzentrubFriend
Messages: 201
Registered: November 2010
Senior Member
Welcome to the Scout forum!

Your stacktrace suggests a problem with the public/private key pair that is used to secure the HTTP service tunnel between the UI server and the backend server. This is the root cause from deep inside the JVM's crypto code:

Quote:
java.security.InvalidKeyException: IOException : DER input, Integer tag error


Please check the values of the config properties scout.auth.privateKey and scout.auth.publicKey. You can use the main() method in org.eclipse.scout.rt.platform.security.SecurityUtility to generate a new valid pair. See the documentation: https://eclipsescout.github.io/11.0/technical-guide.html#sec-app.configProperties

Regards,
Beat
Re: please help me figure out this error [message #1841535 is a reply to message #1841459] Thu, 20 May 2021 08:42 Go to previous messageGo to next message
ij lr is currently offline ij lrFriend
Messages: 3
Registered: May 2021
Junior Member
hi, i got new error, please help.

2021-05-20 16:33:39,556 ERROR [scout-model-thread-8 Processing JSON request] org.eclipse.scout.rt.platform.exception.ExceptionHandler.handlePlatformException(ExceptionHandler.java:124) - - MDC[principal=daryl, uiSession=1:ajmcifr324ultuhcnhhctrff4vjrtum6uklqj1fnfcjnp0109hd, scoutSession=12lrmuh3cv62tomfd3jlbras9tl68tqb7oo4104sd33n1cv5k7tb, jobName=Processing JSON request, cid=Qt6Tp6Jn4MV/3]
org.eclipse.scout.rt.platform.util.Assertions$AssertionException: Assertion error: no instance found for query: interface org.eclipse.scout.contacts.shared.organization.IOrganizationService
at org.eclipse.scout.rt.platform.util.Assertions.fail(Assertions.java:621)
at org.eclipse.scout.rt.platform.util.Assertions.assertNotNull(Assertions.java:87)
at org.eclipse.scout.rt.platform.BEANS.get(BEANS.java:42)
at org.eclipse.scout.contacts.client.organization.OrganizationTablePage.execLoadData(OrganizationTablePage.java:21)
at org.eclipse.scout.rt.client.ui.desktop.outline.pages.AbstractPageWithTable$LocalPageWithTableExtension.execLoadData(AbstractPageWithTable.java:1068)
at org.eclipse.scout.rt.client.extension.ui.desktop.outline.pages.PageWithTableChains$PageWithTableLoadDataChain$1.callMethod(PageWithTableChains.java:47)
at org.eclipse.scout.rt.client.extension.ui.desktop.outline.pages.PageWithTableChains$PageWithTableLoadDataChain$1.callMethod(PageWithTableChains.java:1)
at org.eclipse.scout.rt.shared.extension.AbstractExtensionChain.callChain(AbstractExtensionChain.java:113)
at org.eclipse.scout.rt.client.extension.ui.desktop.outline.pages.PageWithTableChains$PageWithTableLoadDataChain.execLoadData(PageWithTableChains.java:50)
at org.eclipse.scout.rt.client.extension.ui.desktop.outline.pages.AbstractPageWithTableExtension.execLoadData(AbstractPageWithTableExtension.java:35)
at org.eclipse.scout.rt.client.extension.ui.desktop.outline.pages.PageWithTableChains$PageWithTableLoadDataChain$1.callMethod(PageWithTableChains.java:47)
at org.eclipse.scout.rt.client.extension.ui.desktop.outline.pages.PageWithTableChains$PageWithTableLoadDataChain$1.callMethod(PageWithTableChains.java:1)
at org.eclipse.scout.rt.shared.extension.AbstractExtensionChain.callChain(AbstractExtensionChain.java:113)
at org.eclipse.scout.rt.client.extension.ui.desktop.outline.pages.PageWithTableChains$PageWithTableLoadDataChain.execLoadData(PageWithTableChains.java:50)
at org.eclipse.scout.rt.client.ui.desktop.outline.pages.AbstractPageWithTable.interceptLoadData(AbstractPageWithTable.java:1033)
at org.eclipse.scout.rt.client.ui.desktop.outline.pages.AbstractPageWithTable.execPopulateTable(AbstractPageWithTable.java:265)
at org.eclipse.scout.rt.client.ui.desktop.outline.pages.AbstractPageWithTable$LocalPageWithTableExtension.execPopulateTable(AbstractPageWithTable.java:1078)
at org.eclipse.scout.rt.client.extension.ui.desktop.outline.pages.PageWithTableChains$PageWithTablePopulateTableChain$1.callMethod(PageWithTableChains.java:82)
at org.eclipse.scout.rt.client.extension.ui.desktop.outline.pages.PageWithTableChains$PageWithTablePopulateTableChain$1.callMethod(PageWithTableChains.java:1)
at org.eclipse.scout.rt.shared.extension.AbstractExtensionChain.callChain(AbstractExtensionChain.java:113)
at org.eclipse.scout.rt.client.extension.ui.desktop.outline.pages.PageWithTableChains$PageWithTablePopulateTableChain.execPopulateTable(PageWithTableChains.java:85)
at org.eclipse.scout.rt.client.extension.ui.desktop.outline.pages.AbstractPageWithTableExtension.execPopulateTable(AbstractPageWithTableExtension.java:45)
at org.eclipse.scout.rt.client.extension.ui.desktop.outline.pages.PageWithTableChains$PageWithTablePopulateTableChain$1.callMethod(PageWithTableChains.java:82)
at org.eclipse.scout.rt.client.extension.ui.desktop.outline.pages.PageWithTableChains$PageWithTablePopulateTableChain$1.callMethod(PageWithTableChains.java:1)
at org.eclipse.scout.rt.shared.extension.AbstractExtensionChain.callChain(AbstractExtensionChain.java:113)
at org.eclipse.scout.rt.client.extension.ui.desktop.outline.pages.PageWithTableChains$PageWithTablePopulateTableChain.execPopulateTable(PageWithTableChains.java:85)
at org.eclipse.scout.rt.client.ui.desktop.outline.pages.AbstractPageWithTable.interceptPopulateTable(AbstractPageWithTable.java:1045)
at org.eclipse.scout.rt.client.ui.desktop.outline.pages.AbstractPageWithTable.loadTableDataImpl(AbstractPageWithTable.java:772)
at org.eclipse.scout.rt.client.ui.desktop.outline.pages.AbstractPageWithTable.loadChildrenImpl(AbstractPageWithTable.java:831)
at org.eclipse.scout.rt.client.ui.desktop.outline.pages.AbstractPage.loadChildren(AbstractPage.java:1021)
at org.eclipse.scout.rt.client.ui.basic.tree.AbstractTreeNode.ensureChildrenLoaded(AbstractTreeNode.java:1049)
at org.eclipse.scout.rt.client.ui.desktop.outline.DefaultPageChangeStrategy.pageChanged(DefaultPageChangeStrategy.java:43)
at org.eclipse.scout.rt.client.ui.desktop.outline.AbstractOutline.handleActivePageChanged(AbstractOutline.java:744)
at org.eclipse.scout.rt.client.ui.desktop.outline.AbstractOutline.nodesSelectedInternal(AbstractOutline.java:734)
at org.eclipse.scout.rt.client.ui.basic.tree.AbstractTree.fireNodesSelected(AbstractTree.java:2303)
at org.eclipse.scout.rt.client.ui.basic.tree.AbstractTree.selectNodes(AbstractTree.java:1938)
at org.eclipse.scout.rt.client.ui.basic.tree.AbstractTree$P_UIFacade.setNodesSelectedFromUI(AbstractTree.java:2860)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.eclipse.scout.rt.client.ModelContextProxy.lambda$1(ModelContextProxy.java:49)
at org.eclipse.scout.rt.platform.chain.callable.CallableChain$Chain.continueChain(CallableChain.java:227)
at org.eclipse.scout.rt.platform.transaction.TransactionProcessor.runTxMandatory(TransactionProcessor.java:156)
at org.eclipse.scout.rt.platform.transaction.TransactionProcessor.runTxRequired(TransactionProcessor.java:139)
at org.eclipse.scout.rt.platform.transaction.TransactionProcessor.intercept(TransactionProcessor.java:78)
at org.eclipse.scout.rt.platform.chain.callable.CallableChain$Chain.continueChain(CallableChain.java:222)
at org.eclipse.scout.rt.platform.chain.callable.CallableChain.call(CallableChain.java:170)
at org.eclipse.scout.rt.platform.context.RunContext.call(RunContext.java:158)
at org.eclipse.scout.rt.client.ModelContextProxy.lambda$0(ModelContextProxy.java:49)
at com.sun.proxy.$Proxy23.setNodesSelectedFromUI(Unknown Source)
at org.eclipse.scout.rt.ui.html.json.tree.JsonTree.handleUiNodesSelected(JsonTree.java:1065)
at org.eclipse.scout.rt.ui.html.json.tree.JsonTree.handleUiEvent(JsonTree.java:1011)
at org.eclipse.scout.rt.ui.html.json.JsonEventProcessor.processEvent(JsonEventProcessor.java:52)
at org.eclipse.scout.rt.ui.html.json.JsonEventProcessor.processEvents(JsonEventProcessor.java:37)
at org.eclipse.scout.rt.ui.html.UiSession.processJsonRequestInternal(UiSession.java:817)
at org.eclipse.scout.rt.platform.util.concurrent.Callables.lambda$0(Callables.java:31)
at org.eclipse.scout.rt.platform.chain.callable.CallableChain$Chain.continueChain(CallableChain.java:227)
at org.eclipse.scout.rt.platform.job.internal.ExceptionProcessor.intercept(ExceptionProcessor.java:41)
at org.eclipse.scout.rt.platform.chain.callable.CallableChain$Chain.continueChain(CallableChain.java:222)
at org.eclipse.scout.rt.platform.chain.callable.CallableChain$Chain.continueChain(CallableChain.java:227)
at org.eclipse.scout.rt.platform.transaction.TransactionProcessor.runTxMandatory(TransactionProcessor.java:156)
at org.eclipse.scout.rt.platform.transaction.TransactionProcessor.runTxRequired(TransactionProcessor.java:139)
at org.eclipse.scout.rt.platform.transaction.TransactionProcessor.intercept(TransactionProcessor.java:78)
at org.eclipse.scout.rt.platform.chain.callable.CallableChain$Chain.continueChain(CallableChain.java:222)
at org.eclipse.scout.rt.platform.chain.callable.CallableChain.call(CallableChain.java:170)
at org.eclipse.scout.rt.platform.context.RunContext.call(RunContext.java:158)
at org.eclipse.scout.rt.platform.context.RunContextRunner.intercept(RunContextRunner.java:38)
at org.eclipse.scout.rt.platform.chain.callable.CallableChain$Chain.continueChain(CallableChain.java:222)
at org.eclipse.scout.rt.platform.job.internal.CallableChainExceptionHandler.intercept(CallableChainExceptionHandler.java:33)
at org.eclipse.scout.rt.platform.chain.callable.CallableChain$Chain.continueChain(CallableChain.java:222)
at org.eclipse.scout.rt.platform.chain.callable.CallableChain.call(CallableChain.java:170)
at org.eclipse.scout.rt.platform.job.internal.JobFutureTask.lambda$0(JobFutureTask.java:106)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.eclipse.scout.rt.platform.job.internal.JobFutureTask.run(JobFutureTask.java:175)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
at org.eclipse.scout.rt.platform.job.internal.NamedThreadFactory$1.run(NamedThreadFactory.java:63)
Re: please help me figure out this error [message #1863517 is a reply to message #1841459] Wed, 07 February 2024 13:22 Go to previous messageGo to next message
Marco Giudici is currently offline Marco GiudiciFriend
Messages: 19
Registered: July 2020
Junior Member
Hi,
I checked the link but is not clear for me how follow wait write in the document Quote:
New public-private-key-pairs can be created by invoking the class org.eclipse.scout.rt.platform.security.SecurityUtility on the command line


Could you explain me better
Thanks
Re: please help me figure out this error [message #1863519 is a reply to message #1863517] Wed, 07 February 2024 13:41 Go to previous message
Stephan Merkli is currently offline Stephan MerkliFriend
Messages: 40
Registered: April 2012
Member
The easiest way might be to just run the main method of SecurityUtility within your IDE (e.g. Eclipse/IntelliJ). That will output a new private und public key pair. Use any module (e.g. your server module) as context if required.

Via command line you need to make sure that all required dependencies are on the classpath (in the example below in the lib directory containing all the required jars), which might be more cumbersome than just using your IDE.

java -cp libs/* org.eclipse.scout.rt.platform.security.SecurityUtility
Previous Topic:[Solved] Notifications lifetime tied to current session duration
Next Topic:Easiest way to run the UI on computer
Goto Forum:
  


Current Time: Mon Mar 04 03:02:40 GMT 2024

Powered by FUDForum. Page generated in 0.02960 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top