Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Eclipse Process Manager (Stardust) » Data mapping could not be resolved during model deployment(Data mappings for a rule task could not be resolved and returns an error during model deployment)
Data mapping could not be resolved during model deployment [message #1486266] Mon, 24 November 2014 23:53 Go to next message
Melissa Ferenal is currently offline Melissa FerenalFriend
Messages: 18
Registered: November 2014
Junior Member
Hi,

I created a rule set (r2) which has the following parameters:

  • n1 : Number (Input)
  • l1 : Text (Output)

r2 is used by a rule task in Model15 and I have set the data mappings for both parameters
index.php/fa/19995/0/
index.php/fa/19996/0/

But when I deploy the model, I get the following warnings:
index.php/fa/19997/0/

Can someone help me figure out the problem?


Thanks
Re: Data mapping could not be resolved during model deployment [message #1487716 is a reply to message #1486266] Wed, 26 November 2014 03:05 Go to previous messageGo to next message
Melissa Ferenal is currently offline Melissa FerenalFriend
Messages: 18
Registered: November 2014
Junior Member
Does anyone have any idea on this?
Re: Data mapping could not be resolved during model deployment [message #1487810 is a reply to message #1487716] Wed, 26 November 2014 04:54 Go to previous messageGo to next message
Robert Emsbach is currently offline Robert EmsbachFriend
Messages: 186
Registered: October 2011
Location: Singapore
Senior Member

Melissa,

have you check for exceptions in the server log during deployment?

From the other threads you are aware of the current limitation wrt the rules runtime jar.

Can you attached the model file in which the issue occurs?

Best regards

Rob

Re: Data mapping could not be resolved during model deployment [message #1489011 is a reply to message #1487810] Thu, 27 November 2014 03:21 Go to previous messageGo to next message
Melissa Ferenal is currently offline Melissa FerenalFriend
Messages: 18
Registered: November 2014
Junior Member
Hi Rob,

Thanks for the reply.

Below is the error message when I deploy the model(please see stacktrace.txt for detailed version).

javax.transaction.xa.XAException
	at org.apache.derby.jdbc.EmbedXAResource.end(Unknown Source)
	at org.apache.geronimo.transaction.manager.WrapperNamedXAResource.end(WrapperNamedXAResource.java:61)
	at org.apache.geronimo.transaction.manager.TransactionImpl.endResources(TransactionImpl.java:569)
	at org.apache.geronimo.transaction.manager.TransactionImpl.endResources(TransactionImpl.java:548)
	at org.apache.geronimo.transaction.manager.TransactionImpl.rollback(TransactionImpl.java:488)
	at org.apache.geronimo.transaction.manager.TransactionManagerImpl.rollback(TransactionManagerImpl.java:265)
	at org.springframework.transaction.jta.JtaTransactionManager.doRollback(JtaTransactionManager.java:1038)
	at org.springframework.transaction.support.AbstractPlatformTransactionManager.processRollback(AbstractPlatformTransactionManager.java:846)
	at org.springframework.transaction.support.AbstractPlatformTransactionManager.rollback(AbstractPlatformTransactionManager.java:823)
	at org.springframework.transaction.support.TransactionTemplate.rollbackOnException(TransactionTemplate.java:162)
	at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:135)
	at org.eclipse.stardust.engine.api.spring.SpringTxInterceptor.invoke(SpringTxInterceptor.java:51)
	at org.eclipse.stardust.engine.core.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:130)
	at org.eclipse.stardust.engine.core.runtime.interceptor.MethodInvocationImpl.execute(MethodInvocationImpl.java:68)
	at org.eclipse.stardust.engine.core.runtime.beans.InvocationManager.invoke(InvocationManager.java:53)
	at com.sun.proxy.$Proxy59.deployModel(Unknown Source)


I have also included the dependencies of ipp-engine-rules-8.1.0 on my web dynamic project as suggested from the other threads.


  • ipp-engine-rules-8.1.0.jar
  • knowledge-api-5.5.0.Final.jar
  • mvel2-2.1.3.Final.jar
  • drools-core-5.5.0.Final.jar
  • drools-decisiontables-5.5.0.Final.jar
  • knowledge-internal-api-5.5.0.Final.jar
  • drools-compiler-5.5.0.Final.jar
  • drools-templates-5.5.0.Final.jar


For reference, I have attached the model and ruleset definition as well.

Best Regards,

Melissa
  • Attachment: stacktrace.txt
    (Size: 20.29KB, Downloaded 135 times)
  • Attachment: Model15.xpdl
    (Size: 30.47KB, Downloaded 83 times)
  • Attachment: r2.json
    (Size: 1.99KB, Downloaded 80 times)
Re: Data mapping could not be resolved during model deployment [message #1490416 is a reply to message #1489011] Fri, 28 November 2014 06:04 Go to previous message
Melissa Ferenal is currently offline Melissa FerenalFriend
Messages: 18
Registered: November 2014
Junior Member
Hi,

Anyone has any idea on this issue?

Regards

Melissa
Previous Topic:How to use maven dependencies in eclipse stardust dynamic web project?
Next Topic:what is the best way to log all form fields from an external mashup?
Goto Forum:
  


Current Time: Sat Sep 22 21:30:36 GMT 2018

Powered by FUDForum. Page generated in 0.01692 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top