-
1. Re: problem with deployment
jean-luct Mar 20, 2007 11:33 AM (in response to geg)I'm using 1.5 I noticed that I should put jbpm-console/upload in the deployer field.
I don't see where you put this in 1.6.
Nevertheless, after this I got the validation message, but I noticed on my console log an error message : org.apache.commons.fileupload.FileUploadException: The request was rejected because non multipart boundary was found.
And my new process does not show up. I haven't found any solution to this problem so far. -
2. Re: problem with deployment
geg Mar 21, 2007 5:01 AM (in response to geg)How to make then so that I can deploy my process??
-
3. Re: problem with deployment
j.wozniakowski Mar 21, 2007 9:18 AM (in response to geg)1. Server deployer should be: "/jbpm/upload", but
2. There are two bugs in UploadServlet in JBPM web application, so probably this is why you are not able to deploy process:
a) wrong mime type check - I solved it by commenting this piece of code in UploadServlet:
/*
if (fileItem.getContentType().indexOf("application/x-zip-compressed") == -1) {
log.debug("Not a process archive");
return "Not a process archive";
}
*/
b) bad JbpmContext retrieve call (deprecated method returning null)- my solution:
in doDeployment method replace this:
JbpmContext jbpmContext = JbpmContext.getCurrentJbpmContext();
by this:
JbpmContext jbpmContext = JbpmConfiguration.getInstance().createJbpmContext();
[...method code here...]
jbpmContext.close();
Generally same errors exist in DeployServlet - after fixing DeployServlet you are able to deploy process through HTML form. -
4. Re: problem with deployment
kukeltje Mar 21, 2007 10:44 AM (in response to geg)This all is because the jboss IDE 1.6 contains an 'old' version of te designer. Using the latest 3.0.x release should have fixed this on the designer side.
Ronald -
5. Re: problem with deployment
geg Mar 21, 2007 10:55 AM (in response to geg)I cannot in which file change them.
I found the file ?UploadServlet.class?, but it is not modifiable.
Thus in which file to make these modifications??
knowing that I have to download JBoss here: http://www.jboss.com/products/jbpm/downloads -
6. Re: problem with deployment
geg Mar 21, 2007 11:32 AM (in response to geg)
I installed this: "JBoss jBPM Process Plugin Designer "
jbpm-jpdl-designer-3.0.13.zip
But the problem is the same one -
7. Re: problem with deployment
j.wozniakowski Mar 21, 2007 12:24 PM (in response to geg)"kukeltje" wrote:
This all is because the jboss IDE 1.6 contains an 'old' version of te designer. Using the latest 3.0.x release should have fixed this on the designer side.
Nope. This is Starters Kit Web Application problem, not the designer. Only thing to point in the designer is the server deployer path which was already mentioned.
I cannot in which file change them.
I found the file ?UploadServlet.class?, but it is not modifiable.
Thus in which file to make these modifications??
1. Download Starters kit source code
2. Modify UploadServlet.java
3. Compile + make JAR -
8. Re: problem with deployment
j.wozniakowski Mar 21, 2007 12:35 PM (in response to geg)How can I post fixed jbpm-webapp.jar?
-
9. Re: problem with deployment
geg Mar 26, 2007 5:09 AM (in response to geg)
where to find the source codes??
in the heading ?Downloads?, there are the achievable ones -
10. Re: problem with deployment
geg Mar 26, 2007 7:39 AM (in response to geg)I do not know java at all, therefore how made one for complier the file ??
-
11. Re: problem with deployment
geg Mar 26, 2007 8:29 AM (in response to geg)I have succeeds with complier but it asks me importation which I do not have. I wanted to know if it were possible to provide me the file to compile??
-
12. Re: problem with deployment
geg Apr 2, 2007 4:41 AM (in response to geg)Can one help me for my file JAVA???
-
13. Re: problem with deployment
kukeltje Apr 2, 2007 5:14 AM (in response to geg)Geg,
I don't think you will get much support from the community if you state that you do not know java at all. Learning java is something you should do first.