Creating URIs in rules

A question regarding the RDF rule support in Oracle 11g:
When creating custom rules, is there a way to infer the existence of
new individuals, by constructing URIs as an expression involving some of
the values in antecedents and using this in the consequents?
As an example, could I do something like the following contrived example
rule:
('familyRule',
'(?person1 :relatedTo ?person2)
(?person1 :surName ?surname1)
(?person2 :surName ?surname2)', -- antecedents
NULL,
'({'http://test.com#surName_' + ?surname1} rdf:type :Family)') -- consequent
or maybe of the form:
('familyRule',
'(?person1 :relatedTo ?person2)
(?person1 :surName ?surname1)
(?person2 :surName ?surname2)', -- antecedents
NULL,
'?family = expr('http://test#surName_' + ?surname1)', -- new variable
'(?family rdf:type :Family)
(?person1 :memberOf ?family)
(?person2 :memberOf ?family)') -- consequents
In other words, can the consequents refer to variables that are not in
the antecedents, and not constants, but created from an expression.
This is extremely useful in real-world rule sets. For some examples of such support, see the 'uriConcat' and 'makeInstance' functions in Jena rules.
Thanks,
Jan

Hello Jan,
Although I don't know what you've asked. But perhaps you can help me in a somewhat similar situation.
I am trying with a rule like this:
insert into mdsys.rdfr_RuleBase1 values
( 'Rule1' ,
'( ?instance rdf:type :ClassA)
(?instance :has_PropertyA ?a) (?a :hasValue ?c)',
'REGEXP_like(c, ''Open'')' ,
'(?instance :has_PropertyB ?b) (?b :hasValue "HIGH")' ,
sdo_rdf_aliases(...)
The purpose behind this rule is something like:
If I query for all instaces for ClassA that have the value of the property has_PropertyA as Open, then it should also give me all the instances that have a value for the property has_PropertyB as HIGH.
But when I query using this rule I donot get the required results.
The query is:
select j ID, c propertyA, d propertyB from table
( sdo_rdf_match ( '( ?instance rdf:type :ClassA)
(?instance :has_PropertyA ?a) (?a v2:hasValue ?c)
(?instance :has_ID ?i) (?i :hasValue ?j)
(?instance :has_PropertyB ?b) (?b :hasValue ?d)',
sdo_rdf_models( 'Model1' ) ,
sdo_rdf_rulebases(‘RuleBase1’) ,
sdo_rdf_aliases(…),
'c=''Open'''
);But, I do not get all the extra instances that have propertyB = HIGH. I only get some extra instances wherein propertyA = Open and propertyB = HIGH. The query result leaves many instances where propertyB=HIGH, but the propertyA has many other values.
Can you help me come out of the dark?
Thanks
Bhaskar

Similar Messages

  • Navigation and Creating  a navigation rule at runtime

    Hi all,
    How can I create a navigation rule at runtime?
    I got all my pages (names and locations) stored in a database table.All my pages are jspx format.
    I don't want to create navigation rules for each page, Instead I want to use the location stored in the database and create a navigation rule to navigate to.
    I tried navigating using ServletRequest :
            ExternalContext ectx = FacesContext.getCurrentInstance().getExternalContext();
            HttpServletResponse response = (HttpServletResponse)ectx.getResponse();
            HttpServletRequest  request = (HttpServletRequest)ectx.getRequest();
            request.getRequestDispatcher("/faces/Titles.jspx").forward(request,response);But it blows after the first call.
    is it possible to create a navigation rule in a Bean or is there another way to call jspx pages from a Bean without loosing the session.
    Can someone help me please.
    thanks in advance,
    Ahmad Esbita

    Ahmad,
    I don't know of any way to programatically create navigation cases at runtime. However, perhaps you could try creating a NavigationHandler decorator. Let's assume you have a function called "getViewIDforAction" that does the database lookup and returns the view ID for a given action code. You could do something like this:
    package my.code;
    import javax.faces.application.NavigationHandler;
    import javax.faces.context.FacesContext;
    public class MyNavigationManager extends NavigationHandler
       NavigationHandler _base;
       public NavigationManager (NavigationHandler base)
          super();
          _base = base;
       public void handleNavigation(FacesContext fc, String actionMethod, String actionName)
          String viewID = getViewIDforAction(actionName);
          if (viewID != null && ! "".equals(viewID))
             fc.getViewRoot().setViewId(viewID);
          else
             _base.handleNavigation(fc, actionMethod, actionName);
    }You'll also need this in faces-config.xml:
    <application>
      <navigation-handler>my.code.MyNavigationManager</navigation-handler>
    ...any other stuff...
    </application>Note: I haven't tested this or anything - just to give you an idea...
    Regards,
    john

  • Is there a way to create guides within ruler guides or aligned to ruler guides?

    So I was wondering for my own sake if there was a way to create guides within ruler guides or have it align to ruler guides? I am working on this magazine where the layout has a ruler guides. Which is inside the margins. I'm guessing this is to ensure the content is safe and also leaving adequate room for folios and running heads. This leaves me with the inside of the ruler guide to create my own grid. I tried doing this by hand and it seems to work fine however I was wondering is there a way to align the guides/grid (columns and rows) to the ruler guides instead of the margin or page? This would be extremely helpful as doing it by hand is quite the task. I'm trying to personally see how many rows and columns I can get in for a verstatile grid that can be used for different sorts of layout. (although I guess the grid could too many rows and columns) Any help would be greatly appreciated.

    Is there a way to make it align to the ruler guides instead of the page and margin? example of what i'm talking about:

  • How to create a new rule in Windows Firewall to permit some specific IPs and block all other computers

    Hello,
    I have a Win7 PC. I want to block all incoming connections except 3 or 4 IPs. How can i do this?
    I created a new rule to block all connections using this steps:
    Inbound rules > New Rule > Custom > All Programs > All Protocols / Ports > All Local/Remote IPs > Block the connectiion > All profiles > Then i gave a name
    This rule works fine and blocks all incoming connections.
    Then i want to create a new rule to allow specific IPs using this steps:
    Inbound rules > New Rule > Custom > All Programs > All Protocols / Ports > Remote IPs: 192.168.10.5, 192.168.10.10 > Allow the connection > All profiles > Then i gave a name
    But 192.168.10.5 and 192.168.10.10 couldn't reach W7 machine. 
    (If rules are disabled or FW is off; both IPs could reach W7 machine)
    Thanks

    Hi,
    How did you check these two IP address? Through remote access? According to your description, it should only allow remote IP could access this computer. Please also allow local IP for test.
    Roger Lu
    TechNet Community Support

  • Error while creating a business rule

    Hi all,
    I am trying to create abusiness rule from eas console when I am choosing business rule >repsitory view > rules>new rule> select outline,
    I am able to select a essbase database outline ,but while I am trying to select planning outline i am getting the following error
    WARN http-10080-Processor4 com.hyperion.hbr.plugin.planning.PlanningMetadata - Error connecting to Planning server metamorp-ee0b9e.
    Any suggestion?
    Thanks

    Hi,
    The first thing to always try is :-
    stop planning service
    stop eas service
    restart rmi service
    start eas service
    start planning service
    log into planning application you want to create a business rule for.
    log into EAS, create business rule, associate outline with planning app
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • OIA 11.1.1.5 error while creating Business structure Rule

    Hi All,
    I deployed OIA in standalone Env. I am getting the following error while creating Business structure Rule.
    i was facing problem while deploying OIA with RBACX_HOME so i replaced all RBACX_HOME with actual path. but now i am facing the below problem.
    14:25:59,592 INFO [Config] OSCache: Getting properties from URL file:/opt/Oracle/OIA_Install/rbacx_staging/WEB-INF/classes/oscache.properties for the default configuration
    14:25:59,618 INFO [Config] OSCache: Properties read {cache.blocking=true, cache.algorithm=com.opensymphony.oscache.base.algorithm.LRUCache, cache.capacity=10000, cache.memory=true}
    14:25:59,618 INFO [GeneralCacheAdministrator] Constructed GeneralCacheAdministrator()
    14:25:59,620 INFO [GeneralCacheAdministrator] Creating new cache
    14:26:31,339 ERROR [SpringContextAwareXMLWorkflowFactory] could not resolve environment variable:RBACX_HOME
    14:26:31,339 ERROR [SpringContextAwareXMLWorkflowFactory] could not resolve environment variable:RBACX_HOME
    14:26:31,339 ERROR [SpringContextAwareXMLWorkflowFactory] could not resolve environment variable:RBACX_HOME
    14:26:31,339 ERROR [SpringContextAwareXMLWorkflowFactory] could not resolve environment variable:RBACX_HOME
    14:26:31,339 ERROR [SpringContextAwareXMLWorkflowFactory] could not resolve environment variable:RBACX_HOME
    14:26:31,339 ERROR [SpringContextAwareXMLWorkflowFactory] could not resolve environment variable:RBACX_HOME
    14:26:31,339 ERROR [SpringContextAwareXMLWorkflowFactory] could not resolve environment variable:RBACX_HOME
    14:26:31,339 ERROR [SpringContextAwareXMLWorkflowFactory] could not resolve environment variable:RBACX_HOME
    14:26:31,339 ERROR [SpringContextAwareXMLWorkflowFactory] could not resolve environment variable:RBACX_HOME
    14:26:31,339 ERROR [SpringContextAwareXMLWorkflowFactory] could not resolve environment variable:RBACX_HOME
    14:26:31,339 ERROR [SpringContextAwareXMLWorkflowFactory] could not resolve environment variable:RBACX_HOME
    14:26:31,339 ERROR [SpringContextAwareXMLWorkflowFactory] could not resolve environment variable:RBACX_HOME
    14:26:31,339 ERROR [SpringContextAwareXMLWorkflowFactory] could not resolve environment variable:RBACX_HOME
    14:26:31,339 ERROR [SpringContextAwareXMLWorkflowFactory] could not resolve environment variable:RBACX_HOME
    14:26:31,339 ERROR [SpringContextAwareXMLWorkflowFactory] could not resolve environment variable:RBACX_HOME
    14:26:31,339 ERROR [SpringContextAwareXMLWorkflowFactory] could not resolve environment variable:RBACX_HOME
    14:26:42,803 DEBUG [WavesetIAMSolution] Setting batch size: 100
    14:26:42,804 DEBUG [WavesetIAMSolution] Setting Role Batch Size 10
    14:26:43,230 DEBUG [FileIAMSolution] Setting batch size: 100
    14:26:43,230 DEBUG [FileIAMSolution] Setting Role Batch Size 10
    14:27:00,622 INFO [ContextLifecycleListener] Oracle Identity Analytics (build: 11.1.1.5.0.20110816_22_11024) Started
    14:30:15,915 ERROR [AbstractWorkflow] Error loading workflow User Business Structure Rule Creation Workflow
    com.opensymphony.workflow.FactoryException: unable to load modified workflow definition,workflow name:User Business Structure Rule Creation Workflow file:${RBACX_HOME}/conf/workflows/userbusinessstructure-rule-creation-workflow.xml
         at com.vaau.rbacx.workflow.SpringContextAwareXMLWorkflowFactory.loadWorkflow(SpringContextAwareXMLWorkflowFactory.java:96)
         at com.vaau.rbacx.workflow.SpringContextAwareXMLWorkflowFactory.getWorkflow(SpringContextAwareXMLWorkflowFactory.java:85)
         at com.opensymphony.workflow.loader.AbstractWorkflowFactory.getWorkflow(AbstractWorkflowFactory.java:48)
         at com.opensymphony.workflow.config.SpringConfiguration.getWorkflow(SpringConfiguration.java:69)
         at com.opensymphony.workflow.AbstractWorkflow.getWorkflowDescriptor(AbstractWorkflow.java:319)
         at com.vaau.rbacx.workflow.manager.osworkflow.OSWorkflowManager.loadWorkflowDefinition(OSWorkflowManager.java:109)
         at com.vaau.rbacx.workflow.service.WorkflowServiceImpl.startWorkflow(WorkflowServiceImpl.java:108)
         at com.vaau.rbacx.workflow.service.WorkflowServiceImpl.startWorkflow(WorkflowServiceImpl.java:175)
         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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy105.startWorkflow(Unknown Source)
         at com.vaau.rbacx.idw.service.RbacxIDWServiceImpl.createUserBusinessUnitRule(RbacxIDWServiceImpl.java:1816)
         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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:113)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:113)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.security.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:66)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy113.createUserBusinessUnitRule(Unknown Source)
         at com.vaau.rbacx.idw.web.dwr.impl.DwrBusinessUnitServiceImpl.createUserBusinessUnitRule(DwrBusinessUnitServiceImpl.java:730)
         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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
         at $Proxy151.createUserBusinessUnitRule(Unknown Source)
         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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy142.createUserBusinessUnitRule(Unknown Source)
         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 org.directwebremoting.impl.ExecuteAjaxFilter.doFilter(ExecuteAjaxFilter.java:34)
         at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428)
         at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:431)
         at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:283)
         at org.directwebremoting.servlet.PlainCallHandler.handle(PlainCallHandler.java:52)
         at org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:101)
         at org.directwebremoting.spring.DwrController.handleRequestInternal(DwrController.java:234)
         at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
         at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
         at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
         at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
         at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
         at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:512)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
         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:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378)
         at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
         at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:54)
         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
         at org.springframework.security.ui.rememberme.RememberMeProcessingFilter.doFilterHttp(RememberMeProcessingFilter.java:116)
         at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:54)
         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
         at org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:92)
         at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:54)
         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
         at org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:278)
         at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:54)
         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
         at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
         at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:54)
         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
         at org.springframework.security.concurrent.ConcurrentSessionFilter.doFilterHttp(ConcurrentSessionFilter.java:100)
         at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:54)
         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
         at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:176)
         at org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:100)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:97)
         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         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)
    14:30:15,926 ERROR [RbacxIDWServiceImpl] com.vaau.rbacx.workflow.WorkflowInitializationException: workflow not found:User Business Structure Rule Creation Workflow
    14:30:15,941 ERROR [TransactionInterceptor] Application exception overridden by commit exception
    com.vaau.rbacx.idw.IDWException: Error creating userbusinessunit rule
         at com.vaau.rbacx.idw.service.RbacxIDWServiceImpl.createUserBusinessUnitRule(RbacxIDWServiceImpl.java:1822)
         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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:113)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:113)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.security.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:66)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy113.createUserBusinessUnitRule(Unknown Source)
         at com.vaau.rbacx.idw.web.dwr.impl.DwrBusinessUnitServiceImpl.createUserBusinessUnitRule(DwrBusinessUnitServiceImpl.java:730)
         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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
         at $Proxy151.createUserBusinessUnitRule(Unknown Source)
         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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy142.createUserBusinessUnitRule(Unknown Source)
         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 org.directwebremoting.impl.ExecuteAjaxFilter.doFilter(ExecuteAjaxFilter.java:34)
         at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428)
         at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:431)
         at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:283)
         at org.directwebremoting.servlet.PlainCallHandler.handle(PlainCallHandler.java:52)
         at org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:101)
         at org.directwebremoting.spring.DwrController.handleRequestInternal(DwrController.java:234)
         at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
         at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
         at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
         at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
         at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
         at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:512)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
         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:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378)
         at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
         at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:54)
         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
         at org.springframework.security.ui.rememberme.RememberMeProcessingFilter.doFilterHttp(RememberMeProcessingFilter.java:116)
         at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:54)
         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
         at org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:92)
         at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:54)
         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
         at org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:278)
         at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:54)
         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
         at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
         at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:54)
         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
         at org.springframework.security.concurrent.ConcurrentSessionFilter.doFilterHttp(ConcurrentSessionFilter.java:100)
         at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:54)
         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
         at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:176)
         at org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:100)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:97)
         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         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)
    Caused by: com.vaau.rbacx.workflow.WorkflowInitializationException: workflow not found:User Business Structure Rule Creation Workflow
         at com.vaau.rbacx.workflow.service.WorkflowServiceImpl.startWorkflow(WorkflowServiceImpl.java:111)
         at com.vaau.rbacx.workflow.service.WorkflowServiceImpl.startWorkflow(WorkflowServiceImpl.java:175)
         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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy105.startWorkflow(Unknown Source)
         at com.vaau.rbacx.idw.service.RbacxIDWServiceImpl.createUserBusinessUnitRule(RbacxIDWServiceImpl.java:1816)
         ... 97 more
    Thank you

    RBACX_HOME is set...but it is not able to get the value RBACX_HOME in xml files...so replaced RBACX_HOME with actual path..and it got resolved...thanks for the reply..

  • Creating a settlement Rule for an Asset: message error AA311

    Hi All,
    I have to create e Settlement Rule by KO02. But SAP gives me the message AA311 and doesn't allow me to go on...
    Could anyone help me?
    Thanks

    hello Gandalf ,
    Create an IO Through KO01 with extra Create AUC........
    Then post the exp to AUC........
    Then assign the settlement rule as Fixed assed and enter the Asset number and give % or amount....
    Settle the IO through K088
    Hope this will resolve your issue............
    Regards
    Kumar

  • How to create a validation rule in SAP BODS Job

    Hi Experts
    I have created a BODS Job and in that job i have to create a validation rule as if the cust_id is null the loading must stop.
    I dont have idea where i have to define this validation rule in the Job and how to stop the load job if the validation rule file.
    My Job was defined like below image
    Please guide me where i have to define the validation rule and how to stop the load job.
    Thanks in advance
    PrasannaKumar

    Hi samatha b
    Thanks for your response. I have done as you said and now i can rise the exception.
    I have another requirement as per the validation transformation the data will load into Pass table and Fail table after job execution. If any data entered into fail table i have delete the data loaded into Pass table.
    Here i am facing problem as my target tables are MySQL tables and when i am writing scripts i wrote the script as
    sql('database','delete from <tablename>');
    but as it is an SQL Query execution it is rising exception for the query.
    How can i delete the data loaded into MySQL Target table using scripts.
    Please guide me for this error also
    Thanks in Advance
    PrasannaKumar

  • Help with Creating a Business Rule...

    Hi All,
    I am using Planning 11.1.1.1.0.
    I have created a classic planning application and now have to incorporate a way to copy data from one slice of the essbase db to other.
    I am trying to copy data from the following slice
    Entity : EasternZone
    Version:Working (Bottom Up)
    Scenario: Actuals
    Currency:USD
    Period:YearTotal
    Year: 2007
    to
    Entity : EasternZone
    Version:Working (Bottom Up)
    Scenario: Actuals
    Currency:USD
    Period:YearTotal
    Year: 2008 and increase by a certain percentage which is not fixed..
    How should i go about achieving this using business rules? (Calc manager is used with only EPMA applications so where do i create the business rule?) Can somebody share some ideas please?
    Any help would be greatly appreciated.
    Kind Regards.
    Alicia

    Hi!
    Are you transferring data in same application from db to another? If yes, then possibly you could use @xref function.
    for example :
    fix ("EasternZone", "Working","Actuals","USD","YearTotal")
    "2008" = @xref("_name of source db location alias_","2007")*[RunTimePrompt for percentage];
    endfix
    The name of the location alias you can find from destination db --> edit --> location aliases. There you can see the location alias name of the source db.
    if you want to be sure about block creation then you could also add the following rows at the beginning
    /*fix ("EasternZone", "Working","Actuals","USD","YearTotal","any account")*/
    /* "2008" = 0;*/
    /*endfix*/
    kind regards,
    user637777

  • Create a Business Rule to validate a datetime field

    Hi friends,
    I'm trying to create a business rules to validate a datetime attribute.
    I tried to use the Validation "must contain the pattern" but I don't kwnow exactly how it works.
    In the Edit Action section I have 3 options:
    - Attribute value
    - Attribute
    - Blank
    Where should I write the RegExp?
    Any comment will be appreciated.
    Kinde Regards,
    Paul

    Hi superbluesman,
    thanks for your quick answer.
    I created this expression to validate my specific date format and it works:
    ^(0[1-9]|1[012]|[1-9])[- /.](0[1-9]|[12][0-9]|3[01])[- /.](19|20)\d\d
    Kind Regards,
    Paul

  • While i am creating my business rule i am not able to connect the planning

    while i am creating my business rule i am not able to connect the planning application and database?I dont know what is the reason?

    Make sure you log into the planning application before logging into EAS.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to create Profile Based Rule in Endeca Studio Developer

    Hi,
    Can anybody tell me how to create Profile based rule in the Endeca Studio Developer. and how to fecth the data in the JSP. what are the parameter required to pass in the ENEQuery
    Thanks
    Shailesh

    I use visual studio 2012.
    I dont see rule set editor which can help me create busineesss rule.
    Where can I find it?
    Hi Rajesh,
    If you want to learn more information about RuleSet Editor in .net framework 4.5, check out https://msdn.microsoft.com/en-us/library/ee960221(v=vs.110).aspx
    for more information. 
    Best regards,
    Angie
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Error creating 'Journalling Business Rules'

    When running 'Maintain Journalling Business Rules' for a table with 19 columns an EMPTY 'BR_xxx_JRN_DEL' trigger is created , hence the CAPI definition fails.
    If I add 1 more column to make it 20 columns the 'BR_xxx_JRN_DEL' and the CAPI are both generating correctly.
    Has anyone else found this ?????

    Sandra,
    Ok we have the modified version of hsd and we still have similar problem. Here is the detailed log
    Log Messages
    Utility      Maintain Journalling Business Rules
    Revision      6.5.3.2
    Parameters      
    Prompt      Value
    Table to be Journalled      app/ my table
    Errors
    Message
    Activity aborted with ORACLE internal errors.
    -6502 ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    Debug Detailed
    Message
    BLAPI.OPEN_ACTIVITY
    Number of Tables to create/delete Journalling Rules for: 1
    Business Rule Design Definition for BR_xxx_JRN_UPD
    No Update Trigger Columns specified. Business Rule BR_xxx_JRN_UPD will fire when any column is updated.
    end of initial_checks
    Create/maintain message with constraint_name = HRS_BR_xxx_JRN_UPD
    Message QMS-00151 already exists in Headstart message tables, no new message was created.
    Activity aborted with ORACLE internal errors.
    -6502 ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    and this is the piece of code from bltext
    -- 6.5.2.3 changed if condition
    -- if length(l_text_lines(l_ctr + 1))+ 2 + length(l_build_string) &gt; 1990
    if length(replace(l_text_lines(l_ctr + 1), chr(10), NL_CR)||NL_CR)
    +
    length(l_build_string) &gt; 2000
    then
    exit;
    end if;
    end loop; -- compose 1 build string
    -- 6.5.2.3 changed if condition
    -- if nvl(length(l_build_string),'') &gt; 0
    if nvl(length(l_build_string),0) &gt; 0
    then
    -- 6.5.0.1 column element_type_for added.
    insert into cdi_text
    ( txt_ref
    , txt_seq
    , txt_type
    , txt_text
    , element_type_for
    values
    ( p_el_id
    , l_insert_at_seq
    , p_text_type
    , l_build_string
    , p_el_type
    end if; -- nvl(length(l_build_string),'') &gt; 0
    if l_ctr &gt;= p_text_counter
    then
    exit;
    else
    l_build_string:= '';
    l_insert_at_seq:= l_insert_at_seq + 1;
    end if; -- l_ctr = p_text_counter
    end loop; -- (maximum) over all lines in local text-store
    end if; -- l_lock
    exception
    when others
    then
    bllog.write
    ('Exception: '||sqlerrm
    , bllog.debug
    bllog.write
    (' Length Buildstring '||to_char(length(l_build_string))
    , bllog.debug
    bllog.write
    (' Line number '||to_char(l_insert_at_seq)||' Text type = '||p_text_type
    , bllog.debug
    bllog.write
    ( 'Exception; Note that the text for this element may have been corrupted.'
    , bllog.errors
    end write_lines_to_repository;

  • Limit users in search when Forwarding workitem or creating Substit. Rule?

    When you are in Universal Worklist, you have capabilities to Forward workitems or Maintain Substitution Rules.  In both cases there is a select box where you can search and pick a user from the system who you want to Forward a workitem to or say make your Substitute when creating a Substitution rule.  
    Is there a way to limit the users returned when searching?   It appears you can find any account/user in the system.  For example, we entered "admin*" in the search box and it returned "administrator".  We would not want this or any other kind of non end user account.  
    Also, we have concerns about customers accidentally being able to forward workitems to different customers or competitors.
    Matt

    Hi Mike, thanks for the OSS and reply.  I agree with what you are saying.  I'll just add a few comments.  To help clarify, I guess there are two security concerns.   One is who you can forward workitems to and the other is hacker type security.  A security vulnerability report from a 3rd party is what prompted my posting.  They had issue with the user search on creating substitute and forwarding workitems (the fact it allows a complete enumeration of the system's user accounts).
    Restricting by possible agents (=General Forwarding not Allowed) is also for exactly this purpose.
    Perhaps that explains why not many companies have the same concern?
    I agree and we are using this in some workflows.  It does prevent you from forwarding a workitem to someone that is not a possible agent.  The problem is that the user search still shows all user accounts.  Fails their report and some of our users complain it forces them to know who the other possible agents are or guess.
    Another option is to not allow forwarding for the task but put the whole thing in a loop and give them a forward option as a decision choice or button which results in an agent selection step or popup box and then loops around, sending the task to the new agent.
    Yes, we do this in some workflows.  The only issue is that we do this with synchronous dialog in SBWP and we cannot do the same in UWL.
    Thanks again for your reply.
    Matt

  • ?Difference: To create 2 Transfer Rules or 2 Update Rules

    Hi,
    I need to load 2 similar flat files to a single ODS. Only change is that, during the load, in the first file, File1, I want to set a field, FileType, as File1; and during the load of the second file, File2, I want to set FileType, as File2.
    One update rule which loads File1, already exists. I wanted to create the second update rule(for File2), but I encountered problems because I kept receiving a message that the update rule already exists for the ODS.
    I went to the InfoSource tree and under the infoSource for File1, I could see the transfer rule; at this point, I was able to create a second transfer rule where I was able to set the second constant while loading File2, as FileType as File2.
    What is the effect of creating 2 transfer rules for the InfoSource, as against creating 2 update rules for the ODS, which was I originally wanted to do?
    Thanks

    Hi Amanda,
        If both file formats are same, it better to populate File1 or File2 dynamically then a constant. Every time not supposed to create new transfer rules and data soruce for new flat file.
        Instead of constant, write a routine for File Type. Based on file name sinply pass File1 or File2 in routine. Or
        Use function module "BAPI_IPAK_GETDETAIL" to get infopackage details including file name. from flat file name also File type can be derived.
        In this way no need to maintain multiple transfer rules or update rules. Existing flow is enough.
    Hope it Helps
    Srini

Maybe you are looking for

  • Issue with Backflush when Consuming Fractions

    I am having an issue with back-flushing I was hoping Guru's  could help me . Here is the issue: In the BOM for every 1 EA of X(Parent) we need .025 EA of Y(Child) The parent part is X. Using CS03 and typing in a quantity of 20 pcs everything looks pe

  • Need solution for how to identify excat View in Material master tran (MM02)

    Hi,    Can any body help out of this,   I am doing MM02 updation for perticularly a field like Abnormal Quantity field in MRP2 View . I have done Recording using One material say XXX material so it is working for that material, But here issue is if 

  • New PDF Files Unsearchable

    I'm sorry if this is an often repeated question, but I used to be able to use Spotlight to go right to the entry I am searching for in Preview. Now when I add updated directories, Spotlight no longer reveals my search entry in these documents. I can

  • From Start to Finish

    I am starting the ungrade process to Tidal 6 TES. I decided to do a side by side installation since we are currently using TES 5.3 and I didn't want to upgrade twice. Anyhow I am looking for the Tidal 6 reference guide to spearhead any issues with th

  • Script for password

    Hello I need help in writing a script that scans the /etc/shadow file for user passwords that expire within 5 days and forces the users to change their password as soon as they login. The /etc/shadow file has entries like this: UserX:<password>:12669