Deploying Camel application from activiti in action book
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2013 10:33 AM
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)
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.
Thanks!
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
<context-param> <param-name>contextConfigLocation</param-name> <param-value>classpath*:/helloworld/application-context.xml</param-value> </context-param>
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 invokeSEVERE: Servlet.service() for servlet Vaadin Application Servlet threw exceptionorg.springframework.beans.factory.NoSuchBeanDefinitionException: No unique beanof type [org.activiti.explorer.ExplorerApp] is defined: expected single bean but found 0: at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:280) at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1106) at org.activiti.explorer.servlet.ExplorerApplicationServlet.getNewApplication(ExplorerApplicationServlet.java:55) at com.vaadin.terminal.gwt.server.AbstractApplicationServlet.createApplication(AbstractApplicationServlet.java:973) at com.vaadin.terminal.gwt.server.AbstractApplicationServlet.findApplicationInstance(AbstractApplicationServlet.java:801) at com.vaadin.terminal.gwt.server.AbstractApplicationServlet.service(AbstractApplicationServlet.java:456) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) 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.
Thanks!
Labels:
- Labels:
-
Archive
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2013 07:46 AM
Hi,
I'm missing some steps in your explanation. What did you do exactly?
Best regards,
I'm missing some steps in your explanation. What did you do exactly?
Best regards,
