Skip to Content
author's profile photo Former Member
Former Member

CMSPermissionDeniedException

Hi.. My system is

sap.com/SAP-JEECOR 6.40 SP12 (1000.6.40.12.0.20050510033908) 20051122131622

sap.com/SAP-JEE 6.40 SP12 (1000.6.40.12.0.20050510034043) 20051122131702

i try to import configuration using NW Developer Studio to our NWDI server.

But i hit error :

internal CMS connector error: com.sap.cms.util.exception.misc.CMSPermissionDeniedException

com.sap.cms.client.ideAPI.CmsException: internal CMS connector error: com.sap.cms.util.exception.misc.CMSPermissionDeniedException

at com.sap.cms.client.ideAPI.CmsConfiguration.getConfiguration(CmsConfiguration.java:35)

at com.sap.ide.eclipse.component.devconf.DevConfManager.getDevConfStream(DevConfManager.java:424)

at com.sap.ide.eclipse.component.wizard.DevConfWizard.getInputStream(DevConfWizard.java:93)

at com.sap.ide.eclipse.component.wizard.DevConfWizard.initDevConf(DevConfWizard.java:327)

at com.sap.ide.eclipse.component.wizard.LoadDevConfPage.getNextPage(LoadDevConfPage.java:343)

at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:677)

at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:316)

at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)

at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)

at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1838)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1545)

at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)

at org.eclipse.jface.window.Window.open(Window.java:563)

at com.sap.ide.eclipse.component.provider.actions.DevConfNewMenuAction.openWizard(DevConfNewMenuAction.java:39)

at com.sap.ide.eclipse.component.provider.actions.DevConfNewMenuAction.run(DevConfNewMenuAction.java:33)

at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)

at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:207)

at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:456)

at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:403)

at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:397)

at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:72)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)

at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1838)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1545)

at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)

at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)

at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)

at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)

at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)

at com.sap.ide.eclipse.startup.Main.run(Main.java:791)

at com.sap.ide.eclipse.startup.Main.main(Main.java:604)

This is from Cms.log

3:01:34 PM com.sap.cms.client.ideAPI.CmsConfiguration [main] PATH: -> 15:1:34 -> entering getConfiguration

3:01:34 PM com.sap.cms.client.ideAPI.CmsConfiguration [main] DEBUG: cmsServer = http://cias109:50000; configurationId = dev_devcias_D; user = muda

3:01:34 PM com.sap.cms.client.connector.CMSEncoder [main] PATH: -> 15:1:34 -> entering CMSEncoder

3:01:34 PM com.sap.cms.client.connector.CMSEncoder [main] PATH: <--- exiting CMSEncoder

3:01:34 PM com.sap.cms.client.connector.CMSConnector [main] PATH: -> 15:1:34 -> entering CMSConnector(url)

3:01:34 PM com.sap.cms.client.connector.CMSConnector [main] DEBUG: is a sender (service = organizer)

3:01:34 PM com.sap.cms.client.connector.CMSConnector [main] DEBUG: cmsServer = http://cias109:50000/CMS/Organizer

3:01:34 PM com.sap.cms.client.connector.CMSConnector [main] PATH: <--- exiting CMSConnector(url)

3:01:34 PM com.sap.cms.client.organizerAPI.CMSTransportOrganizerAPI [main] PATH: -> 15:1:34 -> entering getConfiguration

3:01:34 PM com.sap.cms.client.connector.CMSConnector [main] PATH: -> 15:1:34 -> entering encodeObject

3:01:34 PM com.sap.cms.client.connector.CMSConnector [main] PATH: -> 15:1:34 -> entering createConnection

3:01:34 PM com.sap.cms.client.connector.CMSConnector [main] DEBUG: connection object http://cias109:50000/CMS/Organizer got

3:01:34 PM com.sap.cms.client.connector.CMSParser [main] PATH: -> 15:1:34 -> entering CMSParser

3:01:34 PM com.sap.cms.client.connector.CMSParser [main] PATH: <--- exiting CMSParser

