Unable to deploy a bpmn20.xml file

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2012 10:53 AM
Hi,
I'm trying for some days to test my application and I'm not able to deploy my diagram. I don't receive any errors at deployment, but when I try to start the process, the engine isn't able to find the process key. I've verified and no process definition was indeed deployed. I've tried using the
annotation, I've also used
I don't know what the problem can be. Maybe is the structur of the application. The configuration file is in first.prototype/src/test/resource/test-context.xml, the process definition in first.prototype/processes/first.prototype/first.prototype.bpmn20.xml and my test class in the test/java.
If anyone can tell what I'm doing wrong I would be very grateful
Thx,
Ioana
I'm trying for some days to test my application and I'm not able to deploy my diagram. I don't receive any errors at deployment, but when I try to start the process, the engine isn't able to find the process key. I've verified and no process definition was indeed deployed. I've tried using the
@Deployment(resources ="")
annotation, I've also used
<property name="deploymentResources" value="classpath*: …" />
in the configuration file or even repositoryService.createDeployment().addClasspathResource("….bpmn20.xml").deploy();
I don't know what the problem can be. Maybe is the structur of the application. The configuration file is in first.prototype/src/test/resource/test-context.xml, the process definition in first.prototype/processes/first.prototype/first.prototype.bpmn20.xml and my test class in the test/java.
If anyone can tell what I'm doing wrong I would be very grateful
Thx,
Ioana
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2012 02:18 AM
Seems like the "processes" folder is not a source-folder by default. If you're using maven, add this to your project configuration. If you're using eclipse, right-click the folder and do something like "Build Path > make source folder" or "add to build path".

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2012 06:15 AM
Hi,
Thank you for your reply. I've added the folder to the source folders in eclipse, but I receive the same error when I try to test it.
Edit: It seams that I've manage to solve this problem, I had to leave out processes from the deployment path, after converting the folder to a src folder.
Thank you for your reply. I've added the folder to the source folders in eclipse, but I receive the same error when I try to test it.
Edit: It seams that I've manage to solve this problem, I had to leave out processes from the deployment path, after converting the folder to a src folder.
