How to fix broken Service Registration [message #1456582] |
Thu, 30 October 2014 14:00 |
Lars Hertel Messages: 1 Registered: June 2014 |
Junior Member |
|
|
EDIT>> Sorry for posting that - there still was another server process running (not properly shutdown after exiting eclipse). The clients communicated with that server instead of 'my' new server. Sorry for that, don't bother reading any further...
after importing a scout project built (with Luna release) service registration doesn't work anymore (scout sdk (Luna 4.4.1) .
Newly added service operations aren't available for clients anymore. While previously added operations still work fine, it seems the new operations are not registered by scout sdk in a proper way.
For example: Added a service operation getRole() to StandardOutlineService via SDK ("...addOperation"). Scout sdk updates IStandardOutlineService and StandardOutlineService, but after restarting server and client (no matter if rap, swing or swt), calling the operation with a client always results in an Processing Error (see below). Old service operations work fine...
Is there a way to fix scout sdks service registration? If not, how do I register the operations manually?
!ENTRY org.eclipse.scout.rt.client 4 0 2014-10-30 14:24:30.100
!MESSAGE org.eclipse.scout.rt.client.services.common.exceptionhandler.internal.InternalClientExceptionHandlerService.differentiatedLog(InternalClientExceptionHandlerService.java:116) ProcessingException: ProcessingStatus[ERROR code=0 Calling IStandardOutlineService.getRole() / Verarbeitungsfehler ]
Verarbeitungsfehler
!STACK 0
at org.eclipse.scout.rt.servicetunnel.AbstractServiceTunnel.invokeService(AbstractServiceTunnel.java:119)
at org.eclipse.scout.rt.servicetunnel.http.internal.AbstractInternalHttpServiceTunnel.invokeService(AbstractInternalHttpServiceTunnel.java:133)
at org.eclipse.scout.rt.client.servicetunnel.http.ClientHttpServiceTunnel.invokeService(ClientHttpServiceTunnel.java:121)
at org.eclipse.scout.rt.servicetunnel.ServiceTunnelInvocationHandler.invoke(ServiceTunnelInvocationHandler.java:48)
at com.sun.proxy.$Proxy12.getRole(Unknown Source)
at de.suedkurier.fp.client.fp.pages.RolesTablePage.execLoadTableData(RolesTablePage.java:45)
at org.eclipse.scout.rt.client.ui.desktop.outline.pages.AbstractPageWithTable.execLoadData(AbstractPageWithTable.java:243)
at org.eclipse.scout.rt.client.ui.desktop.outline.pages.AbstractPageWithTable.execPopulateTable(AbstractPageWithTable.java:291)
at org.eclipse.scout.rt.client.ui.desktop.outline.pages.AbstractPageWithTable.loadTableDataImpl(AbstractPageWithTable.java:717)
at org.eclipse.scout.rt.client.ui.desktop.outline.pages.AbstractPageWithTable.loadChildren(AbstractPageWithTable.java:787)
at org.eclipse.scout.rt.client.ui.basic.tree.AbstractTreeNode.ensureChildrenLoaded(AbstractTreeNode.java:919)
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:513)
at org.eclipse.scout.rt.client.ui.desktop.outline.AbstractOutline.access$0(AbstractOutline.java:506)
at org.eclipse.scout.rt.client.ui.desktop.outline.AbstractOutline$P_OutlineListener.treeChanged(AbstractOutline.java:549)
at org.eclipse.scout.rt.client.ui.basic.tree.TreeAdapter.treeChangedBatch(TreeAdapter.java:24)
at org.eclipse.scout.rt.client.ui.basic.tree.AbstractTree.fireTreeEventBatchInternal(AbstractTree.java:2203)
at org.eclipse.scout.rt.client.ui.basic.tree.AbstractTree.processEventBuffer(AbstractTree.java:2308)
at org.eclipse.scout.rt.client.ui.basic.tree.AbstractTree.processTreeBuffers(AbstractTree.java:2250)
at org.eclipse.scout.rt.client.ui.basic.tree.AbstractTree.setTreeChanging(AbstractTree.java:910)
at org.eclipse.scout.rt.client.ui.basic.tree.AbstractTree$P_UIFacade.setNodesSelectedFromUI(AbstractTree.java:2583)
at org.eclipse.scout.rt.ui.swing.basic.tree.SwingScoutTree$6.run(SwingScoutTree.java:429)
at org.eclipse.scout.rt.ui.swing.concurrency.SwingScoutSynchronizer$1.runVoid(SwingScoutSynchronizer.java:71)
at org.eclipse.scout.rt.client.ClientJob.runStatus(ClientJob.java:189)
at org.eclipse.scout.rt.client.ClientJob.runTransactionWrapper(ClientJob.java:172)
at org.eclipse.scout.rt.client.ClientJob.run(ClientJob.java:159)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
[Updated on: Thu, 30 October 2014 15:58] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 1.29072 seconds