Re: Question about Grails Activiti Plug-in

18 views
Skip to first unread message

Chee Kin Lim

unread,
Jun 20, 2011, 7:00:26 PM6/20/11
to Felipe Carvalho, grails-activiti-plugin
Hi Felipe,

Please check whether the bpmn20.xml file deployed to the database. If not (due to unknown reason), try to deploy it manually by execute "grails deploy-bar" command, let's see whether you see any error.


Hope this help.

Best regards,
Chee Kin

On Tue, Jun 21, 2011 at 3:57 AM, Felipe Carvalho <felipe....@gmail.com> wrote:
Just complementing, I've followed the sample vacation request tutorial, and it does not work on weblogic either.

Thanks


On Mon, Jun 20, 2011 at 11:50 AM, Felipe Carvalho <felipe....@gmail.com> wrote:
Hi,
  I'm using your Activiti plug-in for Grails, I'm having a problem with WebLogic 10.3.
  I'm able to deploy the app but when I try to use an Activiti dynamic method (for example, startProcess()) I get an exception:

org.activiti.engine.ActivitiException: no processes deployed with key 'solicitacao'

at org.activiti.engine.impl.persistence.deploy.DeploymentCache.findDeployedLatestProcessDefinitionByKey(DeploymentCache.java:62)
at org.activiti.engine.impl.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:56)
at org.activiti.engine.impl.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:30)
at org.activiti.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24)
at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:42)
at org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:42)
at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:40)
at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)


  Have you already had this problem? Is there any workaround?

Thanks,
  Felipe


Chee Kin Lim

unread,
Jun 21, 2011, 6:41:38 PM6/21/11
to Felipe Carvalho, grails-activiti-plugin
Hi Felipe,

Thanks for attached the project with the message.

But I don't have weblogic environment here to run the project, please refer to http://www.activiti.org/userguide/index.html#database.tables.explained for tables you need to check.


Hope this help.

Best regards,
Chee Kin


On Wed, Jun 22, 2011 at 1:16 AM, Felipe Carvalho <felipe....@gmail.com> wrote:
Hi, Lim,
  I'm not sure how to check whether the bpmn20.xml file was deployed to the database. When I log into H2 console, I see all the tables. Invoking grails deploy-bar does not generate any error and I see the .bar file generated in target dir.
  I'm attaching the vacation request sample project I generated. For some reason, I can't make it work on weblogic.
  After generating the sample app, I've only modified DataSource.groovy (using jdbc:h2:tcp://localhost/activiti as URL didn't work), Config.groovy (set databaseSchemaUpdate = true) and BootStrap.groovy to start H2 Console. Apart from that I think it's pretty much the same as the sample vacation request.
  Please let me know if you find any clue of how to deploy it to weblogic.

Thanks

Felipe Carvalho

unread,
Jun 21, 2011, 1:16:22 PM6/21/11
to Chee Kin Lim, grails-activiti-plugin
Hi, Lim,
  I'm not sure how to check whether the bpmn20.xml file was deployed to the database. When I log into H2 console, I see all the tables. Invoking grails deploy-bar does not generate any error and I see the .bar file generated in target dir.
  I'm attaching the vacation request sample project I generated. For some reason, I can't make it work on weblogic.
  After generating the sample app, I've only modified DataSource.groovy (using jdbc:h2:tcp://localhost/activiti as URL didn't work), Config.groovy (set databaseSchemaUpdate = true) and BootStrap.groovy to start H2 Console. Apart from that I think it's pretty much the same as the sample vacation request.
  Please let me know if you find any clue of how to deploy it to weblogic.

Thanks

On Mon, Jun 20, 2011 at 8:00 PM, Chee Kin Lim <limch...@vobject.com> wrote:
activiti-sample.zip
Reply all
Reply to author
Forward
0 new messages