A/b test groups

I’ve to do a A/B test by count certain members in one group vs not in another group.
Background, a customer can purchase multiple products and they will have a product mix.
Customer A purchased products 101, 102, 103, then the product mix is ^101^102^103^, where ^ is a separator.
Note: product mix is a sorted distinct list
I’ve it working in slow performing rate (when the mix gets to the thousands, it runs for very long time ~20hrs).
Is there a faster / cleaner method?
Now, I have 2 tables
1. MIX --- Counts by PRODUCT_MIX for all my customers
2. LKUP --- Distinct PRODUCT list
Sample Data:
MIX               CNT     
^101^102^  10
^102^103^  5
^103^           1
LKUP
101
102
103
TAB1
PRODUCT      CONTROL_CNT    TEST_CNT
101                  6                             10
102                  1                             15
103                 10                           6
CREATE TABLE TAB1
TABLESPACE XXX_TBS COMPRESS NOLOGGING
AS 
SELECT
      lkup.PRODUCT,
      --------------- (CONTROL GROUP) only return someone did not have the PRODUCT in their MIX
      SUM(CASE
        WHEN instr(src.PRODUCT_MIX, '^'||lkup.PRODUCT||'^') = 0 THEN src.CNT
        ELSE NULL
      end) as CONTROL_CNT,
      --------------- (TEST GROUP) only return when someone has the PRODUCT in their MIX
      sum(case
        when instr(src.PRODUCT_MIX, '^'||lkup.PRODUCT||'^') > 0 then src.CNT
        else null
      end) as TEST_CNT
FROM
  ----- We use LKUP as the driver table eventhough this is a cartesian operation
  ----- the key here is to get all possible combo, but base on if the PRODUCT matches it will
  ----- either put them into CONTROL or TEST group.
  PRODUCT_MIX SRC,
  PRODUCT_LKUP LKUP
GROUP BY lkup.PRODUCT;Thank You
Edited by: BluShadow on 30-Mar-2011 12:26
added {noformat}{noformat} tags                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

