Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Deploy problem with RAP on WebSphere 8.5 for z/OS
Deploy problem with RAP on WebSphere 8.5 for z/OS [message #1743829] Tue, 20 September 2016 06:53 Go to next message
Vincenzo Caselli is currently offline Vincenzo CaselliFriend
Messages: 235
Registered: January 2012
Senior Member

Hi all,
we have successfully (thanks Markus!) managed to build, deploy and run a RAP 3.0.2 application on WebSphere 8.5 on z/OS.
However, after every deploy, the initial page shows just the classical grey RAP background, without loading anything.

Thanks to an override and a try/catch that we put on method
ApplicationWorkbenchAdvisor.openWindows()
we can see the track trace below.
But the very strange thing is that after having restarted the WAS virtual server, then the application is running fine!
While this operation can be accepted in a test environment, we will barely have this chance in production.
Can someone help us to identify the problem? Seems like some internal OSGi RAP bundle is hanging across a redeploy or something like this..
Thank you very much

java.lang.NullPointerException: null values not allowed
	at org.eclipse.core.internal.registry.ReferenceMap.put(ReferenceMap.java:351)
	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.getBundle(RegistryStrategyOSGI.java:151)
	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:166)
	at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
	at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
	at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
	at org.eclipse.ui.internal.registry.PerspectiveDescriptor.createFactory(PerspectiveDescriptor.java:171)
	at org.eclipse.ui.internal.Perspective.loadPredefinedPersp(Perspective.java:743)
	at org.eclipse.ui.internal.Perspective.createPresentation(Perspective.java:271)
	at org.eclipse.ui.internal.Perspective.<init>(Perspective.java:157)
	at org.eclipse.ui.internal.tweaklets.Workbench3xImplementation.createPerspective(Workbench3xImplementation.java:53)
	at org.eclipse.ui.internal.WorkbenchPage.createPerspective(WorkbenchPage.java:1670)
	at org.eclipse.ui.internal.WorkbenchPage.init(WorkbenchPage.java:2450)
	at org.eclipse.ui.internal.WorkbenchPage.<init>(WorkbenchPage.java:566)
	at org.eclipse.ui.internal.tweaklets.Workbench3xImplementation.createWorkbenchPage(Workbench3xImplementation.java:37)
	at org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(WorkbenchWindow.java:760)
	at org.eclipse.ui.internal.Workbench$18.runWithException(Workbench.java:1266)
	at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:32)
	at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:230)
	at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
	at org.eclipse.swt.widgets.Display.syncExec(Display.java:1096)
	at org.eclipse.ui.internal.StartupThreading.runWithWorkbenchExceptions(StartupThreading.java:55)
	at org.eclipse.ui.internal.Workbench.busyOpenWorkbenchWindow(Workbench.java:1262)
	at org.eclipse.ui.internal.Workbench.doOpenFirstTimeWindow(Workbench.java:2061)
	at org.eclipse.ui.internal.Workbench.openFirstTimeWindow(Workbench.java:1992)
	at org.eclipse.ui.internal.WorkbenchConfigurer.openFirstTimeWindow(WorkbenchConfigurer.java:188)
	at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:790)
	at it.rcpvision.survey.application.ApplicationWorkbenchAdvisor.openWindows(ApplicationWorkbenchAdvisor.java:39)
	at org.eclipse.ui.internal.Workbench$27.runWithException(Workbench.java:1640)
	at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:32)
	at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:230)
	at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
	at org.eclipse.swt.widgets.Display.syncExec(Display.java:1096)
	at org.eclipse.ui.internal.StartupThreading.runWithoutExceptions(StartupThreading.java:110)
	at org.eclipse.ui.internal.Workbench.init(Workbench.java:1635)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2655)
	at org.eclipse.ui.internal.Workbench.access$5(Workbench.java:2530)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:701)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:684)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:157)
	at it.rcpvision.survey.application.Application.start(Application.java:33)
	at org.eclipse.rap.ui.internal.application.EntryPointApplicationWrapper.createUI(EntryPointApplicationWrapper.java:38)
	at org.eclipse.rap.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWTLifeCycle.java:171)
	at org.eclipse.rap.rwt.internal.lifecycle.RWTLifeCycle$UIThreadController.run(RWTLifeCycle.java:283)
	at java.lang.Thread.run(Thread.java:863)
	at org.eclipse.rap.rwt.internal.lifecycle.UIThread.run(UIThread.java:104)
Re: Deploy problem with RAP on WebSphere 8.5 for z/OS [message #1766223 is a reply to message #1743829] Sun, 18 June 2017 15:17 Go to previous message
Vincenzo Caselli is currently offline Vincenzo CaselliFriend
Messages: 235
Registered: January 2012
Senior Member

Hi,
we are getting the same error also with WebSphere 8.5 on Linux.
It seems that the problem is tied to a problem in getting the PerspectiveDescriptor.
Some hint?
Thank you
Vincenzo
Previous Topic:High usage of memory and final CPU collapse
Next Topic:F5 browser refresh to be trapped
Goto Forum:
  


Current Time: Tue Mar 19 11:54:25 GMT 2024

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

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

Back to the top