[jboss-user] [JBoss jBPM] - Bean deployment question

tttito do-not-reply at jboss.com
Sun Apr 26 10:48:02 EDT 2009


I am using a Bean in a JSF page. I have registered the bean in .../jboss-5.0.0.GA\server\default\deploy\jbpm\jsf-console.war\WEB-INF\faces-config.xml
...
</application>
  | <managed-bean>
  |   <managed-bean-name>InstallBean</managed-bean-name>
  |   <managed-bean-class>com.cart.jbpm.InstallBean</managed-bean-class>
  |   <managed-bean-scope>request</managed-bean-scope>
  |  </managed-bean>
  | </faces-config>

After deployment from eclipse to /jbpm-console/upload I get that the app cannot find my bean.

javax.servlet.ServletException: Unable to create managed bean InstallBean.  The following problems were found:
  |      - Bean or property class com.cart.jbpm.InstallBean for managed bean InstallBean cannot be found.
  | 	javax.faces.webapp.FacesServlet.service(FacesServlet.java:270)
  | 	org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96
  | 

I have also copied my InstallBean.class to ...\jboss-5.0.0.GA\server\default\deploy\jbpm\jsf-console.war\WEB-INF\classes\com\cart\jbpm
, but it's still not working.

My obvious question is: where should I put my bean class?

Thanks in advance for your attention.

t

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226791#4226791

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4226791



More information about the jboss-user mailing list