TREX Error while implementing a Rule Modeler in ERMS
Hi Experts,
I am getting the below error when i am implementing a Rule in ERMS. Please suggest how to rectify the error.
Exception in method execute(CL_CRM_ERMS_SERVICE_MANAGER) : Service CL_CRM_ERMS_ADD2FB_CA failed. TREX error:Error in the RFC communication: Error when opening an RFC connection (IMSDEFAULT)[error code =] at: CL_CRM_ERMS_ADD2FB_CA=========CP : CL_CRM_ERMS_
Processing policy ZTEST_RULE1
Exception in method execute(CL_CRM_ERMS_SERVICE_MANAGER) : Service CL_CRM_ERMS_RULE_EXEC failed. Policy not found in repository:ERMS:ZTEST_RULE1 at: CL_CRM_ERMS_RULE_REPOSITORY===CP : CL_CRM_ERMS_RULE_REPOSITORY===CM005 : 44
BOR: returned from Service Manager.
Regards,
Niloufer
Hi Niloufer123
Have you regenerated your Repository after making changes?
If not, go to SA38 and run program CRM_ERMS_REGEN_RULES for ERMS context for your Policy (check box checkboxes).
Now re-run your scenario. Hopefully this has helped.
Thanks,
Andrew G.
Similar Messages
-
Error while executing the rule session
Hi, I am using Oracle Business Rules Engine 10.1.3.3.0.I am developing rules using XML Facts.I am using a complex type array schema and binding it to define XML facts.Earlier the depth of the schema is 1 and it worked fine,now our schema's depth is 2 and while binding this schema is also working fine.The sample structure of the present schema I am binding is
<xsd:schema>
<xsd:element name = 'ruleRepository' type = 'RuleRepositoryType'/>
<xsd:complexType name='RuleRepositoryType'>
<xsd:sequence>
<xsd:element ='ruleFacts' type='RuleFactsType' minOccurs='0' maxOccurs='unbounded'/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name='RuleFactsType'>
<xsd:sequence>
<xsd:element name='fact1' type='xsd:string'/>
<xsd:element name='fact2' type='xsd:string'/>
<xsd:element name='fact3' type='xsd:string'/>
<xsd:element name='fact4' type='Fact4' minOccurs='0' maxOccurs='unbounded'/>
<xsd:sequence/>
</xsd:complexType>
<xsd:complexType name='Fact4'>
<xsd:sequence>
<xsd:element name='element1' type='xsd:string'/>
<xsd:element name='element2' type='xsd:string'/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
Earlier I have binded the similar schema as above but without 'fact4'.It went well and the rules were executing fine.
However when I am trying to bind a similar schema like the above one, its binding fine but when executing from the BPEL Process,its giving errors like,
"Error Caching Decision Services metadata,fact3 is undefined in DM,line6,Column 12",
Please note that I am using fact1 and fact2 only for defining the rules , I am niether using fact3 which is a simple type nor fact4 which is a complex type.
I have asserted Package.RuleRepositoryType in the definitions of the rule author.I have tried with different combinations of assertions but no one worked.
The above error(
"Error Caching Decision Services metadata,fact3 is undefined in DM,line6,Column 12") is coming for the first run of the decision service only,in the next runs its giving another error,which is like
<2008-04-10 07:52:30,772> <ERROR> <default.collaxa.cube.services> <::> ORABPEL-36333
<2008-04-10 07:52:30,773> <ERROR> <default.collaxa.cube.services> <::>
<2008-04-10 07:52:30,773> <ERROR> <default.collaxa.cube.services> <::> Error while executing the rule session.
<2008-04-10 07:52:30,773> <ERROR> <default.collaxa.cube.services> <::> The rule session {0} failed to execute.
<2008-04-10 07:52:30,773> <ERROR> <default.collaxa.cube.services> <::> Check the underlying exception and correct the error. Contact oracle support if error is not fixable.
<2008-04-10 07:52:30,773> <ERROR> <default.collaxa.cube.services> <::>
<2008-04-10 07:52:30,773> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.rpi.oracle.OracleRuleSession.execute(OracleRuleSession.java:251)
<2008-04-10 07:52:30,773> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.impl.DecisionServiceImpl.process(DecisionServiceImpl.java:1385)
<2008-04-10 07:52:30,773> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.impl.DecisionServiceImpl.assertExecuteWatchStateless(DecisionServiceImpl.java:546)
<2008-04-10 07:52:30,774> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.runtime.BookOrderDecisionSOAPBinding_Tie.invoke_assertExecuteWatchStateless(BookOrderDecisionSOAPBinding_Tie.java:162)
<2008-04-10 07:52:30,774> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.runtime.BookOrderDecisionSOAPBinding_Tie.processingHook(BookOrderDecisionSOAPBinding_Tie.java:457)
<2008-04-10 07:52:30,774> <ERROR> <default.collaxa.cube.services> <::> at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:297)
<2008-04-10 07:52:30,774> <ERROR> <default.collaxa.cube.services> <::> at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:413)
<2008-04-10 07:52:30,783> <ERROR> <default.collaxa.cube.services> <::> at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
<2008-04-10 07:52:30,783> <ERROR> <default.collaxa.cube.services> <::> at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:277)
<2008-04-10 07:52:30,783> <ERROR> <default.collaxa.cube.services> <::> at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
<2008-04-10 07:52:30,783> <ERROR> <default.collaxa.cube.services> <::> at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:134)
<2008-04-10 07:52:30,783> <ERROR> <default.collaxa.cube.services> <::> at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
<2008-04-10 07:52:30,783> <ERROR> <default.collaxa.cube.services> <::> at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
<2008-04-10 07:52:30,784> <ERROR> <default.collaxa.cube.services> <::> at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
<2008-04-10 07:52:30,784> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
<2008-04-10 07:52:30,784> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
<2008-04-10 07:52:30,784> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
<2008-04-10 07:52:30,784> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
<2008-04-10 07:52:30,784> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
<2008-04-10 07:52:30,784> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
<2008-04-10 07:52:30,784> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
<2008-04-10 07:52:30,784> <ERROR> <default.collaxa.cube.services> <::> at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
<2008-04-10 07:52:30,801> <ERROR> <default.collaxa.cube.services> <::> at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
<2008-04-10 07:52:30,802> <ERROR> <default.collaxa.cube.services> <::> at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
<2008-04-10 07:52:30,802> <ERROR> <default.collaxa.cube.services> <::> at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
<2008-04-10 07:52:30,802> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
<2008-04-10 07:52:30,802> <ERROR> <default.collaxa.cube.services> <::> at java.lang.Thread.run(Thread.java:595)
<2008-04-10 07:52:30,802> <ERROR> <default.collaxa.cube.services> <::> Caused by: java.lang.NullPointerException
<2008-04-10 07:52:30,802> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.rpi.oracle.RuleSessionPool.getSession(RuleSessionPool.java:463)
<2008-04-10 07:52:30,802> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.rpi.oracle.OracleRuleSession.execute(OracleRuleSession.java:224)
<2008-04-10 07:52:30,802> <ERROR> <default.collaxa.cube.services> <::> ... 26 more
<2008-04-10 07:52:30,803> <ERROR> <oracle.bpel.services> <::>
java.lang.NullPointerException
at oracle.bpel.services.rules.rpi.oracle.RuleSessionPool.getSession(RuleSessionPool.java:463)
at oracle.bpel.services.rules.rpi.oracle.OracleRuleSession.execute(OracleRuleSession.java:224)
at oracle.bpel.services.rules.impl.DecisionServiceImpl.process(DecisionServiceImpl.java:1385)
at oracle.bpel.services.rules.impl.DecisionServiceImpl.assertExecuteWatchStateless(DecisionServiceImpl.java:546)
at oracle.bpel.services.rules.runtime.BookOrderDecisionSOAPBinding_Tie.invoke_assertExecuteWatchStateless(BookOrderDecisionSOAPBinding_Tie.java:162)
at oracle.bpel.services.rules.runtime.BookOrderDecisionSOAPBinding_Tie.processingHook(BookOrderDecisionSOAPBinding_Tie.java:457)
at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:297)
at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:413)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:277)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:134)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
08/04/10 07:52:30 pFaultMessage is org.collaxa.thirdparty.apache.wsif.base.WSIFDefaultMessage@6e0e5f name:operationErroredFault
08/04/10 07:52:30 QName string is operationErroredFault
where 'BookOrderDecision' is the name of the decision service I am using in BPEL.
I dont understand why I am getting two errors for the same BPEL Process.
Kindly help me in this problem.I am stuck with this for about a week but could not get to the solution.
Thanks in advance.
Regards,
Venkat.Hi Venkat,
Whenever you do schema changes, you need to go through the cycle of
re-importing the XML schema in the rule repository, re-create the decision
service partnerlink, re-deploy the decision service.
I suspect you have maybe imported the entire XML fact type model (with fact3 and
fact4) instead of just fact1 and fact2 (might want to check in rule author).
So even if you don't use fact3 and fact4 in decision service, they are part of the rules
datamodel.
Regards,
Ralf -
Getting Connection error while creating Substituion Rule in UWL
Hi Everybody,
Getting below error while creating Substitution Rules in UWL.
"error for the u201Cconnectionu201D to SAP_R3_Finance ".
Can be able to see all Work Items belongs to me. getting the errror while creating Substitution Rule only..
Could anybody tell me what might be the Reason what steps i need to take to resolve this issue.
Thanks,
Naveen KumarHi Uds,
are you running SOA Suite on a Linux server and not on your PC and just running JDeveloper on your PC?
If so try creating the repository file specifying a directory on the Linux server.
For example to:
/tmp/sample_repository
So Choose 'File' from drop down menu
Enter /tmp/sample_repository
Click on create button
This should create the file called sample_repository in /tmp on the Linux server.
Can you tell us what your environment is?
Regards Cel -
Error while activating update rule in Inventory
I was working with migration of datasource 2LIS_03_BF from 3.x to 7.0 in MM module.
Recieved an error while activating update rule 0RT_C17 2LIS_03_BF in Inventory module.
When I checked the routine ,it shows the following error.
Errror:E:The Dictionary structure or table "/BI0/PMAT_SALES" is either not active or does not exist.
I am not usre how to resolve this.
Kindly reply asap.1. Activate the master data infoobject for 0MAT_SALES at info object level of RSA1
2. Replicate and Activate the data source once again by using the program > SE38 : RS_TRANSTRU_ACTIVATE_ALL
3. Then try to migrate you datasource and activate you update rules.
it may help you
Regards.
Rambabu -
Error while migrating business rules
While trying to use the export/import option in EAS to migrate business rules, we have run into an error.
The export itself is fine. When trying to import, it says this:(even though it lets me select the proper xml file for importing)
Error while migrating business rules.
Detail: The import file specified is not a valid business rules xml file. Import will be terminated.
Detail:Exception occured. Please check your log file for details.
I am pretty sure I used the inherent format specified for exporting the business rules.
Both the old and new systems are version 11.1.2.
The LCM method also failed for the business rules migration.
Any suggetions?
Thanks,
SujaniWhen you export them make sure you don't have "For Calc Mgr" checked, if you do then the import with fail.
Cheers
John
http://john-goodwin.blogspot.com/ -
Rule Execution : Error while executing a rule session unit of work
Error while executing a rule session unit of work.
The rule session CreditRule:130002 failed to execute a unit of work.
Check the underlying exception and correct the error. Contact oracle support if error is not fixable.
I have created a simple rule and using a decision service and a decide process activity I have tried to run the orchestration.
After compiling and saving and re-opening the orchestration flow looks correct.
When I execute the process I get the above error.
Is this something wrong with the Rule ?
Can anyone offer any advice
Thanks
CliffHi.
Any further advice on this issue?
Getting the same problem and cannot figure out a solution.
How do I check the "underlying exception" btw? -
Error while validating Business Rule (Error Cause: nativeGetNewTLA Rule)
Hi, I am receiving an error while validating business rules
An error occurred in: Rule:HypLive.Plan1.Product Interest
A validation error was received from the Planning server 'http://abc:8300/HyperionPlanning/servlet/HspAppManagerServlet?appname=HypLive'.
'Error:
Error Cause: nativeGetNewTLA Rule HypLive.Plan1.Product Interest'.Are you able to validate the rule in EAS (or Calc Manager)?
Normally nativeGetNewTLA Rule is followed by out of memory errors like java.lang.OutOfMemoryError,
Increase the heap size to 1024, re start Planning and try validating it again.
Cheers..!! -
Error while implemention ORDER_SAVE in CRM 2007
Hi,
At present we are experiencing an error while implementing badi ORDER_SAVE for sending CRM (2007)sales order data to PI (7.1) through ABAP proxy. In the BadI implementation we have created the Proxy Object through class (generated while defining the Proxy object in PI) and pass the SO details through the method available.
Error ' Administration header not Found' while saving the CRM sales Order.
Please let me know is any changes done in CRM 2007 for BadI implementation. Also suggest the best way to go forward to resolve this problem.
Thanks & Regards
DebU can do it.. But what i suggest is.. create a Z Function Module that will trigger in background in seperate task by passing the GUID.
In this Z FM write all your code related to the Proxy... -
How to use AND and OR Combinations for a Rule in Rule Modeler of ERMS
Hi Experts,
When we are defining rules in the Rule Policy, we need to create a condition which uses a combinations of AND and OR.
But the standard Rule Modeler of ERMS is allowing us to create conditions either using all AND or with all OR options.
Is there anyway that we can define rules in the Rule Modeler using both AND and OR combinations at the same time.
Regards,
NIlouferA variant is a very specific LabVIEW datatype (really a C++ type object internally) and trying to pass that to a function, which excepts a flat memory pointer there, for sure will crash very quickly.
As to endianess, yes Unflatten will be able to adjust for endianess, which in this case however is most likely exectly NOT what you want. So make sure that the you select native type for the endianess input on Unflatten from String. LabVIEW internally works with whatever is the native endianess, as will most likely your C++ DLL. The platform independent big endian format does only come into play when you receive data streams over some streaming interface like a network connection. Here it is desirable to use an endian format that is independent from the actual platform that generates and consumes the data stream. LabVIEWs default endianes is big endian here.
But as long as you pass data directly to native components like DLLs there is no difference in endianess between what LabVIEW uses and what those components use.
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions -
Hi,
Can we configure our own actions in Rule Modeler for ERMS.
If yes, how it is done.
Thanks and Regards
AdiWondering if you made any progress in this area. Would appreciate if you could share your experiences.
Thanks
Rakesh -
Runtime Error while creation of rule for IU elimination
Hi,
Following runtime error occuring while creating a rule under IU elimination method.
Error analysis
A RAISE statement in the program "CL_UC_SINGLESELCOND_FACTORY===CP" raised the
exception
condition "NOT_FOUND".
Since the exception was not intercepted by a superior
program, processing was terminated.
Short description of exception condition:
For detailed documentation of the exception condition, use
Transaction SE37 (Function Library). You can take the called
function module from the display of active calls.
Trigger Location of Runtime Error
Program CL_UC_SINGLESELCOND_FACTORY===CP
Include CL_UC_SINGLESELCOND_FACTORY===CM001
Row 33
Module type (METHOD)
Module Name IF_UC_CUST_FACTORY~GET_INSTANCE_BY_GUID
Please advice...
Edited by: VNK on Nov 25, 2008 11:18 AMHi,
please check SAP note 859500:
- implement all relevant notes
- send a message to SAP support for checking and solving the GUID inconsistencies.
best regards
Thomas -
Error when implementing JPA domain model in separate JAR module
Hi,
I'm using JPA/TopLink Essentials to implement my domain model and services. From an architectural viewpoint I want to implement this as seperate Java project, while my View/Controller is implemented in another Java project. This last project has a dependency on the Model project. Deployment on an OC4J 10.1.3 is ok, but when I use a JSP, I get the following error. (Note that directly implementing my JPA classes in the View/Controller project does not give any errors.)
Thanx, Ronald
java.lang.NullPointerException at oracle.toplink.essentials.ejb.cmp3.persistence.ArchiveFactoryImpl.createArchive(ArchiveFactoryImpl.java:64) at oracle.toplink.essentials.ejb.cmp3.persistence.PersistenceUnitProcessor.findPersistenceArchives(PersistenceUnitProcessor.java:227) at oracle.toplink.essentials.ejb.cmp3.persistence.PersistenceUnitProcessor.findPersistenceArchives(PersistenceUnitProcessor.java:210) at oracle.toplink.essentials.internal.ejb.cmp3.JavaSECMPInitializer.initialize(JavaSECMPInitializer.java:239) at oracle.toplink.essentials.internal.ejb.cmp3.JavaSECMPInitializer.initializeFromMain(JavaSECMPInitializer.java:278) at oracle.toplink.essentials.internal.ejb.cmp3.JavaSECMPInitializer.getJavaSECMPInitializer(JavaSECMPInitializer.java:81) at oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider.createEntityManagerFactory(EntityManagerFactoryProvider.java:119) at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:83) at com.trfsol.model.JPAResourceBean.getEMF(JPAResourceBean.java:23) at com.trfsol.model.Service.getEmp(Service.java:28) at com.trfsol.JPAServlet.doGet(JPAServlet.java:24) at javax.servlet.http.HttpServlet.service(HttpServlet.java:743) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:119) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595)Servlet class:
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
Collection<Emp> emps = new Service().getEmp();
for (Emp emp : emps) {
System.out.println("Emp " + emp.getEname());
In which the Service class comes from the Model project.
Service class:
public EntityManagerFactory getEMF () {
if (emf == null) {
emf = Persistence.createEntityManagerFactory("default", new java.util.HashMap());
return emf;
public Collection<Emp> getEmp(){
EntityManagerFactory emf = getE
EntityManager em = emf.createEntityManager();
try{
Collection<Emp> result = em.createNamedQuery("findAllEmps").getResultList();
return result;
finally{
em.close();
Persistence.xml (in the META-INF dir of the Model project)
<?xml version="1.0" encoding="UTF-8"?>
<persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence persistence_1_0.xsd" version="1.0">
<persistence-unit name="default" transaction-type="RESOURCE_LOCAL">
<provider>
oracle.toplink.essentials.PersistenceProvider
</provider>
<class>com.trfsol.Dept</class>
<class>com.trfsol.Emp</class>
<properties>
<property name="toplink.logging.level" value="FINE"/>
<property name="toplink.jdbc.driver" value="oracle.jdbc.OracleDriver"/>
<property name="toplink.jdbc.url" value="jdbc:oracle:thin:@localhost:1521:ORCL"/>
<property name="toplink.jdbc.password" value="tiger"/>
<property name="toplink.jdbc.user" value="scott"/>
</properties>
</persistence-unit>
</persistence>
Regards, Ronald -
Error while Transporting Update Rules.
hi xperts,
I am getting Error while Transporting the Update rules,i already transported the INFOCUBE,INFOPACKAGE EVERYTHING.
Start of the after-import method for object type R3TR ROUT (Delete Mode)
Errors occurred during post-handling RS_AFTER_IMPORT for ROUT L
The errors affect the following components:
BW-WHM (Warehouse Management)
Is the error,I didn't change any thing in the Cube or changes to Update rules.
Can anybody Help me?.
thanking you,
with regards,
Narendra.Hi,
Are you still facuing the issue ?
No need to worry about the routines, once you save the update rules if there is any routines in it it will be saved in the same request. If you want to check the routines you can check in the transport connections. Transfer the update rule to the right hand side of the screen and you can see all the routines that belong to the UR.
If you know the technical names of the routines you can check in the TADIR table.
Have you transported the info-sources for this update rules ? why not you again capture the info-source and the update rule in a single request and transport again.
Hope it helps.
Thanks,
Soumya -
Error while maintaining determination rule in CRM
Hi,
I get the following error while trying to copy the existing determination rule. Could you analyse this please.
ERROR MSG:
Prefix number: entry missing for system CRD client XXX
Message no. 5W023
Diagnosis
Tasks, rules, and workflow definitions require an ID that is unique throughout all systems and clients. In this way, you can ensure that you can transport these objects from one system into another at any time (without restrictions). From a technical point of view, the uniqueness of the ID is ensured by what is known as a "prefix number". You can define a separate prefix number for every system and every client in table T78NR.
System Response
If a prefix number is not defined in the client in which you are currently working, it is not possible to maintain (maintenance terminates).
Procedure
Maintain table T78NR in Customizing, and create an entry for the system in question and the current client.
Many thanks
Guest01Organizational Management objects are identified by an eight-digit number.
In the cases of tasks, workflows, rules and task groups, this eight-digit number consists of a three-digit prefix number followed by a five-digit number which is determined by internal number assignment. The complete number must be unique across systems and clients. From a technical point of view, the uniqueness of the number is catered for by the prefix number.
Cheers
-Srinivas Kumar -
Error while transporting update rule.
Hi experts
I am trying to transport one update rule to production..
But it is ending with error code 8 n it is giving me following error :
Errors when activating update rule XXX
IC=0PP_DS03 IS=0CO_OM_OPA_6 error when checking update rules
Kindly tell me what need to be done now.
Regards
SwatiHi Swati,
Before transporting the update rule, in the present scenario, you have to transport the infosource which contains the corresponding "0recordmode".
Whenever you transport anything into the quality or production, the list should be as followed in the given manner :
Seq No Objects in Request
1 Package(DEVC), InfoArea(AREA), Application Component(APCO)
2 Function Modules
3 Keyfigure Catalog(IOBC), Keyfigures(IOBJ), Units(IOBJ)
4 Characteristic Catalog(IOBC), Characteristic Infoobjects(IOBJ)
5 Infosources (ISCS, ISTD, ISMP, ISTS, ISFS, ROUT) and
Generic Data Sources(DataSrce Active Version(OSOA), ISMP, ISTS,DataSourceReplica (ISFS)
and Tables (TABL)
6 Infoproviders(ODS(ODSO), Cube(CUBE), Infoset(ISET))
7 Update Rules(UPDR, ROUT)
8 Infopackages(ISIP)
9 Queries(ELEM)
10 Webtemplates(TMPL, BLTM, BPTM)
Just transport all your things in the above sequence, and it will be done successfully.
Also, remember there should not be any data in the corresponding infoprovider while you transfer the update rule, else it will fail.
Hope it helps,
Regards,
Neha.
Maybe you are looking for
-
Hi, In response to an earlier problem i posted which i thought i had resolved i have to ask some more advice as i am still having problems. Basically i have two points (0,0,0) and (1,1,1) where two spheres are located, im trying to connect a cylinder
-
Help with Intranet DB app..
I am looking into Oracle for building an intranet database application for at most 10 users and ~1GB database. I am having trouble determining which licenses I would actually need. I just want to be able to add,edit, and feed sql queries into pre-gen
-
I really do want a new case for my 7th gen iPod classic. It seems there's barely anything on the market anymore except skins. I don't want a skin. Anything still out there? Searching the web is depressing me.
-
After ATV2 5.0 update Netflix audio is not in sync with video
As the title says, on ATV2 after the 5.0 update, Netflix audio is not in sync with video. Anyone else seeing this?
-
How to route the reponse to the request.
I have two topics, the first topic (Topic-1) will send the message and the message gets processed and the reponse is routed via the second topic (Topic-2). I would like to know, is there any automated way to route the reponose to the reques