cancel
Showing results for 
Search instead for 
Did you mean: 

Problems deploying Activiti

xtofe
Champ in-the-making
Champ in-the-making
Hello,
I am just trying to setup my eclipse IDE with the activiti 5-6 distribution but I am having some problems. I have downloaded the distribution from subversion and solved all dependencies with Maven but right now I do not know how to go on…

I want to deploy the activity engine. I guess I should execute "ant clean distro" in order to get the distribution compiled and then execute one of the script (i.e. ant demo.start) that will run up the database, Tomcat and all the stuff. Am I right? Is this a good approach? When I execute this command I get an error:
D:\adrian\ActivitiWorkspace\activiti-5.6\userguide\build.xml:103: javax.xml.tran
sform.TransformerException: java.lang.NullPointerException
        at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transfor
m(TransformerImpl.java:716)
        at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transfor
m(TransformerImpl.java:313)

I have also executed "mvn -Pcheck clean install" and everything is ok.

I know it is a basic question but I have not found detail information about this or maybe I am misunderstanding the information in the developers guide.

Finally, if I want to interact with Activiti from a java standalone app, I guess I have to add to the build path the activiti.jar. Is this correct?

Thank you very much. Regards,
Adrián
2 REPLIES 2

jbarrez
Star Contributor
Star Contributor
Just to make clear: if you want to just use Activiti, there is no need to compile and package Activiti yourself. You can just download the zip file from activiti.org, it contains everything you need.

If you do want to compile it yourself: the error you are getting is a known bug in the Xalan XML parser.
If I'm correct, the logging output just before that error must have displayed something like 'if you get an error, first do this'. You need to execute another ant target (the exact name is in the logging message), which will patch Xalan, and all will run smooth thenm.

xtofe
Champ in-the-making
Champ in-the-making
You were right. I just have to execute the "ant install.xalan.libs" and everything works properly.
Thank you. Best Regards,
Adrián