1 Reply Latest reply on Mar 29, 2006 5:01 AM by Koen Aers

    java.lang.NoClassDefFoundError: org/jbpm/security/Authentica

    KiamFei Chin Newbie

      Hi guys,
      I am not sure what I did wrong ? I downloaded the jbpm.war from http://wiki.jboss.org/wiki/Wiki.jsp?page=JbpmWebConsole and even used the one extracted from the jbpm-starters-kit-3.1.zip file downloaded from jboss site; both are giving the same error while I access to http://localhost:8080/jbpm/ . looked like some jar files are missing. I tried to search from the jbpm jar files I have downloaded, they all do not consist of class org/jbpm/security/Authentication. I really need someone to guide me thru this error. Thank you.
      cheers,
      KiamFei

      The error is as below :

      2006-03-24 16:26:16,530 DEBUG [org.jbpm.webapp.filter.LogFilter] request http://localhost:8080/jbpm/
      2006-03-24 16:26:16,530 DEBUG [org.jbpm.webapp.context.PersistenceContext] beginning transaction
      2006-03-24 16:26:16,530 DEBUG [org.hibernate.impl.SessionImpl] opened session at timestamp: 4682501228666880
      2006-03-24 16:26:16,530 DEBUG [org.hibernate.transaction.JDBCTransaction] begin
      2006-03-24 16:26:16,530 DEBUG [org.hibernate.jdbc.ConnectionManager] opening JDBC connection
      2006-03-24 16:26:16,530 DEBUG [org.hibernate.connection.DriverManagerConnectionProvider] total checked-out connections: 0
      2006-03-24 16:26:16,530 DEBUG [org.hibernate.connection.DriverManagerConnectionProvider] using pooled JDBC connection, pool size: 0
      2006-03-24 16:26:16,530 DEBUG [org.hibernate.transaction.JDBCTransaction] current autocommit status: false
      2006-03-24 16:26:16,530 DEBUG [org.hibernate.jdbc.JDBCContext] before transaction completion
      2006-03-24 16:26:16,530 DEBUG [org.jbpm.webapp.context.PersistenceContext] rolling back transaction
      2006-03-24 16:26:16,530 DEBUG [org.hibernate.transaction.JDBCTransaction] rollback
      2006-03-24 16:26:16,530 DEBUG [org.hibernate.jdbc.JDBCContext] before transaction completion
      2006-03-24 16:26:16,530 DEBUG [org.hibernate.impl.SessionImpl] before transaction completion
      2006-03-24 16:26:16,562 DEBUG [org.hibernate.transaction.JDBCTransaction] rolled back JDBC Connection
      2006-03-24 16:26:16,562 DEBUG [org.hibernate.jdbc.JDBCContext] after transaction completion
      2006-03-24 16:26:16,562 DEBUG [org.hibernate.impl.SessionImpl] after transaction completion
      2006-03-24 16:26:16,562 DEBUG [org.hibernate.impl.SessionImpl] closing session
      2006-03-24 16:26:16,562 DEBUG [org.hibernate.jdbc.ConnectionManager] closing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)]
      2006-03-24 16:26:16,562 DEBUG [org.hibernate.connection.DriverManagerConnectionProvider] returning connection to pool, pool size: 1
      2006-03-24 16:26:16,562 DEBUG [org.hibernate.jdbc.JDBCContext] after transaction completion
      2006-03-24 16:26:16,562 DEBUG [org.hibernate.impl.SessionImpl] after transaction completion
      2006-03-24 16:26:16,562 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/jbpm].[jsp]] Servlet.service() for servlet jsp threw exception
      java.lang.NoClassDefFoundError: org/jbpm/security/Authentication
      at org.jbpm.webapp.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:23)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.jbpm.webapp.filter.PersistenceFilter.doFilter(PersistenceFilter.java:28)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.jbpm.webapp.filter.ContextFilter.doFilter(ContextFilter.java:19)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:38)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:157)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
      at java.lang.Thread.run(Thread.java:620)
      2006-03-24 16:26:16,780 DEBUG [org.jbpm.configuration.JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'
      2006-03-24 16:26:16,780 DEBUG [org.jbpm.JbpmContext] creating JbpmContext
      2006-03-24 16:26:16,780 DEBUG [org.jbpm.persistence.db.DbPersistenceServiceFactory] creating persistence service
      2006-03-24 16:26:16,780 DEBUG [org.jbpm.persistence.db.DbPersistenceService] creating hibernate session
      2006-03-24 16:26:16,780 DEBUG [org.hibernate.impl.SessionImpl] opened session at timestamp: 4682501229690880
      2006-03-24 16:26:16,780 DEBUG [org.jbpm.persistence.db.DbPersistenceService] beginning hibernate transaction
      2006-03-24 16:26:16,780 DEBUG [org.hibernate.transaction.JDBCTransaction] begin
      2006-03-24 16:26:16,780 DEBUG [org.hibernate.jdbc.ConnectionManager] opening JDBC connection
      2006-03-24 16:26:16,780 DEBUG [org.hibernate.connection.DriverManagerConnectionProvider] total checked-out connections: 0
      2006-03-24 16:26:16,780 DEBUG [org.hibernate.connection.DriverManagerConnectionProvider] using pooled JDBC connection, pool size: 0
      2006-03-24 16:26:16,780 DEBUG [org.hibernate.transaction.JDBCTransaction] current autocommit status: false
      2006-03-24 16:26:16,780 DEBUG [org.hibernate.jdbc.JDBCContext] before transaction completion
      2006-03-24 16:26:16,780 DEBUG [org.jbpm.scheduler.impl.SchedulerThread] checking for timers
      2006-03-24 16:26:16,780 DEBUG [org.hibernate.impl.SessionImpl] iterate:

      select ti
      from org.jbpm.scheduler.exe.Timer as ti
      where ti.exception is null
      and ti.isSuspended != true
      order by ti.dueDate asc


      2006-03-24 16:26:16,780 DEBUG [org.hibernate.engine.QueryParameters] named parameters: {}
      2006-03-24 16:26:16,780 DEBUG [org.hibernate.hql.ast.QueryTranslatorImpl] compile() : The query is already compiled, skipping...
      2006-03-24 16:26:16,780 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
      2006-03-24 16:26:16,780 DEBUG [org.hibernate.SQL] select timer0_.ID_ as col_0_0_ from JBPM_TIMER timer0_ where (timer0_.EXCEPTION_ is null) and timer0_.ISSUSPENDED_<>1 order by timer0_.DUEDATE_ asc
      2006-03-24 16:26:16,780 INFO [STDOUT] Hibernate: select timer0_.ID_ as col_0_0_ from JBPM_TIMER timer0_ where (timer0_.EXCEPTION_ is null) and timer0_.ISSUSPENDED_<>1 order by timer0_.DUEDATE_ asc
      2006-03-24 16:26:16,780 DEBUG [org.hibernate.jdbc.AbstractBatcher] preparing statement
      2006-03-24 16:26:16,812 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to open ResultSet (open ResultSets: 0, globally: 0)
      2006-03-24 16:26:16,812 DEBUG [org.hibernate.impl.IteratorImpl] exhausted results
      2006-03-24 16:26:16,812 DEBUG [org.hibernate.impl.IteratorImpl] closing iterator
      2006-03-24 16:26:16,812 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to close ResultSet (open ResultSets: 1, globally: 1)
      2006-03-24 16:26:16,812 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
      2006-03-24 16:26:16,812 DEBUG [org.hibernate.jdbc.AbstractBatcher] closing statement
      2006-03-24 16:26:16,812 DEBUG [org.jbpm.JbpmContext] closing JbpmContext
      2006-03-24 16:26:16,812 DEBUG [org.jbpm.svc.Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService@138aae1
      2006-03-24 16:26:16,812 DEBUG [org.jbpm.persistence.db.DbPersistenceService] committing hibernate transaction
      2006-03-24 16:26:16,812 DEBUG [org.hibernate.transaction.JDBCTransaction] commit
      2006-03-24 16:26:16,812 DEBUG [org.hibernate.impl.SessionImpl] automatically flushing session
      2006-03-24 16:26:16,812 DEBUG [org.hibernate.jdbc.JDBCContext] before transaction completion
      2006-03-24 16:26:16,812 DEBUG [org.hibernate.impl.SessionImpl] before transaction completion
      2006-03-24 16:26:16,812 DEBUG [org.hibernate.transaction.JDBCTransaction] committed JDBC Connection
      2006-03-24 16:26:16,812 DEBUG [org.hibernate.jdbc.JDBCContext] after transaction completion
      2006-03-24 16:26:16,812 DEBUG [org.hibernate.impl.SessionImpl] after transaction completion
      2006-03-24 16:26:16,812 DEBUG [org.jbpm.persistence.db.DbPersistenceService] closing hibernate session
      2006-03-24 16:26:16,812 DEBUG [org.hibernate.impl.SessionImpl] closing session
      2006-03-24 16:26:16,812 DEBUG [org.hibernate.jdbc.ConnectionManager] closing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)]
      2006-03-24 16:26:16,812 DEBUG [org.hibernate.connection.DriverManagerConnectionProvider] returning connection to pool, pool size: 1
      2006-03-24 16:26:16,812 DEBUG [org.hibernate.jdbc.JDBCContext] after transaction completion
      2006-03-24 16:26:16,812 DEBUG [org.hibernate.impl.SessionImpl] after transaction completion