Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
JSP - A mailing list about Java Server Pages specification and reference
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
- Syntax error when lauching jBPM = > MySQL

- Syntax error when lauching jBPM = > MySQL

2007-06-12       - By Riket44

 Back
Hello,

I've followed the installation guide for MySQL on jBPM 3.2 GA and when I try to
launch the server... There is an error I don't understand, here it is :


 | 10:01:29,187 DEBUG [JobExecutorThread] acquiring jobs for execution...
 | 10:01:29,187 DEBUG [JbpmContextInfo] creating jbpm context with service
factorie
 | s '[tx, message, scheduler, logging, persistence, authentication]'
 | 10:01:29,187 DEBUG [JbpmContext] creating org.jbpm.JbpmContext@(protected)
 | 10:01:29,187 DEBUG [DbPersistenceServiceFactory] creating persistence
service
 | 10:01:29,187 DEBUG [DbPersistenceService] creating hibernate session
 | 10:01:29,187 DEBUG [DbPersistenceService] beginning hibernate transaction
 | 10:01:29,187 DEBUG [JobExecutorThread] querying for acquirable job...
 | 10:01:29,187 WARN  [JDBCExceptionReporter] SQL Error: 1064, SQLState: 42000
 | 10:01:29,187 ERROR [JDBCExceptionReporter] You have an error in your SQL
syntax;
 |  check the manual that corresponds to your MySQL server version for the
right sy
 | ntax to use near '1 job0_.ID_ as ID1_26_, job0_.VERSION_ as VERSION3_26_,
job0_.
 | DUEDATE_ as DUEDAT' at line 1
 | 10:01:29,187 ERROR [JobSession] org.hibernate.exception.SQLGrammarException Source code of org.hibernate.exception.SQLGrammarException
: cou
 | ld not execute query
 | 10:01:29,187 DEBUG [JbpmContext] closing JbpmContext
 | 10:01:29,203 DEBUG [Services] closing service 'persistence': org.jbpm
.persistenc
 | e.db.DbPersistenceService@(protected)
 | 10:01:29,203 DEBUG [DbPersistenceService] committing hibernate transaction
 | 10:01:29,203 DEBUG [DbPersistenceService] closing hibernate session
 | 10:01:29,203 DEBUG [Services] closing service 'tx': org.jbpm.tx.TxService
@(protected)
 |
 | 10:01:29,203 ERROR [JobExecutorThread] exception in job executor thread.
waiting
 |  320000 milliseconds
 | org.jbpm.JbpmException: couldn't get acquirable jobs
 |         at org.jbpm.db.JobSession.getFirstAcquirableJob(JobSession.java:44)
 |         at org.jbpm.job.executor.JobExecutorThread.acquireJobs
(JobExecutorThread
 | .java:111)
 |         at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread
.java:56
 | )
 | Caused by: org.hibernate.exception.SQLGrammarException Source code of org.hibernate.exception.SQLGrammarException: could not execute
query
 |         at org.hibernate.exception.SQLStateConverter Source code of org.hibernate.exception.SQLStateConverter
(SQLStateConverter.j
 | ava:67)
 |         at org.hibernate.exception.JDBCExceptionHelper Source code of org.hibernate.exception.JDBCExceptionHelper
(JDBCExceptionHelp
 | er.java:43)
 |         at org.hibernate.loader.Loader Source code of org.hibernate.loader.Loader(Loader.java:2148)
 |         at org.hibernate.loader.Loader Source code of org.hibernate.loader.Loader(Loader.java
:2029)
 |         at org.hibernate.loader.Loader Source code of org.hibernate.loader.Loader(Loader.java:2024)
 |         at org.hibernate.loader.hql.QueryLoader Source code of org.hibernate.loader.hql.QueryLoader(QueryLoader.java:392)
 |         at org.hibernate.hql.ast.QueryTranslatorImpl Source code of org.hibernate.hql.ast.QueryTranslatorImpl
(QueryTranslatorImpl.ja
 | va:333)
 |         at org.hibernate.engine.query.HQLQueryPlan Source code of org.hibernate.engine.query.HQLQueryPlan(HQLQueryPlan
.java
 | :172)
 |         at org.hibernate.impl.SessionImpl Source code of org.hibernate.impl.SessionImpl(SessionImpl.java:1114)
 |         at org.hibernate.impl.QueryImpl Source code of org.hibernate.impl.QueryImpl(QueryImpl.java:79)
 |         at org.hibernate.impl.AbstractQueryImpl Source code of org.hibernate.impl.AbstractQueryImpl
(AbstractQueryImpl.j
 | ava:756)
 |         at org.jbpm.db.JobSession.getFirstAcquirableJob(JobSession.java:40)
 |         ... 2 more
 | Caused by: java.sql.SQLException Source code of java.sql.SQLException: You have an error in your SQL syntax;
check th
 | e manual that corresponds to your MySQL server version for the right syntax
to u
 | se near '1 job0_.ID_ as ID1_26_, job0_.VERSION_ as VERSION3_26_, job0_
.DUEDATE_
 | as DUEDAT' at line 1
 |         at com.mysql.jdbc.MysqlIO Source code of com.mysql.jdbc.MysqlIO(MysqlIO.java:2975)
 |         at com.mysql.jdbc.MysqlIO Source code of com.mysql.jdbc.MysqlIO(MysqlIO.java:1600)
 |         at com.mysql.jdbc.MysqlIO Source code of com.mysql.jdbc.MysqlIO(MysqlIO.java:1695)
 |         at com.mysql.jdbc.Connection Source code of com.mysql.jdbc.Connection(Connection.java:3026)
 |         at com.mysql.jdbc.PreparedStatement Source code of com.mysql.jdbc.PreparedStatement
(PreparedStatement.ja
 | va:1137)
 |         at com.mysql.jdbc.PreparedStatement Source code of com.mysql.jdbc.PreparedStatement(PreparedStatement
.java:
 | 1231)
 |         at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement
.executeQuery
 | (WrappedPreparedStatement.java:236)
 |         at org.hibernate.jdbc.AbstractBatcher Source code of org.hibernate.jdbc.AbstractBatcher(AbstractBatcher
.java:
 | 186)
 |         at org.hibernate.loader.Loader Source code of org.hibernate.loader.Loader(Loader.java:1669)
 |         at org.hibernate.loader.Loader Source code of org.hibernate.loader.Loader(Loader.java:662)
 |         at org.hibernate.loader.Loader Source code of org.hibernate.loader.Loader
.doQueryAndInitializeNonLazyCollections(Lo
 | ader.java:224)
 |         at org.hibernate.loader.Loader Source code of org.hibernate.loader.Loader(Loader.java:2145)
 |         ... 11 more

I hope you could help me.

Regards,
Richard.

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode
=reply&p=4053375
__ ____ ____ ____ ____ ____ ____ ____ ____ ____
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user

©2008 junlu.com - Jax Systems, LLC, U.S.A.