3:01:34 PM com.sap.cms.client.connector.CMSConnector [main] PATH: <--- exiting createConnection

3:01:34 PM com.sap.cms.client.connector.CMSConnector [main] PATH: -> 15:1:34 -> entering writeXMLHeader

3:01:34 PM com.sap.cms.client.connector.CMSConnector [main] PATH: <--- exiting writeXMLHeader

3:01:34 PM com.sap.cms.client.connector.CMSConnector [main] PATH: -> 15:1:34 -> entering encodeObject

3:01:34 PM com.sap.cms.client.connector.CMSConnector [main] DEBUG: encode object: id = cmsService

3:01:34 PM com.sap.cms.client.connector.CMSEncoder [main] PATH: -> 15:1:34 -> entering objectToXML

3:01:34 PM com.sap.cms.client.connector.CMSEncoder [main] DEBUG: convert object java.lang.String to XML (id = cmsService)

3:01:34 PM com.sap.cms.client.connector.CMSEncoder [main] PATH: <--- exiting objectToXML

3:01:34 PM com.sap.cms.client.connector.CMSConnector [main] PATH: <--- exiting encodeObject

3:01:34 PM com.sap.cms.client.connector.CMSConnector [main] DEBUG: encode object: id = user

3:01:34 PM com.sap.cms.client.connector.CMSEncoder [main] PATH: -> 15:1:34 -> entering objectToXML

3:01:34 PM com.sap.cms.client.connector.CMSEncoder [main] DEBUG: convert object java.lang.String to XML (id = user)

3:01:34 PM com.sap.cms.client.connector.CMSEncoder [main] PATH: <--- exiting objectToXML

3:01:34 PM com.sap.cms.client.connector.CMSConnector [main] PATH: <--- exiting encodeObject

3:01:34 PM com.sap.cms.client.connector.CMSConnector [main] PATH: -> 15:1:34 -> entering encodeObject

3:01:34 PM com.sap.cms.client.connector.CMSConnector [main] DEBUG: encode object: id = configurationId

3:01:34 PM com.sap.cms.client.connector.CMSEncoder [main] PATH: -> 15:1:34 -> entering objectToXML

3:01:34 PM com.sap.cms.client.connector.CMSEncoder [main] DEBUG: convert object java.lang.String to XML (id = configurationId)

3:01:34 PM com.sap.cms.client.connector.CMSEncoder [main] PATH: <--- exiting objectToXML

3:01:34 PM com.sap.cms.client.connector.CMSConnector [main] PATH: <--- exiting encodeObject

3:01:34 PM com.sap.cms.client.connector.CMSConnector [main] PATH: -> 15:1:34 -> entering callMethod

3:01:34 PM com.sap.cms.client.connector.CMSConnector [main] PATH: -> 15:1:34 -> entering encodeObject

3:01:34 PM com.sap.cms.client.connector.CMSConnector [main] DEBUG: encode object: id = cmsMethod

3:01:34 PM com.sap.cms.client.connector.CMSEncoder [main] PATH: -> 15:1:34 -> entering objectToXML

3:01:34 PM com.sap.cms.client.connector.CMSEncoder [main] DEBUG: convert object java.lang.String to XML (id = cmsMethod)

3:01:34 PM com.sap.cms.client.connector.CMSEncoder [main] PATH: <--- exiting objectToXML

3:01:34 PM com.sap.cms.client.connector.CMSConnector [main] PATH: <--- exiting encodeObject

3:01:34 PM com.sap.cms.client.connector.CMSConnector [main] PATH: -> 15:1:34 -> entering writeXMLFooter

3:01:34 PM com.sap.cms.client.connector.CMSConnector [main] PATH: <--- exiting writeXMLFooter

3:01:34 PM com.sap.cms.client.connector.CMSConnector [main] DEBUG: connected to http://cias109:50000/CMS/Organizer

3:01:34 PM com.sap.cms.client.connector.CMSParser [main] DEBUG: *** [0] value =

