Skip to main content



      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 18:53 Go to next message
Eclipse UserFriend
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] Tue, 25 November 2014 22:05 Go to previous messageGo to next message
Eclipse UserFriend
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] Tue, 25 November 2014 23:54 Go to previous messageGo to next message
Eclipse UserFriend
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] Wed, 26 November 2014 22:21 Go to previous messageGo to next message
Eclipse UserFriend
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 327 times)
  • Attachment: Model15.xpdl
    (Size: 30.47KB, Downloaded 348 times)
  • Attachment: r2.json
    (Size: 1.99KB, Downloaded 232 times)
Re: Data mapping could not be resolved during model deployment [message #1490416 is a reply to message #1489011] Fri, 28 November 2014 01:04 Go to previous message
Eclipse UserFriend
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: Sun Jun 15 08:59:03 EDT 2025

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

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

Back to the top