not sure I totally understand but you could try this.
step 1 make a row for up to the count number for each row so
^101^102^ cnt = 10 gets 10 rows and ^102^103^ cnt = 5 gets 5 rows.
with t as
select mix, cnt, rn from  (select '^101^102^'  mix, 10 cnt from dual union
                                select '^102^103^', 5  cnt from dual union
                                select '^103^',  1 from dual
MODEL
partition by (cnt)
DIMENSION BY (0 d)
measures (mix, cnt-1 i,  0 rn)
RULES
      ITERATE (100)  until iteration_number = i[0]
      (mix [ITERATION_NUMBER] = mix[0],
       rn[ITERATION_NUMBER] = iteration_number + 1)
select mix  cnt,  rn
from t
order by cnt, rn
CNT     RN
^101^102^     1
^101^102^     2
^101^102^     3
^101^102^     4
^101^102^     5
^101^102^     6
^101^102^     7
^101^102^     8
^101^102^     9
^101^102^     10
^102^103^     1
^102^103^     2
^102^103^     3
^102^103^     4
^102^103^     5
^103^     1step 2 break up the deliminiter of ^ into new rows so ^102^103^ would become two rows a 102 and a 103.
with t as
select mix, cnt, rn from  (select '^101^102^'  mix, 10 cnt from dual union
                                select '^102^103^', 5  cnt from dual union
                                select '^103^',  1 from dual
MODEL
partition by (cnt)
DIMENSION BY (0 d)
measures (mix, cnt-1 i,  0 rn)
RULES
      ITERATE (100)  until iteration_number = i[0]
      (mix [ITERATION_NUMBER] = mix[0],
       rn[ITERATION_NUMBER] = iteration_number + 1)
select mix --, cnt,  rn
from t
MODEL RETURN UPDATED ROWS
partition by (cnt, rn)
dimension by (0 d)
measures (mix)
RULES
ITERATE (1000) UNTIL mix[ITERATION_NUMBER] IS NULL
(mix [ITERATION_NUMBER + 1] =
     REGEXP_SUBSTR (mix[0],
                                     '[^\^]+',
                                   1,
                              ITERATION_NUMBER + 1)
order by mix
MIX
101
101
101
101
101
101
101
101
101
101
102
102
102
102
102
102
102
102
102
102
102
102
102
102
102
103
103
103
103
103
103now using this table it should be easy to count up the number of each group.
you said when the mix gets to the thousands
in that case you  might want to increase ITERATE (1000) to a higher number.Edited by: pollywog on Mar 30, 2011 8:33 AM

Similar Messages

  • Beta Test Group

    Hi -
    Does anyone know if there is a
    beta user test group for future releases available? I
    would like to get in and have the visibility to see future
    enhancements and not just read a document list/screen
    shots or a view a controlled on line demo. Our company is
    too small to have a separate test instance set up.<br
    />
    I think having some of the user community
    in there before launch could help eliminate some issues
    when going live or at least be prepared for them.

    Hello PB,
    There are no current
    plans for a beta test group on future releases.<br
    />
    Have a great day.
    <br
    />Saryn

  • Error while deleting a custom group associated with role 'BIConsumer'

    Hi All,
    We are using OBIEE 11.1.1.6.2 and using the BISQLGroupProvider to get the groups from database tables for an user available in LDAP.
    I have a group named 'OBA Test Group' created in a database table. This group is linked to a user in another database table.
    In OBIEE enterprise manager, the group 'OBA Test Group' is associated with Application role 'BIConsumer'.
    In OBIEE enterprise manager , when i try to remove this custom group from the application role 'BIConsumer' i am getting the error as 'The search for role OBA Test Group failed'.
    In the admin log below is the error message:
    java.sql.SQLSyntaxErrorException: ORA-00918: column ambiguously defined
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
    at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
    at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
    at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:947)
    at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1283)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1441)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3823)
    at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1671)
    at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:135)
    at oracle.ods.virtualization.engine.backend.db.DBEntrySet2.hasMoreInternal(DBEntrySet2.java:284)
    at oracle.ods.virtualization.engine.backend.db.DBEntrySet2.initialize(DBEntrySet2.java:176)
    at oracle.ods.virtualization.engine.backend.db.BackendDB.getMatches(BackendDB.java:2108)
    at oracle.ods.virtualization.engine.backend.db.BackendDB.get(BackendDB.java:885)
    at oracle.ods.virtualization.engine.chain.Chain.nextGet(Chain.java:303)
    at oracle.ods.virtualization.engine.chain.BasePlugin.get(BasePlugin.java:89)
    at oracle.ods.virtualization.engine.chain.plugins.virtualattr.VirtualAttributePlugin.get(VirtualAttributePlugin.java:220)
    at oracle.ods.virtualization.engine.chain.Chain.nextGet(Chain.java:314)
    at oracle.ods.virtualization.engine.chain.PluginChain.runGet(PluginChain.java:211)
    at oracle.ods.virtualization.engine.chain.PluginManager.runGet(PluginManager.java:351)
    at oracle.ods.virtualization.engine.chain.PluginManager.runGet(PluginManager.java:316)
    at oracle.ods.virtualization.engine.backend.AdapterServiceInterface.getByAdapter(AdapterServiceInterface.java:582)
    at oracle.ods.virtualization.engine.backend.AdapterServiceInterface.get(AdapterServiceInterface.java:453)
    at oracle.ods.virtualization.engine.backend.BackendHandler.get(BackendHandler.java:429)
    at oracle.ods.virtualization.engine.chain.Chain.nextGet(Chain.java:295)
    at oracle.ods.virtualization.engine.chain.BasePlugin.get(BasePlugin.java:89)
    at oracle.ods.virtualization.engine.chain.plugins.uniqueentry.UniqueEntryPlugin.get(UniqueEntryPlugin.java:132)
    at oracle.ods.virtualization.engine.chain.Chain.nextGet(Chain.java:314)
    at oracle.ods.virtualization.engine.chain.BasePlugin.get(BasePlugin.java:89)
    at oracle.ods.virtualization.engine.chain.plugins.mlsfilter.MlsFilter.get(MlsFilter.java:116)
    at oracle.ods.virtualization.engine.chain.Chain.nextGet(Chain.java:314)
    at oracle.ods.virtualization.engine.chain.plugins.genericmapping.GenericMapper.get(GenericMapper.java:241)
    at oracle.ods.virtualization.engine.chain.Chain.nextGet(Chain.java:314)
    at oracle.ods.virtualization.engine.chain.PluginChain.runGet(PluginChain.java:211)
    at oracle.ods.virtualization.engine.chain.PluginManager.runGet(PluginManager.java:351)
    at oracle.ods.virtualization.engine.chain.PluginManager.runGet(PluginManager.java:316)
    at oracle.ods.virtualization.engine.chain.GlobalServicesInterface.runGet(GlobalServicesInterface.java:137)
    at oracle.ods.virtualization.operation.SearchOperation.process(SearchOperation.java:168)
    at oracle.ods.virtualization.service.DefaultVirtualizationSession.search(DefaultVirtualizationSession.java:191)
    at oracle.ods.virtualization.service.DefaultVirtualizationSession.search(DefaultVirtualizationSession.java:175)
    at oracle.security.idm.providers.libovd.util.LibOVDDirectSearchResponse.search(LibOVDDirectSearchResponse.java:302)
    at oracle.security.idm.providers.libovd.util.LibOVDDirectSearchResponse.getNextPage(LibOVDDirectSearchResponse.java:291)
    at oracle.security.idm.providers.libovd.util.LibOVDDirectSearchResponse.initSearch(LibOVDDirectSearchResponse.java:130)
    at oracle.security.idm.providers.libovd.util.LibOVDNonPagedSearchResponse.<init>(LibOVDNonPagedSearchResponse.java:59)
    at oracle.security.idm.providers.libovd.util.LibOVDRealm.searchRoles(LibOVDRealm.java:477)
    at oracle.security.idm.providers.libovd.LibOVDIdentityStore.searchRole(LibOVDIdentityStore.java:538)
    at oracle.security.jps.mas.mgmt.jmx.policy.JpsPolicyUtil.convertPortablePrincipal(JpsPolicyUtil.java:333)
    at oracle.security.jps.mas.mgmt.jmx.policy.JpsPolicyUtil.convertPortablePrincipal(JpsPolicyUtil.java:277)
    at oracle.security.jps.mas.mgmt.jmx.policy.JpsApplicationPolicyStoreImpl.addRemoveMembersToRole(JpsApplicationPolicyStoreImpl.java:566)
    at oracle.security.jps.mas.mgmt.jmx.policy.JpsApplicationPolicyStoreImpl.removeMembersFromApplicationRole(JpsApplicationPolicyStoreImpl.java:617)
    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:597)
    at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.doInvoke(OracleStandardEmitterMBean.java:1012)
    at oracle.adf.mbean.share.AdfMBeanInterceptor.internalInvoke(AdfMBeanInterceptor.java:104)
    at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
    at oracle.as.jmx.framework.generic.spi.security.AbstractMBeanSecurityInterceptor.internalInvoke(AbstractMBeanSecurityInterceptor.java:190)
    at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
    at oracle.security.jps.ee.jmx.JpsJmxInterceptor$2.run(JpsJmxInterceptor.java:358)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    at oracle.security.jps.ee.jmx.JpsJmxInterceptor.internalInvoke(JpsJmxInterceptor.java:374)
    at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
    at oracle.as.jmx.framework.generic.spi.interceptors.ContextClassLoaderMBeanInterceptor.internalInvoke(ContextClassLoaderMBeanInterceptor.java:103)
    at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
    at oracle.as.jmx.framework.generic.spi.interceptors.MBeanRestartInterceptor.internalInvoke(MBeanRestartInterceptor.java:116)
    at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
    at oracle.as.jmx.framework.generic.spi.interceptors.LoggingMBeanInterceptor.internalInvoke(LoggingMBeanInterceptor.java:524)
    at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
    at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.invoke(OracleStandardEmitterMBean.java:924)
    at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterConfigMBean.doInvoke(OracleStandardEmitterConfigMBean.java:398)
    at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterConfigMBean.invoke(OracleStandardEmitterConfigMBean.java:359)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
    at weblogic.management.mbeanservers.domainruntime.internal.FederatedMBeanServerInterceptor.invoke(FederatedMBeanServerInterceptor.java:349)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
    at weblogic.management.mbeanservers.internal.JMXContextInterceptor.invoke(JMXContextInterceptor.java:263)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
    at weblogic.management.mbeanservers.internal.SecurityMBeanMgmtOpsInterceptor.invoke(SecurityMBeanMgmtOpsInterceptor.java:65)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
    at weblogic.management.mbeanservers.internal.SecurityInterceptor.invoke(SecurityInterceptor.java:444)
    at weblogic.management.jmx.mbeanserver.WLSMBeanServer.invoke(WLSMBeanServer.java:323)
    at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$11$1.run(JMXConnectorSubjectForwarder.java:663)
    at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$11.run(JMXConnectorSubjectForwarder.java:661)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder.invoke(JMXConnectorSubjectForwarder.java:654)
    at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1427)
    at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
    at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1265)
    at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1367)
    at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)
    at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:222)
    at javax.management.remote.rmi.RMIConnectionImpl_1035_WLStub.invoke(Unknown Source)
    at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:993)
    at weblogic.management.remote.wlx.ClientProvider$WLXMBeanServerConnectionWrapper.invoke(ClientProvider.java:291)
    at weblogic.management.remote.wlx.ClientProvider$WLXMBeanServerConnectionWrapper.invoke(ClientProvider.java:291)
    at oracle.sysman.emas.model.security.EditAppRolesAdminBean.updateAppRole(EditAppRolesAdminBean.java:287)
    at oracle.sysman.emas.model.security.EditAppRolesAdminBean.updateAppRole(EditAppRolesAdminBean.java:214)
    at oracle.sysman.emas.pagemodel.security.identity.EditAppRolePageModel.applyChanges(EditAppRolePageModel.java:344)
    at oracle.sysman.emas.view.security.identity.EditAppRoleViewBean.applyCommand_action(EditAppRoleViewBean.java:127)
    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:597)
    at com.sun.el.parser.AstValue.invoke(Unknown Source)
    at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
    at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
    at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:920)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:406)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:197)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:101)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:179)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.sysman.core.model.targetauth.EMLangPrefFilter.doFilter(EMLangPrefFilter.java:158)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Please let me know if any more information is required.
    Regards,
    MKMOHANTY

    I suffered a similar situation, the solution I found was edit the file named "system-jazn-data.xml" and remove the entries that correspond to the role (expected to be delete). Of course take the precautions before do this actions (backup the file and do it in an test scenario).
    Regards.

  • I got a message to help test Mozilla and Mozilla is stopping the download of this even though I "Allowed it? The feedback submit will not let me submit any feedback to you? All info is included below,

    I downloaded Version 4 of Mozilla yesterday because while playing Farmville a Zynga game on Facebook my computer was going very slow and an error message kept coming up saying internet connection had been lost and it reconnects. I use Comodo.com for security and live support, they have checked and rechecked my pc . There is nothing wrong with it. About 3 weeks ago FB/Z made a change saying they were going to throttle the game and control the limits on gift giving. This is when all the problems started that I'm experiencing now. It happened in the past when I first started playing while I was using IE 8. That is why I first started using Firefox. Firefox was so much better; no hang ups, no disconnections. The games played really smooth and easy. Now Firefox is doing the same things that IE was doing. I tried Comodo Dragon for a while. It ran really fast without problems. But, I was getting all kinds of Facebook notices because Dragon's security wouldn't let them into my email or anything. In other words Facebook cannot handle a good browser with good security. I went back to using Mozilla and have been using it ever since. But, this is horrible. It is constantly saying waiting on app.facebook...... and everything just freezes up. Then today, I got a message from Mozilla about being in a test for a week to help Mozilla make the program better. I agreed and tried to download it. It couldn't be downloaded "because Firefox was preventing the download." I clicked on"Allow" the info bar went away. It was downloading but then I got a message in the download progress bar saying it could not be downloaded because Firefox would not let it. I deleted the previous version of Firefox yesterday because I thought it would interfere with the new one so it isn't that. I am using Windows 7 and it is up to date. I sent one feedback message today but I had to work to get it to submit. I tried again about a 30 minutes ago when I got the join the test group message again and nothing would submit so I came to Mozilla.com to this page to let you know what was going on. I don't know anything else to tell you. Is it possible that to throttle down the games the Facebook browser is using to much memory and processor speed and this is causing the computers to freeze up. Other game players are having these same issues. I bragged about Mozilla for over a year to my friends on Facebook and got a lot of them to change over to it. They have loved it. Now I worry about what's going on. These problems are happening almost every time I make I do anything. It is constant?

    EDIT: To try to work out what those two midden volumes are do I tried this in terminal, gave me this:
    [code]
    garys-mac-pro:volumes gary$ ls -l -a -i
    total 524
      13694 drwxrwxrwt@  7 root  admin     238 30 Oct 22:07 .
          2 drwxr-xr-x@ 38 root  wheel    1360 21 Oct 23:35 ..
          8 drwxrwxrwx   1 gary  staff  131072  1 Jan  1980 Data
          5 drwxrwxrwx   1 gary  staff  131072  1 Jan  1980 Linux
    3332740 lrwxr-xr-x   1 root  admin       1 30 Oct 22:03 OSX Maveriks -> /
          2 drwxr-xr-x   1 gary  staff   12288 11 Oct 19:20 Untitled
      47104 drwxr-xr-x   1 gary  staff    2048 12 Sep 17:59 Untitled 1
    garys-mac-pro:volumes gary$
    [/code]
    I presume those ghost type volumes, net and home, are the ones showing up there with names as . and .. and run by 7 root admin. Shouldn't technically I be the user admin since only I use this machine? No idea why i'm listed as gary staff ... Soz for all the questions, I really wanna learn

  • How to measure memory consumption during unit tests?

    Hello,
    I'm looking for simple tools to automate measurement of overall memory consumption during some memory-sensitive unit tests.
    I would like to apply this when running a batch of some test suite targetting tests that exercise memory-sensitive operations.
    The intent is, to verify that a modification of code in this area does not introduce regression (raise) of memory consumption.
    I would include it in the nightly build, and monitor evolution of summary figure (a-ah, the "userAccount" test suite consumed 615Mb last night, compared to 500Mb the night before... What did we check-in yesterday?)
    Running on Win32, the system-level info of memory consumed is known not to be accurate.
    Using perfmon is more accurate but it seems an overkill - plus it's difficult to automate, you have to attach it to an existing process...
    I've looked in the hprof included in Sun's JDK, but it seems to be targetted at investigating problems rather than discovering them. In particular there isn't a "summary line" of the total memory consumed...
    What tools do you use/suggest?

    However this requires manual code in my unit test
    classes themselves, e.g. in my setUp/tearDown
    methods.
    I was expecting something more orthogonal to the
    tests, that I could activate or not depending on the
    purpose of the test.Some IDEs display mmeory usage and execution time for each test/group of tests.
    If I don't have another option, OK I'll wire my own
    pre/post memory counting, maybe using AOP, and will
    activate memory measurement only when needed.If you need to check the memory used, I would do this.
    You can do the same thing with AOP. Unless you are using an AOP library, I doubt it is worth additional effort.
    Have you actually used your suggestion to automate
    memory consumption measurement as part of daily builds?Yes, but I have less than a dozen tests which fail if the memory consumption is significantly different.
    I have more test which fail if the execution time is siginificantly different.
    Rather than use the setUp()/tearDown() approach, I use the testMethod() as a wrapper for the real test and add the check inside it. This is useful as different test will use different amounts of memory.
    Plus, I did not understand your suggestion, can you elaborate?
    - I first assumed you meant freeMemory(), which, as
    you suggest, is not accurate, since it returns "an
    approximation of [available memory]"freeMemory gives the free memory from the total. The total can change so you need to take the total - free as the memory used.
    - I re-read it and now assume you do mean
    totalMemory(), which unfortunately will grow only
    when more memory than the initial heap setting is
    needed.more memory is needed when more memory is used. Unless your test uses a significant amount of memory there is no way to measure it reliably. i.e. if a GC is perform during a test, you can have the test appear to use less memory than it consumes.
    - Eventually, I may need to inlcude calls to
    System.gc() but I seem to remember it is best-effort
    only (endless discussion) and may not help accuracy.if you do a System.gc(); followed by a Thread.yield() at the start it can improve things marginally.

  • Can't send email to an icloud group in address book

    Hi
    I have set up some groups in icloud. I called one of these groups "Test", with only myself as a group member. In address book, when I right click to send email to "Test", it fires up a new email with the word Test in the email "to" field. If I try to send the email I get the error message "Test" doesn't seem to be a valid email address. It doesn't seem to be filling in the group email addresses in the "to" field.
    Am I doing something wrong?, or is this a known or unknown bug?
    I have other groups set up but I obviously don't want to send test emails out hence the test group "Test"
    Also when I edit the distribution list and right click the group name, "send email to "Test" is greyed out.
    Many thanks in advance

    Bump

  • Trying to send Calendar invites to "groups"

    Because of issues with our Exchange server, we are forced to use a backup calendar until server is fixed or replaced.  (Calendar events are not showing up, disappearing, etc.)  Attempting to use Calendar (brand G) on our IPhones, but having some problems getting started.  (IPhone 4S's and 5C's - all with 8.1.2 installed)
    Searching the web I found a way to create a "group" on an IPhone by setting up a new contact.  Using the group name as the contact name and the e-mail addresses of the group members in the "e-mail" area (addresses are set-up in this form  -  <[email protected]>, <[email protected]>, etc).
    This works fine when I send out an e-mail from my IPhone.  I just create a new e-mail and enter the group name in the (To:) line.    My test group has just 4 individuals and they all get the e-mail.
    But when I try to use that same "group" name for sending out an invite for a new calendar event, no one in the group receives it.  It shows up on my calendar (on IPhone and laptop) but shows no invitees.
    Would love to hear if someone has dealt with this.
    Also experiencing the GMT issue in trying to get this all worked out but hope that a fix for that might come to fruition when I get these other issues worked out.
    Thanks

    Have you found a solution?  I can't even Accept someone else's invite.  I went to the ActiveSync to solve the Calendar issue.  I might switch back to regular Email, contacts and hope the Calendar works.  I lose all other folder functions, task, memos, etc.  My 9900 was never a problem like this.  Not happy!

  • How do I find my Contact Groups in iPhone 3G (v2.0)?

    My Contacts are setup in Entourage on my Macbook & they auto-sync with Address Book which has all the contacts setup in Groups. iTunes successfully synched all my contacts across to my new iPhone 3G (I'm not using the iPhone for email yet - haven't set it up). When I go into Contacts, I can't see any buttons/options/anything that lets me see any groups + there's no group info showing within any individual contacts. In iTunes, when I sync, the Info tab lets me "Sync Address Book contacts' but only "All contacts" - the "Selected groups' radio button is greyed out (I can't select it) as is the checkbox for "Put new contacts created on this iPhone into the group". I don't know whether this is just a 'feature' here in Australia, but it seems odd. Am I doing something wrong or missing something here? It'd be really gr8 to get iPhone to recognise my contact groups. Any help appreciated thx.

    Well blow me down & keelhaul me! I've solved my own problem. The issue appears to be that Apple won't sync Smart Groups from Address Book to the iPhone. I created a test group with a few dud contacts in Address Book; iTunes sync'ed then OK & as soon as I went into Contacts on iPhone, there suddenly was the Groups button appearing with 2 Groups - my Test Group + all Other contacts. Nice one apple - another undocumented feature! Looks like I have to do away with the Smart Groups feature & convert them all to normal Groups in Address book - bugga!

  • How do I create portal groups dynamically?

    Has anyone written code to use the
    WWSEC_APP_GROUP_MGR.CREATE_GROUP procedure to create portal
    groups programmatically? I understand alot of what I'm supposed
    to pass, but some of these parameters are pretty obscure and
    obfuscated.
    I'm not sure this can be called like a normal (non-htp) stored
    procedure at all. I now understand nearly all of the
    parameters. Looking at the page source behind the Create Groups
    page, I see that many of these parameters are involved in the
    page generation itself, for example p_back_url being a variable
    that is probably attached to the action of "Previous" buttons
    that appear as you go through the process of creating a group.
    Here is my call:
    wwsec_app_group_mgr.create_group(p_groupname => 'X',
    p_description => 'TEST GROUP',
    p_db_role => 'DBA',
    p_hide_group => 'N',
    p_styleid => 6,
    p_group_id => y,
    p_siteid => 0,
    p_site_id => 1);
    where "y" is the nextval of the group sequence.
    Inserting SQLERRM into a table, I end up with this:
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at "SYS.OWA_UTIL", line 323
    ORA-06512: at "SYS.HTP", line 860
    ORA-06512: at "SYS.HTP", line 975
    ORA-06512: at "SYS.HTP", line 993
    ORA-06512: at "PORTAL30.WWUTL_HTP", line 25
    ORA-06512: at "PORTAL30.WWERR_API_ERROR_UI", line 182
    ORA-06512: at "PORTAL30.WWSEC_APP_GROUP_MGR", line 2891
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "PORTAL30.WWSEC_APP_GROUP_MGR", line 255
    ORA-01403: no data found
    I know that this procedure is responsible for generating the
    subsequent pages in the "create group" wizard. There's just no
    possible way to figure out how to use this procedure
    dynamically. I repeat we WILL NOT BE TYPING IN OVER 3500 GROUPS
    and 7000 USERS USING THE WIZARD. There must be a way.
    I don't want to just arbitrarily insert groups into tables
    behind the scenes without knowing what I'm doing. If this is as
    simple as inserting a row into wwsec_group$, wwsec_member$,
    etc., then great, but there's no way of knowing.
    Maybe an Oracle person can help me. Is there another API I can
    use, or is there a way to use this API as a stored procedure
    where I can just loop through a driving table to create a bunch
    of users and groups?
    I appreciate any help. I need to create over 3000 groups based
    on my client's organization. We REFUSE to do this by hand using
    portal's interface. Not that it's bad, it is just impractical
    in this instance.
    Adrian Klingel

    Never mind.

  • Can't Send Email to a Group

    Trying to send an email to groups I created in address book.  Opening a new email and typing group name brings up the group but it doesn't populate with emails.  I right clicked on the group to create an email and again, created the email but no email addresses in the to field. I created a test group with one email (mine) and it works fine. 
    I checked all the contacts in the groups that didn't work and none are corrupted or problematic as far as I can tell.  What to do?

    I have the same question.  Where is the "silhouette" in the email?  It has taken me multiple tries to create a group that I am able to send an email to.  However, not everyone in my address book "group" shows up when I type in my group name in an email.

  • Deleting all inherit sub-folders permission and reassigning to specific group

    Hi,
    i am trying to assign sub-folders level permission in sharepoint document library. Want to delete all previous inherit permission first and then assign  sub-folders permission to specific group. i am having problem with following code, cannot make a
    call to the function. Could you tell me what should i modify the code to work properly.
    Thanks in advanced
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using Microsoft.SharePoint;
    namespace ManageFolderLevelPermission
        class FolderLeverPermission
            static void Main(string[] args)
                //Connect to Sharepoint Site
                SPSite oSPSite = new SPSite("http://nyc01d1sp:8080/");
                //Open Sharepoint Site
                SPWeb web = oSPSite.OpenWeb("/hr/DI/");
                //Get the Sharepoint list item for giving permission
                foreach(SPFolder folder in web.GetFolder("http://nyc01d1sp:8080/hr/DI/docs/").SubFolders);
                setPermissions();
            private static void setPermissions(SPFolder folder,SPSite oSPSite, SPWeb web)
                SPGroupCollection spc = web.SiteGroups;
                //Break the role inheritance in order to assign individual rights on folders
                if (!folder.Item.HasUniqueRoleAssignments)
                    folder.Item.BreakRoleInheritance(true);
                while (folder.Item.RoleAssignments.Count > 0)
                    try
                        folder.Item.RoleAssignments.Remove(0);
                    catch (Exception)
                        break;
                //Role Assignment For the Current User
                SPUser CurrentUser = SPContext.Current.Web.CurrentUser;
                SPGroup group = spc["GroupName"];
                SPRoleAssignment roleAssignment = new SPRoleAssignment((SPPrincipal)CurrentUser);
                roleAssignment.RoleDefinitionBindings.Add(web.RoleDefinitions.GetByType(SPRoleType.Administrator));
                folder.Item.RoleAssignments.Add(roleAssignment);
                //Role Assignment for the Group "Contentteam - Management"
                roleAssignment = new SPRoleAssignment((SPPrincipal)group);
                roleAssignment.RoleDefinitionBindings.Add(web.RoleDefinitions.GetByType(SPRoleType.Administrator));
                folder.Item.RoleAssignments.Add(roleAssignment);            
                oSPSite.AllowUnsafeUpdates = true;
                folder.Item.Update();

    Hi Hemendra,
    Thanks for your reply. Actually i am trying to do two things here. First i am creating sub-folders using following code. And then trying to assign individual group permission on these sub-folders using following Powershell script. Now problem is when i am
    creating sub-folders, its also inheriting all the parent permission. Lets say i have customer folder name "Pepsi" and it has 4 sub-folders (like Account Management, Legal Drafts, Executed.. etc) . Now i want to assign individual group permission to each Sub-folder
    but root folder (Pepsi) should remain all the parent permissions. i did try to remove the permission first and then assigned permission to sub-folders. i was able to assign individual group permission to sub-folders but problem is, its also assigning Limited
    Access to the root folder. so basically i cannot see the folder as the root folder has limited access. Please let me know how can achieve that.
    using System;
    using System.Collections.Generic;
    using Microsoft.SharePoint;
    namespace Add_SubFolders
        class CreateFolders
            static void Main(string[] args)
                var foldersList=new List<string>();
                SPSecurity.RunWithElevatedPrivileges(delegate()
                    try
                        using (SPSite site = new SPSite("http://nyc01d1sp:8080/"))
                            using (SPWeb web = site.OpenWeb("/lel/DB/"))
                                web.AllowUnsafeUpdates = true;
                                    foreach (SPFolder folder in web.GetFolder("http://nyc01d1sp:8080/lel/DB/docs").SubFolders)
                                        if (folder.Url.ToString() != "/docs/Forms" && folder.Url.ToString() != "/docs/")
                                            foldersList.Add(folder.Url);
                                            SPFolder subFolder = web.GetFolder(folder.Url);
                                            Console.WriteLine("SubFolder is creating.....");
                                            subFolder.SubFolders.Add("Account Management");
                                            subFolder.SubFolders.Add("Legal Drafts");
                                            subFolder.SubFolders.Add("Executed");
                                            subFolder.SubFolders.Add("Sales");
                                        folder.Update();
                                        Console.WriteLine("SubFolder has been created");
                                    web.AllowUnsafeUpdates = false;
                    catch (Exception ex)
                        ex.Message.ToString();
      Power Shell Script to assign individual group to specific folders:
    Add-PSSnapin Microsoft.SharePoint.PowerShell -erroraction SilentlyContinue
      #$site = new-object Microsoft.SharePoint.SPSite("http://nyc01d1sp:8080/lel/DB/")
      #$site = Get-SPSite ("http://nyc01d1sp:8080/")
      $web= Get-SPWeb("http://nyc01d1sp:8080/")
      #$web = $site.OpenWeb()
      function GrantGroupPermission($groupName)
       [Microsoft.SharePoint.SPGroupCollection]$spgroups = $web.SiteGroups
       [Microsoft.SharePoint.SPGroup]$spgroup = $spgroups[$groupName]
       Write-Host $spgroup.Name -ForegroundColor Red
       $sproleass=new-object Microsoft.SharePoint.SPRoleAssignment([Microsoft.SharePoint.SPPrincipal]$spgroup)
       $folder.BreakRoleInheritance("true")
       $sproleass.RoleDefinitionBindings.Add($web.RoleDefinitions["Contribute"])
       $folder.RoleAssignments.Add($sproleass);
       Write-Host "Permission provided for group ", $groupName
      $doclib=[Microsoft.SharePoint.SPDocumentLibrary]$web.Lists["Shared Documents"]
      $foldercoll=$doclib.Folders;
      foreach($folder in $foldercoll)
       Write-Host $folder.Name
       if($folder.Name.Equals("Account Management"))
        GrantGroupPermission("Test Group")
       if($folder.Name.Equals("Executed"))
        GrantGroupPermission("Legal Group")
       if($folder.Name.Equals("Legal Drafts"))
        GrantGroupPermission("Legal Group")
       if($folder.Name.Equals("Sales"))
        GrantGroupPermission("Sales Group")
      Write-Host "Completed...."
      $web.Close()
      $web.Dispose()
      #$site.Dispose()

  • Can't edit members of my group message?  4S / iOS 8.1

    Up to date iPhone 4S user. I can add people to a group message, but if I go to details and swipe to delete on a name nothing happens...I can't seem to delete a user from the chat. (a friend asked to be removed from a particular group) Also to see if it was just that one chat, I started a test group message and can't seem to remove users from that one as well. If I delete the group completely will the other members be removed as well or will my friend continue receiving messages?
    This is frustrating...is this because someone in the group message is using an older phone or iOS?
    IOS 8.1 / iPhone 4S

    Howdy syafiqahmad,
    If your iMessage and FaceTime still hasn't activated by now, I would recommend you use this specific section of the following article as long as you verify you've done all the other troubleshooting from it for this issue:
    If you get an error when trying to activate iMessage or FaceTime 
    If you're using an iPhone, contact your carrier to make sure that you can receive SMS messages.
    Contact Apple Support.
    Thank you for using Apple Support Communities.
    Take care,
    Sterling

  • Group Names Do Not Appear on iPhone

    Yesterday, an anomaly occurred on my iPhone 3G (version 3.1.3) regarding accessing Contacts. When I would press the Contacts button, all I could get would be the list of contacts in one of my Groups. I could not access the pages showing ALL contacts, nor could I even move off page of that one Group, which was the latest Group I had accessed. I was confined into seeing only Group's contacts.
    On the theory that the Contacts software on the iPhone got corrupted, I went through all the trouble-shooting steps recommended by David Pogue in his book, iPhone: The Missing Manual, including resetting the iPhone's settings, and eventually doing a complete restore of my iPhone's firmware and software via iTunes.
    The restoration fixed one problem, but there seems to be another problem with Contacts that I do not understand. After the restoration, I can now access the complete list of my individual contacts. That's a good thing. But when I click the button to move to the Groups page, the Groups page is blank, even though my Address Book has about ten groups that it should be sending to MobileMe for syncing.
    As a test to force a change in my Calendar, my Contacts and my Groups lists, I added a new event, a new "test" contact, and two new "test" groups. Then I synced up my computer with MobileMe. The new names for the test groups show up fine on the MobileMe website, so syncing from my computer to the web is working OK. But, while the new event and the new contact show up fine on the iphone, the Groups page on the iPhone still is blank.
    Anyone have an insight into this problem? Am I overlooking something here? Or has something gone buggy on my iPhone?

    While waiting for a reply, I telephoned the local Apple Store, and I explained the problem, asking if I could get help over the phone, or if I had to bring my phone in. The person I spoke with was most helpful, and she solved my problem over the phone.
    She explained that, when an iPhone is restored via the backup saved by iTunes to the source computer, the restoration process does not bring an iPhone back to its exact previous state all by itself. In my case, even though some syncing was occurring via my MobileMe account, I needed to add that account back onto my iPhone via the Settings > Mail, Contacts, Calendars > Add Account > MobileMe commands.
    As soon as I had completed adding my MobileMe account email address and password, full syncing privileges were restored. The Groups page, showing all of my Group Names, together with the right-arrows leading to the contacts in each group, are now correctly showing up again.
    I do not know what may have happened yesterday to cause the glitch, but the restoration of my iPhone via iTunes, and the adding back of my MobileMe account registration information, has solved the problem.

  • Complex grouping of records in a table

    Hi my table structue is
    Start     End     Fare
    A     B     10
    B     A     10
    A     C     11
    C     B     12
    C     A     6
    I want the outpit in below format
    Start     End     Fare
    A     B     20
    A     C     17
    C     B     12
    Here what we are doing is if the end of any record say r1 is start of the anyother recod r2 and the end of the record 2 is the start of record r1 then we have to add them up and show based on the start whose comes start fist in alphabet.
    for ex in the above exmple A-C is 11 and C-A is 6 and since a comes first in alphabet we have to show that as A-C 17.
    How can we achieve this ???
    Any help guys...

    something like
    select least (st, e)
         , greatest (st, e)
         , sum (fare)
      from test
    group by least (st, e)
         , greatest (st, e)
    ;as in
    SQL> with test as
      2  (
      3  select 'A' st, 'B' e,    10 fare from dual union all
      4  select 'B' st, 'A' e,    10 fare from dual union all
      5  select 'A' st, 'C' e,    11 fare from dual union all
      6  select 'C' st, 'B' e,    12 fare from dual union all
      7  select 'C' st, 'A' e,    6 fare from dual
      8  )
      9  select least (st, e)
    10       , greatest (st, e)
    11       , sum (fare)
    12    from test
    13   group by least (st, e)
    14       , greatest (st, e)
    15  /
    L G  SUM(FARE)
    A C         17
    A B         20
    B C         12

  • Group by Error

    Hi, I was looking for some help in regards to working out how to group by my query.
    I have the following sql code that I have written (thanks to alot of help from this forum)
    select job_id,
           count(*) job_count,
           names,
           count(names) over (partition by names) AS names_Count,
           sum(decode(count(job_id),1,1,0)) over (partition by names) names_count_1
    from test
    group by job_id, names; that gives me the answers that I am looking for. What I was looking to find out was if i remove the select 'job_id and count(*) job_count, then this removes the first 2 columns which is what I am looking for, but the results are repeated due to how many names I have. I would like to have this grouped by names but if i remove the job_id in the group by than the answers change.
    How can I keep the job_id (as required for correct set of results) but have the names grouped up?
    Current Output
    Names | Names Count | Names_Count_1
    A          3                    2   
    A          3                    2 
    A          3                    2
    B          4                    4
    B          4                    4
    etc..I would like:
    Names | Names Count | Names_Count_1
    A          3                    2   
    B          4                    4 
    C          1                    1
    D          2                    1
    E          4                    4
    etc..if somebody could please advise.
    Thanks in advance.

    Hi, as posted my query worked with the example, but when I have tried this again I have just noticed that the answers I get using sub select query are different to the select query on its own.
    This gives me correct answers
    select job_id,
                   count(*) job_count,
                   names,
                   count(names) over (partition by names) AS names_Count,
                   sum(decode(count(job_id),1,1,0)) over (partition by names) names_count_1
              from test
             group by job_id, names;but when adding the the select distinct:
    select distinct name, names_count, names_count_1
      from (select job_id,
                   count(*) job_count,
                   names,
                   count(names) over (partition by names) AS names_Count,
                   sum(decode(count(job_id),1,1,0)) over (partition by names) names_count_1
              from test
             group by job_id, names);the answers I get are different for the same criterias, any ideas why?

Maybe you are looking for

  • How to change dynamically type of columns in DataTable

    Hi I have a dataTable bound to custom object properties. In a column i want to set text type as Link Action or OutputText depending on some criteria. Can this be done. If yes then how.

  • Itunes Can't See Purchaces Off iTouch When Plugged In?

    Hi, Im sorry if this is in the wrong section. So last night i brought a song off the itunes music store on my iPod Touch and this morning i plugged it in to my computer (XP if that helps??) and i can't find the song in the Purchased playlist, i can s

  • Importing Raw FIles in LR5

    Hi, So I have just started using a D4. I was trying to upload my photos, and the RAW files will not import. I was using LR3, and thought it had something to do with the version, so got LR5, and its not working. FIles could not be imported because the

  • Change texts in Approve Working Time

    Hi, In approve working time we have a dropdown wherein we have options like 'Approve' or 'Approve All'. Can we change the texts of these  like 'Approve Time for all'

  • How do i install netbeans?

    I will be taking a java programming class next month and wanted to tinker around before I get into a formal class. I cannot install netbeans 6.5.1. i uninstalled java 6, and updated the mac version of java 5 (update 4 i believe). I have xcode install