0 Replies Latest reply on Oct 3, 2005 5:05 PM by sudhakartv

    jbpm.war file problem.

    sudhakartv

      I am using wsad5.1.1 and trying to install a war file. I have created a web project and imported jbpm war file. when i compiled, WSAD complained about web.xml file that it is not follwoing the order of elements. So I reorderd it and kept display name tags which was created by wsad whne created webapplication. I atsrted the server and found these messages.

      [B][10/3/05 16:00:17:611 CDT] 30c48844 ApplicationMg A WSVR0200I: Starting application: DefaultEAR
      [10/3/05 16:00:17:986 CDT] 30c48844 WebContainer A SRVE0169I: Loading Web Module: jbpmweb.
      [10/3/05 16:00:19:049 CDT] 30c48844 WebApp E SRVE0015E: Failure to initialize Web application jbpmweb
      [10/3/05 16:00:19:080 CDT] 30c48844 WebGroup E SRVE0054E: An error occurred while loading Web application
      [10/3/05 16:00:19:096 CDT] 30c48844 DeployedAppli W WSVR0206E: Module, jbpmweb.war, of application, DefaultEAR.ear/deployments/DefaultEAR, failed to start
      [10/3/05 16:00:19:096 CDT] 30c48844 ApplicationMg W WSVR0101W: An error occurred starting, DefaultEAR
      [10/3/05 16:00:19:158 CDT] 30c48844 ApplicationMg A WSVR0217I: Stopping application: DefaultEAR
      [10/3/05 16:00:19:283 CDT] 30c48844 ApplicationMg A WSVR0220I: Application stopped: DefaultEAR[/B]

      Can some one help what could be the problem. ?

      The original web.xml modified to

      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
      <web-app id="WebApp">
      <display-name>jbpmweb</display-name>

      <context-param>
      <param-name>tiles-definitions</param-name>
      <param-value>/WEB-INF/tiles-defs.xml</param-value>
      </context-param>

      <context-param>
      <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
      <param-value>client</param-value>
      </context-param>


      <filter-name>LogFilter</filter-name>
      <filter-class>org.jbpm.webapp.filter.LogFilter</filter-class>


      <filter-name>ContextFilter</filter-name>
      <filter-class>org.jbpm.webapp.filter.ContextFilter</filter-class>


      <filter-name>PersistenceFilter</filter-name>
      <filter-class>org.jbpm.webapp.filter.PersistenceFilter</filter-class>


      <filter-name>AuthenticationFilter</filter-name>
      <filter-class>org.jbpm.webapp.filter.AuthenticationFilter</filter-class>

      <filter-mapping>
      <filter-name>LogFilter</filter-name>
      <url-pattern>/*</url-pattern>
      </filter-mapping>
      <filter-mapping>
      <filter-name>ContextFilter</filter-name>
      <url-pattern>/*</url-pattern>
      </filter-mapping>
      <filter-mapping>
      <filter-name>PersistenceFilter</filter-name>
      <url-pattern>/*</url-pattern>
      </filter-mapping>
      <filter-mapping>
      <filter-name>AuthenticationFilter</filter-name>
      <url-pattern>/*</url-pattern>
      </filter-mapping>


      <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>


      <!-- jBPM SchedulerServlet -->

      <servlet-name>SchedulerServlet</servlet-name>
      <servlet-class>org.jbpm.scheduler.impl.SchedulerServlet</servlet-class>
      <load-on-startup>1</load-on-startup>



      <!-- jBPM FileServlet -->

      <servlet-name>ProcessImageServlet</servlet-name>
      <servlet-class>org.jbpm.webapp.servlet.ProcessImageServlet</servlet-class>



      <!-- jBPM DeployServlet -->

      <servlet-name>DeployServlet</servlet-name>
      <servlet-class>org.jbpm.webapp.servlet.DeployServlet</servlet-class>



      <!-- MyFaces JSF -->


      <servlet-name>FacesServlet</servlet-name>
      <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
      <load-on-startup>1</load-on-startup>


      <servlet-mapping>
      <servlet-name>SchedulerServlet</servlet-name>
      <url-pattern>/scheduler</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
      <servlet-name>ProcessImageServlet</servlet-name>
      <url-pattern>/processimage</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
      <servlet-name>DeployServlet</servlet-name>
      <url-pattern>/deploy</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
      <servlet-name>FacesServlet</servlet-name>
      <url-pattern>/faces/*</url-pattern>
      </servlet-mapping>



      <welcome-file-list>
      <welcome-file>index.html</welcome-file>
      <welcome-file>index.htm</welcome-file>
      <welcome-file>index.jsp</welcome-file>
      <welcome-file>default.html</welcome-file>
      <welcome-file>default.htm</welcome-file>
      <welcome-file>default.jsp</welcome-file>
      </welcome-file-list>
      </web-app>

      Thanks
      Sudhakar