[jboss-user] [jBPM] - jbpm-console using oracle database

Prasanth Manchambhatla do-not-reply at jboss.com
Fri Jan 20 14:56:17 EST 2012


Prasanth Manchambhatla [https://community.jboss.org/people/pmancham] created the discussion

"jbpm-console using oracle database"

To view the discussion, visit: https://community.jboss.org/message/647939#647939

--------------------------------------------------------------
I see the following error when I try the overall report. I want birt runtime to connect to my oracle database that has all the log tables. Where is that configuration located? I am using the full-installer for jbpm 5.2

Birt is running against in memory H2 database.

12:28:44,192 SEVERE [org.eclipse.birt.data.engine.odaconsumer] (http--0.0.0.0-8080-6) Failed to prepare the following query for the data set type (org.eclipse.birt.report.data.oda.jdbc.JdbcSelectDataSet). 
[select 
  p.PROCESSINSTANCEID,
  p.PROCESSID,
  p.START_DATE,
  p.END_DATE  
from
  PUBLIC.PROCESSINSTANCELOG as p]: org.eclipse.birt.report.data.oda.jdbc.JDBCException: Error preparing SQL statement.
SQL error #1:Table "PROCESSINSTANCELOG" not found; SQL statement:
select 
  p.PROCESSINSTANCEID,
  p.PROCESSID,
  p.START_DATE,
  p.END_DATE  
from
  PUBLIC.PROCESSINSTANCELOG as p [42102-124]
 ;
    org.h2.jdbc.JdbcSQLException: Table "PROCESSINSTANCELOG" not found; SQL statement:
select 
  p.PROCESSINSTANCEID,
  p.PROCESSID,
  p.START_DATE,
  p.END_DATE  
from
  PUBLIC.PROCESSINSTANCELOG as p [42102-124]
          at org.h2.message.Message.getSQLException(Message.java:111)
          at org.h2.message.Message.getSQLException(Message.java:122)
          at org.h2.message.Message.getSQLException(Message.java:75)
          at org.h2.schema.Schema.getTableOrView(Schema.java:382)
          at org.h2.command.Parser.readTableOrView(Parser.java:4266)
          at org.h2.command.Parser.readTableFilter(Parser.java:979)
          at org.h2.command.Parser.parseSelectSimpleFromPart(Parser.java:1509)
          at org.h2.command.Parser.parseSelectSimple(Parser.java:1606)
          at org.h2.command.Parser.parseSelectSub(Parser.java:1503)
          at org.h2.command.Parser.parseSelectUnion(Parser.java:1348)
          at org.h2.command.Parser.parseSelect(Parser.java:1336)
          at org.h2.command.Parser.parsePrepared(Parser.java:395)
          at org.h2.command.Parser.parse(Parser.java:291)
          at org.h2.command.Parser.parse(Parser.java:263)
          at org.h2.command.Parser.prepareCommand(Parser.java:235)
          at org.h2.engine.Session.prepareLocal(Session.java:416)
          at org.h2.server.TcpServerThread.process(TcpServerThread.java:232)
          at org.h2.server.TcpServerThread.run(TcpServerThread.java:138)
          at java.lang.Thread.run(Thread.java:619)


          at org.eclipse.birt.report.data.oda.jdbc.Statement.prepare(Statement.java:135) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
          at org.eclipse.birt.report.data.oda.jdbc.bidi.BidiStatement.prepare(BidiStatement.java:52) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
          at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaQuery.doPrepare(OdaQuery.java:229) [org.eclipse.datatools.connectivity.oda.consumer_3.2.4.v201105200848.jar:]
          at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaQuery.prepare(OdaQuery.java:186) [org.eclipse.datatools.connectivity.oda.consumer_3.2.4.v201105200848.jar:]
          at org.eclipse.birt.data.engine.odaconsumer.Connection.prepareOdaQuery(Connection.java:290) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
          at org.eclipse.birt.data.engine.odaconsumer.Connection.prepareStatement(Connection.java:197) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
          at org.eclipse.birt.data.engine.executor.DataSource.prepareStatement(DataSource.java:302) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
          at org.eclipse.birt.data.engine.executor.DataSourceQuery.prepare(DataSourceQuery.java:281) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
          at org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery$OdaDSQueryExecutor.prepareOdiQuery(PreparedOdaDSQuery.java:455) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
          at org.eclipse.birt.data.engine.impl.QueryExecutor.prepareExecution(QueryExecutor.java:343) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
          at org.eclipse.birt.data.engine.impl.PreparedQuery.doPrepare(PreparedQuery.java:455) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
          at org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.produceQueryResults(PreparedDataSourceQuery.java:190) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
          at org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.execute(PreparedDataSourceQuery.java:178) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
          at org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery.execute(PreparedOdaDSQuery.java:145) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
          at org.eclipse.birt.report.data.adapter.impl.DataRequestSessionImpl.execute(DataRequestSessionImpl.java:616) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
          at org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExecuteQuery(DteDataEngine.java:152) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
          at org.eclipse.birt.report.engine.data.dte.DataGenerationEngine.doExecuteQuery(DataGenerationEngine.java:80) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
          at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.execute(AbstractDataEngine.java:265) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
          at org.eclipse.birt.report.engine.executor.ExtendedGenerateExecutor.executeQueries(ExtendedGenerateExecutor.java:205) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
          at org.eclipse.birt.report.engine.executor.ExtendedGenerateExecutor.execute(ExtendedGenerateExecutor.java:65) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
          at org.eclipse.birt.report.engine.executor.ExtendedItemExecutor.execute(ExtendedItemExecutor.java:62) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
          at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
          at org.eclipse.birt.report.engine.internal.executor.emitter.ReportItemEmitterExecutor.execute(ReportItemEmitterExecutor.java:46) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
          at org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor.java:43) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
          at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:65) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
          at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:92) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
          at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:100) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
          at org.eclipse.birt.report.engine.presentation.ReportDocumentBuilder.build(ReportDocumentBuilder.java:258) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
          at org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTask.java:260) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
          at org.eclipse.birt.report.engine.api.impl.RunTask.run(RunTask.java:85) [org.eclipse.birt.runtime_3.7.0.v20110615-1818.jar:]
          at org.jboss.bpm.report.BirtService.render(BirtService.java:276) [report-core-1.4.2.Final.jar:]
          at org.jboss.bpm.report.ReportFacade.renderReportHtml(ReportFacade.java:147) [report-core-1.4.2.Final.jar:]
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_21]
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_21]
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_21]
          at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_21]
          at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140) [resteasy-jaxrs-2.2.1.GA.jar:]
          at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:255) [resteasy-jaxrs-2.2.1.GA.jar:]
          at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:220) [resteasy-jaxrs-2.2.1.GA.jar:]
          at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:209) [resteasy-jaxrs-2.2.1.GA.jar:]
          at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:519) [resteasy-jaxrs-2.2.1.GA.jar:]
          at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:496) [resteasy-jaxrs-2.2.1.GA.jar:]
          at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119) [resteasy-jaxrs-2.2.1.GA.jar:]
          at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208) [resteasy-jaxrs-2.2.1.GA.jar:]
          at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55) [resteasy-jaxrs-2.2.1.GA.jar:]
          at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50) [resteasy-jaxrs-2.2.1.GA.jar:]
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
          at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59) [classes:]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
          at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:139) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:388) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
          at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
          at java.lang.Thread.run(Thread.java:619) [:1.6.0_21]
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/647939#647939]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120120/a803a7a1/attachment-0001.html 


More information about the jboss-user mailing list