cancel
Showing results for 
Search instead for 
Did you mean: 

Isue activiti kickstar!

activiti_user12
Champ in-the-making
Champ in-the-making
Already have activiti probe, explorer, cycle, modeler installing and working with mysql, but when i install new release of activiti  5.1 i have this problem:

Estado HTTP 500 -

type Informe de Excepción

mensaje

descripción El servidor encontró un error interno () que hizo que no pudiera rellenar este requerimiento.

excepción

javax.servlet.ServletException: java.lang.NullPointerException
   com.vaadin.terminal.gwt.server.AbstractApplicationServlet.handleServiceException(AbstractApplicationServlet.java:966)
   com.vaadin.terminal.gwt.server.AbstractApplicationServlet.service(AbstractApplicationServlet.java:523)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

causa raíz

java.lang.NullPointerException
   org.activiti.kickstart.service.AdhocWorkflowServiceImpl.<init>(AdhocWorkflowServiceImpl.java:58)
   org.activiti.kickstart.service.ServiceLocator.getAdhocWorkflowService(ServiceLocator.java:33)
   org.activiti.kickstart.ui.panel.AdhocWorkflowPanel.init(AdhocWorkflowPanel.java:78)
   org.activiti.kickstart.ui.panel.AdhocWorkflowPanel.<init>(AdhocWorkflowPanel.java:68)
   org.activiti.kickstart.ui.panel.AdhocWorkflowPanel.<init>(AdhocWorkflowPanel.java:72)
   org.activiti.kickstart.KickStartApplication.initDefaultWorkArea(KickStartApplication.java:83)
   org.activiti.kickstart.KickStartApplication.init(KickStartApplication.java:47)
   com.vaadin.Application.start(Application.java:549)
   com.vaadin.terminal.gwt.server.AbstractApplicationServlet.startApplication(AbstractApplicationServlet.java:1146)
   com.vaadin.terminal.gwt.server.AbstractApplicationServlet.service(AbstractApplicationServlet.java:459)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

nota La traza completa de la causa de este error se encuentra en los archivos de diario de Apache Tomcat/6.0.29.
Apache Tomcat/6.0.29


Any ideas?
17 REPLIES 17

activiti_user12
Champ in-the-making
Champ in-the-making
when you make cfg.create, you obtain a new cfg-activiti.jar but it's located under setup/build and not replace activiti-cfg inside tomcat.

In my case, I modify build xml and cfg.create, copy the new file to two location more:
- inside activiti-rest lib folder (tomcat)
- inside kickstar lib folder (tomcat)

Answering your questions:

1) Not correct, cfg.create is for create a new jar (for changind database properties, or others for sample mail server, history, job executor…) but not replace anything into the tomcat…

2) you need replace this jar, because is older, and you need copy your last version with correct properties.

3) using cfg.create that generates a jar into setup/build..



Already generate new activiti-cfg.jar and copy in this locations:

- inside activiti-rest lib folder (tomcat)
- inside kickstar lib folder (tomcat)

still not working!! any ideas?


Pd: im working under wintendo with mysql

jbarrez
Star Contributor
Star Contributor
Did you copy the database driver to activiti-kickstart/WEB-INF/lib ?

If thats the case, probably somewhere in /apps/apache-tomcat-x/logs/catalina.out there will be a stacktrace stating that a suitable driver has not been found.

activiti_user12
Champ in-the-making
Champ in-the-making
[size=200]Solved![/size]


Amateur mistake!  :roll:

i just copy  from activiti-home\setup\files\dependencies\libs the file mysql-connector-java-5.1.6 to Tomcat 6.0\webapps\activiti-kickstart\WEB-INF\lib and everything works more than perfect!!!

Thank u verry much @jbarrez and @jcosano 4 ur help!!

Congrats in ur new release!!

jbarrez
Star Contributor
Star Contributor
Not an amateur mistake at all! I updated the userguide to include that the database driver must be installed, so thank you 😉

eldiegos
Champ in-the-making
Champ in-the-making
Great KickStart. I'm really expecting next version.

paulo_emerique1
Champ in-the-making
Champ in-the-making
Hi all, just to note I also was stuck on same point trying to run on Postgre 8.4. After copying cfg file and DB driver it is working great now!

I'll be working quite some hours on activiti and grails activiti plugin these days to build a workflow pilot project.

Congrats!

Paulo Cesar Emerique

jpp
Champ in-the-making
Champ in-the-making
I had the same problem, then I followed the instruction here and I copy the mysql driver in the WEB-INF/lib and it works.

Regards,

JP

rohran
Champ in-the-making
Champ in-the-making
As mentioned in the user guide, i copied the activity.cfg.jar to kickstart/lib when i tried to use the oracle db.

I still got the same exception described above, but you need to place oracle driver jar to the appserver instance for example : tomcat/lib, In your case, you need to copy mysql driver jar file to tomcat/lib if you use tomcat as server.

Once the oracle driver jar in place, I could able to see kickstart app up and running.

-rohran


when you make cfg.create, you obtain a new cfg-activiti.jar but it's located under setup/build and not replace activiti-cfg inside tomcat.

In my case, I modify build xml and cfg.create, copy the new file to two location more:
- inside activiti-rest lib folder (tomcat)
- inside kickstar lib folder (tomcat)

Answering your questions:

1) Not correct, cfg.create is for create a new jar (for changind database properties, or others for sample mail server, history, job executor…) but not replace anything into the tomcat…

2) you need replace this jar, because is older, and you need copy your last version with correct properties.

3) using cfg.create that generates a jar into setup/build..

I have followed all the steps and i have the same problem than Activiti_user123. I'm trying activiti 5.1 in fedora with mysql.

Any other idea?
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.