3:01:34 PM com.sap.cms.client.connector.CMSParser [main] DEBUG: *** [0] value = com.sap.cms.util.exception.misc.CMSPermissionDeniedException

3:01:34 PM com.sap.cms.client.connector.CMSParser [main] DEBUG: valueString = + com.sap.cms.util.exception.misc.CMSPermissionDeniedException

3:01:34 PM com.sap.cms.client.connector.CMSParser [main] DEBUG: *** [0] value = User is not allowed to do this function

3:01:34 PM com.sap.cms.client.connector.CMSParser [main] DEBUG: *** [0] end value tag: type = null

3:01:34 PM com.sap.cms.client.connector.CMSParser [main] PATH: -> 15:1:34 -> entering isExceptionRaised

3:01:34 PM com.sap.cms.client.connector.CMSParser [main] DEBUG: exceptionRaised = true

3:01:34 PM com.sap.cms.client.connector.CMSParser [main] PATH: <--- exiting isExceptionRaised

3:01:34 PM com.sap.cms.client.connector.CMSParser [main] PATH: -> 15:1:34 -> entering getException

3:01:34 PM com.sap.cms.client.connector.CMSParser [main] DEBUG: exception = com.sap.cms.util.exception.misc.CMSPermissionDeniedException message = User is not allowed to do this function

3:01:34 PM com.sap.cms.client.connector.CMSParser [main] ERROR: exception class not found Exc=java.lang.ClassNotFoundException: com.sap.cms.util.exception.misc.CMSPermissionDeniedException

3:01:34 PM com.sap.cms.client.connector.CMSParser [main] DEBUG: stack trace: Exc=java.lang.ClassNotFoundException: com.sap.cms.util.exception.misc.CMSPermissionDeniedException

at org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass(DelegatingURLClassLoader.java:866)

at java.lang.ClassLoader.loadClass(ClassLoader.java:235)

at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Class.java:141)

at com.sap.cms.client.connector.CMSParser.getException(CMSParser.java:401)

at com.sap.cms.client.connector.CMSConnector.callMethod(CMSConnector.java:224)

at com.sap.cms.client.organizerAPI.CMSTransportOrganizerAPI.getConfiguration(CMSTransportOrganizerAPI.java:133)

at com.sap.cms.client.ideAPI.CmsConfiguration.getConfiguration(CmsConfiguration.java:33)

at com.sap.ide.eclipse.component.devconf.DevConfManager.getDevConfStream(DevConfManager.java:424)

at com.sap.ide.eclipse.component.wizard.DevConfWizard.getInputStream(DevConfWizard.java:93)

at com.sap.ide.eclipse.component.wizard.DevConfWizard.performFinish(DevConfWizard.java:126)

at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:608)

at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:321)

at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)

at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)

at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1838)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1545)

at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)

at org.eclipse.jface.window.Window.open(Window.java:563)

at com.sap.ide.eclipse.component.provider.actions.DevConfNewAction.run(DevConfNewAction.java:46)

at com.tssap.selena.model.extension.action.SelenaActionCollector$GenericElementActionWrapper.run(SelenaActionCollector.java:229)

at com.tssap.util.ui.menu.MenuFactory$DelegateAction.processInternal(MenuFactory.java:612)

at com.tssap.util.ui.menu.MenuFactory$DelegateAction.access$100(MenuFactory.java:582)

at com.tssap.util.ui.menu.MenuFactory$DelegateAction$BusyProcessWorker.run(MenuFactory.java:712)

at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)

at com.tssap.util.ui.menu.MenuFactory$DelegateAction.process(MenuFactory.java:606)

at com.tssap.util.ui.menu.internal.MenuListenerFactory$ProcessAdapter.widgetSelected(MenuListenerFactory.java:172)

at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)

at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1838)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1545)

at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)

at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)

at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)

at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)

at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)

at com.sap.ide.eclipse.startup.Main.run(Main.java:791)

at com.sap.ide.eclipse.startup.Main.main(Main.java:604)

