1 2 Previous Next 17 Replies Latest reply on Oct 25, 2006 1:14 AM by cheng shouwu Go to original post
      • 15. Re: JBPM without starter kit
        Ricardo Viegas Newbie

        I have instaled a new Jboss 4.0.4, then I have runed the ant from the eclipse to deploy JBPM into the server (the build was sucessful), after I have made the changes described in chapter 8 of the manual, I get the following errors in the server:

        11:21:08,836 DEBUG [CommandExecutorThread] command 'null' threw exception. rolli

        ng back transaction

        java.lang.IllegalAccessError: tried to access method net.sf.ehcache.CacheManager

        .<init>()V from class org.hibernate.cache.EhCacheProvider

        at org.hibernate.cache.EhCacheProvider.start(EhCacheProvider.java:124)

        at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:

        180)

        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.jav

        a:1213)

        at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory

        (DbPersistenceServiceFactory.java:90)

        at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPers

        istenceService.java:74)

        at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistence

        Service.java:79)

        at org.jbpm.persistence.db.DbPersistenceService.getMessagingSession(DbPe

        rsistenceService.java:234)

        at org.jbpm.JbpmContext.getMessagingSession(JbpmContext.java:417)

        at org.jbpm.msg.db.DbMessageService.<init>(DbMessageService.java:49)

        at org.jbpm.msg.db.DbMessageServiceFactory.openService(DbMessageServiceF

        actory.java:32)

        at org.jbpm.svc.Services.getService(Services.java:136)

        at org.jbpm.svc.Services.getMessageService(Services.java:172)

        at org.jbpm.msg.command.CommandExecutorThread.executeCommand(CommandExec

        utorThread.java:111)

        at org.jbpm.msg.command.CommandExecutorThread.run(CommandExecutorThread.

        java:79)


        and when I try to acess the localhost:8080/jbpm I get the error

        type Exception report

        message

        description The server encountered an internal error () that prevented it from fulfilling this request.

        exception

        org.apache.jasper.JasperException: Exception in JSP: /index.jsp:4



        1: <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>

        2: <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>

        3:

        4: <jsp:forward page="faces/login.jsp" />





        Stacktrace:

        org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504)

        org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)

        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)

        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)

        javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

        org.jbpm.webapp.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:55)

        org.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:83)

        org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59)

        org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

        root cause

        javax.servlet.ServletException: Cannot get value for expression '#{userBean.userSelectItems}'

        javax.faces.webapp.FacesServlet.service(FacesServlet.java:109)

        org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:703)

        org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:670)

        org.apache.jsp.index_jsp._jspService(index_jsp.java:46)

        org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)

        javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

        org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)

        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)

        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)

        javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

        org.jbpm.webapp.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:55)

        org.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:83)

        org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59)

        org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

        need help please

        • 16. Re: JBPM without starter kit
          Ronald van Kuijk Master

          the issue of the ehcache has been addressed somewhere in the last few days. Please search the forum to find the answer.

          • 17. Re: JBPM without starter kit
            cheng shouwu Newbie

            Hi Viegas:

            I think i have the same questions as yours.i am using tomcat as container.and when you build the war archive,you should copy /src/config.files/log4j.xml to /build/jbpm.war.dir/WEB-INF and copy and /src/config.files/hibernate.cfg.xml to /build/jbpm.war.dir/WEB-INF/classes , I tried it success in tomcat! pls have a try!

            good luck

            cheng icer(from china)

            1 2 Previous Next