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
 
- ProcessDefinition disapear from the database

- ProcessDefinition disapear from the database

2007-07-16       - By mailinator

 Back
Hi,

i have encountred some issue while testing jbpm.
Here what i have done :
Deploying my processdefinition with the deployer of the jbpm Designer eclipse
plugin.
Checking in the database for that processdefinition : it appeared.

In my Struts action :

JbpmConfiguration jbpmConfiguration=JbpmConfiguration.getInstance();
JbpmContext jbpmContext=jbpmConfiguration.createJbpmContext();
jbpmConfiguration.createSchema();
ProcessDefinition processDefinition=ProcessDefinition.parseXmlResource(
"demandeAccesVerifUserAlerteRH/processdefinition.xml");

This throws an exception :

17:06:21,822 WARN  [JDBCExceptionReporter] SQL Error: 942, SQLState: 42000
17:06:21,822 ERROR [JDBCExceptionReporter] ORA-00942 (See http://ORA-00942.ora-code.com): Table ou vue inexistante

17:06:21,822 ERROR [JobSession] org.hibernate.exception.SQLGrammarException Source code of org.hibernate.exception.SQLGrammarException: cou
ld not execute query
17:06:21,838 ERROR [JobExecutorThread] exception in job executor thread. waiting
5000 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:2223)
       at org.hibernate.loader.Loader Source code of org.hibernate.loader.Loader(Loader.java:2104)
       at org.hibernate.loader.Loader Source code of org.hibernate.loader.Loader(Loader.java:2099)
       at org.hibernate.loader.hql.QueryLoader Source code of org.hibernate.loader.hql.QueryLoader(QueryLoader.java:378)
       at org.hibernate.hql.ast.QueryTranslatorImpl Source code of org.hibernate.hql.ast.QueryTranslatorImpl(QueryTranslatorImpl.ja
va:338)
       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:1121)
       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:811)
       at org.jbpm.db.JobSession.getFirstAcquirableJob(JobSession.java:40)
       ... 2 more
Caused by: java.sql.SQLException Source code of java.sql.SQLException: ORA-00942 (See http://ORA-00942.ora-code.com): Table ou vue inexistante

       at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
       at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
       at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:573)
       at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1891)
       at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteDescribe(TTC7Protocol.java:
830)
       at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.jav
a:2391)
       at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStateme
nt.java:2672)
       at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePrepar
edStatement.java:589)
       at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePrepare
dStatement.java:527)
       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:1787)
       at org.hibernate.loader.Loader Source code of org.hibernate.loader.Loader(Loader.java:674)
       at org.hibernate.loader.Loader Source code of org.hibernate.loader.Loader(Lo
ader.java:236)
       at org.hibernate.loader.Loader Source code of org.hibernate.loader.Loader(Loader.java:2220)
       ... 11 more
17:06:26,931 WARN  [JDBCExceptionReporter] SQL Error: 942, SQLState: 42000
17:06:26,931 ERROR [JDBCExceptionReporter] ORA-00942 (See http://ORA-00942.ora-code.com): Table ou vue inexistante

17:06:26,931 ERROR [JobSession] org.hibernate.exception.SQLGrammarException Source code of org.hibernate.exception.SQLGrammarException: cou
ld not execute query
17:06:26,931 ERROR [JobExecutorThread] exception in job executor thread. waiting
10000 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:2223)
       at org.hibernate.loader.Loader Source code of org.hibernate.loader.Loader(Loader.java:2104)
       at org.hibernate.loader.Loader Source code of org.hibernate.loader.Loader(Loader.java:2099)
       at org.hibernate.loader.hql.QueryLoader Source code of org.hibernate.loader.hql.QueryLoader(QueryLoader.java:378)
       at org.hibernate.hql.ast.QueryTranslatorImpl Source code of org.hibernate.hql.ast.QueryTranslatorImpl(QueryTranslatorImpl.ja
va:338)
       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:1121)
       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:811)
       at org.jbpm.db.JobSession.getFirstAcquirableJob(JobSession.java:40)
       ... 2 more
Caused by: java.sql.SQLException Source code of java.sql.SQLException: ORA-00942 (See http://ORA-00942.ora-code.com): Table ou vue inexistante

       at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
       at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
       at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:573)
       at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1891)
       at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteDescribe(TTC7Protocol.java:
830)
       at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.jav
a:2391)
       at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStateme
nt.java:2672)
       at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePrepar
edStatement.java:589)
       at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePrepare
dStatement.java:527)
       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:1787)
       at org.hibernate.loader.Loader Source code of org.hibernate.loader.Loader(Loader.java:674)
       at org.hibernate.loader.Loader Source code of org.hibernate.loader.Loader(Lo
ader.java:236)
       at org.hibernate.loader.Loader Source code of org.hibernate.loader.Loader(Loader.java:2220)
       ... 11 more

If someone know about this or has already encountred that issue, please keep me
posted.

Best regards,

O.M.


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

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