3:01:34 PM com.sap.cms.client.connector.CMSConnector [main] ERROR: internal CMS connector error Exc=com.sap.cms.client.connector.CMSParserException: com.sap.cms.util.exception.misc.CMSPermissionDeniedException

3:01:34 PM com.sap.cms.client.connector.CMSConnector [main] DEBUG: stack trace: Exc=com.sap.cms.client.connector.CMSParserException: com.sap.cms.util.exception.misc.CMSPermissionDeniedException

at com.sap.cms.client.connector.CMSParser.getException(CMSParser.java:404)

at com.sap.cms.client.connector.CMSConnector.callMethod(CMSConnector.java:224)

at com.sap.cms.client.organizerAPI.CMSTransportOrganizerAPI.getConfiguration(CMSTransportOrganizerAPI.java:133)

at com.sap.cms.client.ideAPI.CmsConfiguration.getConfiguration(CmsConfiguration.java:33)

at com.sap.ide.eclipse.component.devconf.DevConfManager.getDevConfStream(DevConfManager.java:424)

at com.sap.ide.eclipse.component.wizard.DevConfWizard.getInputStream(DevConfWizard.java:93)

at com.sap.ide.eclipse.component.wizard.DevConfWizard.performFinish(DevConfWizard.java:126)

at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:608)

at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:321)

at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)

at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)

at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1838)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1545)

at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)

at org.eclipse.jface.window.Window.open(Window.java:563)

at com.sap.ide.eclipse.component.provider.actions.DevConfNewAction.run(DevConfNewAction.java:46)

at com.tssap.selena.model.extension.action.SelenaActionCollector$GenericElementActionWrapper.run(SelenaActionCollector.java:229)

at com.tssap.util.ui.menu.MenuFactory$DelegateAction.processInternal(MenuFactory.java:612)

at com.tssap.util.ui.menu.MenuFactory$DelegateAction.access$100(MenuFactory.java:582)

at com.tssap.util.ui.menu.MenuFactory$DelegateAction$BusyProcessWorker.run(MenuFactory.java:712)

at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)

at com.tssap.util.ui.menu.MenuFactory$DelegateAction.process(MenuFactory.java:606)

at com.tssap.util.ui.menu.internal.MenuListenerFactory$ProcessAdapter.widgetSelected(MenuListenerFactory.java:172)

at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)

at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1838)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1545)

at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)

at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)

at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)

at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)

at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)

at com.sap.ide.eclipse.startup.Main.run(Main.java:791)

at com.sap.ide.eclipse.startup.Main.main(Main.java:604)

anyone could help me ? tag

Message was edited by: Muda Ikhsan

Add comment
10|10000 characters needed characters exceeded

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on May 05, 2011 at 10:08 PM

    What was the fix on this issue?

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on May 06, 2011 at 05:21 AM

    Hi,

    Seems like the User ID with which you are importing the development configurations is missing the Authorizations.

    In the User Admin, check for the below mentioned authorizations for the same User ID.

    1) "NWDI.Developer" OR "NWDI.Administrator" Role is assigned or not in Assigned Roles.

    2) "NWDI.Developer" OR "NWDI.Administrator" Group is assigned or not in Assigned Groups.

    Let me know about your findings.

    Regards,

    Shereyas Pandya

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on May 06, 2011 at 12:34 PM

    Hi Muda,

    I assume you refer to the Development Configuration import (triggered in your NWDS) in order to get the track from the server side.

    Please check whether you are doing this operation at least with an NWDI Developer user.

    #840523 - NWDI server configuration: user, group and security role

    (http://service.sap.com/sap/support/notes/840523)

    An other useful test would be to logon to the NWDI (in NWDS) using the NWDI Administrator user you have also maintained on the Domain Data tab of the Landscape Configurator of the CMS webui and attempt the import with this user. If that works, then you need to doublecheck the permissions of the other user as per the above mentioned note.

    Best Regards,

    Ervin

    Add comment
    10|10000 characters needed characters exceeded