Hello oracle gurus ... I have a trouble with the following query ...

Any help would be appreciated ...
My oracle database ...
producttype --|-- creationtime --|-- count
2 --|-- 4/07 --|-- 5
2 --|-- 5/07 --|-- 6
1 --|-- 5/07 --|-- 9
I need to write a query to populate a dataset. The table I should construct later will have to look like this, sort off ...
creationtime --|-- 1 (producttype) --|-- 2 (producttype)
4/07 --|-- 0 --|-- 5
5/07 --|-- 9 --|-- 6
The example is self explanatory and I wanted to make it as minimalistic as posible.
One other problem. When you look at that creationtime column up there. I will have to generate that separatelly as it seems to me. The user has an option to select a startdate and an enddate. My creationtime column will have to contain every month between those two dates the user had selected. That doesn't mean I will find EVERY month in the actual oracle database. However, I have to check for it and if a given month is not found I have to assign value "0" for both 1 and 2 (producttypes) and the month should still be present in the creationtime column in my dataset.
Any tips would be welcomed.
Thanks.

The example is self explanatory and I wanted to make it as minimalistic as posible.It is not self explanatory. Raw data can be interpreted in a number of ways: we need to understand what these things mean. Minimalism is fine (I'm a big Phillip Glass fan myself) but too little is not good enough. For instance, is COUNT a column name or the output of a COUNT function? Are there really only two ProductTypes?
Depending on the answers to those questions something like this query may or may not work for you...
select creationtime
          , sum(decode(producttype,1, count, 0)) as pt1
          , sum(decode(producttype,2, count, 0)) as pt2
from your_original_table
group by creationtime
/Cheers, APC
Blog : http://radiofreetooting.blogspot.com/

Similar Messages

  • I have some trouble With the graph XY, if I display a curve and try to zoom on it, it may be corrupted, or may disappeare​d.

    In fact this happens on some computers. the graph XY causes some trouble when zooming. Sometimes, when I run my main program and open the window with the graph, it has change the displayed it overflows to the edge of the windows. Or somtimes it works but if I zoom the curves disappeared, or is corrupted.
    I have this for instance on a computer with win 98 and a ATI graphic board. So I try to update all drivers but noting has changed. I try to decrease the hardware acceleration, and it seems to happen less oftenly.
    Does anybody have seen that kind of trouble ?

    > I have some trouble With the graph XY, if I display a curve and try to
    > zoom on it, it may be corrupted, or may disappeared.
    >
    I think what you are describing is not due to video driver, but rather
    to the way the graph works. The LV graph maps points to integer screen
    coordinates and draws lines be tween those point. When the numbers are
    way to large to fit on the screen, the numbers are pinned to a special
    large value. When this happenson one axis but not the other, it causes
    the slope of the line to change and potentially not cross the screen.
    If this is the same effect I'm describing, it only takes place when you
    zoom into the data by a large extent, pushing the other points about ten
    to fifteen monitors away. At this point you are no longer
    looking at
    measured data, but rather just on the interpolation of a line between
    two points. The solution if you must have one is to resample your data
    on the diagram to contain more points.
    Greg McKaskle

  • I have a trouble with the clipboard inside an applet

    I have created simple text editor as applet (by JTextPane). I have a trouble with the clipboard. The clipboard works correctly inside the applet, but I'm not able to paste text from outside text editors (e.g. notepad). But I found out that clipboard works correctly inside appletviewer.
    You can visit the applet on: http://www.newlink.be/abst/
    Please help
    P.S.: I'm sorry for my bad english

    This is because applets do not have access to the system clipboard by default. The only way to get around this is to make a signed applet.

  • I am having trouble with the following....

    I just received a CD that has Adobe Elements 2.0 which is compatible for both mac and microsoft. Whenever I try to install this outstanding program, it says the following:
    *A Valid Classic Environment Was Not Detected.*
    Support for running an Adobe application as a Classic application will not be installed. To add Classic support, specify a classic environment, then rerun the installer.
    Then I read the *How to install read me* and it says:
    To install Photoshop Elements in Mac OS:
    IMPORTANT: If you choose to install Adobe Photoshop Elements in OS X, a warning message may appear to alert you that no Classic volume is selected. If so, quit the installer and go to System Preferences Classic. Select the volume on which your Classic environment is installed, and then quit the System Preferences and begin installation again. (If you don't have a Classic volume, the Photoshop Elements installer will alert you that no Classic environment is installed, and you will only be able to run Photoshop Elements in OS X native mode.
    I would very much appreciate if someone were to take the time, and clarify this for me.
    Thank you.

    Not only will the Classic environment not work in Leopard, it won't work on any Intel-based Mac regardless of the version of Mac OS X. As Larry said, you will need a newer version of Photoshop Elements.

  • Need help with the following query

    I have the following data
    INVOICE_ID PAID_AMT PYMNT_GROSS_AMT DISCOUNT
    10151 1375 1375 55
    10151DC -44.81 -44.81 0
    20017 25 25 7
    Ok the data I want to grab the discount field is paid_amt = pymnt_gross_amt and discount <> 0. If however there is another invoice_id out there (same invoice ID except with a DC appended to it like 10151DC) then you want to select the differece between the discount field without the DC and the Invoice ID with the DC the paid_amt field.
    So the results would be.
    Invoice_ID Discount
    10151 10.19
    20017 7
    Thanks for all your help!

    Why scan same table twice when it can be achived using single scan :
    Hope this helps :
    with inv_data as
    (select '10151' invoice_id,
    1375 paid_amt,
              1375 pymnt_gross_amt,
              55 discount from dual
    union all
    select '10151DC' invoice_id,
    -44.81 paid_amt,
              -44.81 pymnt_gross_amt,
              0 discount from dual
    union all
    select '20017' invoice_id,
    25 paid_amt,
              25 pymnt_gross_amt,
              7 discount from dual)
    select replace(invoice_id,'DC') invoice_id,
    sum(case when invoice_id like '%DC' then pymnt_gross_amt
         else discount end) discount
    from inv_data
    group by replace(invoice_id,'DC')
    INVOICE DISCOUNT
    10151 10.19
    20017 7
    2 rows selected.

  • Does anyone have a trouble with the unlocking by Touch Id who causing restart of the phone / or load screen  ?

    Hello,
    When i  try to unlock my iPhone 5s with Touch ID i have sometime a restart or the load screen (white screen / black Apple).
    Same for you ?
    iPhone 5s, gold/champagne, lastet firmawre 7.0.6.

    No, I do not have that feature.
    Try these 4Rs basic troubleshooting steps:
    Restart:
    1. Press and hold the Sleep/Wake button until the red "slide to power off" slider appears, and then slide the slider.
    2. Press and hold the Sleep/Wake button until the Apple logo appears.
    Reset: Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Note: You will not lose any data
    Restore from backup
    Restore as new
    http://support.apple.com/kb/HT1414

  • Firefox will not open any page but I have no trouble with the pages opening with explorer

    unable to connect to any page through firefox but can open all with internet explorer, why can't firefox open them. It can not be my connection or my network because I can still open with explorer and nothing has changed with my computer. Please help I really like to use firefox

    Try to repair the disk permissions: http://thexlab.com/faqs/repairprocess.html
    See also http://support.apple.com/kb/HT2963 Troubleshooting permissions issues in Mac OS X

  • Troubles with the creation of New Custom Adapter for NW 7.1

    Hi guys !!!
    I have some troubles with the creation of a new custom adapter for NW 7.1. I have followed some pdf and notes, like :
    [Upgrade an SAP NetWeaver PI 7.0 Adapter to SAP NetWeaver PI 7.1|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0667f56-96c7-2b10-0e9a-c40fbd523f4d]
    note : 1004000
    I have all the materials to make the custom Adapter ( like file .sca with all .rar and .sda , like file sample_ra.rar with all the file .java, like all the libs for the projects ) and I have make it !!! But, when I try do deploy it, i recieve a warning that i don't understand, this is the warning :
    S U M M A R Y
    ~~~~~~~~~~~~~~~~~~~
    Successfully deployed:           0
    Deployed with warnings:           1
    Failed deployments:                0
    ~~~~~~~~~~~~~~~~~~~
    1. File:C:Users
    maienzaDesktopCreazione del SDAPI71_AF_myFirstCustomAdapter_ver_2.0.sda
         Name:PI71_AF_myFirstCustomAdapter_ver_2.0
         Vendor:sap.com
         Location:SAP AG
         Version:7.1007.20090310105326.0000
         Deploy status:Warning
         Version:NEW
         Description:
              1. Exception has been returned while the 'sap.com/PI71_AF_myFirstCustomAdapter_ver_2.0' was starting. Warning/Exception :
    [ERROR CODE DPL.DS.6193] Error while ; nested exception is:
         com.sap.engine.services.deploy.exceptions.ServerDeploymentException: [ERROR CODE DPL.DS.5030] Clusterwide exception: server ID 3999650:com.sap.engine.services.deploy.exceptions.ServerDeploymentException: [ERROR CODE DPL.DS.5082] Exception while validating application sap.com/PI71_AF_myFirstCustomAdapter_ver_2.0.
    No one of the [EJBContainer] containers, which processed it, returned deployed component names.
    The registered containers in this moment were [CTCContainer, com.sap.caf.um.metadata, com.sap.security.ume, com.sap.security.login-modules, app_libraries_container, Cache Configuration Upload, servlet_jsp, dbcontentcontainer, connector, Cluster File System, JMSConnector, MigrationContainer, Monitoring Configurator, dbschemacontainer, appclient, orpersistence, PortalRuntimeContainer, JDBCConnector, EJBContainer, metamodelrepository, webservices_container, scheduler~container, ConfigurationsContainer, Content Container].
    Possible reasons :
         1.An AS Java service, which is providing a container, is stopped or not deployed.
         2.The containers, which processed it, are not implemented correct. They deployed or started initially the application, but didn't return deployed components in the application deployment info.
         at com.sap.engine.services.deploy.server.utils.ValidateUtils.missingDCinDIValidator(ValidateUtils.java:80)
         at com.sap.engine.services.deploy.server.application.StartInitiallyTransaction.prepare(StartInitiallyTransaction.java:149)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:420)
         at com.sap.engine.services.deploy.server.application.StartTransaction.doStartInitiallyGlobal(StartTransaction.java:449)
         at com.sap.engine.services.deploy.server.application.StartTransaction.doStartInitially(StartTransaction.java:437)
         at com.sap.engine.services.deploy.server.application.StartTransaction.prepare(StartTransaction.java:178)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:420)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:445)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.super_MakeAllPhases(ParallelAdapter.java:337)
         at com.sap.engine.services.deploy.server.application.StartTransaction.makeAllPhasesImpl(StartTransaction.java:550)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:251)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesAndWait(ParallelAdapter.java:392)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3389)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3375)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3278)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3251)
         at com.sap.engine.services.dc.lcm.impl.J2EELCMProcessor.doStart(J2EELCMProcessor.java:99)
         at com.sap.engine.services.dc.lcm.impl.LifeCycleManagerImpl.start(LifeCycleManagerImpl.java:62)
         at com.sap.engine.services.dc.cm.deploy.impl.LifeCycleManagerStartVisitor.visit(LifeCycleManagerStartVisitor.java:34)
         at com.sap.engine.services.dc.cm.deploy.impl.DeploymentItemImpl.accept(DeploymentItemImpl.java:83)
         at com.sap.engine.services.dc.cm.deploy.impl.DefaultDeployPostProcessor.postProcessLCMDeplItem(DefaultDeployPostProcessor.java:80)
         at com.sap.engine.services.dc.cm.deploy.impl.DefaultDeployPostProcessor.postProcess(DefaultDeployPostProcessor.java:56)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.doPostProcessing(DeployerImpl.java:741)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.performDeploy(DeployerImpl.java:732)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.doDeploy(DeployerImpl.java:576)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.deploy(DeployerImpl.java:270)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.deploy(DeployerImpl.java:192)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployerImplp4_Skel.dispatch(DeployerImplp4_Skel.java:875)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:351)
         at com.sap.engine.services.rmi_p4.server.ServerDispatchImpl.run(ServerDispatchImpl.java:70)
         at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:62)
         at com.sap.engine.services.rmi_p4.P4Message.execute(P4Message.java:37)
         at com.sap.engine.services.cross.fca.FCAConnectorImpl.executeRequest(FCAConnectorImpl.java:872)
         at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:53)
         at com.sap.engine.services.cross.fca.MessageReader.run(MessageReader.java:58)
         at com.sap.engine.core.thread.execution.Executable.run(Executable.java:108)
         at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:304)
    Result
    Status:Warning
    I have see in the nwa if there are some applications or services that are stopped but all the necessary it's started, just one question : in the pdf for upgrade from 7.0 to 7.1 no one speaks about ejBean or about a creation of it ... it's necessary an ejBean ?? Beacause in the file .sda of the file .sca that i have downloaded there are more of the adapter with ejBean ....
    Antonello

    Hi,
    the adapter metadata it's been created but my service is still stopped; when I try to start it, in the NDWS -> Deploy view -> tab Repositary view, I receive this errors, one after the other, cause I try to start it 3 times and in each time I received 3 differents errors :
    Exception has been returned while the 'sap.com/PI71_AF_myFirstCustomAdapter_ver_2.0' was starting. Warning/Exception :
    [ERROR CODE DPL.DS.6193] Error while ; nested exception is:
         com.sap.engine.services.deploy.exceptions.ServerDeploymentException: [ERROR CODE DPL.DS.5030] Clusterwide exception: server ID 3999650:com.sap.engine.services.deploy.container.DeploymentException: Unable to create folder /usr/sap/DXI/DVEBMGS00/j2ee/cluster/apps/sap.com/PI71_AF_myFirstCustomAdapter_ver_2.0/EJBContainer/applicationjars
         at com.sap.engine.services.ejb3.container.ContainerInterfaceImpl$Actions.perform(ContainerInterfaceImpl.java:893)
         at com.sap.engine.services.ejb3.container.ContainerInterfaceImpl.makeStartInitially(ContainerInterfaceImpl.java:771)
         at com.sap.engine.services.deploy.server.application.StartInitiallyTransaction.makeStartInitially(StartInitiallyTransaction.java:184)
         at com.sap.engine.services.deploy.server.application.StartInitiallyTransaction.prepare(StartInitiallyTransaction.java:145)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:420)
         at com.sap.engine.services.deploy.server.application.StartTransaction.doStartInitiallyGlobal(StartTransaction.java:449)
         at com.sap.engine.services.deploy.server.application.StartTransaction.doStartInitially(StartTransaction.java:437)
         at com.sap.engine.services.deploy.server.application.StartTransaction.prepare(StartTransaction.java:178)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:420)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:445)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.super_MakeAllPhases(ParallelAdapter.java:337)
         at com.sap.engine.services.deploy.server.application.StartTransaction.makeAllPhasesImpl(StartTransaction.java:550)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:251)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesAndWait(ParallelAdapter.java:392)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3389)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3375)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3278)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3251)
         at com.sap.engine.services.dc.lcm.impl.J2EELCMProcessor.doStart(J2EELCMProcessor.java:99)
         at com.sap.engine.services.dc.lcm.impl.LifeCycleManagerImpl.start(LifeCycleManagerImpl.java:62)
         at com.sap.engine.services.dc.lcm.impl.RemoteLCMImpl.start(RemoteLCMImpl.java:45)
         at com.sap.engine.services.dc.lcm.impl.RemoteLCMImplp4_Skel.dispatch(RemoteLCMImplp4_Skel.java:233)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:351)
         at com.sap.engine.services.rmi_p4.server.ServerDispatchImpl.run(ServerDispatchImpl.java:70)
         at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:62)
         at com.sap.engine.services.rmi_p4.P4Message.execute(P4Message.java:37)
         at com.sap.engine.services.cross.fca.FCAConnectorImpl.executeRequest(FCAConnectorImpl.java:872)
         at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:53)
         at com.sap.engine.services.cross.fca.MessageReader.run(MessageReader.java:58)
         at com.sap.engine.core.thread.execution.Executable.run(Executable.java:108)
         at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:304)
    Caused by: com.sap.engine.services.ejb3.container.ActionException: Unable to create folder /usr/sap/DXI/DVEBMGS00/j2ee/cluster/apps/sap.com/PI71_AF_myFirstCustomAdapter_ver_2.0/EJBContainer/applicationjars
         at com.sap.engine.services.ejb3.container.FSMakeFolder.perform(FSMakeFolder.java:48)
         at com.sap.engine.services.ejb3.container.CompositeAction.perform(CompositeAction.java:81)
         at com.sap.engine.services.ejb3.container.ContainerInterfaceImpl$Actions.perform(ContainerInterfaceImpl.java:887)
         ... 30 more
    Exception has been returned while the 'sap.com/PI71_AF_myFirstCustomAdapter_ver_2.0' was starting. Warning/Exception :
    [ERROR CODE DPL.DS.6193] Error while ; nested exception is:
         com.sap.engine.services.deploy.exceptions.ServerDeploymentException: [ERROR CODE DPL.DS.5030] Clusterwide exception: server ID 3999650:com.sap.engine.services.deploy.container.DeploymentException: Unable to create folder /usr/sap/DXI/DVEBMGS00/j2ee/cluster/apps/sap.com/PI71_AF_myFirstCustomAdapter_ver_2.0/EJBContainer/jars
         at com.sap.engine.services.ejb3.container.ContainerInterfaceImpl$Actions.perform(ContainerInterfaceImpl.java:893)
         at com.sap.engine.services.ejb3.container.ContainerInterfaceImpl.makeStartInitially(ContainerInterfaceImpl.java:771)
         at com.sap.engine.services.deploy.server.application.StartInitiallyTransaction.makeStartInitially(StartInitiallyTransaction.java:184)
         at com.sap.engine.services.deploy.server.application.StartInitiallyTransaction.prepare(StartInitiallyTransaction.java:145)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:420)
         at com.sap.engine.services.deploy.server.application.StartTransaction.doStartInitiallyGlobal(StartTransaction.java:449)
         at com.sap.engine.services.deploy.server.application.StartTransaction.doStartInitially(StartTransaction.java:437)
         at com.sap.engine.services.deploy.server.application.StartTransaction.prepare(StartTransaction.java:178)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:420)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:445)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.super_MakeAllPhases(ParallelAdapter.java:337)
         at com.sap.engine.services.deploy.server.application.StartTransaction.makeAllPhasesImpl(StartTransaction.java:550)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:251)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesAndWait(ParallelAdapter.java:392)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3389)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3375)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3278)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3251)
         at com.sap.engine.services.dc.lcm.impl.J2EELCMProcessor.doStart(J2EELCMProcessor.java:99)
         at com.sap.engine.services.dc.lcm.impl.LifeCycleManagerImpl.start(LifeCycleManagerImpl.java:62)
         at com.sap.engine.services.dc.lcm.impl.RemoteLCMImpl.start(RemoteLCMImpl.java:45)
         at com.sap.engine.services.dc.lcm.impl.RemoteLCMImplp4_Skel.dispatch(RemoteLCMImplp4_Skel.java:233)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:351)
         at com.sap.engine.services.rmi_p4.server.ServerDispatchImpl.run(ServerDispatchImpl.java:70)
         at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:62)
         at com.sap.engine.services.rmi_p4.P4Message.execute(P4Message.java:37)
         at com.sap.engine.services.cross.fca.FCAConnectorImpl.executeRequest(FCAConnectorImpl.java:872)
         at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:53)
         at com.sap.engine.services.cross.fca.MessageReader.run(MessageReader.java:58)
         at com.sap.engine.core.thread.execution.Executable.run(Executable.java:108)
         at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:304)
    Caused by: com.sap.engine.services.ejb3.container.ActionException: Unable to create folder /usr/sap/DXI/DVEBMGS00/j2ee/cluster/apps/sap.com/PI71_AF_myFirstCustomAdapter_ver_2.0/EJBContainer/jars
         at com.sap.engine.services.ejb3.container.FSMakeFolder.perform(FSMakeFolder.java:48)
         at com.sap.engine.services.ejb3.container.CompositeAction.perform(CompositeAction.java:81)
         at com.sap.engine.services.ejb3.container.ContainerInterfaceImpl$Actions.perform(ContainerInterfaceImpl.java:887)
         ... 30 more
    Exception has been returned while the 'sap.com/PI71_AF_myFirstCustomAdapter_ver_2.0' was starting. Warning/Exception :
    [ERROR CODE DPL.DS.6193] Error while ; nested exception is:
         com.sap.engine.services.deploy.exceptions.ServerDeploymentException: [ERROR CODE DPL.DS.5030] Clusterwide exception: server ID 3999650:com.sap.engine.services.deploy.exceptions.ServerDeploymentException: [ERROR CODE DPL.DS.5082] Exception while validating application sap.com/PI71_AF_myFirstCustomAdapter_ver_2.0.
    No one of the [EJBContainer] containers, which processed it, returned deployed component names.
    The registered containers in this moment were [CTCContainer, com.sap.caf.um.metadata, com.sap.security.ume, com.sap.security.login-modules, app_libraries_container, Cache Configuration Upload, servlet_jsp, dbcontentcontainer, connector, Cluster File System, JMSConnector, MigrationContainer, Monitoring Configurator, dbschemacontainer, appclient, orpersistence, PortalRuntimeContainer, JDBCConnector, EJBContainer, metamodelrepository, webservices_container, scheduler~container, ConfigurationsContainer, Content Container].
    Possible reasons :
         1.An AS Java service, which is providing a container, is stopped or not deployed.
         2.The containers, which processed it, are not implemented correct. They deployed or started initially the application, but didn't return deployed components in the application deployment info.
         at com.sap.engine.services.deploy.server.utils.ValidateUtils.missingDCinDIValidator(ValidateUtils.java:80)
         at com.sap.engine.services.deploy.server.application.StartInitiallyTransaction.prepare(StartInitiallyTransaction.java:149)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:420)
         at com.sap.engine.services.deploy.server.application.StartTransaction.doStartInitiallyGlobal(StartTransaction.java:449)
         at com.sap.engine.services.deploy.server.application.StartTransaction.doStartInitially(StartTransaction.java:437)
         at com.sap.engine.services.deploy.server.application.StartTransaction.prepare(StartTransaction.java:178)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:420)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:445)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.super_MakeAllPhases(ParallelAdapter.java:337)
         at com.sap.engine.services.deploy.server.application.StartTransaction.makeAllPhasesImpl(StartTransaction.java:550)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:251)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesAndWait(ParallelAdapter.java:392)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3389)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3375)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3278)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3251)
         at com.sap.engine.services.dc.lcm.impl.J2EELCMProcessor.doStart(J2EELCMProcessor.java:99)
         at com.sap.engine.services.dc.lcm.impl.LifeCycleManagerImpl.start(LifeCycleManagerImpl.java:62)
         at com.sap.engine.services.dc.lcm.impl.RemoteLCMImpl.start(RemoteLCMImpl.java:45)
         at com.sap.engine.services.dc.lcm.impl.RemoteLCMImplp4_Skel.dispatch(RemoteLCMImplp4_Skel.java:233)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:351)
         at com.sap.engine.services.rmi_p4.server.ServerDispatchImpl.run(ServerDispatchImpl.java:70)
         at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:62)
         at com.sap.engine.services.rmi_p4.P4Message.execute(P4Message.java:37)
         at com.sap.engine.services.cross.fca.FCAConnectorImpl.executeRequest(FCAConnectorImpl.java:872)
         at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:53)
         at com.sap.engine.services.cross.fca.MessageReader.run(MessageReader.java:58)
         at com.sap.engine.core.thread.execution.Executable.run(Executable.java:108)
         at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:304)

  • Creation of Space failes with the following error

    SR- 3-6660108191
    Ver-11.1.1.6
    In customer production environment when they attempting to creat a space from WebCenter, they receive the following:
    Creation of space SteveSpace4_11January2013 failed with errors : WCS#2013.01.11.08.47.28: Errors were encountered in creating space. The main error is - Unable to grant permission SteveSpace4_11January2013. You may want to delete the current space if it is visible in your lists. Contact the administrator if the problem persists.
    In Spaces logs-
    <Jan 11, 2013 9:44:37 AM CST> <Warning> <oracle.webcenter.spaces> <BEA-000000> <Ignorable Exception in Create GS
    oracle.webcenter.spaces.operations.GroupSpaceOpsIgnorableException: Granting of Role Moderator partially succeeded for identity MCCORMICK.STEPHEN.J.1251888201-0001. Granting permissions for Discussions failed.
         at oracle.webcenter.spaces.internal.model.operations.GroupSpaceOpsSecurityRoleMappingHandlerPlugin.duringCreateGroupSpace(GroupSpaceOpsSecurityRoleMappingHandlerPlugin.java:631)
         at oracle.webcenter.spaces.internal.model.SpacesManagerImpl$2.run(SpacesManagerImpl.java:1414)
         at oracle.webcenter.concurrent.RunnableTask.call(RunnableTask.java:44)
         at oracle.webcenter.concurrent.Submission$2.run(Submission.java:484)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.webcenter.concurrent.Submission.runAsPrivileged(Submission.java:498)
         at oracle.webcenter.concurrent.Submission.run(Submission.java:424)
         at oracle.webcenter.concurrent.Submission$SubmissionFutureTask.run(Submission.java:888)
         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at oracle.webcenter.concurrent.ModifiedThreadPoolExecutor$Worker.runTask(ModifiedThreadPoolExecutor.java:657)
         at oracle.webcenter.concurrent.ModifiedThreadPoolExecutor$Worker.run(ModifiedThreadPoolExecutor.java:682)
         at java.lang.Thread.run(Thread.java:662)
    Caused By: oracle.webcenter.webcenterapp.security.WCSecurityRoleMappingException: Granting of Role Moderator partially succeeded for identity MCCORMICK.STEPHEN.J.1251888201-0001. Granting permissions for Discussions failed.
         at oracle.webcenter.security.rolemapping.RoleManager.processServiceUsers(RoleManager.java:757)
         at oracle.webcenter.security.rolemapping.RoleManager.processUsers(RoleManager.java:378)
    Jan 11, 2013 9:44:37 AM CST> <Warning> <oracle.webcenter.spaces> <BEA-000000> <Exiting createGroupSpaceInternal>
    <Jan 11, 2013 9:44:37 AM CST> <Error> <oracle.webcenter.spaces> <BEA-000000> <Creation of space SteveSpace7_11January2013 completed with warnings : WCS#2013.01.11.09.44.37: Space created with the following warning(s) : Issues were faced
    while provisioning the service(s) - Announcements. Check the space services settings page if these services have been provisioned.>
    <Jan 11, 2013 9:44:37 AM CST> <Error> <oracle.webcenter.spaces> <BEA-000000> <The exception occured during space creation for spaceName = SteveSpace7_11January2013due to =>
    <Jan 11, 2013 9:44:37 AM CST> <Error> <oracle.webcenter.spaces> <BEA-000000> <
    oracle.webcenter.spaces.SpacesException: Space created with the following warning(s) : Issues were faced while provisioning the service(s) - Announcements. Check the space services settings page if these services have been provisioned.
         at oracle.webcenter.spaces.internal.model.SpacesManagerImpl.createGroupSpaceInternal(SpacesManagerImpl.java:1865)
         at oracle.webcenter.spaces.internal.model.SpacesManagerImpl.access$200(SpacesManagerImpl.java:225)
         at oracle.webcenter.spaces.internal.model.SpacesManagerImpl$1.run(SpacesManagerImpl.java:553)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:259)
         at oracle.security.jps.internal.jaas.AccActionExecutor.execute(AccActionExecutor.java:65)
         at oracle.security.jps.internal.jaas.CascadeActionExecutor$SubjectPrivilegedAction.run(Cascade
    In Diagnostic logs:
    [2013-01-11T09:44:06.053-06:00] [WC_Spaces2] [WARNING] [] [oracle.webcenter.webcenterapp] [tid: pool-1-daemon-thread-4] [userId: MCCORMICK.STEPHEN.J.1251888201-0001] [ecid: 0000mii9Zr1Bt1G5uz4EyX00051O0005OU,0:1:3:290:26] [APP: webcenter#11.1.1.4.0] [URI: /webcenter/faces/oracle/webcenter/webcenterapp/view/pages/admin/WebCenterAdmin-Communities.jspx] grantRoleForRoleMappedServices : warning : serviceId :oracle.webcenter.collab.forum
    [2013-01-11T09:44:06.058-06:00] [WC_Spaces2] [WARNING] [] [oracle.webcenter.webcenterapp] [tid: pool-1-daemon-thread-4] [userId: MCCORMICK.STEPHEN.J.1251888201-0001] [ecid: 0000mii9Zr1Bt1G5uz4EyX00051O0005OU,0:1:3:290:26] [APP: webcenter#11.1.1.4.0] [URI: /webcenter/faces/oracle/webcenter/webcenterapp/view/pages/admin/WebCenterAdmin-Communities.jspx] [[
    oracle.webcenter.security.rolemapping.RoleMappingException: The Role Mapping provider encountered an exception while performing security role mapping for service oracle.webcenter.collab.forum.
         at oracle.webcenter.security.rolemapping.RoleManager.processServiceUsers(RoleManager.java:757)
         at oracle.webcenter.security.rolemapping.RoleManager.processUsers(RoleManager.java:378)
         at oracle.webcenter.security.rolemapping.RoleManager.addUsers(RoleManager.java:243)
         at oracle.webcenter.webcenterapp.internal.model.security.WCSecurityManagerImpl$5.run(WCSecurityManagerImpl.java:1313)
         at oracle.webcenter.concurrent.RunnableTask.call(RunnableTask.java:44)
         at oracle.webcenter.concurrent.Submission$2.run(Submission.java:484)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.webcenter.concurrent.Submission.runAsPrivileged(Submission.java:498)
         at oracle.webcenter.concurrent.Submission.run(Submission.java:424)
         at oracle.webcenter.concurrent.Submission$SubmissionFutureTask.run(Submission.java:888)
         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at oracle.webcenter.concurrent.ModifiedThreadPoolExecutor$Worker.runTask(ModifiedThreadPoolExecutor.java:657)
         at oracle.webcenter.concurrent.ModifiedThreadPoolExecutor$Worker.run(ModifiedThreadPoolExecutor.java:682)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: oracle.webcenter.security.rolemapping.spi.RoleMappingSPIException: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Bad response: 400 Bad Request
         at oracle.webcenter.collab.share.security.DefaultRoleMapper.addUsers(DefaultRoleMapper.java:78)
    This looks like the user dont have permissions to create the space, but even Admin user weblogic also geting the same error.
    Please may I know how to debug this and where to see for the permissions.
    Thanks!!

    Hi,
    Please follow steps, may be your issue will be resolved.
    Steps:
    1.Create the Discussions administrator user using the DefaultAuthenticator provider as indicated here:
    Oracle Fusion Middleware Administrator's Guide for Oracle WebCenter
    11g Release 1 (11.1.1)
    23 Managing Security
    23.3.4.1 Migrating the WebCenter Discussions Server to use an External LDAP
    The Discussions Administrator user must exist in the external LDAP and also you need to create the user using the DefaultAuthenticator provider in the embedded LDAP.The username in the embedded LDAP must match the username in the External LDAP.
    Review all steps from the above section of the documentation to be sure you performed all the steps.
    2.Grant WebCenter Spaces Administrator Role to the Discussions Administrator user as indicated here:
    Oracle Fusion Middleware Administrator's Guide for Oracle WebCenter
    23.3 Configuring the Identity Store
    23.3.5 Granting the WebCenter Spaces Administrator Role to a WebCenter Spaces User
    23.3.5.1 Granting the WebCenter Spaces Administrator Role Using Fusion Middleware Control
    3.Restart the WLS_Spaces and WLS_Services Managed Servers.
    If this helps please mark.
    Regards,
    Kishore

  • TS1814 hello i have  a trouble with my i phone... i was trying to update a new software and at the end it says that there is some error and i cannot turn my i phone bak on all it shows is itunes logo in the midlle and usb cable with an arrow pointing to t

    hello i have  a trouble with my i phone... i was trying to update a new software and at the end it says that there is some error and i cannot turn my i phone bak on all it shows is itunes logo in the midlle and usb cable with an arrow pointing at the logo. If anyone knows what it is and what i should do please get back to me as soon as possible many thanks.

    http://support.apple.com/kb/HT1808

  • HT1146 I have a trouble with my mail.

    Hello, I have a trouble with my mail. It is blocked and do not open and do not let turn off the computer. How could I restart or shut down to unblock the mail? If anybody can help me I will appreciate it, thanks.
    Regards,
    JMO

    Bao can you tell me exactly what the hardware problem was so i can get mine fixed accordingly because we donot hav a apple store over here

  • Hello, I have a problem with the iPod, is that the iPod does not sync all the songs that are on my Itunes. I have 373 songs on the iPod and iTunes 512 in ... What do I do?

    Hello,i have a problem with the Ipod,is that the Ipod doesn't sync all the songs in my Itunes. I have 373 songs in my Ipod and 512 sons in my Itunes. What do i do?

    Hello,
    I take it you haven't unticked any of the songs listed on your iTunes Library? Also have you tried selecting all your songs which you wish to add to your iPod, and dragging them over your Devices "iPod Nano"; and seeing if that copies all songs on to your iPod?
    Another idea is just check that your iPod has enough space for the rest of your songs to be added to your device.
    Hope this helps.

  • Hello that is able to separate an apple icloud account My IMEI. I buy a Used iphone ios 7.1.1 5c but after restore it asks me iCloud account.I have no contact with the seller. thank you for your reply.

    Hello
    that is able to separate an apple icloud account My IMEI *******.
    I buy a Used iphone 5c ios 7.1.1  but after restore it asks me iCloud account.
    I have no contact with the seller.
    thank you for your reply
    <Edited by Host>

    The iPhone has Activation Lock and will require you to have the previous owner's Apple ID and password or you'll need to get the previous owner to remove the device from his/her iCloud account:
    http://support.apple.com/kb/PH2702
    If you can't reach the previous owner or he/she is unwilling to cooperate, then the device is unusable by you. Return the iPhone for a refund if you can.
    Regards.

  • I have a trouble, with lion my finder doesn't work, i can't open any window

    i have a trouble, with lion my finder doesn't work, i can't open any window

    Hi there are various threads here for this issue
    this one being the most extensive
    https://discussions.apple.com/thread/3191263?start=0&tstart=0
    First step is re-start the finder
    1. Press command-option-esc simultaneously
    2. Select Finder
    3. Click on re-start
    Then according to the above link, several people tried different things.
    Try out what you find in above thread
    Cheers

  • I need any help i can get, im having trouble with the app find my iphone. I have lost my iphone, checked on the computer, and somehow, took it away so how do i get it back??

    Help
    I need any help i can get, im having trouble with the app find my iphone. I have lost my iphone, checked on the computer, and somehow, took it away so how do i get it back??

    If you are saying that after signing into iCloud it is telling you device is not found, it could be for any number of reasons. If the battery is dead, if the SIM has been removed, or if someone else has the phone and they have restored it, it will not be shown. Also, if you located it once and then sent a remote wipe, it disables the abililty to locate the phone with Find My iPhone.

Maybe you are looking for

  • Re open the closed Posting Periods - Very Urgent

    Dear Experts, We have an urgent problem to solve.The company code currently we are configuring uses fiscal year (oct - Sept) and the other company codes in our client site uses (jan -Dec). So by mistake we closed posting periods using MMPV upto 2007

  • F110 Open Items wont close up

    While generating payment proposal i get all the lines registered in my system as open items... i have paid most of them but they still appear as open and i have to block them manually one by one... this occurs in Tx code F110... is this a common trou

  • Adjusting row height in JTable

    hi: i think i have a tricky one.. i have a Jtable where the cell renderers extend JTextArea. I set the column width, but because the cells can contain any amount of text, i have to adjust each row width to accomodate the text. i used the FontMetrics

  • DFS replication issue

    Hello, We have 1 server at branch office and 1 server at datacenter and have DFS-R enabled for user related data. By default we have enabled branch office server DFS path for end users. Replication was broken some time back since the branch server OS

  • Price List and Last Purchase Price.

    When a Price List based on the Last Purchase Price is created, we have found that a set of problems arise in companies using u201CGoods Receipt POu201D. EXAMPLE: Every article received from their suppliers are enclosed with a GOODS RECEIPT. After 20