AnsweredAssumed Answered

Deploying Camel application from activiti in action book

Question asked by pmsriram13 on Jan 15, 2013
Latest reply on Jan 17, 2013 by trademak
Guys, I need your help. I have been struggling to get the camel application  deployed on Tomcat 6.0.36(from the activiti in action book) working. It works fine when I run the unit tests from eclipse.
I am using Activiti 5.11/Windows 7

Here are my steps:
1. Installed the Activiti plugin for Eclipse.
2. Imported the book-camel project into eclipse.Generated the .bar and .jar artifacts.
3. Followed instructions to copy the activiti-explorer and activiti-rest projects into tomcat's webbapps folder.
4. Started tomcat with no errors.
Deployment on tomcat:
Shut down tomcat.
1. Copied the book-camel.jar to the activiti-explorer/WEB-INF/lib folder.Restarted tomcat.

2. Logged into the activiti explorer application and deployed the workflow.(Note : I have not made the web.xml change to load spring configuration files yet)
Shut down tomcat.
3. Modified the web.xml to add the

Restarted tomcat.
When I try to open the activiti-explorer application, i get the following error(this is the same one i posted a few weeks ago, but with my own application)
 Jan 15, 2013 9:29:42 AM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet Vaadin Application Servlet threw exception

org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean
of type [org.activiti.explorer.ExplorerApp] is defined: expected single bean but
found 0:
        at org.activiti.explorer.servlet.ExplorerApplicationServlet.getNewApplic
        at com.vaadin.terminal.gwt.server.AbstractApplicationServlet.createAppli
        at com.vaadin.terminal.gwt.server.AbstractApplicationServlet.findApplica
        at com.vaadin.terminal.gwt.server.AbstractApplicationServlet.service(Abs
        at javax.servlet.http.HttpServlet.service(
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j

I am stuck at this stage. I would like to know if some one has deployed the camel application to Tomcat 6.0.36 and got it working.