Topic
  • 3 replies
  • Latest Post - ‏2012-08-28T14:01:15Z by ENO2010
ENO2010
ENO2010
45 Posts

Pinned topic Push to Client

‏2012-08-23T16:00:46Z |
Hi,
I would like to use "Push to Client" function of RDz but I have a few questions.
Can I use it to distribute :
(1) Snippets;
(2) Is it possible to change the userid define in database connection?
(3) Is it possible to create a template Zos Project and distribute it? Is it possible to change the name of the PDS which are defined in the template project?
So that when a user connects to the system, the project will be create and inside the project he will find his own PDS;
(4) a subset of "preferences". for example : only the COBOL templates

thanks

Eric
Updated on 2012-08-28T14:01:15Z at 2012-08-28T14:01:15Z by ENO2010
  • ENO2010
    ENO2010
    45 Posts

    Re: Push to Client

    ‏2012-08-27T09:54:14Z  
    RDz 8.0.3.2
    I tried to export the configuration files but in the log file of RDz, I saw this :
    
    !ENTRY com.ibm.ftt.configurations.core 4 0 2012-08-27 11:04:01.489 !MESSAGE Exception when exporting the keymapping configuration file !STACK 0 java.lang.NullPointerException at org.eclipse.dstore.core.util.CommandGenerator.clearDeleted(Unknown Source) at org.eclipse.dstore.core.util.CommandGenerator.generateCommand(Unknown Source) at org.eclipse.dstore.core.model.CommandHandler.command(Unknown Source) at org.eclipse.dstore.core.model.DataStore.command(Unknown Source) at org.eclipse.dstore.core.model.DataStore.command(Unknown Source) at com.ibm.ftt.configurations.store.DStoreUploadService.upload(Unknown Source) at com.ibm.ftt.configurations.store.USSConfigurationStore.upload(Unknown Source) at com.ibm.ftt.configurations.store.USSConfigurationStore.uploadFile(Unknown Source) at com.ibm.ftt.configurations.store.keymapping.KeyMappingConfigurationFile.export(Unknown Source) at com.ibm.ftt.configurations.export.wizards.ExportWizard$ExportConfigurationFilesThread.run(Unknown Source) at org.eclipse.swt.custom.BusyIndicator.showWhile(Unknown Source) at com.ibm.ftt.configurations.export.wizards.ExportWizard.exportConfigurationFiles(Unknown Source) at com.ibm.ftt.configurations.export.wizards.ExportWizard.performFinish(Unknown Source) at org.eclipse.jface.wizard.WizardDialog.finishPressed(Unknown Source) at org.eclipse.jface.wizard.WizardDialog.buttonPressed(Unknown Source) at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Unknown Source) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.eclipse.jface.window.Window.runEventLoop(Unknown Source) at org.eclipse.jface.window.Window.open(Unknown Source) at org.eclipse.ui.internal.handlers.WizardHandler$Export.executeHandler(Unknown Source) at org.eclipse.ui.internal.handlers.WizardHandler.execute(Unknown Source) at org.eclipse.ui.internal.handlers.HandlerProxy.execute(Unknown Source) at org.eclipse.core.commands.Command.executeWithChecks(Unknown Source) at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(Unknown Source) at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(Unknown Source) at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(Unknown Source) at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(Unknown Source) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(Unknown Source) at org.eclipse.jface.action.ActionContributionItem.access$2(Unknown Source) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.eclipse.ui.internal.Workbench.runEventLoop(Unknown Source) at org.eclipse.ui.internal.Workbench.runUI(Unknown Source) at org.eclipse.ui.internal.Workbench.access$4(Unknown Source) at org.eclipse.ui.internal.Workbench$7.run(Unknown Source) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Unknown Source) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Unknown Source) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Unknown Source) at org.eclipse.ui.internal.ide.application.IDEApplication.start(Unknown Source) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Unknown Source) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Unknown Source) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Unknown Source) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Unknown Source) at org.eclipse.equinox.launcher.Main.basicRun(Unknown Source) at org.eclipse.equinox.launcher.Main.run(Unknown Source)   !ENTRY com.ibm.ftt.configurations.core 4 0 2012-08-27 11:04:01.536 !MESSAGE Exporting com.ibm.ftt.configurations.EclipsePreferences in group of !STACK 0 java.lang.NullPointerException at org.eclipse.dstore.core.util.CommandGenerator.clearDeleted(Unknown Source) at org.eclipse.dstore.core.util.CommandGenerator.generateCommand(Unknown Source) at org.eclipse.dstore.core.model.CommandHandler.command(Unknown Source) at org.eclipse.dstore.core.model.DataStore.command(Unknown Source) at org.eclipse.dstore.core.model.DataStore.command(Unknown Source) at com.ibm.ftt.configurations.store.DStoreUploadService.upload(Unknown Source) at com.ibm.ftt.configurations.store.USSConfigurationStore.upload(Unknown Source) at com.ibm.ftt.configurations.store.USSConfigurationStore.uploadMultiple(Unknown Source) at com.ibm.ftt.configurations.eclipse.preferences.EclipsePreferencesConfigurationFile.export(Unknown Source) at com.ibm.ftt.configurations.file.ConcatenatedConfigurationFiles.export(Unknown Source) at com.ibm.ftt.configurations.export.wizards.ExportWizard$ExportConfigurationFilesThread.run(Unknown Source) at org.eclipse.swt.custom.BusyIndicator.showWhile(Unknown Source) at com.ibm.ftt.configurations.export.wizards.ExportWizard.exportConfigurationFiles(Unknown Source) at com.ibm.ftt.configurations.export.wizards.ExportWizard.performFinish(Unknown Source) at org.eclipse.jface.wizard.WizardDialog.finishPressed(Unknown Source) at org.eclipse.jface.wizard.WizardDialog.buttonPressed(Unknown Source) at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Unknown Source) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.eclipse.jface.window.Window.runEventLoop(Unknown Source) at org.eclipse.jface.window.Window.open(Unknown Source) at org.eclipse.ui.internal.handlers.WizardHandler$Export.executeHandler(Unknown Source) at org.eclipse.ui.internal.handlers.WizardHandler.execute(Unknown Source) at org.eclipse.ui.internal.handlers.HandlerProxy.execute(Unknown Source) at org.eclipse.core.commands.Command.executeWithChecks(Unknown Source) at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(Unknown Source) at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(Unknown Source) at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(Unknown Source) at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(Unknown Source) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(Unknown Source) at org.eclipse.jface.action.ActionContributionItem.access$2(Unknown Source) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.eclipse.ui.internal.Workbench.runEventLoop(Unknown Source) at org.eclipse.ui.internal.Workbench.runUI(Unknown Source) at org.eclipse.ui.internal.Workbench.access$4(Unknown Source) at org.eclipse.ui.internal.Workbench$7.run(Unknown Source) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Unknown Source) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Unknown Source) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Unknown Source) at org.eclipse.ui.internal.ide.application.IDEApplication.start(Unknown Source) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Unknown Source) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Unknown Source) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Unknown Source) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Unknown Source) at org.eclipse.equinox.launcher.Main.basicRun(Unknown Source) at org.eclipse.equinox.launcher.Main.run(Unknown Source)   !ENTRY com.ibm.ftt.configurations.core 4 0 2012-08-27 11:04:01.568 !MESSAGE Exception when exporting the configuration file (com.ibm.ftt.resources.zos.mapping.genericmapping) !STACK 0 java.lang.NullPointerException at org.eclipse.dstore.core.util.CommandGenerator.clearDeleted(Unknown Source) at org.eclipse.dstore.core.util.CommandGenerator.generateCommand(Unknown Source) at org.eclipse.dstore.core.model.CommandHandler.command(Unknown Source) at org.eclipse.dstore.core.model.DataStore.command(Unknown Source) at org.eclipse.dstore.core.model.DataStore.command(Unknown Source) at com.ibm.ftt.configurations.store.DStoreUploadService.upload(Unknown Source) at com.ibm.ftt.configurations.store.USSConfigurationStore.upload(Unknown Source) at com.ibm.ftt.configurations.store.USSConfigurationStore.uploadFile(Unknown Source) at com.ibm.ftt.configurations.file.ConfigurationFile.export(Unknown Source) at com.ibm.ftt.configurations.file.ConcatenatedConfigurationFiles.export(Unknown Source) at com.ibm.ftt.configurations.export.wizards.ExportWizard$ExportConfigurationFilesThread.run(Unknown Source) at org.eclipse.swt.custom.BusyIndicator.showWhile(Unknown Source) at com.ibm.ftt.configurations.export.wizards.ExportWizard.exportConfigurationFiles(Unknown Source) at com.ibm.ftt.configurations.export.wizards.ExportWizard.performFinish(Unknown Source) at org.eclipse.jface.wizard.WizardDialog.finishPressed(Unknown Source) at org.eclipse.jface.wizard.WizardDialog.buttonPressed(Unknown Source) at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Unknown Source) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.eclipse.jface.window.Window.runEventLoop(Unknown Source) at org.eclipse.jface.window.Window.open(Unknown Source) at org.eclipse.ui.internal.handlers.WizardHandler$Export.executeHandler(Unknown Source) at org.eclipse.ui.internal.handlers.WizardHandler.execute(Unknown Source) at org.eclipse.ui.internal.handlers.HandlerProxy.execute(Unknown Source) at org.eclipse.core.commands.Command.executeWithChecks(Unknown Source) at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(Unknown Source) at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(Unknown Source) at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(Unknown Source) at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(Unknown Source) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(Unknown Source) at org.eclipse.jface.action.ActionContributionItem.access$2(Unknown Source) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.eclipse.ui.internal.Workbench.runEventLoop(Unknown Source) at org.eclipse.ui.internal.Workbench.runUI(Unknown Source) at org.eclipse.ui.internal.Workbench.access$4(Unknown Source) at org.eclipse.ui.internal.Workbench$7.run(Unknown Source) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Unknown Source) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Unknown Source) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Unknown Source) at org.eclipse.ui.internal.ide.application.IDEApplication.start(Unknown Source) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Unknown Source) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Unknown Source) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Unknown Source) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Unknown Source) at org.eclipse.equinox.launcher.Main.basicRun(Unknown Source) at org.eclipse.equinox.launcher.Main.run(Unknown Source)
    


    Eric
  • walexand
    walexand
    137 Posts

    Re: Push to Client

    ‏2012-08-27T20:03:39Z  
    Hi Eric,
    with regard to the exceptions, could you please open a service request so that the IBM Support team can gather all the information from you including the steps required to recreate the exceptions? This will help us identify the code and scenario causing the problem. Here is a link to the Support page http://www-947.ibm.com/support/entry/portal/open_service_request
    To answer the questions from your original post:
    1) Currently that feature is not available, however, there is an RFE open that you could add your vote to http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=24979
    2) No, but I believe you can leave it blank so that each user is required to enter their own ID when they try to use the database connection.
    3) The push-to-client support was designed for pushing out common workspace configurations. We believed those to include details that would be common across developers such Remote System connections, Preferences, Property Groups, z/OS File System Mapping, etc. In most environments developers create their own individual z/OS Projects (sometimes referred to as remote projects) in order to organize and perform their own specific application development/maintenance tasks. In these environments, the z/OS Projects are typically different from one developer to the next. However, the z/OS Projects view also supports what are known as host-based projects. These projects are used in environments that want less flexibility for developers and increased centralized control, as the host-based project is defined on the remote system and downloaded ('pushed') to the local RDz workspace upon connection to that remote system. So you must choose which type of projects you want your developers to use. The following help topic and it's sub topics may be useful reference material for you: http://pic.dhe.ibm.com/infocenter/ratdevz/v8r5/topic/com.ibm.etools.zide.cmn.doc/topics/czdcmn026.html
    4) If in the Master workspace the only preferences that you modify are the COBOL Templates then only those will be pushed to the client workspaces.
  • ENO2010
    ENO2010
    45 Posts

    Re: Push to Client

    ‏2012-08-28T14:01:15Z  
    • walexand
    • ‏2012-08-27T20:03:39Z
    Hi Eric,
    with regard to the exceptions, could you please open a service request so that the IBM Support team can gather all the information from you including the steps required to recreate the exceptions? This will help us identify the code and scenario causing the problem. Here is a link to the Support page http://www-947.ibm.com/support/entry/portal/open_service_request
    To answer the questions from your original post:
    1) Currently that feature is not available, however, there is an RFE open that you could add your vote to http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=24979
    2) No, but I believe you can leave it blank so that each user is required to enter their own ID when they try to use the database connection.
    3) The push-to-client support was designed for pushing out common workspace configurations. We believed those to include details that would be common across developers such Remote System connections, Preferences, Property Groups, z/OS File System Mapping, etc. In most environments developers create their own individual z/OS Projects (sometimes referred to as remote projects) in order to organize and perform their own specific application development/maintenance tasks. In these environments, the z/OS Projects are typically different from one developer to the next. However, the z/OS Projects view also supports what are known as host-based projects. These projects are used in environments that want less flexibility for developers and increased centralized control, as the host-based project is defined on the remote system and downloaded ('pushed') to the local RDz workspace upon connection to that remote system. So you must choose which type of projects you want your developers to use. The following help topic and it's sub topics may be useful reference material for you: http://pic.dhe.ibm.com/infocenter/ratdevz/v8r5/topic/com.ibm.etools.zide.cmn.doc/topics/czdcmn026.html
    4) If in the Master workspace the only preferences that you modify are the COBOL Templates then only those will be pushed to the client workspaces.
    Thank you for your explanation about the pushToClient functionality.
    For my problem, I found a solution on http://www-01.ibm.com/support/docview.wss?uid=swg1PM60106.

    Eric