AnsweredAssumed Answered

Failed to deploy

Question asked by houstoniasian on Sep 5, 2013
Latest reply on Sep 17, 2013 by houstoniasian
I set up Activiti 5.13 in Tomcat 7.  Everything works great.  I can deploy process definitions just fine.  So I copy the Tomcat folder (w/ Activiti) and handed to him.  He installed database on his machine w/ the same user/password like mine.  He's able to view Activiti-Explorer.  However, when he tries to upload a process definition, Activiti throws this error:

INFO: Server startup in 19067 ms
Sep 04, 2013 3:06:49 PM com.vaadin.Application terminalError
SEVERE: Terminal error:
com.vaadin.terminal.gwt.server.UploadException: Upload failed
   at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.streamToReceiver(AbstractCommunicationManager.java:623)
   at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.doHandleXhrFilePost(AbstractCommunicationManager.java:520)
   at com.vaadin.terminal.gwt.server.CommunicationManager.handleFileUpload(CommunicationManager.java:267)
   at com.vaadin.terminal.gwt.server.AbstractApplicationServlet.service(AbstractApplicationServlet.java:495)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
   at org.activiti.explorer.filter.ExplorerFilter.doFilter(ExplorerFilter.java:44)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
   at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:931)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
   at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
   at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
   at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1822)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
   at java.lang.Thread.run(Thread.java:724)
Caused by: java.lang.NullPointerException
   at org.activiti.explorer.ui.management.deployment.DeploymentUploadReceiver.showUploadedDeployment(DeploymentUploadReceiver.java:114)
   at org.activiti.explorer.ui.management.deployment.DeploymentUploadReceiver.uploadFinished(DeploymentUploadReceiver.java:73)
   at org.activiti.explorer.ui.custom.UploadComponent.uploadFinished(UploadComponent.java:173)
   at org.activiti.explorer.ui.custom.UploadComponent$1.streamingFinished(UploadComponent.java:198)
   at com.vaadin.ui.DragAndDropWrapper$ProxyReceiver.streamingFinished(DragAndDropWrapper.java:332)
   at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.streamToReceiver(AbstractCommunicationManager.java:600)
   … 23 more

It's not wrong with the process definition because I can upload it on my machine just fine.  I don't know if there is anything that need to be configured outside the Tomcat folder (other than database) that I forgot to tell him?

Please help.  Thanks,

Tan

Outcomes