How can I get CommandContext in OSGi?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2012 01:13 AM
I have put the ProcessEngine into Equinox OSGi framework, and have got runtimeService,repositoryService,identityService etc.
In the OSGi framework Activiti can create new user and add new deployment, but when I start processinstance by key, it's error:"org.activiti.engine.ActivitiException: no processes deployed with key 'xxx'", I found that Context.getCommandContext is null in OSGi,so it can't get the ProcessDefinitionManager.
How can I get the current thread's CommandContext is OSGi?
In the OSGi framework Activiti can create new user and add new deployment, but when I start processinstance by key, it's error:"org.activiti.engine.ActivitiException: no processes deployed with key 'xxx'", I found that Context.getCommandContext is null in OSGi,so it can't get the ProcessDefinitionManager.
How can I get the current thread's CommandContext is OSGi?
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2012 03:39 AM
how do you add add a new deployment?
