jboss-user
[Arriba] [Todas las Listas]

[jboss-Usuario] [jBPM] - Re: problema sobre jbpm5.1 consola de web

To: User development <jboss-user@xxxxxxxxxxxxxxx>
Subject: [jboss-Usuario] [jBPM] - Re: problema sobre jbpm5.1 consola de web
From: Hardik Dave <do-not-reply@xxxxxxxxx>
Date: Mon, 19 Sep 2011 09:50:29 -0400
Auto-submitted: yes
Delivery-date: Mon, 19 Sep 2011 09:53:20 -0400
Envelope-to: traductor@xxxxxxxxxxx
In-reply-to: <2-614794-3-78999-1310517060069.jivesbs.jivemailuser@http://community.jboss.org>
List-archive: <http://lists.jboss.org/pipermail/jboss-user>
List-help: <mailto:jboss-user-request@lists.jboss.org?subject=help>
List-id: The JBoss User main mailing list <jboss-user.lists.jboss.org>
List-post: <mailto:jboss-user@lists.jboss.org>
List-subscribe: <https://lists.jboss.org/mailman/listinfo/jboss-user>, <mailto:jboss-user-request@lists.jboss.org?subject=subscribe>
List-unsubscribe: <https://lists.jboss.org/mailman/listinfo/jboss-user>, <mailto:jboss-user-request@lists.jboss.org?subject=unsubscribe>
References: <2-614794-3-78999-1310517060069.jivesbs.jivemailuser@http://community.jboss.org>
Reply-to: The JBoss User main mailing list <jboss-user@xxxxxxxxxxxxxxx>
Sender: jboss-user-bounces@xxxxxxxxxxxxxxx
*Hardik *Dave [*http://Comunidad.*jboss.*org/Personas/*hadik] creó la discusión

"*Re: problema sobre *jbpm5.1 consola de web"

para ver la discusión, visita: *http://comunidad.*jboss.*org/Mensaje/627222#627222

--------------------------------------------------------------
Mi *Log es tan abajo:
=============================================================================================
2011-09-19 19:10:17,406 WARN  [*org.*jboss.Recurso.*connectionmanager.*JBossManagedConnectionPool] (*http-*localhost%2F127.0.0.1-8080-16) *Throwable mientras intentando para conseguir una conexión nueva: *null
*org.*jboss.Recurso.*JBossResourceException: No podría crear conexión; - *nested *throwable: (*org.*h2.*jdbc.*JdbcSQLException: Error general: "*java.*lang.*RuntimeException: Página[10] mesa de hoja del dato:0 entradas:9 padre:12 llaves:[459, 461, 463, 465, 467, 469, 471, 473, 475] *offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] padre 12 esperado 0" [50000-124]
    en *org.*h2.Mensaje.Mensaje.*getSQLException(Mensaje.*java:111)
    en *org.*h2.Mensaje.Mensaje.Convierte(Mensaje.*java:288)
    en *org.*h2.Motor.*Database.*openDatabase(*Database.*java:261)
    en *org.*h2.Motor.*Database.<*init>(*Database.*java:221)
    en *org.*h2.Motor.Motor.*openSession(Motor.*java:58)
    en *org.*h2.Motor.Motor.*openSession(Motor.*java:142)
    en *org.*h2.Motor.Motor.*getSession(Motor.*java:122)
    en *org.*h2.*server.*TcpServerThread.Carrera(*TcpServerThread.*java:122)
    en *java.*lang.Hilo.Carrera(Hilo.*java:619)
Causado por: *java.*lang.*RuntimeException: Página[10] mesa de hoja del dato:0 entradas:9 padre:12 llaves:[459, 461, 463, 465, 467, 469, 471, 473, 475] *offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] padre 12 esperado 0
    en *org.*h2.Mensaje.Mensaje.*throwInternalError(Mensaje.*java:191)
    en *org.*h2.Índice.*PageDataIndex.*getPage(*PageDataIndex.*java:220)
    en *org.*h2.Índice.*PageDataIndex.<*init>(*PageDataIndex.*java:74)
    en *org.*h2.Mesa.*TableData.<*init>(*TableData.*java:83)
    en *org.*h2.Tienda.*PageStore.*addMeta(*PageStore.*java:1304)
    en *org.*h2.Tienda.*PageStore.*redo(*PageStore.*java:1185)
    en *org.*h2.Tienda.*PageLog.Recupera(*PageLog.*java:285)
    en *org.*h2.Tienda.*PageStore.Recupera(*PageStore.*java:1051)
    en *org.*h2.Tienda.*PageStore.*openExisting(*PageStore.*java:310)
    en *org.*h2.Tienda.*PageStore.Abierto(*PageStore.*java:268)
    en *org.*h2.Motor.*Database.*getPageStore(*Database.*java:2305)
    en *org.*h2.Motor.*Database.Abierto(*Database.*java:624)
    en *org.*h2.Motor.*Database.*openDatabase(*Database.*java:227)
    ... 6 más
)
    en *org.*jboss.Recurso.Adaptador.*jdbc.Local.*LocalManagedConnectionFactory.*getLocalManagedConnection(*LocalManagedConnectionFactory.*java:225)
    en *org.*jboss.Recurso.Adaptador.*jdbc.Local.*LocalManagedConnectionFactory.*createManagedConnection(*LocalManagedConnectionFactory.*java:195)
    en *org.*jboss.Recurso.*connectionmanager.*InternalManagedConnectionPool.*createConnectionEventListener(*InternalManagedConnectionPool.*java:633)
    en *org.*jboss.Recurso.*connectionmanager.*InternalManagedConnectionPool.*getConnection(*InternalManagedConnectionPool.*java:267)
    en *org.*jboss.Recurso.*connectionmanager.*JBossManagedConnectionPool$*BasePool.*getConnection(*JBossManagedConnectionPool.*java:622)
    en *org.*jboss.Recurso.*connectionmanager.*BaseConnectionManager2.*getManagedConnection(*BaseConnectionManager2.*java:404)
    en *org.*jboss.Recurso.*connectionmanager.*TxConnectionManager.*getManagedConnection(*TxConnectionManager.*java:381)
    en *org.*jboss.Recurso.*connectionmanager.*BaseConnectionManager2.*allocateConnection(*BaseConnectionManager2.*java:496)
    en *org.*jboss.Recurso.*connectionmanager.*BaseConnectionManager2$*ConnectionManagerProxy.*allocateConnection(*BaseConnectionManager2.*java:941)
    en *org.*jboss.Recurso.Adaptador.*jdbc.*WrapperDataSource.*getConnection(*WrapperDataSource.*java:89)
    en *org.*hibernate.Conexión.*DatasourceConnectionProvider.*getConnection(*DatasourceConnectionProvider.*java:92)
    en *org.*hibernate.*cfg.*SettingsFactory.*buildSettings(*SettingsFactory.*java:111)
    en *org.*hibernate.*cfg.Configuración.*buildSettings(Configuración.*java:2101)
    en *org.*hibernate.*cfg.Configuración.*buildSessionFactory(Configuración.*java:1325)
    en *org.*hibernate.*cfg.*AnnotationConfiguration.*buildSessionFactory(*AnnotationConfiguration.*java:867)
    en *org.*hibernate.*ejb.*Ejb3Configuración.*buildEntityManagerFactory(*Ejb3Configuración.*java:669)
    en *org.*hibernate.*ejb.*HibernatePersistence.*createEntityManagerFactory(*HibernatePersistence.*java:126)
    en *javax.Persistencia.Persistencia.*createEntityManagerFactory(Persistencia.*java:52)
    en *javax.Persistencia.Persistencia.*createEntityManagerFactory(Persistencia.*java:34)
    en *org.*jbpm.Integración.Consola.*CommandDelegate.*newStatefulKnowledgeSession(*CommandDelegate.*java:131)
    en *org.*jbpm.Integración.Consola.*CommandDelegate.*getSession(*CommandDelegate.*java:193)
    en *org.*jbpm.Integración.Consola.*CommandDelegate.<*init>(*CommandDelegate.*java:71)
    en *org.*jbpm.Integración.Consola.*ProcessManagement.<*init>(*ProcessManagement.*java:35)
    en *org.*jbpm.Integración.Consola.*ManagementFactory.*createProcessManagement(*ManagementFactory.*java:22)
    en *org.*jbpm.Integración.Consola.*ManagementFactory.*createProcessManagement(*ManagementFactory.*java:19)
    en *org.*jboss.*bpm.Consola.*server.*ProcessMgmtFacade.*getProcessManagement(*ProcessMgmtFacade.*java:98)
    en *org.*jboss.*bpm.Consola.*server.*ProcessMgmtFacade.*getDefinitionsJSON(*ProcessMgmtFacade.*java:122)
    en sol.Refleja.*NativeMethodAccessorImpl.Invoca0(Método Nativo)
    en sol.Refleja.*NativeMethodAccessorImpl.Invoca(*NativeMethodAccessorImpl.*java:39)
    en sol.Refleja.*DelegatingMethodAccessorImpl.Invoca(*DelegatingMethodAccessorImpl.*java:25)
    en *java.*lang.Refleja.Método.Invoca(Método.*java:597)
    en *org.*jboss.*resteasy.Núcleo.*MethodInjectorImpl.Invoca(*MethodInjectorImpl.*java:117)
    en *org.*jboss.*resteasy.Núcleo.*ResourceMethod.*invokeOnTarget(*ResourceMethod.*java:260)
    en *org.*jboss.*resteasy.Núcleo.*ResourceMethod.Invoca(*ResourceMethod.*java:232)
    en *org.*jboss.*resteasy.Núcleo.*ResourceMethod.Invoca(*ResourceMethod.*java:166)
    en *org.*jboss.*resteasy.Núcleo.*DispatcherUtilities.*getJaxrsResponse(*DispatcherUtilities.*java:142)
    en *org.*jboss.*resteasy.Núcleo.*SynchronousDispatcher.Invoca(*SynchronousDispatcher.*java:356)
    en *org.*jboss.*resteasy.Núcleo.*SynchronousDispatcher.Invoca(*SynchronousDispatcher.*java:173)
    en *org.*jboss.*resteasy.*plugins.*server.*servlet.*HttpServletDispatcher.Servicio(*HttpServletDispatcher.*java:93)
    en *org.*jboss.*resteasy.*plugins.*server.*servlet.*HttpServletDispatcher.Servicio(*HttpServletDispatcher.*java:68)
    en *javax.*servlet.*http.*HttpServlet.Servicio(*HttpServlet.*java:717)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*internalDoFilter(*ApplicationFilterChain.*java:290)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*doFilter(*ApplicationFilterChain.*java:206)
    en *org.*jboss.*bpm.Consola.*server.*util.*GWTJsonFilter.*doFilter(*GWTJsonFilter.*java:59)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*internalDoFilter(*ApplicationFilterChain.*java:235)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*doFilter(*ApplicationFilterChain.*java:206)
    en *org.*jboss.Web.*tomcat.Filtros.*ReplyHeaderFilter.*doFilter(*ReplyHeaderFilter.*java:96)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*internalDoFilter(*ApplicationFilterChain.*java:235)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*doFilter(*ApplicationFilterChain.*java:206)
    en *org.*apache.*catalina.Núcleo.*StandardWrapperValve.Invoca(*StandardWrapperValve.*java:235)
    en *org.*apache.*catalina.Núcleo.*StandardContextValve.Invoca(*StandardContextValve.*java:191)
    en *org.*jboss.Web.*tomcat.Seguridad.*SecurityAssociationValve.Invoca(*SecurityAssociationValve.*java:190)
    en *org.*apache.*catalina.*authenticator.*AuthenticatorBase.Invoca(*AuthenticatorBase.*java:525)
    en *org.*jboss.Web.*tomcat.Seguridad.*JaccContextValve.Invoca(*JaccContextValve.*java:92)
    en *org.*jboss.Web.*tomcat.Seguridad.*SecurityContextEstablishmentValve.Proceso(*SecurityContextEstablishmentValve.*java:126)
    en *org.*jboss.Web.*tomcat.Seguridad.*SecurityContextEstablishmentValve.Invoca(*SecurityContextEstablishmentValve.*java:70)
    en *org.*apache.*catalina.Núcleo.*StandardHostValve.Invoca(*StandardHostValve.*java:127)
    en *org.*apache.*catalina.*valves.*ErrorReportValve.Invoca(*ErrorReportValve.*java:102)
    en *org.*jboss.Web.*tomcat.Servicio.*jca.*CachedConnectionValve.Invoca(*CachedConnectionValve.*java:158)
    en *org.*apache.*catalina.Núcleo.*StandardEngineValve.Invoca(*StandardEngineValve.*java:109)
    en *org.*apache.*catalina.*connector.*CoyoteAdapter.Servicio(*CoyoteAdapter.*java:330)
    en *org.*apache.*coyote.*http11.*Http11Procesador.Proceso(*Http11Procesador.*java:829)
    en *org.*apache.*coyote.*http11.*Http11Protocolo$*Http11*ConnectionHandler.Proceso(*Http11Protocolo.*java:598)
    en *org.*apache.*tomcat.*util.Red.*JIoEndpoint$Trabajador.Carrera(*JIoEndpoint.*java:447)
    en *java.*lang.Hilo.Carrera(Hilo.*java:619)
Causado por: *org.*h2.*jdbc.*JdbcSQLException: Error general: "*java.*lang.*RuntimeException: Página[10] mesa de hoja del dato:0 entradas:9 padre:12 llaves:[459, 461, 463, 465, 467, 469, 471, 473, 475] *offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] padre 12 esperado 0" [50000-124]
    en *org.*h2.Mensaje.Mensaje.*getSQLException(Mensaje.*java:111)
    en *org.*h2.Mensaje.Mensaje.Convierte(Mensaje.*java:288)
    en *org.*h2.Motor.*Database.*openDatabase(*Database.*java:261)
    en *org.*h2.Motor.*Database.<*init>(*Database.*java:221)
    en *org.*h2.Motor.Motor.*openSession(Motor.*java:58)
    en *org.*h2.Motor.Motor.*openSession(Motor.*java:142)
    en *org.*h2.Motor.Motor.*getSession(Motor.*java:122)
    en *org.*h2.*server.*TcpServerThread.Carrera(*TcpServerThread.*java:122)
    en *java.*lang.Hilo.Carrera(Hilo.*java:619)
Causado por: *java.*lang.*RuntimeException: Página[10] mesa de hoja del dato:0 entradas:9 padre:12 llaves:[459, 461, 463, 465, 467, 469, 471, 473, 475] *offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] padre 12 esperado 0
    en *org.*h2.Mensaje.Mensaje.*throwInternalError(Mensaje.*java:191)
    en *org.*h2.Índice.*PageDataIndex.*getPage(*PageDataIndex.*java:220)
    en *org.*h2.Índice.*PageDataIndex.<*init>(*PageDataIndex.*java:74)
    en *org.*h2.Mesa.*TableData.<*init>(*TableData.*java:83)
    en *org.*h2.Tienda.*PageStore.*addMeta(*PageStore.*java:1304)
    en *org.*h2.Tienda.*PageStore.*redo(*PageStore.*java:1185)
    en *org.*h2.Tienda.*PageLog.Recupera(*PageLog.*java:285)
    en *org.*h2.Tienda.*PageStore.Recupera(*PageStore.*java:1051)
    en *org.*h2.Tienda.*PageStore.*openExisting(*PageStore.*java:310)
    en *org.*h2.Tienda.*PageStore.Abierto(*PageStore.*java:268)
    en *org.*h2.Motor.*Database.*getPageStore(*Database.*java:2305)
    en *org.*h2.Motor.*Database.Abierto(*Database.*java:624)
    en *org.*h2.Motor.*Database.*openDatabase(*Database.*java:227)
    ... 6 más

    en *org.*h2.Motor.*SessionRemote.Hecho(*SessionRemote.*java:522)
    en *org.*h2.Motor.*SessionRemote.*initTransfer(*SessionRemote.*java:115)
    en *org.*h2.Motor.*SessionRemote.*connectServer(*SessionRemote.*java:337)
    en *org.*h2.Motor.*SessionRemote.*connectEmbeddedOrServer(*SessionRemote.*java:229)
    en *org.*h2.Motor.*SessionRemote.*createSession(*SessionRemote.*java:223)
    en *org.*h2.*jdbc.*JdbcConnection.<*init>(*JdbcConnection.*java:110)
    en *org.*h2.*jdbc.*JdbcConnection.<*init>(*JdbcConnection.*java:94)
    en *org.*h2.Conductor.Conecta(Conductor.*java:58)
    en *org.*jboss.Recurso.Adaptador.*jdbc.Local.*LocalManagedConnectionFactory.*getLocalManagedConnection(*LocalManagedConnectionFactory.*java:207)
    ... 64 más
2011-09-19 19:10:17,406 WARN  [*org.*hibernate.*cfg.*SettingsFactory] (*http-*localhost%2F127.0.0.1-8080-16) no Podría obtener conexión *metadata
*org.*jboss.*util.*NestedSQLException: Incapaz de conseguir conexión dirigida para *jdbc/*testDS1; - *nested *throwable: (*javax.Recurso.*ResourceException: Incapaz de conseguir conexión dirigida para *jdbc/*testDS1)
    en *org.*jboss.Recurso.Adaptador.*jdbc.*WrapperDataSource.*getConnection(*WrapperDataSource.*java:95)
    en *org.*hibernate.Conexión.*DatasourceConnectionProvider.*getConnection(*DatasourceConnectionProvider.*java:92)
    en *org.*hibernate.*cfg.*SettingsFactory.*buildSettings(*SettingsFactory.*java:111)
    en *org.*hibernate.*cfg.Configuración.*buildSettings(Configuración.*java:2101)
    en *org.*hibernate.*cfg.Configuración.*buildSessionFactory(Configuración.*java:1325)
    en *org.*hibernate.*cfg.*AnnotationConfiguration.*buildSessionFactory(*AnnotationConfiguration.*java:867)
    en *org.*hibernate.*ejb.*Ejb3Configuración.*buildEntityManagerFactory(*Ejb3Configuración.*java:669)
    en *org.*hibernate.*ejb.*HibernatePersistence.*createEntityManagerFactory(*HibernatePersistence.*java:126)
    en *javax.Persistencia.Persistencia.*createEntityManagerFactory(Persistencia.*java:52)
    en *javax.Persistencia.Persistencia.*createEntityManagerFactory(Persistencia.*java:34)
    en *org.*jbpm.Integración.Consola.*CommandDelegate.*newStatefulKnowledgeSession(*CommandDelegate.*java:131)
    en *org.*jbpm.Integración.Consola.*CommandDelegate.*getSession(*CommandDelegate.*java:193)
    en *org.*jbpm.Integración.Consola.*CommandDelegate.<*init>(*CommandDelegate.*java:71)
    en *org.*jbpm.Integración.Consola.*ProcessManagement.<*init>(*ProcessManagement.*java:35)
    en *org.*jbpm.Integración.Consola.*ManagementFactory.*createProcessManagement(*ManagementFactory.*java:22)
    en *org.*jbpm.Integración.Consola.*ManagementFactory.*createProcessManagement(*ManagementFactory.*java:19)
    en *org.*jboss.*bpm.Consola.*server.*ProcessMgmtFacade.*getProcessManagement(*ProcessMgmtFacade.*java:98)
    en *org.*jboss.*bpm.Consola.*server.*ProcessMgmtFacade.*getDefinitionsJSON(*ProcessMgmtFacade.*java:122)
    en sol.Refleja.*NativeMethodAccessorImpl.Invoca0(Método Nativo)
    en sol.Refleja.*NativeMethodAccessorImpl.Invoca(*NativeMethodAccessorImpl.*java:39)
    en sol.Refleja.*DelegatingMethodAccessorImpl.Invoca(*DelegatingMethodAccessorImpl.*java:25)
    en *java.*lang.Refleja.Método.Invoca(Método.*java:597)
    en *org.*jboss.*resteasy.Núcleo.*MethodInjectorImpl.Invoca(*MethodInjectorImpl.*java:117)
    en *org.*jboss.*resteasy.Núcleo.*ResourceMethod.*invokeOnTarget(*ResourceMethod.*java:260)
    en *org.*jboss.*resteasy.Núcleo.*ResourceMethod.Invoca(*ResourceMethod.*java:232)
    en *org.*jboss.*resteasy.Núcleo.*ResourceMethod.Invoca(*ResourceMethod.*java:166)
    en *org.*jboss.*resteasy.Núcleo.*DispatcherUtilities.*getJaxrsResponse(*DispatcherUtilities.*java:142)
    en *org.*jboss.*resteasy.Núcleo.*SynchronousDispatcher.Invoca(*SynchronousDispatcher.*java:356)
    en *org.*jboss.*resteasy.Núcleo.*SynchronousDispatcher.Invoca(*SynchronousDispatcher.*java:173)
    en *org.*jboss.*resteasy.*plugins.*server.*servlet.*HttpServletDispatcher.Servicio(*HttpServletDispatcher.*java:93)
    en *org.*jboss.*resteasy.*plugins.*server.*servlet.*HttpServletDispatcher.Servicio(*HttpServletDispatcher.*java:68)
    en *javax.*servlet.*http.*HttpServlet.Servicio(*HttpServlet.*java:717)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*internalDoFilter(*ApplicationFilterChain.*java:290)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*doFilter(*ApplicationFilterChain.*java:206)
    en *org.*jboss.*bpm.Consola.*server.*util.*GWTJsonFilter.*doFilter(*GWTJsonFilter.*java:59)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*internalDoFilter(*ApplicationFilterChain.*java:235)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*doFilter(*ApplicationFilterChain.*java:206)
    en *org.*jboss.Web.*tomcat.Filtros.*ReplyHeaderFilter.*doFilter(*ReplyHeaderFilter.*java:96)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*internalDoFilter(*ApplicationFilterChain.*java:235)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*doFilter(*ApplicationFilterChain.*java:206)
    en *org.*apache.*catalina.Núcleo.*StandardWrapperValve.Invoca(*StandardWrapperValve.*java:235)
    en *org.*apache.*catalina.Núcleo.*StandardContextValve.Invoca(*StandardContextValve.*java:191)
    en *org.*jboss.Web.*tomcat.Seguridad.*SecurityAssociationValve.Invoca(*SecurityAssociationValve.*java:190)
    en *org.*apache.*catalina.*authenticator.*AuthenticatorBase.Invoca(*AuthenticatorBase.*java:525)
    en *org.*jboss.Web.*tomcat.Seguridad.*JaccContextValve.Invoca(*JaccContextValve.*java:92)
    en *org.*jboss.Web.*tomcat.Seguridad.*SecurityContextEstablishmentValve.Proceso(*SecurityContextEstablishmentValve.*java:126)
    en *org.*jboss.Web.*tomcat.Seguridad.*SecurityContextEstablishmentValve.Invoca(*SecurityContextEstablishmentValve.*java:70)
    en *org.*apache.*catalina.Núcleo.*StandardHostValve.Invoca(*StandardHostValve.*java:127)
    en *org.*apache.*catalina.*valves.*ErrorReportValve.Invoca(*ErrorReportValve.*java:102)
    en *org.*jboss.Web.*tomcat.Servicio.*jca.*CachedConnectionValve.Invoca(*CachedConnectionValve.*java:158)
    en *org.*apache.*catalina.Núcleo.*StandardEngineValve.Invoca(*StandardEngineValve.*java:109)
    en *org.*apache.*catalina.*connector.*CoyoteAdapter.Servicio(*CoyoteAdapter.*java:330)
    en *org.*apache.*coyote.*http11.*Http11Procesador.Proceso(*Http11Procesador.*java:829)
    en *org.*apache.*coyote.*http11.*Http11Protocolo$*Http11*ConnectionHandler.Proceso(*Http11Protocolo.*java:598)
    en *org.*apache.*tomcat.*util.Red.*JIoEndpoint$Trabajador.Carrera(*JIoEndpoint.*java:447)
    en *java.*lang.Hilo.Carrera(Hilo.*java:619)
Causado por: *javax.Recurso.*ResourceException: Incapaz de conseguir conexión dirigida para *jdbc/*testDS1
    en *org.*jboss.Recurso.*connectionmanager.*BaseConnectionManager2.*getManagedConnection(*BaseConnectionManager2.*java:441)
    en *org.*jboss.Recurso.*connectionmanager.*TxConnectionManager.*getManagedConnection(*TxConnectionManager.*java:381)
    en *org.*jboss.Recurso.*connectionmanager.*BaseConnectionManager2.*allocateConnection(*BaseConnectionManager2.*java:496)
    en *org.*jboss.Recurso.*connectionmanager.*BaseConnectionManager2$*ConnectionManagerProxy.*allocateConnection(*BaseConnectionManager2.*java:941)
    en *org.*jboss.Recurso.Adaptador.*jdbc.*WrapperDataSource.*getConnection(*WrapperDataSource.*java:89)
    ... 55 más
Causado por: *org.*jboss.Recurso.*JBossResourceException: No podría crear conexión; - *nested *throwable: (*org.*h2.*jdbc.*JdbcSQLException: Error general: "*java.*lang.*RuntimeException: Página[10] mesa de hoja del dato:0 entradas:9 padre:12 llaves:[459, 461, 463, 465, 467, 469, 471, 473, 475] *offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] padre 12 esperado 0" [50000-124]
    en *org.*h2.Mensaje.Mensaje.*getSQLException(Mensaje.*java:111)
    en *org.*h2.Mensaje.Mensaje.Convierte(Mensaje.*java:288)
    en *org.*h2.Motor.*Database.*openDatabase(*Database.*java:261)
    en *org.*h2.Motor.*Database.<*init>(*Database.*java:221)
    en *org.*h2.Motor.Motor.*openSession(Motor.*java:58)
    en *org.*h2.Motor.Motor.*openSession(Motor.*java:142)
    en *org.*h2.Motor.Motor.*getSession(Motor.*java:122)
    en *org.*h2.*server.*TcpServerThread.Carrera(*TcpServerThread.*java:122)
    en *java.*lang.Hilo.Carrera(Hilo.*java:619)
Causado por: *java.*lang.*RuntimeException: Página[10] mesa de hoja del dato:0 entradas:9 padre:12 llaves:[459, 461, 463, 465, 467, 469, 471, 473, 475] *offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] padre 12 esperado 0
    en *org.*h2.Mensaje.Mensaje.*throwInternalError(Mensaje.*java:191)
    en *org.*h2.Índice.*PageDataIndex.*getPage(*PageDataIndex.*java:220)
    en *org.*h2.Índice.*PageDataIndex.<*init>(*PageDataIndex.*java:74)
    en *org.*h2.Mesa.*TableData.<*init>(*TableData.*java:83)
    en *org.*h2.Tienda.*PageStore.*addMeta(*PageStore.*java:1304)
    en *org.*h2.Tienda.*PageStore.*redo(*PageStore.*java:1185)
    en *org.*h2.Tienda.*PageLog.Recupera(*PageLog.*java:285)
    en *org.*h2.Tienda.*PageStore.Recupera(*PageStore.*java:1051)
    en *org.*h2.Tienda.*PageStore.*openExisting(*PageStore.*java:310)
    en *org.*h2.Tienda.*PageStore.Abierto(*PageStore.*java:268)
    en *org.*h2.Motor.*Database.*getPageStore(*Database.*java:2305)
    en *org.*h2.Motor.*Database.Abierto(*Database.*java:624)
    en *org.*h2.Motor.*Database.*openDatabase(*Database.*java:227)
    ... 6 más
)
    en *org.*jboss.Recurso.Adaptador.*jdbc.Local.*LocalManagedConnectionFactory.*getLocalManagedConnection(*LocalManagedConnectionFactory.*java:225)
    en *org.*jboss.Recurso.Adaptador.*jdbc.Local.*LocalManagedConnectionFactory.*createManagedConnection(*LocalManagedConnectionFactory.*java:195)
    en *org.*jboss.Recurso.*connectionmanager.*InternalManagedConnectionPool.*createConnectionEventListener(*InternalManagedConnectionPool.*java:633)
    en *org.*jboss.Recurso.*connectionmanager.*InternalManagedConnectionPool.*getConnection(*InternalManagedConnectionPool.*java:267)
    en *org.*jboss.Recurso.*connectionmanager.*JBossManagedConnectionPool$*BasePool.*getConnection(*JBossManagedConnectionPool.*java:622)
    en *org.*jboss.Recurso.*connectionmanager.*BaseConnectionManager2.*getManagedConnection(*BaseConnectionManager2.*java:404)
    ... 59 más
Causado por: *org.*h2.*jdbc.*JdbcSQLException: Error general: "*java.*lang.*RuntimeException: Página[10] mesa de hoja del dato:0 entradas:9 padre:12 llaves:[459, 461, 463, 465, 467, 469, 471, 473, 475] *offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] padre 12 esperado 0" [50000-124]
    en *org.*h2.Mensaje.Mensaje.*getSQLException(Mensaje.*java:111)
    en *org.*h2.Mensaje.Mensaje.Convierte(Mensaje.*java:288)
    en *org.*h2.Motor.*Database.*openDatabase(*Database.*java:261)
    en *org.*h2.Motor.*Database.<*init>(*Database.*java:221)
    en *org.*h2.Motor.Motor.*openSession(Motor.*java:58)
    en *org.*h2.Motor.Motor.*openSession(Motor.*java:142)
    en *org.*h2.Motor.Motor.*getSession(Motor.*java:122)
    en *org.*h2.*server.*TcpServerThread.Carrera(*TcpServerThread.*java:122)
    en *java.*lang.Hilo.Carrera(Hilo.*java:619)
Causado por: *java.*lang.*RuntimeException: Página[10] mesa de hoja del dato:0 entradas:9 padre:12 llaves:[459, 461, 463, 465, 467, 469, 471, 473, 475] *offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] padre 12 esperado 0
    en *org.*h2.Mensaje.Mensaje.*throwInternalError(Mensaje.*java:191)
    en *org.*h2.Índice.*PageDataIndex.*getPage(*PageDataIndex.*java:220)
    en *org.*h2.Índice.*PageDataIndex.<*init>(*PageDataIndex.*java:74)
    en *org.*h2.Mesa.*TableData.<*init>(*TableData.*java:83)
    en *org.*h2.Tienda.*PageStore.*addMeta(*PageStore.*java:1304)
    en *org.*h2.Tienda.*PageStore.*redo(*PageStore.*java:1185)
    en *org.*h2.Tienda.*PageLog.Recupera(*PageLog.*java:285)
    en *org.*h2.Tienda.*PageStore.Recupera(*PageStore.*java:1051)
    en *org.*h2.Tienda.*PageStore.*openExisting(*PageStore.*java:310)
    en *org.*h2.Tienda.*PageStore.Abierto(*PageStore.*java:268)
    en *org.*h2.Motor.*Database.*getPageStore(*Database.*java:2305)
    en *org.*h2.Motor.*Database.Abierto(*Database.*java:624)
    en *org.*h2.Motor.*Database.*openDatabase(*Database.*java:227)
    ... 6 más

    en *org.*h2.Motor.*SessionRemote.Hecho(*SessionRemote.*java:522)
    en *org.*h2.Motor.*SessionRemote.*initTransfer(*SessionRemote.*java:115)
    en *org.*h2.Motor.*SessionRemote.*connectServer(*SessionRemote.*java:337)
    en *org.*h2.Motor.*SessionRemote.*connectEmbeddedOrServer(*SessionRemote.*java:229)
    en *org.*h2.Motor.*SessionRemote.*createSession(*SessionRemote.*java:223)
    en *org.*h2.*jdbc.*JdbcConnection.<*init>(*JdbcConnection.*java:110)
    en *org.*h2.*jdbc.*JdbcConnection.<*init>(*JdbcConnection.*java:94)
    en *org.*h2.Conductor.Conecta(Conductor.*java:58)
    en *org.*jboss.Recurso.Adaptador.*jdbc.Local.*LocalManagedConnectionFactory.*getLocalManagedConnection(*LocalManagedConnectionFactory.*java:207)
    ... 64 más
2011-09-19 19:10:17,406 *INFO  [*org.*hibernate.Dialecto.Dialecto] (*http-*localhost%2F127.0.0.1-8080-16) Utilizando dialecto: *org.*hibernate.Dialecto.*H2Dialecto
2011-09-19 19:10:17,406 *INFO  [*org.*hibernate.Transacción.*TransactionFactoryFactory] (*http-*localhost%2F127.0.0.1-8080-16) estrategia de Transacción: *org.*hibernate.*ejb.Transacción.*JoinableCMTTransactionFactory
2011-09-19 19:10:17,406 *INFO  [*org.*hibernate.Transacción.*TransactionManagerLookupFactory] (*http-*localhost%2F127.0.0.1-8080-16) *instantiating *TransactionManagerLookup: *org.*hibernate.Transacción.*JBossTransactionManagerLookup
2011-09-19 19:10:17,406 *INFO  [*org.*hibernate.Transacción.*TransactionManagerLookupFactory] (*http-*localhost%2F127.0.0.1-8080-16) *instantiated *TransactionManagerLookup
2011-09-19 19:10:17,406 *INFO  [*org.*hibernate.*cfg.*SettingsFactory] (*http-*localhost%2F127.0.0.1-8080-16) Automático *flush durante *beforeCompletion(): discapacitado
2011-09-19 19:10:17,406 *INFO  [*org.*hibernate.*cfg.*SettingsFactory] (*http-*localhost%2F127.0.0.1-8080-16) la sesión Automática cierra en fin de transacción: discapacitado
2011-09-19 19:10:17,406 *INFO  [*org.*hibernate.*cfg.*SettingsFactory] (*http-*localhost%2F127.0.0.1-8080-16) *Scrollable conjuntos de resultado: discapacitado
2011-09-19 19:10:17,406 *INFO  [*org.*hibernate.*cfg.*SettingsFactory] (*http-*localhost%2F127.0.0.1-8080-16) *JDBC3 *getGeneratedKeys(): discapacitado
2011-09-19 19:10:17,406 *INFO  [*org.*hibernate.*cfg.*SettingsFactory] (*http-*localhost%2F127.0.0.1-8080-16) modo de liberación de la Conexión: coche
2011-09-19 19:10:17,406 *INFO  [*org.*hibernate.*cfg.*SettingsFactory] (*http-*localhost%2F127.0.0.1-8080-16) Máximo exterior unir *fetch profundidad: 3
2011-09-19 19:10:17,406 *INFO  [*org.*hibernate.*cfg.*SettingsFactory] (*http-*localhost%2F127.0.0.1-8080-16) *Default lote *fetch medida: 1
2011-09-19 19:10:17,406 *INFO  [*org.*hibernate.*cfg.*SettingsFactory] (*http-*localhost%2F127.0.0.1-8080-16) Genera SQL con comentarios: discapacitado
2011-09-19 19:10:17,406 *INFO  [*org.*hibernate.*cfg.*SettingsFactory] (*http-*localhost%2F127.0.0.1-8080-16) SQL de Orden actualiza por llave primaria: discapacitado
2011-09-19 19:10:17,406 *INFO  [*org.*hibernate.*cfg.*SettingsFactory] (*http-*localhost%2F127.0.0.1-8080-16) SQL de Orden inserta para *batching: discapacitado
2011-09-19 19:10:17,406 *INFO  [*org.*hibernate.*cfg.*SettingsFactory] (*http-*localhost%2F127.0.0.1-8080-16) traductor de Consulta: *org.*hibernate.*hql.*ast.*ASTQueryTranslatorFactory
2011-09-19 19:10:17,406 *INFO  [*org.*hibernate.*hql.*ast.*ASTQueryTranslatorFactory] (*http-*localhost%2F127.0.0.1-8080-16) Utilizando *ASTQueryTranslatorFactory
2011-09-19 19:10:17,406 *INFO  [*org.*hibernate.*cfg.*SettingsFactory] (*http-*localhost%2F127.0.0.1-8080-16) lengua de Consulta *substitutions: {}
2011-09-19 19:10:17,406 *INFO  [*org.*hibernate.*cfg.*SettingsFactory] (*http-*localhost%2F127.0.0.1-8080-16) JPA-*QL conformidad estricta: habilitado
2011-09-19 19:10:17,406 *INFO  [*org.*hibernate.*cfg.*SettingsFactory] (*http-*localhost%2F127.0.0.1-8080-16) Segundo-nivel *cache: habilitado
2011-09-19 19:10:17,406 *INFO  [*org.*hibernate.*cfg.*SettingsFactory] (*http-*localhost%2F127.0.0.1-8080-16) Consulta *cache: discapacitado
2011-09-19 19:10:17,406 *INFO  [*org.*hibernate.*cfg.*SettingsFactory] (*http-*localhost%2F127.0.0.1-8080-16) *Cache fábrica de región : *org.*hibernate.*cache.*impl.*NoCachingRegionFactory
2011-09-19 19:10:17,406 *INFO  [*org.*hibernate.*cfg.*SettingsFactory] (*http-*localhost%2F127.0.0.1-8080-16) Optimiza *cache para mínimo pone: discapacitado
2011-09-19 19:10:17,406 *INFO  [*org.*hibernate.*cfg.*SettingsFactory] (*http-*localhost%2F127.0.0.1-8080-16) Estructurado segundo-nivel *cache entradas: discapacitado
2011-09-19 19:10:17,406 *INFO  [*org.*hibernate.*cfg.*SettingsFactory] (*http-*localhost%2F127.0.0.1-8080-16) *Statistics: discapacitado
2011-09-19 19:10:17,406 *INFO  [*org.*hibernate.*cfg.*SettingsFactory] (*http-*localhost%2F127.0.0.1-8080-16) la entidad Eliminada sintética *identifier *rollback: discapacitado
2011-09-19 19:10:17,406 *INFO  [*org.*hibernate.*cfg.*SettingsFactory] (*http-*localhost%2F127.0.0.1-8080-16) *Default entidad-modo: *pojo
2011-09-19 19:10:17,406 *INFO  [*org.*hibernate.*cfg.*SettingsFactory] (*http-*localhost%2F127.0.0.1-8080-16) la consulta Nombrada que comprueba : habilitado
2011-09-19 19:10:17,406 *INFO  [*org.*hibernate.*impl.*SessionFactoryImpl] (*http-*localhost%2F127.0.0.1-8080-16) construyendo fábrica de sesión
2011-09-19 19:10:17,421 *INFO  [*org.*hibernate.*impl.*SessionFactoryObjectFactory] (*http-*localhost%2F127.0.0.1-8080-16) No ligando fábrica a *JNDI, ningún *JNDI el nombre configuró
2011-09-19 19:10:17,421 *INFO  [*org.*hibernate.Herramienta.*hbm2*ddl.*SchemaExport] (*http-*localhost%2F127.0.0.1-8080-16) Corriendo *hbm2*ddl *schema exportación
2011-09-19 19:10:17,421 *INFO  [*org.*hibernate.Herramienta.*hbm2*ddl.*SchemaExport] (*http-*localhost%2F127.0.0.1-8080-16) exportando generado *schema a *database
2011-09-19 19:10:17,484 WARN  [*org.*jboss.Recurso.*connectionmanager.*JBossManagedConnectionPool] (*http-*localhost%2F127.0.0.1-8080-16) *Throwable mientras intentando para conseguir una conexión nueva: *null
*org.*jboss.Recurso.*JBossResourceException: No podría crear conexión; - *nested *throwable: (*org.*h2.*jdbc.*JdbcSQLException: Error general: "*java.*lang.*RuntimeException: Página[10] mesa de hoja del dato:0 entradas:9 padre:12 llaves:[459, 461, 463, 465, 467, 469, 471, 473, 475] *offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] padre 12 esperado 0" [50000-124]
    en *org.*h2.Mensaje.Mensaje.*getSQLException(Mensaje.*java:111)
    en *org.*h2.Mensaje.Mensaje.Convierte(Mensaje.*java:288)
    en *org.*h2.Motor.*Database.*openDatabase(*Database.*java:261)
    en *org.*h2.Motor.*Database.<*init>(*Database.*java:221)
    en *org.*h2.Motor.Motor.*openSession(Motor.*java:58)
    en *org.*h2.Motor.Motor.*openSession(Motor.*java:142)
    en *org.*h2.Motor.Motor.*getSession(Motor.*java:122)
    en *org.*h2.*server.*TcpServerThread.Carrera(*TcpServerThread.*java:122)
    en *java.*lang.Hilo.Carrera(Hilo.*java:619)
Causado por: *java.*lang.*RuntimeException: Página[10] mesa de hoja del dato:0 entradas:9 padre:12 llaves:[459, 461, 463, 465, 467, 469, 471, 473, 475] *offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] padre 12 esperado 0
    en *org.*h2.Mensaje.Mensaje.*throwInternalError(Mensaje.*java:191)
    en *org.*h2.Índice.*PageDataIndex.*getPage(*PageDataIndex.*java:220)
    en *org.*h2.Índice.*PageDataIndex.<*init>(*PageDataIndex.*java:74)
    en *org.*h2.Mesa.*TableData.<*init>(*TableData.*java:83)
    en *org.*h2.Tienda.*PageStore.*addMeta(*PageStore.*java:1304)
    en *org.*h2.Tienda.*PageStore.*redo(*PageStore.*java:1185)
    en *org.*h2.Tienda.*PageLog.Recupera(*PageLog.*java:285)
    en *org.*h2.Tienda.*PageStore.Recupera(*PageStore.*java:1051)
    en *org.*h2.Tienda.*PageStore.*openExisting(*PageStore.*java:310)
    en *org.*h2.Tienda.*PageStore.Abierto(*PageStore.*java:268)
    en *org.*h2.Motor.*Database.*getPageStore(*Database.*java:2305)
    en *org.*h2.Motor.*Database.Abierto(*Database.*java:624)
    en *org.*h2.Motor.*Database.*openDatabase(*Database.*java:227)
    ... 6 más
)
    en *org.*jboss.Recurso.Adaptador.*jdbc.Local.*LocalManagedConnectionFactory.*getLocalManagedConnection(*LocalManagedConnectionFactory.*java:225)
    en *org.*jboss.Recurso.Adaptador.*jdbc.Local.*LocalManagedConnectionFactory.*createManagedConnection(*LocalManagedConnectionFactory.*java:195)
    en *org.*jboss.Recurso.*connectionmanager.*InternalManagedConnectionPool.*createConnectionEventListener(*InternalManagedConnectionPool.*java:633)
    en *org.*jboss.Recurso.*connectionmanager.*InternalManagedConnectionPool.*getConnection(*InternalManagedConnectionPool.*java:267)
    en *org.*jboss.Recurso.*connectionmanager.*JBossManagedConnectionPool$*BasePool.*getConnection(*JBossManagedConnectionPool.*java:622)
    en *org.*jboss.Recurso.*connectionmanager.*BaseConnectionManager2.*getManagedConnection(*BaseConnectionManager2.*java:404)
    en *org.*jboss.Recurso.*connectionmanager.*TxConnectionManager.*getManagedConnection(*TxConnectionManager.*java:381)
    en *org.*jboss.Recurso.*connectionmanager.*BaseConnectionManager2.*allocateConnection(*BaseConnectionManager2.*java:496)
    en *org.*jboss.Recurso.*connectionmanager.*BaseConnectionManager2$*ConnectionManagerProxy.*allocateConnection(*BaseConnectionManager2.*java:941)
    en *org.*jboss.Recurso.Adaptador.*jdbc.*WrapperDataSource.*getConnection(*WrapperDataSource.*java:89)
    en *org.*hibernate.Conexión.*DatasourceConnectionProvider.*getConnection(*DatasourceConnectionProvider.*java:92)
    en *org.*hibernate.Herramienta.*hbm2*ddl.*SuppliedConnectionProviderConnectionHelper.Prepara(*SuppliedConnectionProviderConnectionHelper.*java:51)
    en *org.*hibernate.Herramienta.*hbm2*ddl.*SchemaExport.Ejecuta(*SchemaExport.*java:252)
    en *org.*hibernate.Herramienta.*hbm2*ddl.*SchemaExport.Crea(*SchemaExport.*java:211)
    en *org.*hibernate.*impl.*SessionFactoryImpl.<*init>(*SessionFactoryImpl.*java:343)
    en *org.*hibernate.*cfg.Configuración.*buildSessionFactory(Configuración.*java:1327)
    en *org.*hibernate.*cfg.*AnnotationConfiguration.*buildSessionFactory(*AnnotationConfiguration.*java:867)
    en *org.*hibernate.*ejb.*Ejb3Configuración.*buildEntityManagerFactory(*Ejb3Configuración.*java:669)
    en *org.*hibernate.*ejb.*HibernatePersistence.*createEntityManagerFactory(*HibernatePersistence.*java:126)
    en *javax.Persistencia.Persistencia.*createEntityManagerFactory(Persistencia.*java:52)
    en *javax.Persistencia.Persistencia.*createEntityManagerFactory(Persistencia.*java:34)
    en *org.*jbpm.Integración.Consola.*CommandDelegate.*newStatefulKnowledgeSession(*CommandDelegate.*java:131)
    en *org.*jbpm.Integración.Consola.*CommandDelegate.*getSession(*CommandDelegate.*java:193)
    en *org.*jbpm.Integración.Consola.*CommandDelegate.<*init>(*CommandDelegate.*java:71)
    en *org.*jbpm.Integración.Consola.*ProcessManagement.<*init>(*ProcessManagement.*java:35)
    en *org.*jbpm.Integración.Consola.*ManagementFactory.*createProcessManagement(*ManagementFactory.*java:22)
    en *org.*jbpm.Integración.Consola.*ManagementFactory.*createProcessManagement(*ManagementFactory.*java:19)
    en *org.*jboss.*bpm.Consola.*server.*ProcessMgmtFacade.*getProcessManagement(*ProcessMgmtFacade.*java:98)
    en *org.*jboss.*bpm.Consola.*server.*ProcessMgmtFacade.*getDefinitionsJSON(*ProcessMgmtFacade.*java:122)
    en sol.Refleja.*NativeMethodAccessorImpl.Invoca0(Método Nativo)
    en sol.Refleja.*NativeMethodAccessorImpl.Invoca(*NativeMethodAccessorImpl.*java:39)
    en sol.Refleja.*DelegatingMethodAccessorImpl.Invoca(*DelegatingMethodAccessorImpl.*java:25)
    en *java.*lang.Refleja.Método.Invoca(Método.*java:597)
    en *org.*jboss.*resteasy.Núcleo.*MethodInjectorImpl.Invoca(*MethodInjectorImpl.*java:117)
    en *org.*jboss.*resteasy.Núcleo.*ResourceMethod.*invokeOnTarget(*ResourceMethod.*java:260)
    en *org.*jboss.*resteasy.Núcleo.*ResourceMethod.Invoca(*ResourceMethod.*java:232)
    en *org.*jboss.*resteasy.Núcleo.*ResourceMethod.Invoca(*ResourceMethod.*java:166)
    en *org.*jboss.*resteasy.Núcleo.*DispatcherUtilities.*getJaxrsResponse(*DispatcherUtilities.*java:142)
    en *org.*jboss.*resteasy.Núcleo.*SynchronousDispatcher.Invoca(*SynchronousDispatcher.*java:356)
    en *org.*jboss.*resteasy.Núcleo.*SynchronousDispatcher.Invoca(*SynchronousDispatcher.*java:173)
    en *org.*jboss.*resteasy.*plugins.*server.*servlet.*HttpServletDispatcher.Servicio(*HttpServletDispatcher.*java:93)
    en *org.*jboss.*resteasy.*plugins.*server.*servlet.*HttpServletDispatcher.Servicio(*HttpServletDispatcher.*java:68)
    en *javax.*servlet.*http.*HttpServlet.Servicio(*HttpServlet.*java:717)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*internalDoFilter(*ApplicationFilterChain.*java:290)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*doFilter(*ApplicationFilterChain.*java:206)
    en *org.*jboss.*bpm.Consola.*server.*util.*GWTJsonFilter.*doFilter(*GWTJsonFilter.*java:59)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*internalDoFilter(*ApplicationFilterChain.*java:235)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*doFilter(*ApplicationFilterChain.*java:206)
    en *org.*jboss.Web.*tomcat.Filtros.*ReplyHeaderFilter.*doFilter(*ReplyHeaderFilter.*java:96)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*internalDoFilter(*ApplicationFilterChain.*java:235)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*doFilter(*ApplicationFilterChain.*java:206)
    en *org.*apache.*catalina.Núcleo.*StandardWrapperValve.Invoca(*StandardWrapperValve.*java:235)
    en *org.*apache.*catalina.Núcleo.*StandardContextValve.Invoca(*StandardContextValve.*java:191)
    en *org.*jboss.Web.*tomcat.Seguridad.*SecurityAssociationValve.Invoca(*SecurityAssociationValve.*java:190)
    en *org.*apache.*catalina.*authenticator.*AuthenticatorBase.Invoca(*AuthenticatorBase.*java:525)
    en *org.*jboss.Web.*tomcat.Seguridad.*JaccContextValve.Invoca(*JaccContextValve.*java:92)
    en *org.*jboss.Web.*tomcat.Seguridad.*SecurityContextEstablishmentValve.Proceso(*SecurityContextEstablishmentValve.*java:126)
    en *org.*jboss.Web.*tomcat.Seguridad.*SecurityContextEstablishmentValve.Invoca(*SecurityContextEstablishmentValve.*java:70)
    en *org.*apache.*catalina.Núcleo.*StandardHostValve.Invoca(*StandardHostValve.*java:127)
    en *org.*apache.*catalina.*valves.*ErrorReportValve.Invoca(*ErrorReportValve.*java:102)
    en *org.*jboss.Web.*tomcat.Servicio.*jca.*CachedConnectionValve.Invoca(*CachedConnectionValve.*java:158)
    en *org.*apache.*catalina.Núcleo.*StandardEngineValve.Invoca(*StandardEngineValve.*java:109)
    en *org.*apache.*catalina.*connector.*CoyoteAdapter.Servicio(*CoyoteAdapter.*java:330)
    en *org.*apache.*coyote.*http11.*Http11Procesador.Proceso(*Http11Procesador.*java:829)
    en *org.*apache.*coyote.*http11.*Http11Protocolo$*Http11*ConnectionHandler.Proceso(*Http11Protocolo.*java:598)
    en *org.*apache.*tomcat.*util.Red.*JIoEndpoint$Trabajador.Carrera(*JIoEndpoint.*java:447)
    en *java.*lang.Hilo.Carrera(Hilo.*java:619)
Causado por: *org.*h2.*jdbc.*JdbcSQLException: Error general: "*java.*lang.*RuntimeException: Página[10] mesa de hoja del dato:0 entradas:9 padre:12 llaves:[459, 461, 463, 465, 467, 469, 471, 473, 475] *offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] padre 12 esperado 0" [50000-124]
    en *org.*h2.Mensaje.Mensaje.*getSQLException(Mensaje.*java:111)
    en *org.*h2.Mensaje.Mensaje.Convierte(Mensaje.*java:288)
    en *org.*h2.Motor.*Database.*openDatabase(*Database.*java:261)
    en *org.*h2.Motor.*Database.<*init>(*Database.*java:221)
    en *org.*h2.Motor.Motor.*openSession(Motor.*java:58)
    en *org.*h2.Motor.Motor.*openSession(Motor.*java:142)
    en *org.*h2.Motor.Motor.*getSession(Motor.*java:122)
    en *org.*h2.*server.*TcpServerThread.Carrera(*TcpServerThread.*java:122)
    en *java.*lang.Hilo.Carrera(Hilo.*java:619)
Causado por: *java.*lang.*RuntimeException: Página[10] mesa de hoja del dato:0 entradas:9 padre:12 llaves:[459, 461, 463, 465, 467, 469, 471, 473, 475] *offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] padre 12 esperado 0
    en *org.*h2.Mensaje.Mensaje.*throwInternalError(Mensaje.*java:191)
    en *org.*h2.Índice.*PageDataIndex.*getPage(*PageDataIndex.*java:220)
    en *org.*h2.Índice.*PageDataIndex.<*init>(*PageDataIndex.*java:74)
    en *org.*h2.Mesa.*TableData.<*init>(*TableData.*java:83)
    en *org.*h2.Tienda.*PageStore.*addMeta(*PageStore.*java:1304)
    en *org.*h2.Tienda.*PageStore.*redo(*PageStore.*java:1185)
    en *org.*h2.Tienda.*PageLog.Recupera(*PageLog.*java:285)
    en *org.*h2.Tienda.*PageStore.Recupera(*PageStore.*java:1051)
    en *org.*h2.Tienda.*PageStore.*openExisting(*PageStore.*java:310)
    en *org.*h2.Tienda.*PageStore.Abierto(*PageStore.*java:268)
    en *org.*h2.Motor.*Database.*getPageStore(*Database.*java:2305)
    en *org.*h2.Motor.*Database.Abierto(*Database.*java:624)
    en *org.*h2.Motor.*Database.*openDatabase(*Database.*java:227)
    ... 6 más

    en *org.*h2.Motor.*SessionRemote.Hecho(*SessionRemote.*java:522)
    en *org.*h2.Motor.*SessionRemote.*initTransfer(*SessionRemote.*java:115)
    en *org.*h2.Motor.*SessionRemote.*connectServer(*SessionRemote.*java:337)
    en *org.*h2.Motor.*SessionRemote.*connectEmbeddedOrServer(*SessionRemote.*java:229)
    en *org.*h2.Motor.*SessionRemote.*createSession(*SessionRemote.*java:223)
    en *org.*h2.*jdbc.*JdbcConnection.<*init>(*JdbcConnection.*java:110)
    en *org.*h2.*jdbc.*JdbcConnection.<*init>(*JdbcConnection.*java:94)
    en *org.*h2.Conductor.Conecta(Conductor.*java:58)
    en *org.*jboss.Recurso.Adaptador.*jdbc.Local.*LocalManagedConnectionFactory.*getLocalManagedConnection(*LocalManagedConnectionFactory.*java:207)
    ... 66 más
2011-09-19 19:10:17,484 ERROR [*org.*hibernate.Herramienta.*hbm2*ddl.*SchemaExport] (*http-*localhost%2F127.0.0.1-8080-16) *schema exportación *unsuccessful
*org.*jboss.*util.*NestedSQLException: Incapaz de conseguir conexión dirigida para *jdbc/*testDS1; - *nested *throwable: (*javax.Recurso.*ResourceException: Incapaz de conseguir conexión dirigida para *jdbc/*testDS1)
    en *org.*jboss.Recurso.Adaptador.*jdbc.*WrapperDataSource.*getConnection(*WrapperDataSource.*java:95)
    en *org.*hibernate.Conexión.*DatasourceConnectionProvider.*getConnection(*DatasourceConnectionProvider.*java:92)
    en *org.*hibernate.Herramienta.*hbm2*ddl.*SuppliedConnectionProviderConnectionHelper.Prepara(*SuppliedConnectionProviderConnectionHelper.*java:51)
    en *org.*hibernate.Herramienta.*hbm2*ddl.*SchemaExport.Ejecuta(*SchemaExport.*java:252)
    en *org.*hibernate.Herramienta.*hbm2*ddl.*SchemaExport.Crea(*SchemaExport.*java:211)
    en *org.*hibernate.*impl.*SessionFactoryImpl.<*init>(*SessionFactoryImpl.*java:343)
    en *org.*hibernate.*cfg.Configuración.*buildSessionFactory(Configuración.*java:1327)
    en *org.*hibernate.*cfg.*AnnotationConfiguration.*buildSessionFactory(*AnnotationConfiguration.*java:867)
    en *org.*hibernate.*ejb.*Ejb3Configuración.*buildEntityManagerFactory(*Ejb3Configuración.*java:669)
    en *org.*hibernate.*ejb.*HibernatePersistence.*createEntityManagerFactory(*HibernatePersistence.*java:126)
    en *javax.Persistencia.Persistencia.*createEntityManagerFactory(Persistencia.*java:52)
    en *javax.Persistencia.Persistencia.*createEntityManagerFactory(Persistencia.*java:34)
    en *org.*jbpm.Integración.Consola.*CommandDelegate.*newStatefulKnowledgeSession(*CommandDelegate.*java:131)
    en *org.*jbpm.Integración.Consola.*CommandDelegate.*getSession(*CommandDelegate.*java:193)
    en *org.*jbpm.Integración.Consola.*CommandDelegate.<*init>(*CommandDelegate.*java:71)
    en *org.*jbpm.Integración.Consola.*ProcessManagement.<*init>(*ProcessManagement.*java:35)
    en *org.*jbpm.Integración.Consola.*ManagementFactory.*createProcessManagement(*ManagementFactory.*java:22)
    en *org.*jbpm.Integración.Consola.*ManagementFactory.*createProcessManagement(*ManagementFactory.*java:19)
    en *org.*jboss.*bpm.Consola.*server.*ProcessMgmtFacade.*getProcessManagement(*ProcessMgmtFacade.*java:98)
    en *org.*jboss.*bpm.Consola.*server.*ProcessMgmtFacade.*getDefinitionsJSON(*ProcessMgmtFacade.*java:122)
    en sol.Refleja.*NativeMethodAccessorImpl.Invoca0(Método Nativo)
    en sol.Refleja.*NativeMethodAccessorImpl.Invoca(*NativeMethodAccessorImpl.*java:39)
    en sol.Refleja.*DelegatingMethodAccessorImpl.Invoca(*DelegatingMethodAccessorImpl.*java:25)
    en *java.*lang.Refleja.Método.Invoca(Método.*java:597)
    en *org.*jboss.*resteasy.Núcleo.*MethodInjectorImpl.Invoca(*MethodInjectorImpl.*java:117)
    en *org.*jboss.*resteasy.Núcleo.*ResourceMethod.*invokeOnTarget(*ResourceMethod.*java:260)
    en *org.*jboss.*resteasy.Núcleo.*ResourceMethod.Invoca(*ResourceMethod.*java:232)
    en *org.*jboss.*resteasy.Núcleo.*ResourceMethod.Invoca(*ResourceMethod.*java:166)
    en *org.*jboss.*resteasy.Núcleo.*DispatcherUtilities.*getJaxrsResponse(*DispatcherUtilities.*java:142)
    en *org.*jboss.*resteasy.Núcleo.*SynchronousDispatcher.Invoca(*SynchronousDispatcher.*java:356)
    en *org.*jboss.*resteasy.Núcleo.*SynchronousDispatcher.Invoca(*SynchronousDispatcher.*java:173)
    en *org.*jboss.*resteasy.*plugins.*server.*servlet.*HttpServletDispatcher.Servicio(*HttpServletDispatcher.*java:93)
    en *org.*jboss.*resteasy.*plugins.*server.*servlet.*HttpServletDispatcher.Servicio(*HttpServletDispatcher.*java:68)
    en *javax.*servlet.*http.*HttpServlet.Servicio(*HttpServlet.*java:717)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*internalDoFilter(*ApplicationFilterChain.*java:290)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*doFilter(*ApplicationFilterChain.*java:206)
    en *org.*jboss.*bpm.Consola.*server.*util.*GWTJsonFilter.*doFilter(*GWTJsonFilter.*java:59)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*internalDoFilter(*ApplicationFilterChain.*java:235)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*doFilter(*ApplicationFilterChain.*java:206)
    en *org.*jboss.Web.*tomcat.Filtros.*ReplyHeaderFilter.*doFilter(*ReplyHeaderFilter.*java:96)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*internalDoFilter(*ApplicationFilterChain.*java:235)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*doFilter(*ApplicationFilterChain.*java:206)
    en *org.*apache.*catalina.Núcleo.*StandardWrapperValve.Invoca(*StandardWrapperValve.*java:235)
    en *org.*apache.*catalina.Núcleo.*StandardContextValve.Invoca(*StandardContextValve.*java:191)
    en *org.*jboss.Web.*tomcat.Seguridad.*SecurityAssociationValve.Invoca(*SecurityAssociationValve.*java:190)
    en *org.*apache.*catalina.*authenticator.*AuthenticatorBase.Invoca(*AuthenticatorBase.*java:525)
    en *org.*jboss.Web.*tomcat.Seguridad.*JaccContextValve.Invoca(*JaccContextValve.*java:92)
    en *org.*jboss.Web.*tomcat.Seguridad.*SecurityContextEstablishmentValve.Proceso(*SecurityContextEstablishmentValve.*java:126)
    en *org.*jboss.Web.*tomcat.Seguridad.*SecurityContextEstablishmentValve.Invoca(*SecurityContextEstablishmentValve.*java:70)
    en *org.*apache.*catalina.Núcleo.*StandardHostValve.Invoca(*StandardHostValve.*java:127)
    en *org.*apache.*catalina.*valves.*ErrorReportValve.Invoca(*ErrorReportValve.*java:102)
    en *org.*jboss.Web.*tomcat.Servicio.*jca.*CachedConnectionValve.Invoca(*CachedConnectionValve.*java:158)
    en *org.*apache.*catalina.Núcleo.*StandardEngineValve.Invoca(*StandardEngineValve.*java:109)
    en *org.*apache.*catalina.*connector.*CoyoteAdapter.Servicio(*CoyoteAdapter.*java:330)
    en *org.*apache.*coyote.*http11.*Http11Procesador.Proceso(*Http11Procesador.*java:829)
    en *org.*apache.*coyote.*http11.*Http11Protocolo$*Http11*ConnectionHandler.Proceso(*Http11Protocolo.*java:598)
    en *org.*apache.*tomcat.*util.Red.*JIoEndpoint$Trabajador.Carrera(*JIoEndpoint.*java:447)
    en *java.*lang.Hilo.Carrera(Hilo.*java:619)
Causado por: *javax.Recurso.*ResourceException: Incapaz de conseguir conexión dirigida para *jdbc/*testDS1
    en *org.*jboss.Recurso.*connectionmanager.*BaseConnectionManager2.*getManagedConnection(*BaseConnectionManager2.*java:441)
    en *org.*jboss.Recurso.*connectionmanager.*TxConnectionManager.*getManagedConnection(*TxConnectionManager.*java:381)
    en *org.*jboss.Recurso.*connectionmanager.*BaseConnectionManager2.*allocateConnection(*BaseConnectionManager2.*java:496)
    en *org.*jboss.Recurso.*connectionmanager.*BaseConnectionManager2$*ConnectionManagerProxy.*allocateConnection(*BaseConnectionManager2.*java:941)
    en *org.*jboss.Recurso.Adaptador.*jdbc.*WrapperDataSource.*getConnection(*WrapperDataSource.*java:89)
    ... 57 más
Causado por: *org.*jboss.Recurso.*JBossResourceException: No podría crear conexión; - *nested *throwable: (*org.*h2.*jdbc.*JdbcSQLException: Error general: "*java.*lang.*RuntimeException: Página[10] mesa de hoja del dato:0 entradas:9 padre:12 llaves:[459, 461, 463, 465, 467, 469, 471, 473, 475] *offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] padre 12 esperado 0" [50000-124]
    en *org.*h2.Mensaje.Mensaje.*getSQLException(Mensaje.*java:111)
    en *org.*h2.Mensaje.Mensaje.Convierte(Mensaje.*java:288)
    en *org.*h2.Motor.*Database.*openDatabase(*Database.*java:261)
    en *org.*h2.Motor.*Database.<*init>(*Database.*java:221)
    en *org.*h2.Motor.Motor.*openSession(Motor.*java:58)
    en *org.*h2.Motor.Motor.*openSession(Motor.*java:142)
    en *org.*h2.Motor.Motor.*getSession(Motor.*java:122)
    en *org.*h2.*server.*TcpServerThread.Carrera(*TcpServerThread.*java:122)
    en *java.*lang.Hilo.Carrera(Hilo.*java:619)
Causado por: *java.*lang.*RuntimeException: Página[10] mesa de hoja del dato:0 entradas:9 padre:12 llaves:[459, 461, 463, 465, 467, 469, 471, 473, 475] *offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] padre 12 esperado 0
    en *org.*h2.Mensaje.Mensaje.*throwInternalError(Mensaje.*java:191)
    en *org.*h2.Índice.*PageDataIndex.*getPage(*PageDataIndex.*java:220)
    en *org.*h2.Índice.*PageDataIndex.<*init>(*PageDataIndex.*java:74)
    en *org.*h2.Mesa.*TableData.<*init>(*TableData.*java:83)
    en *org.*h2.Tienda.*PageStore.*addMeta(*PageStore.*java:1304)
    en *org.*h2.Tienda.*PageStore.*redo(*PageStore.*java:1185)
    en *org.*h2.Tienda.*PageLog.Recupera(*PageLog.*java:285)
    en *org.*h2.Tienda.*PageStore.Recupera(*PageStore.*java:1051)
    en *org.*h2.Tienda.*PageStore.*openExisting(*PageStore.*java:310)
    en *org.*h2.Tienda.*PageStore.Abierto(*PageStore.*java:268)
    en *org.*h2.Motor.*Database.*getPageStore(*Database.*java:2305)
    en *org.*h2.Motor.*Database.Abierto(*Database.*java:624)
    en *org.*h2.Motor.*Database.*openDatabase(*Database.*java:227)
    ... 6 más
)
    en *org.*jboss.Recurso.Adaptador.*jdbc.Local.*LocalManagedConnectionFactory.*getLocalManagedConnection(*LocalManagedConnectionFactory.*java:225)
    en *org.*jboss.Recurso.Adaptador.*jdbc.Local.*LocalManagedConnectionFactory.*createManagedConnection(*LocalManagedConnectionFactory.*java:195)
    en *org.*jboss.Recurso.*connectionmanager.*InternalManagedConnectionPool.*createConnectionEventListener(*InternalManagedConnectionPool.*java:633)
    en *org.*jboss.Recurso.*connectionmanager.*InternalManagedConnectionPool.*getConnection(*InternalManagedConnectionPool.*java:267)
    en *org.*jboss.Recurso.*connectionmanager.*JBossManagedConnectionPool$*BasePool.*getConnection(*JBossManagedConnectionPool.*java:622)
    en *org.*jboss.Recurso.*connectionmanager.*BaseConnectionManager2.*getManagedConnection(*BaseConnectionManager2.*java:404)
    ... 61 más
Causado por: *org.*h2.*jdbc.*JdbcSQLException: Error general: "*java.*lang.*RuntimeException: Página[10] mesa de hoja del dato:0 entradas:9 padre:12 llaves:[459, 461, 463, 465, 467, 469, 471, 473, 475] *offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] padre 12 esperado 0" [50000-124]
    en *org.*h2.Mensaje.Mensaje.*getSQLException(Mensaje.*java:111)
    en *org.*h2.Mensaje.Mensaje.Convierte(Mensaje.*java:288)
    en *org.*h2.Motor.*Database.*openDatabase(*Database.*java:261)
    en *org.*h2.Motor.*Database.<*init>(*Database.*java:221)
    en *org.*h2.Motor.Motor.*openSession(Motor.*java:58)
    en *org.*h2.Motor.Motor.*openSession(Motor.*java:142)
    en *org.*h2.Motor.Motor.*getSession(Motor.*java:122)
    en *org.*h2.*server.*TcpServerThread.Carrera(*TcpServerThread.*java:122)
    en *java.*lang.Hilo.Carrera(Hilo.*java:619)
Causado por: *java.*lang.*RuntimeException: Página[10] mesa de hoja del dato:0 entradas:9 padre:12 llaves:[459, 461, 463, 465, 467, 469, 471, 473, 475] *offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] padre 12 esperado 0
    en *org.*h2.Mensaje.Mensaje.*throwInternalError(Mensaje.*java:191)
    en *org.*h2.Índice.*PageDataIndex.*getPage(*PageDataIndex.*java:220)
    en *org.*h2.Índice.*PageDataIndex.<*init>(*PageDataIndex.*java:74)
    en *org.*h2.Mesa.*TableData.<*init>(*TableData.*java:83)
    en *org.*h2.Tienda.*PageStore.*addMeta(*PageStore.*java:1304)
    en *org.*h2.Tienda.*PageStore.*redo(*PageStore.*java:1185)
    en *org.*h2.Tienda.*PageLog.Recupera(*PageLog.*java:285)
    en *org.*h2.Tienda.*PageStore.Recupera(*PageStore.*java:1051)
    en *org.*h2.Tienda.*PageStore.*openExisting(*PageStore.*java:310)
    en *org.*h2.Tienda.*PageStore.Abierto(*PageStore.*java:268)
    en *org.*h2.Motor.*Database.*getPageStore(*Database.*java:2305)
    en *org.*h2.Motor.*Database.Abierto(*Database.*java:624)
    en *org.*h2.Motor.*Database.*openDatabase(*Database.*java:227)
    ... 6 más

    en *org.*h2.Motor.*SessionRemote.Hecho(*SessionRemote.*java:522)
    en *org.*h2.Motor.*SessionRemote.*initTransfer(*SessionRemote.*java:115)
    en *org.*h2.Motor.*SessionRemote.*connectServer(*SessionRemote.*java:337)
    en *org.*h2.Motor.*SessionRemote.*connectEmbeddedOrServer(*SessionRemote.*java:229)
    en *org.*h2.Motor.*SessionRemote.*createSession(*SessionRemote.*java:223)
    en *org.*h2.*jdbc.*JdbcConnection.<*init>(*JdbcConnection.*java:110)
    en *org.*h2.*jdbc.*JdbcConnection.<*init>(*JdbcConnection.*java:94)
    en *org.*h2.Conductor.Conecta(Conductor.*java:58)
    en *org.*jboss.Recurso.Adaptador.*jdbc.Local.*LocalManagedConnectionFactory.*getLocalManagedConnection(*LocalManagedConnectionFactory.*java:207)
    ... 66 más
2011-09-19 19:10:17,484 *INFO  [*org.*hibernate.*util.*NamingHelper] (*http-*localhost%2F127.0.0.1-8080-16) *JNDI *InitialContext propiedades:{}
2011-09-19 19:10:17,609 *INFO  [*STDOUT] (*http-*localhost%2F127.0.0.1-8080-16) Cargando dato de sesión ...
2011-09-19 19:10:18,156 WARN  [*org.*jboss.Recurso.*connectionmanager.*JBossManagedConnectionPool] (*http-*localhost%2F127.0.0.1-8080-16) *Throwable mientras intentando para conseguir una conexión nueva: *null
*org.*jboss.Recurso.*JBossResourceException: No podría crear conexión; - *nested *throwable: (*org.*h2.*jdbc.*JdbcSQLException: Error general: "*java.*lang.*RuntimeException: Página[10] mesa de hoja del dato:0 entradas:9 padre:12 llaves:[459, 461, 463, 465, 467, 469, 471, 473, 475] *offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] padre 12 esperado 0" [50000-124]
    en *org.*h2.Mensaje.Mensaje.*getSQLException(Mensaje.*java:111)
    en *org.*h2.Mensaje.Mensaje.Convierte(Mensaje.*java:288)
    en *org.*h2.Motor.*Database.*openDatabase(*Database.*java:261)
    en *org.*h2.Motor.*Database.<*init>(*Database.*java:221)
    en *org.*h2.Motor.Motor.*openSession(Motor.*java:58)
    en *org.*h2.Motor.Motor.*openSession(Motor.*java:142)
    en *org.*h2.Motor.Motor.*getSession(Motor.*java:122)
    en *org.*h2.*server.*TcpServerThread.Carrera(*TcpServerThread.*java:122)
    en *java.*lang.Hilo.Carrera(Hilo.*java:619)
Causado por: *java.*lang.*RuntimeException: Página[10] mesa de hoja del dato:0 entradas:9 padre:12 llaves:[459, 461, 463, 465, 467, 469, 471, 473, 475] *offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] padre 12 esperado 0
    en *org.*h2.Mensaje.Mensaje.*throwInternalError(Mensaje.*java:191)
    en *org.*h2.Índice.*PageDataIndex.*getPage(*PageDataIndex.*java:220)
    en *org.*h2.Índice.*PageDataIndex.<*init>(*PageDataIndex.*java:74)
    en *org.*h2.Mesa.*TableData.<*init>(*TableData.*java:83)
    en *org.*h2.Tienda.*PageStore.*addMeta(*PageStore.*java:1304)
    en *org.*h2.Tienda.*PageStore.*redo(*PageStore.*java:1185)
    en *org.*h2.Tienda.*PageLog.Recupera(*PageLog.*java:285)
    en *org.*h2.Tienda.*PageStore.Recupera(*PageStore.*java:1051)
    en *org.*h2.Tienda.*PageStore.*openExisting(*PageStore.*java:310)
    en *org.*h2.Tienda.*PageStore.Abierto(*PageStore.*java:268)
    en *org.*h2.Motor.*Database.*getPageStore(*Database.*java:2305)
    en *org.*h2.Motor.*Database.Abierto(*Database.*java:624)
    en *org.*h2.Motor.*Database.*openDatabase(*Database.*java:227)
    ... 6 más
)
    en *org.*jboss.Recurso.Adaptador.*jdbc.Local.*LocalManagedConnectionFactory.*getLocalManagedConnection(*LocalManagedConnectionFactory.*java:225)
    en *org.*jboss.Recurso.Adaptador.*jdbc.Local.*LocalManagedConnectionFactory.*createManagedConnection(*LocalManagedConnectionFactory.*java:195)
    en *org.*jboss.Recurso.*connectionmanager.*InternalManagedConnectionPool.*createConnectionEventListener(*InternalManagedConnectionPool.*java:633)
    en *org.*jboss.Recurso.*connectionmanager.*InternalManagedConnectionPool.*getConnection(*InternalManagedConnectionPool.*java:267)
    en *org.*jboss.Recurso.*connectionmanager.*JBossManagedConnectionPool$*BasePool.*getConnection(*JBossManagedConnectionPool.*java:622)
    en *org.*jboss.Recurso.*connectionmanager.*BaseConnectionManager2.*getManagedConnection(*BaseConnectionManager2.*java:404)
    en *org.*jboss.Recurso.*connectionmanager.*TxConnectionManager.*getManagedConnection(*TxConnectionManager.*java:381)
    en *org.*jboss.Recurso.*connectionmanager.*BaseConnectionManager2.*allocateConnection(*BaseConnectionManager2.*java:496)
    en *org.*jboss.Recurso.*connectionmanager.*BaseConnectionManager2$*ConnectionManagerProxy.*allocateConnection(*BaseConnectionManager2.*java:941)
    en *org.*jboss.Recurso.Adaptador.*jdbc.*WrapperDataSource.*getConnection(*WrapperDataSource.*java:89)
    en *org.*hibernate.Conexión.*DatasourceConnectionProvider.*getConnection(*DatasourceConnectionProvider.*java:92)
    en *org.*hibernate.*jdbc.*ConnectionManager.*openConnection(*ConnectionManager.*java:446)
    en *org.*hibernate.*jdbc.*ConnectionManager.*getConnection(*ConnectionManager.*java:167)
    en *org.*hibernate.*jdbc.*AbstractBatcher.*prepareQueryStatement(*AbstractBatcher.*java:161)
    en *org.*hibernate.*loader.*Loader.*prepareQueryStatement(*Loader.*java:1573)
    en *org.*hibernate.*loader.*Loader.*doQuery(*Loader.*java:696)
    en *org.*hibernate.*loader.*Loader.*doQueryAndInitializeNonLazyCollections(*Loader.*java:259)
    en *org.*hibernate.*loader.*Loader.*loadEntity(*Loader.*java:1881)
    en *org.*hibernate.*loader.Entidad.*AbstractEntityLoader.Carga(*AbstractEntityLoader.*java:71)
    en *org.*hibernate.*loader.Entidad.*AbstractEntityLoader.Carga(*AbstractEntityLoader.*java:65)
    en *org.*hibernate.*persister.Entidad.*AbstractEntityPersister.Carga(*AbstractEntityPersister.*java:3072)
    en *org.*hibernate.Acontecimiento.*def.*DefaultLoadEventListener.*loadFromDatasource(*DefaultLoadEventListener.*java:434)
    en *org.*hibernate.Acontecimiento.*def.*DefaultLoadEventListener.*doLoad(*DefaultLoadEventListener.*java:415)
    en *org.*hibernate.Acontecimiento.*def.*DefaultLoadEventListener.Carga(*DefaultLoadEventListener.*java:165)
    en *org.*hibernate.Acontecimiento.*def.*DefaultLoadEventListener.*proxyOrLoad(*DefaultLoadEventListener.*java:223)
    en *org.*hibernate.Acontecimiento.*def.*DefaultLoadEventListener.*onLoad(*DefaultLoadEventListener.*java:126)
    en *org.*hibernate.*impl.*SessionImpl.*fireLoad(*SessionImpl.*java:905)
    en *org.*hibernate.*impl.*SessionImpl.Consigue(*SessionImpl.*java:842)
    en *org.*hibernate.*impl.*SessionImpl.Consigue(*SessionImpl.*java:835)
    en *org.*hibernate.*ejb.*AbstractEntityManagerImpl.Encuentra(*AbstractEntityManagerImpl.*java:182)
    en *org.*drools.Persistencia.*jpa.*JpaPersistenceContext.*findSessionInfo(*JpaPersistenceContext.*java:21)
    en *org.*drools.Persistencia.*SingleSessionCommandService.*initKsession(*SingleSessionCommandService.*java:173)
    en *org.*drools.Persistencia.*SingleSessionCommandService.<*init>(*SingleSessionCommandService.*java:157)
    en sol.Refleja.*NativeConstructorAccessorImpl.*newInstance0(Método Nativo)
    en sol.Refleja.*NativeConstructorAccessorImpl.*newInstance(*NativeConstructorAccessorImpl.*java:39)
    en sol.Refleja.*DelegatingConstructorAccessorImpl.*newInstance(*DelegatingConstructorAccessorImpl.*java:27)
    en *java.*lang.Refleja.Constructor.*newInstance(Constructor.*java:513)
    en *org.*drools.Persistencia.*jpa.*KnowledgeStoreServiceImpl.*buildCommanService(*KnowledgeStoreServiceImpl.*java:88)
    en *org.*drools.Persistencia.*jpa.*KnowledgeStoreServiceImpl.*loadStatefulKnowledgeSession(*KnowledgeStoreServiceImpl.*java:71)
    en *org.*drools.Persistencia.*jpa.*JPAKnowledgeService.*loadStatefulKnowledgeSession(*JPAKnowledgeService.*java:131)
    en *org.*jbpm.Integración.Consola.*CommandDelegate.*newStatefulKnowledgeSession(*CommandDelegate.*java:141)
    en *org.*jbpm.Integración.Consola.*CommandDelegate.*getSession(*CommandDelegate.*java:193)
    en *org.*jbpm.Integración.Consola.*CommandDelegate.<*init>(*CommandDelegate.*java:71)
    en *org.*jbpm.Integración.Consola.*ProcessManagement.<*init>(*ProcessManagement.*java:35)
    en *org.*jbpm.Integración.Consola.*ManagementFactory.*createProcessManagement(*ManagementFactory.*java:22)
    en *org.*jbpm.Integración.Consola.*ManagementFactory.*createProcessManagement(*ManagementFactory.*java:19)
    en *org.*jboss.*bpm.Consola.*server.*ProcessMgmtFacade.*getProcessManagement(*ProcessMgmtFacade.*java:98)
    en *org.*jboss.*bpm.Consola.*server.*ProcessMgmtFacade.*getDefinitionsJSON(*ProcessMgmtFacade.*java:122)
    en sol.Refleja.*NativeMethodAccessorImpl.Invoca0(Método Nativo)
    en sol.Refleja.*NativeMethodAccessorImpl.Invoca(*NativeMethodAccessorImpl.*java:39)
    en sol.Refleja.*DelegatingMethodAccessorImpl.Invoca(*DelegatingMethodAccessorImpl.*java:25)
    en *java.*lang.Refleja.Método.Invoca(Método.*java:597)
    en *org.*jboss.*resteasy.Núcleo.*MethodInjectorImpl.Invoca(*MethodInjectorImpl.*java:117)
    en *org.*jboss.*resteasy.Núcleo.*ResourceMethod.*invokeOnTarget(*ResourceMethod.*java:260)
    en *org.*jboss.*resteasy.Núcleo.*ResourceMethod.Invoca(*ResourceMethod.*java:232)
    en *org.*jboss.*resteasy.Núcleo.*ResourceMethod.Invoca(*ResourceMethod.*java:166)
    en *org.*jboss.*resteasy.Núcleo.*DispatcherUtilities.*getJaxrsResponse(*DispatcherUtilities.*java:142)
    en *org.*jboss.*resteasy.Núcleo.*SynchronousDispatcher.Invoca(*SynchronousDispatcher.*java:356)
    en *org.*jboss.*resteasy.Núcleo.*SynchronousDispatcher.Invoca(*SynchronousDispatcher.*java:173)
    en *org.*jboss.*resteasy.*plugins.*server.*servlet.*HttpServletDispatcher.Servicio(*HttpServletDispatcher.*java:93)
    en *org.*jboss.*resteasy.*plugins.*server.*servlet.*HttpServletDispatcher.Servicio(*HttpServletDispatcher.*java:68)
    en *javax.*servlet.*http.*HttpServlet.Servicio(*HttpServlet.*java:717)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*internalDoFilter(*ApplicationFilterChain.*java:290)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*doFilter(*ApplicationFilterChain.*java:206)
    en *org.*jboss.*bpm.Consola.*server.*util.*GWTJsonFilter.*doFilter(*GWTJsonFilter.*java:59)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*internalDoFilter(*ApplicationFilterChain.*java:235)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*doFilter(*ApplicationFilterChain.*java:206)
    en *org.*jboss.Web.*tomcat.Filtros.*ReplyHeaderFilter.*doFilter(*ReplyHeaderFilter.*java:96)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*internalDoFilter(*ApplicationFilterChain.*java:235)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*doFilter(*ApplicationFilterChain.*java:206)
    en *org.*apache.*catalina.Núcleo.*StandardWrapperValve.Invoca(*StandardWrapperValve.*java:235)
    en *org.*apache.*catalina.Núcleo.*StandardContextValve.Invoca(*StandardContextValve.*java:191)
    en *org.*jboss.Web.*tomcat.Seguridad.*SecurityAssociationValve.Invoca(*SecurityAssociationValve.*java:190)
    en *org.*apache.*catalina.*authenticator.*AuthenticatorBase.Invoca(*AuthenticatorBase.*java:525)
    en *org.*jboss.Web.*tomcat.Seguridad.*JaccContextValve.Invoca(*JaccContextValve.*java:92)
    en *org.*jboss.Web.*tomcat.Seguridad.*SecurityContextEstablishmentValve.Proceso(*SecurityContextEstablishmentValve.*java:126)
    en *org.*jboss.Web.*tomcat.Seguridad.*SecurityContextEstablishmentValve.Invoca(*SecurityContextEstablishmentValve.*java:70)
    en *org.*apache.*catalina.Núcleo.*StandardHostValve.Invoca(*StandardHostValve.*java:127)
    en *org.*apache.*catalina.*valves.*ErrorReportValve.Invoca(*ErrorReportValve.*java:102)
    en *org.*jboss.Web.*tomcat.Servicio.*jca.*CachedConnectionValve.Invoca(*CachedConnectionValve.*java:158)
    en *org.*apache.*catalina.Núcleo.*StandardEngineValve.Invoca(*StandardEngineValve.*java:109)
    en *org.*apache.*catalina.*connector.*CoyoteAdapter.Servicio(*CoyoteAdapter.*java:330)
    en *org.*apache.*coyote.*http11.*Http11Procesador.Proceso(*Http11Procesador.*java:829)
    en *org.*apache.*coyote.*http11.*Http11Protocolo$*Http11*ConnectionHandler.Proceso(*Http11Protocolo.*java:598)
    en *org.*apache.*tomcat.*util.Red.*JIoEndpoint$Trabajador.Carrera(*JIoEndpoint.*java:447)
    en *java.*lang.Hilo.Carrera(Hilo.*java:619)
Causado por: *org.*h2.*jdbc.*JdbcSQLException: Error general: "*java.*lang.*RuntimeException: Página[10] mesa de hoja del dato:0 entradas:9 padre:12 llaves:[459, 461, 463, 465, 467, 469, 471, 473, 475] *offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] padre 12 esperado 0" [50000-124]
    en *org.*h2.Mensaje.Mensaje.*getSQLException(Mensaje.*java:111)
    en *org.*h2.Mensaje.Mensaje.Convierte(Mensaje.*java:288)
    en *org.*h2.Motor.*Database.*openDatabase(*Database.*java:261)
    en *org.*h2.Motor.*Database.<*init>(*Database.*java:221)
    en *org.*h2.Motor.Motor.*openSession(Motor.*java:58)
    en *org.*h2.Motor.Motor.*openSession(Motor.*java:142)
    en *org.*h2.Motor.Motor.*getSession(Motor.*java:122)
    en *org.*h2.*server.*TcpServerThread.Carrera(*TcpServerThread.*java:122)
    en *java.*lang.Hilo.Carrera(Hilo.*java:619)
Causado por: *java.*lang.*RuntimeException: Página[10] mesa de hoja del dato:0 entradas:9 padre:12 llaves:[459, 461, 463, 465, 467, 469, 471, 473, 475] *offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] padre 12 esperado 0
    en *org.*h2.Mensaje.Mensaje.*throwInternalError(Mensaje.*java:191)
    en *org.*h2.Índice.*PageDataIndex.*getPage(*PageDataIndex.*java:220)
    en *org.*h2.Índice.*PageDataIndex.<*init>(*PageDataIndex.*java:74)
    en *org.*h2.Mesa.*TableData.<*init>(*TableData.*java:83)
    en *org.*h2.Tienda.*PageStore.*addMeta(*PageStore.*java:1304)
    en *org.*h2.Tienda.*PageStore.*redo(*PageStore.*java:1185)
    en *org.*h2.Tienda.*PageLog.Recupera(*PageLog.*java:285)
    en *org.*h2.Tienda.*PageStore.Recupera(*PageStore.*java:1051)
    en *org.*h2.Tienda.*PageStore.*openExisting(*PageStore.*java:310)
    en *org.*h2.Tienda.*PageStore.Abierto(*PageStore.*java:268)
    en *org.*h2.Motor.*Database.*getPageStore(*Database.*java:2305)
    en *org.*h2.Motor.*Database.Abierto(*Database.*java:624)
    en *org.*h2.Motor.*Database.*openDatabase(*Database.*java:227)
    ... 6 más

    en *org.*h2.Motor.*SessionRemote.Hecho(*SessionRemote.*java:522)
    en *org.*h2.Motor.*SessionRemote.*initTransfer(*SessionRemote.*java:115)
    en *org.*h2.Motor.*SessionRemote.*connectServer(*SessionRemote.*java:337)
    en *org.*h2.Motor.*SessionRemote.*connectEmbeddedOrServer(*SessionRemote.*java:229)
    en *org.*h2.Motor.*SessionRemote.*createSession(*SessionRemote.*java:223)
    en *org.*h2.*jdbc.*JdbcConnection.<*init>(*JdbcConnection.*java:110)
    en *org.*h2.*jdbc.*JdbcConnection.<*init>(*JdbcConnection.*java:94)
    en *org.*h2.Conductor.Conecta(Conductor.*java:58)
    en *org.*jboss.Recurso.Adaptador.*jdbc.Local.*LocalManagedConnectionFactory.*getLocalManagedConnection(*LocalManagedConnectionFactory.*java:207)
    ... 85 más
2011-09-19 19:10:18,187 WARN  [*org.*hibernate.*util.*JDBCExceptionReporter] (*http-*localhost%2F127.0.0.1-8080-16) Error de SQL: 0, *SQLState: *null
2011-09-19 19:10:18,187 ERROR [*org.*hibernate.*util.*JDBCExceptionReporter] (*http-*localhost%2F127.0.0.1-8080-16) Incapaz de conseguir conexión dirigida para *jdbc/*testDS1; - *nested *throwable: (*javax.Recurso.*ResourceException: Incapaz de conseguir conexión dirigida para *jdbc/*testDS1)
2011-09-19 19:10:18,187 *INFO  [*org.*hibernate.Acontecimiento.*def.*DefaultLoadEventListener] (*http-*localhost%2F127.0.0.1-8080-16) el Error que actúa orden de carga
*org.*hibernate.Excepción.*GenericJDBCException: No puede abrir conexión
    en *org.*hibernate.Excepción.*SQLStateConverter.*handledNonSpecificException(*SQLStateConverter.*java:126)
    en *org.*hibernate.Excepción.*SQLStateConverter.Convierte(*SQLStateConverter.*java:114)
    en *org.*hibernate.Excepción.*JDBCExceptionHelper.Convierte(*JDBCExceptionHelper.*java:66)
    en *org.*hibernate.Excepción.*JDBCExceptionHelper.Convierte(*JDBCExceptionHelper.*java:52)
    en *org.*hibernate.*jdbc.*ConnectionManager.*openConnection(*ConnectionManager.*java:449)
    en *org.*hibernate.*jdbc.*ConnectionManager.*getConnection(*ConnectionManager.*java:167)
    en *org.*hibernate.*jdbc.*AbstractBatcher.*prepareQueryStatement(*AbstractBatcher.*java:161)
    en *org.*hibernate.*loader.*Loader.*prepareQueryStatement(*Loader.*java:1573)
    en *org.*hibernate.*loader.*Loader.*doQuery(*Loader.*java:696)
    en *org.*hibernate.*loader.*Loader.*doQueryAndInitializeNonLazyCollections(*Loader.*java:259)
    en *org.*hibernate.*loader.*Loader.*loadEntity(*Loader.*java:1881)
    en *org.*hibernate.*loader.Entidad.*AbstractEntityLoader.Carga(*AbstractEntityLoader.*java:71)
    en *org.*hibernate.*loader.Entidad.*AbstractEntityLoader.Carga(*AbstractEntityLoader.*java:65)
    en *org.*hibernate.*persister.Entidad.*AbstractEntityPersister.Carga(*AbstractEntityPersister.*java:3072)
    en *org.*hibernate.Acontecimiento.*def.*DefaultLoadEventListener.*loadFromDatasource(*DefaultLoadEventListener.*java:434)
    en *org.*hibernate.Acontecimiento.*def.*DefaultLoadEventListener.*doLoad(*DefaultLoadEventListener.*java:415)
    en *org.*hibernate.Acontecimiento.*def.*DefaultLoadEventListener.Carga(*DefaultLoadEventListener.*java:165)
    en *org.*hibernate.Acontecimiento.*def.*DefaultLoadEventListener.*proxyOrLoad(*DefaultLoadEventListener.*java:223)
    en *org.*hibernate.Acontecimiento.*def.*DefaultLoadEventListener.*onLoad(*DefaultLoadEventListener.*java:126)
    en *org.*hibernate.*impl.*SessionImpl.*fireLoad(*SessionImpl.*java:905)
    en *org.*hibernate.*impl.*SessionImpl.Consigue(*SessionImpl.*java:842)
    en *org.*hibernate.*impl.*SessionImpl.Consigue(*SessionImpl.*java:835)
    en *org.*hibernate.*ejb.*AbstractEntityManagerImpl.Encuentra(*AbstractEntityManagerImpl.*java:182)
    en *org.*drools.Persistencia.*jpa.*JpaPersistenceContext.*findSessionInfo(*JpaPersistenceContext.*java:21)
    en *org.*drools.Persistencia.*SingleSessionCommandService.*initKsession(*SingleSessionCommandService.*java:173)
    en *org.*drools.Persistencia.*SingleSessionCommandService.<*init>(*SingleSessionCommandService.*java:157)
    en sol.Refleja.*NativeConstructorAccessorImpl.*newInstance0(Método Nativo)
    en sol.Refleja.*NativeConstructorAccessorImpl.*newInstance(*NativeConstructorAccessorImpl.*java:39)
    en sol.Refleja.*DelegatingConstructorAccessorImpl.*newInstance(*DelegatingConstructorAccessorImpl.*java:27)
    en *java.*lang.Refleja.Constructor.*newInstance(Constructor.*java:513)
    en *org.*drools.Persistencia.*jpa.*KnowledgeStoreServiceImpl.*buildCommanService(*KnowledgeStoreServiceImpl.*java:88)
    en *org.*drools.Persistencia.*jpa.*KnowledgeStoreServiceImpl.*loadStatefulKnowledgeSession(*KnowledgeStoreServiceImpl.*java:71)
    en *org.*drools.Persistencia.*jpa.*JPAKnowledgeService.*loadStatefulKnowledgeSession(*JPAKnowledgeService.*java:131)
    en *org.*jbpm.Integración.Consola.*CommandDelegate.*newStatefulKnowledgeSession(*CommandDelegate.*java:141)
    en *org.*jbpm.Integración.Consola.*CommandDelegate.*getSession(*CommandDelegate.*java:193)
    en *org.*jbpm.Integración.Consola.*CommandDelegate.<*init>(*CommandDelegate.*java:71)
    en *org.*jbpm.Integración.Consola.*ProcessManagement.<*init>(*ProcessManagement.*java:35)
    en *org.*jbpm.Integración.Consola.*ManagementFactory.*createProcessManagement(*ManagementFactory.*java:22)
    en *org.*jbpm.Integración.Consola.*ManagementFactory.*createProcessManagement(*ManagementFactory.*java:19)
    en *org.*jboss.*bpm.Consola.*server.*ProcessMgmtFacade.*getProcessManagement(*ProcessMgmtFacade.*java:98)
    en *org.*jboss.*bpm.Consola.*server.*ProcessMgmtFacade.*getDefinitionsJSON(*ProcessMgmtFacade.*java:122)
    en sol.Refleja.*NativeMethodAccessorImpl.Invoca0(Método Nativo)
    en sol.Refleja.*NativeMethodAccessorImpl.Invoca(*NativeMethodAccessorImpl.*java:39)
    en sol.Refleja.*DelegatingMethodAccessorImpl.Invoca(*DelegatingMethodAccessorImpl.*java:25)
    en *java.*lang.Refleja.Método.Invoca(Método.*java:597)
    en *org.*jboss.*resteasy.Núcleo.*MethodInjectorImpl.Invoca(*MethodInjectorImpl.*java:117)
    en *org.*jboss.*resteasy.Núcleo.*ResourceMethod.*invokeOnTarget(*ResourceMethod.*java:260)
    en *org.*jboss.*resteasy.Núcleo.*ResourceMethod.Invoca(*ResourceMethod.*java:232)
    en *org.*jboss.*resteasy.Núcleo.*ResourceMethod.Invoca(*ResourceMethod.*java:166)
    en *org.*jboss.*resteasy.Núcleo.*DispatcherUtilities.*getJaxrsResponse(*DispatcherUtilities.*java:142)
    en *org.*jboss.*resteasy.Núcleo.*SynchronousDispatcher.Invoca(*SynchronousDispatcher.*java:356)
    en *org.*jboss.*resteasy.Núcleo.*SynchronousDispatcher.Invoca(*SynchronousDispatcher.*java:173)
    en *org.*jboss.*resteasy.*plugins.*server.*servlet.*HttpServletDispatcher.Servicio(*HttpServletDispatcher.*java:93)
    en *org.*jboss.*resteasy.*plugins.*server.*servlet.*HttpServletDispatcher.Servicio(*HttpServletDispatcher.*java:68)
    en *javax.*servlet.*http.*HttpServlet.Servicio(*HttpServlet.*java:717)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*internalDoFilter(*ApplicationFilterChain.*java:290)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*doFilter(*ApplicationFilterChain.*java:206)
    en *org.*jboss.*bpm.Consola.*server.*util.*GWTJsonFilter.*doFilter(*GWTJsonFilter.*java:59)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*internalDoFilter(*ApplicationFilterChain.*java:235)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*doFilter(*ApplicationFilterChain.*java:206)
    en *org.*jboss.Web.*tomcat.Filtros.*ReplyHeaderFilter.*doFilter(*ReplyHeaderFilter.*java:96)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*internalDoFilter(*ApplicationFilterChain.*java:235)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*doFilter(*ApplicationFilterChain.*java:206)
    en *org.*apache.*catalina.Núcleo.*StandardWrapperValve.Invoca(*StandardWrapperValve.*java:235)
    en *org.*apache.*catalina.Núcleo.*StandardContextValve.Invoca(*StandardContextValve.*java:191)
    en *org.*jboss.Web.*tomcat.Seguridad.*SecurityAssociationValve.Invoca(*SecurityAssociationValve.*java:190)
    en *org.*apache.*catalina.*authenticator.*AuthenticatorBase.Invoca(*AuthenticatorBase.*java:525)
    en *org.*jboss.Web.*tomcat.Seguridad.*JaccContextValve.Invoca(*JaccContextValve.*java:92)
    en *org.*jboss.Web.*tomcat.Seguridad.*SecurityContextEstablishmentValve.Proceso(*SecurityContextEstablishmentValve.*java:126)
    en *org.*jboss.Web.*tomcat.Seguridad.*SecurityContextEstablishmentValve.Invoca(*SecurityContextEstablishmentValve.*java:70)
    en *org.*apache.*catalina.Núcleo.*StandardHostValve.Invoca(*StandardHostValve.*java:127)
    en *org.*apache.*catalina.*valves.*ErrorReportValve.Invoca(*ErrorReportValve.*java:102)
    en *org.*jboss.Web.*tomcat.Servicio.*jca.*CachedConnectionValve.Invoca(*CachedConnectionValve.*java:158)
    en *org.*apache.*catalina.Núcleo.*StandardEngineValve.Invoca(*StandardEngineValve.*java:109)
    en *org.*apache.*catalina.*connector.*CoyoteAdapter.Servicio(*CoyoteAdapter.*java:330)
    en *org.*apache.*coyote.*http11.*Http11Procesador.Proceso(*Http11Procesador.*java:829)
    en *org.*apache.*coyote.*http11.*Http11Protocolo$*Http11*ConnectionHandler.Proceso(*Http11Protocolo.*java:598)
    en *org.*apache.*tomcat.*util.Red.*JIoEndpoint$Trabajador.Carrera(*JIoEndpoint.*java:447)
    en *java.*lang.Hilo.Carrera(Hilo.*java:619)
Causado por: *org.*jboss.*util.*NestedSQLException: Incapaz de conseguir conexión dirigida para *jdbc/*testDS1; - *nested *throwable: (*javax.Recurso.*ResourceException: Incapaz de conseguir conexión dirigida para *jdbc/*testDS1)
    en *org.*jboss.Recurso.Adaptador.*jdbc.*WrapperDataSource.*getConnection(*WrapperDataSource.*java:95)
    en *org.*hibernate.Conexión.*DatasourceConnectionProvider.*getConnection(*DatasourceConnectionProvider.*java:92)
    en *org.*hibernate.*jdbc.*ConnectionManager.*openConnection(*ConnectionManager.*java:446)
    ... 74 más
Causado por: *javax.Recurso.*ResourceException: Incapaz de conseguir conexión dirigida para *jdbc/*testDS1
    en *org.*jboss.Recurso.*connectionmanager.*BaseConnectionManager2.*getManagedConnection(*BaseConnectionManager2.*java:441)
    en *org.*jboss.Recurso.*connectionmanager.*TxConnectionManager.*getManagedConnection(*TxConnectionManager.*java:381)
    en *org.*jboss.Recurso.*connectionmanager.*BaseConnectionManager2.*allocateConnection(*BaseConnectionManager2.*java:496)
    en *org.*jboss.Recurso.*connectionmanager.*BaseConnectionManager2$*ConnectionManagerProxy.*allocateConnection(*BaseConnectionManager2.*java:941)
    en *org.*jboss.Recurso.Adaptador.*jdbc.*WrapperDataSource.*getConnection(*WrapperDataSource.*java:89)
    ... 76 más
Causado por: *org.*jboss.Recurso.*JBossResourceException: No podría crear conexión; - *nested *throwable: (*org.*h2.*jdbc.*JdbcSQLException: Error general: "*java.*lang.*RuntimeException: Página[10] mesa de hoja del dato:0 entradas:9 padre:12 llaves:[459, 461, 463, 465, 467, 469, 471, 473, 475] *offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] padre 12 esperado 0" [50000-124]
    en *org.*h2.Mensaje.Mensaje.*getSQLException(Mensaje.*java:111)
    en *org.*h2.Mensaje.Mensaje.Convierte(Mensaje.*java:288)
    en *org.*h2.Motor.*Database.*openDatabase(*Database.*java:261)
    en *org.*h2.Motor.*Database.<*init>(*Database.*java:221)
    en *org.*h2.Motor.Motor.*openSession(Motor.*java:58)
    en *org.*h2.Motor.Motor.*openSession(Motor.*java:142)
    en *org.*h2.Motor.Motor.*getSession(Motor.*java:122)
    en *org.*h2.*server.*TcpServerThread.Carrera(*TcpServerThread.*java:122)
    en *java.*lang.Hilo.Carrera(Hilo.*java:619)
Causado por: *java.*lang.*RuntimeException: Página[10] mesa de hoja del dato:0 entradas:9 padre:12 llaves:[459, 461, 463, 465, 467, 469, 471, 473, 475] *offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] padre 12 esperado 0
    en *org.*h2.Mensaje.Mensaje.*throwInternalError(Mensaje.*java:191)
    en *org.*h2.Índice.*PageDataIndex.*getPage(*PageDataIndex.*java:220)
    en *org.*h2.Índice.*PageDataIndex.<*init>(*PageDataIndex.*java:74)
    en *org.*h2.Mesa.*TableData.<*init>(*TableData.*java:83)
    en *org.*h2.Tienda.*PageStore.*addMeta(*PageStore.*java:1304)
    en *org.*h2.Tienda.*PageStore.*redo(*PageStore.*java:1185)
    en *org.*h2.Tienda.*PageLog.Recupera(*PageLog.*java:285)
    en *org.*h2.Tienda.*PageStore.Recupera(*PageStore.*java:1051)
    en *org.*h2.Tienda.*PageStore.*openExisting(*PageStore.*java:310)
    en *org.*h2.Tienda.*PageStore.Abierto(*PageStore.*java:268)
    en *org.*h2.Motor.*Database.*getPageStore(*Database.*java:2305)
    en *org.*h2.Motor.*Database.Abierto(*Database.*java:624)
    en *org.*h2.Motor.*Database.*openDatabase(*Database.*java:227)
    ... 6 más
)
    en *org.*jboss.Recurso.Adaptador.*jdbc.Local.*LocalManagedConnectionFactory.*getLocalManagedConnection(*LocalManagedConnectionFactory.*java:225)
    en *org.*jboss.Recurso.Adaptador.*jdbc.Local.*LocalManagedConnectionFactory.*createManagedConnection(*LocalManagedConnectionFactory.*java:195)
    en *org.*jboss.Recurso.*connectionmanager.*InternalManagedConnectionPool.*createConnectionEventListener(*InternalManagedConnectionPool.*java:633)
    en *org.*jboss.Recurso.*connectionmanager.*InternalManagedConnectionPool.*getConnection(*InternalManagedConnectionPool.*java:267)
    en *org.*jboss.Recurso.*connectionmanager.*JBossManagedConnectionPool$*BasePool.*getConnection(*JBossManagedConnectionPool.*java:622)
    en *org.*jboss.Recurso.*connectionmanager.*BaseConnectionManager2.*getManagedConnection(*BaseConnectionManager2.*java:404)
    ... 80 más
Causado por: *org.*h2.*jdbc.*JdbcSQLException: Error general: "*java.*lang.*RuntimeException: Página[10] mesa de hoja del dato:0 entradas:9 padre:12 llaves:[459, 461, 463, 465, 467, 469, 471, 473, 475] *offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] padre 12 esperado 0" [50000-124]
    en *org.*h2.Mensaje.Mensaje.*getSQLException(Mensaje.*java:111)
    en *org.*h2.Mensaje.Mensaje.Convierte(Mensaje.*java:288)
    en *org.*h2.Motor.*Database.*openDatabase(*Database.*java:261)
    en *org.*h2.Motor.*Database.<*init>(*Database.*java:221)
    en *org.*h2.Motor.Motor.*openSession(Motor.*java:58)
    en *org.*h2.Motor.Motor.*openSession(Motor.*java:142)
    en *org.*h2.Motor.Motor.*getSession(Motor.*java:122)
    en *org.*h2.*server.*TcpServerThread.Carrera(*TcpServerThread.*java:122)
    en *java.*lang.Hilo.Carrera(Hilo.*java:619)
Causado por: *java.*lang.*RuntimeException: Página[10] mesa de hoja del dato:0 entradas:9 padre:12 llaves:[459, 461, 463, 465, 467, 469, 471, 473, 475] *offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] padre 12 esperado 0
    en *org.*h2.Mensaje.Mensaje.*throwInternalError(Mensaje.*java:191)
    en *org.*h2.Índice.*PageDataIndex.*getPage(*PageDataIndex.*java:220)
    en *org.*h2.Índice.*PageDataIndex.<*init>(*PageDataIndex.*java:74)
    en *org.*h2.Mesa.*TableData.<*init>(*TableData.*java:83)
    en *org.*h2.Tienda.*PageStore.*addMeta(*PageStore.*java:1304)
    en *org.*h2.Tienda.*PageStore.*redo(*PageStore.*java:1185)
    en *org.*h2.Tienda.*PageLog.Recupera(*PageLog.*java:285)
    en *org.*h2.Tienda.*PageStore.Recupera(*PageStore.*java:1051)
    en *org.*h2.Tienda.*PageStore.*openExisting(*PageStore.*java:310)
    en *org.*h2.Tienda.*PageStore.Abierto(*PageStore.*java:268)
    en *org.*h2.Motor.*Database.*getPageStore(*Database.*java:2305)
    en *org.*h2.Motor.*Database.Abierto(*Database.*java:624)
    en *org.*h2.Motor.*Database.*openDatabase(*Database.*java:227)
    ... 6 más

    en *org.*h2.Motor.*SessionRemote.Hecho(*SessionRemote.*java:522)
    en *org.*h2.Motor.*SessionRemote.*initTransfer(*SessionRemote.*java:115)
    en *org.*h2.Motor.*SessionRemote.*connectServer(*SessionRemote.*java:337)
    en *org.*h2.Motor.*SessionRemote.*connectEmbeddedOrServer(*SessionRemote.*java:229)
    en *org.*h2.Motor.*SessionRemote.*createSession(*SessionRemote.*java:223)
    en *org.*h2.*jdbc.*JdbcConnection.<*init>(*JdbcConnection.*java:110)
    en *org.*h2.*jdbc.*JdbcConnection.<*init>(*JdbcConnection.*java:94)
    en *org.*h2.Conductor.Conecta(Conductor.*java:58)
    en *org.*jboss.Recurso.Adaptador.*jdbc.Local.*LocalManagedConnectionFactory.*getLocalManagedConnection(*LocalManagedConnectionFactory.*java:207)
    ... 85 más
2011-09-19 19:10:18,203 ERROR [*org.*hibernate.*ejb.*AbstractEntityManagerImpl] (*http-*localhost%2F127.0.0.1-8080-16) Incapaz de marcar para *rollback en *PersistenceException: 
*java.*lang.*IllegalStateException: [*com.*arjuna.*ats.Interno.*jta.Transacción.*arjunacore.*nosuchtx] [*com.*arjuna.*ats.Interno.*jta.Transacción.*arjunacore.*nosuchtx] Ninguna tal transacción!
    En *com.*arjuna.*ats.Interno.*jta.Transacción.*arjunacore.*BaseTransaction.*setRollbackOnly(*BaseTransaction.*java:191)
    en *com.*arjuna.*ats.*jbossatx.*BaseTransactionManagerDelegate.*setRollbackOnly(*BaseTransactionManagerDelegate.*java:123)
    en *org.*hibernate.*ejb.*AbstractEntityManagerImpl.*markAsRollback(*AbstractEntityManagerImpl.*java:421)
    en *org.*hibernate.*ejb.*AbstractEntityManagerImpl.*throwPersistenceException(*AbstractEntityManagerImpl.*java:576)
    en *org.*hibernate.*ejb.*AbstractEntityManagerImpl.*throwPersistenceException(*AbstractEntityManagerImpl.*java:614)
    en *org.*hibernate.*ejb.*AbstractEntityManagerImpl.Encuentra(*AbstractEntityManagerImpl.*java:202)
    en *org.*drools.Persistencia.*jpa.*JpaPersistenceContext.*findSessionInfo(*JpaPersistenceContext.*java:21)
    en *org.*drools.Persistencia.*SingleSessionCommandService.*initKsession(*SingleSessionCommandService.*java:173)
    en *org.*drools.Persistencia.*SingleSessionCommandService.<*init>(*SingleSessionCommandService.*java:157)
    en sol.Refleja.*NativeConstructorAccessorImpl.*newInstance0(Método Nativo)
    en sol.Refleja.*NativeConstructorAccessorImpl.*newInstance(*NativeConstructorAccessorImpl.*java:39)
    en sol.Refleja.*DelegatingConstructorAccessorImpl.*newInstance(*DelegatingConstructorAccessorImpl.*java:27)
    en *java.*lang.Refleja.Constructor.*newInstance(Constructor.*java:513)
    en *org.*drools.Persistencia.*jpa.*KnowledgeStoreServiceImpl.*buildCommanService(*KnowledgeStoreServiceImpl.*java:88)
    en *org.*drools.Persistencia.*jpa.*KnowledgeStoreServiceImpl.*loadStatefulKnowledgeSession(*KnowledgeStoreServiceImpl.*java:71)
    en *org.*drools.Persistencia.*jpa.*JPAKnowledgeService.*loadStatefulKnowledgeSession(*JPAKnowledgeService.*java:131)
    en *org.*jbpm.Integración.Consola.*CommandDelegate.*newStatefulKnowledgeSession(*CommandDelegate.*java:141)
    en *org.*jbpm.Integración.Consola.*CommandDelegate.*getSession(*CommandDelegate.*java:193)
    en *org.*jbpm.Integración.Consola.*CommandDelegate.<*init>(*CommandDelegate.*java:71)
    en *org.*jbpm.Integración.Consola.*ProcessManagement.<*init>(*ProcessManagement.*java:35)
    en *org.*jbpm.Integración.Consola.*ManagementFactory.*createProcessManagement(*ManagementFactory.*java:22)
    en *org.*jbpm.Integración.Consola.*ManagementFactory.*createProcessManagement(*ManagementFactory.*java:19)
    en *org.*jboss.*bpm.Consola.*server.*ProcessMgmtFacade.*getProcessManagement(*ProcessMgmtFacade.*java:98)
    en *org.*jboss.*bpm.Consola.*server.*ProcessMgmtFacade.*getDefinitionsJSON(*ProcessMgmtFacade.*java:122)
    en sol.Refleja.*NativeMethodAccessorImpl.Invoca0(Método Nativo)
    en sol.Refleja.*NativeMethodAccessorImpl.Invoca(*NativeMethodAccessorImpl.*java:39)
    en sol.Refleja.*DelegatingMethodAccessorImpl.Invoca(*DelegatingMethodAccessorImpl.*java:25)
    en *java.*lang.Refleja.Método.Invoca(Método.*java:597)
    en *org.*jboss.*resteasy.Núcleo.*MethodInjectorImpl.Invoca(*MethodInjectorImpl.*java:117)
    en *org.*jboss.*resteasy.Núcleo.*ResourceMethod.*invokeOnTarget(*ResourceMethod.*java:260)
    en *org.*jboss.*resteasy.Núcleo.*ResourceMethod.Invoca(*ResourceMethod.*java:232)
    en *org.*jboss.*resteasy.Núcleo.*ResourceMethod.Invoca(*ResourceMethod.*java:166)
    en *org.*jboss.*resteasy.Núcleo.*DispatcherUtilities.*getJaxrsResponse(*DispatcherUtilities.*java:142)
    en *org.*jboss.*resteasy.Núcleo.*SynchronousDispatcher.Invoca(*SynchronousDispatcher.*java:356)
    en *org.*jboss.*resteasy.Núcleo.*SynchronousDispatcher.Invoca(*SynchronousDispatcher.*java:173)
    en *org.*jboss.*resteasy.*plugins.*server.*servlet.*HttpServletDispatcher.Servicio(*HttpServletDispatcher.*java:93)
    en *org.*jboss.*resteasy.*plugins.*server.*servlet.*HttpServletDispatcher.Servicio(*HttpServletDispatcher.*java:68)
    en *javax.*servlet.*http.*HttpServlet.Servicio(*HttpServlet.*java:717)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*internalDoFilter(*ApplicationFilterChain.*java:290)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*doFilter(*ApplicationFilterChain.*java:206)
    en *org.*jboss.*bpm.Consola.*server.*util.*GWTJsonFilter.*doFilter(*GWTJsonFilter.*java:59)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*internalDoFilter(*ApplicationFilterChain.*java:235)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*doFilter(*ApplicationFilterChain.*java:206)
    en *org.*jboss.Web.*tomcat.Filtros.*ReplyHeaderFilter.*doFilter(*ReplyHeaderFilter.*java:96)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*internalDoFilter(*ApplicationFilterChain.*java:235)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*doFilter(*ApplicationFilterChain.*java:206)
    en *org.*apache.*catalina.Núcleo.*StandardWrapperValve.Invoca(*StandardWrapperValve.*java:235)
    en *org.*apache.*catalina.Núcleo.*StandardContextValve.Invoca(*StandardContextValve.*java:191)
    en *org.*jboss.Web.*tomcat.Seguridad.*SecurityAssociationValve.Invoca(*SecurityAssociationValve.*java:190)
    en *org.*apache.*catalina.*authenticator.*AuthenticatorBase.Invoca(*AuthenticatorBase.*java:525)
    en *org.*jboss.Web.*tomcat.Seguridad.*JaccContextValve.Invoca(*JaccContextValve.*java:92)
    en *org.*jboss.Web.*tomcat.Seguridad.*SecurityContextEstablishmentValve.Proceso(*SecurityContextEstablishmentValve.*java:126)
    en *org.*jboss.Web.*tomcat.Seguridad.*SecurityContextEstablishmentValve.Invoca(*SecurityContextEstablishmentValve.*java:70)
    en *org.*apache.*catalina.Núcleo.*StandardHostValve.Invoca(*StandardHostValve.*java:127)
    en *org.*apache.*catalina.*valves.*ErrorReportValve.Invoca(*ErrorReportValve.*java:102)
    en *org.*jboss.Web.*tomcat.Servicio.*jca.*CachedConnectionValve.Invoca(*CachedConnectionValve.*java:158)
    en *org.*apache.*catalina.Núcleo.*StandardEngineValve.Invoca(*StandardEngineValve.*java:109)
    en *org.*apache.*catalina.*connector.*CoyoteAdapter.Servicio(*CoyoteAdapter.*java:330)
    en *org.*apache.*coyote.*http11.*Http11Procesador.Proceso(*Http11Procesador.*java:829)
    en *org.*apache.*coyote.*http11.*Http11Protocolo$*Http11*ConnectionHandler.Proceso(*Http11Protocolo.*java:598)
    en *org.*apache.*tomcat.*util.Red.*JIoEndpoint$Trabajador.Carrera(*JIoEndpoint.*java:447)
    en *java.*lang.Hilo.Carrera(Hilo.*java:619)
2011-09-19 19:10:18,203 *INFO  [*STDOUT] (*http-*localhost%2F127.0.0.1-8080-16) el Error que carga dato de sesión: *java.*lang.Refleja.*InvocationTargetException
2011-09-19 19:10:18,203 *INFO  [*STDOUT] (*http-*localhost%2F127.0.0.1-8080-16) Creando dato de sesión nueva ...
2011-09-19 19:10:18,796 WARN  [*org.*jboss.Recurso.*connectionmanager.*JBossManagedConnectionPool] (*http-*localhost%2F127.0.0.1-8080-16) *Throwable mientras intentando para conseguir una conexión nueva: *null
*org.*jboss.Recurso.*JBossResourceException: No podría crear conexión; - *nested *throwable: (*org.*h2.*jdbc.*JdbcSQLException: Error general: "*java.*lang.*RuntimeException: Página[10] mesa de hoja del dato:0 entradas:9 padre:12 llaves:[459, 461, 463, 465, 467, 469, 471, 473, 475] *offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] padre 12 esperado 0" [50000-124]
    en *org.*h2.Mensaje.Mensaje.*getSQLException(Mensaje.*java:111)
    en *org.*h2.Mensaje.Mensaje.Convierte(Mensaje.*java:288)
    en *org.*h2.Motor.*Database.*openDatabase(*Database.*java:261)
    en *org.*h2.Motor.*Database.<*init>(*Database.*java:221)
    en *org.*h2.Motor.Motor.*openSession(Motor.*java:58)
    en *org.*h2.Motor.Motor.*openSession(Motor.*java:142)
    en *org.*h2.Motor.Motor.*getSession(Motor.*java:122)
    en *org.*h2.*server.*TcpServerThread.Carrera(*TcpServerThread.*java:122)
    en *java.*lang.Hilo.Carrera(Hilo.*java:619)
Causado por: *java.*lang.*RuntimeException: Página[10] mesa de hoja del dato:0 entradas:9 padre:12 llaves:[459, 461, 463, 465, 467, 469, 471, 473, 475] *offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] padre 12 esperado 0
    en *org.*h2.Mensaje.Mensaje.*throwInternalError(Mensaje.*java:191)
    en *org.*h2.Índice.*PageDataIndex.*getPage(*PageDataIndex.*java:220)
    en *org.*h2.Índice.*PageDataIndex.<*init>(*PageDataIndex.*java:74)
    en *org.*h2.Mesa.*TableData.<*init>(*TableData.*java:83)
    en *org.*h2.Tienda.*PageStore.*addMeta(*PageStore.*java:1304)
    en *org.*h2.Tienda.*PageStore.*redo(*PageStore.*java:1185)
    en *org.*h2.Tienda.*PageLog.Recupera(*PageLog.*java:285)
    en *org.*h2.Tienda.*PageStore.Recupera(*PageStore.*java:1051)
    en *org.*h2.Tienda.*PageStore.*openExisting(*PageStore.*java:310)
    en *org.*h2.Tienda.*PageStore.Abierto(*PageStore.*java:268)
    en *org.*h2.Motor.*Database.*getPageStore(*Database.*java:2305)
    en *org.*h2.Motor.*Database.Abierto(*Database.*java:624)
    en *org.*h2.Motor.*Database.*openDatabase(*Database.*java:227)
    ... 6 más
)
    en *org.*jboss.Recurso.Adaptador.*jdbc.Local.*LocalManagedConnectionFactory.*getLocalManagedConnection(*LocalManagedConnectionFactory.*java:225)
    en *org.*jboss.Recurso.Adaptador.*jdbc.Local.*LocalManagedConnectionFactory.*createManagedConnection(*LocalManagedConnectionFactory.*java:195)
    en *org.*jboss.Recurso.*connectionmanager.*InternalManagedConnectionPool.*createConnectionEventListener(*InternalManagedConnectionPool.*java:633)
    en *org.*jboss.Recurso.*connectionmanager.*InternalManagedConnectionPool.*getConnection(*InternalManagedConnectionPool.*java:267)
    en *org.*jboss.Recurso.*connectionmanager.*JBossManagedConnectionPool$*BasePool.*getConnection(*JBossManagedConnectionPool.*java:679)
    en *org.*jboss.Recurso.*connectionmanager.*BaseConnectionManager2.*getManagedConnection(*BaseConnectionManager2.*java:404)
    en *org.*jboss.Recurso.*connectionmanager.*TxConnectionManager.*getManagedConnection(*TxConnectionManager.*java:381)
    en *org.*jboss.Recurso.*connectionmanager.*BaseConnectionManager2.*allocateConnection(*BaseConnectionManager2.*java:496)
    en *org.*jboss.Recurso.*connectionmanager.*BaseConnectionManager2$*ConnectionManagerProxy.*allocateConnection(*BaseConnectionManager2.*java:941)
    en *org.*jboss.Recurso.Adaptador.*jdbc.*WrapperDataSource.*getConnection(*WrapperDataSource.*java:89)
    en *org.*hibernate.Conexión.*DatasourceConnectionProvider.*getConnection(*DatasourceConnectionProvider.*java:92)
    en *org.*hibernate.*jdbc.*ConnectionManager.*openConnection(*ConnectionManager.*java:446)
    en *org.*hibernate.*jdbc.*ConnectionManager.*getConnection(*ConnectionManager.*java:167)
    en *org.*hibernate.*jdbc.*AbstractBatcher.*prepareStatement(*AbstractBatcher.*java:116)
    en *org.*hibernate.*id.Inserta.*AbstractSelectingDelegate.*performInsert(*AbstractSelectingDelegate.*java:54)
    en *org.*hibernate.*persister.Entidad.*AbstractEntityPersister.Inserta(*AbstractEntityPersister.*java:2186)
    en *org.*hibernate.*persister.Entidad.*AbstractEntityPersister.Inserta(*AbstractEntityPersister.*java:2666)
    en *org.*hibernate.Acción.*EntityIdentityInsertAction.Ejecuta(*EntityIdentityInsertAction.*java:71)
    en *org.*hibernate.Motor.*ActionQueue.Ejecuta(*ActionQueue.*java:279)
    en *org.*hibernate.Acontecimiento.*def.*AbstractSaveEventListener.*performSaveOrReplicate(*AbstractSaveEventListener.*java:321)
    en *org.*hibernate.Acontecimiento.*def.*AbstractSaveEventListener.*performSave(*AbstractSaveEventListener.*java:204)
    en *org.*hibernate.Acontecimiento.*def.*AbstractSaveEventListener.*saveWithGeneratedId(*AbstractSaveEventListener.*java:130)
    en *org.*hibernate.*ejb.Acontecimiento.*EJB3*PersistEventListener.*saveWithGeneratedId(*EJB3*PersistEventListener.*java:49)
    en *org.*hibernate.Acontecimiento.*def.*DefaultPersistEventListener.*entityIsTransient(*DefaultPersistEventListener.*java:154)
    en *org.*hibernate.Acontecimiento.*def.*DefaultPersistEventListener.*onPersist(*DefaultPersistEventListener.*java:110)
    en *org.*hibernate.Acontecimiento.*def.*DefaultPersistEventListener.*onPersist(*DefaultPersistEventListener.*java:61)
    en *org.*hibernate.*impl.*SessionImpl.*firePersist(*SessionImpl.*java:645)
    en *org.*hibernate.*impl.*SessionImpl.Persiste(*SessionImpl.*java:619)
    en *org.*hibernate.*impl.*SessionImpl.Persiste(*SessionImpl.*java:623)
    en *org.*hibernate.*ejb.*AbstractEntityManagerImpl.Persiste(*AbstractEntityManagerImpl.*java:220)
    en *org.*drools.Persistencia.*jpa.*JpaPersistenceContext.Persiste(*JpaPersistenceContext.*java:17)
    en *org.*drools.Persistencia.*SingleSessionCommandService.<*init>(*SingleSessionCommandService.*java:125)
    en sol.Refleja.*NativeConstructorAccessorImpl.*newInstance0(Método Nativo)
    en sol.Refleja.*NativeConstructorAccessorImpl.*newInstance(*NativeConstructorAccessorImpl.*java:39)
    en sol.Refleja.*DelegatingConstructorAccessorImpl.*newInstance(*DelegatingConstructorAccessorImpl.*java:27)
    en *java.*lang.Refleja.Constructor.*newInstance(Constructor.*java:513)
    en *org.*drools.Persistencia.*jpa.*KnowledgeStoreServiceImpl.*buildCommanService(*KnowledgeStoreServiceImpl.*java:116)
    en *org.*drools.Persistencia.*jpa.*KnowledgeStoreServiceImpl.*newStatefulKnowledgeSession(*KnowledgeStoreServiceImpl.*java:54)
    en *org.*drools.Persistencia.*jpa.*JPAKnowledgeService.*newStatefulKnowledgeSession(*JPAKnowledgeService.*java:122)
    en *org.*jbpm.Integración.Consola.*CommandDelegate.*newStatefulKnowledgeSession(*CommandDelegate.*java:153)
    en *org.*jbpm.Integración.Consola.*CommandDelegate.*getSession(*CommandDelegate.*java:193)
    en *org.*jbpm.Integración.Consola.*CommandDelegate.<*init>(*CommandDelegate.*java:71)
    en *org.*jbpm.Integración.Consola.*ProcessManagement.<*init>(*ProcessManagement.*java:35)
    en *org.*jbpm.Integración.Consola.*ManagementFactory.*createProcessManagement(*ManagementFactory.*java:22)
    en *org.*jbpm.Integración.Consola.*ManagementFactory.*createProcessManagement(*ManagementFactory.*java:19)
    en *org.*jboss.*bpm.Consola.*server.*ProcessMgmtFacade.*getProcessManagement(*ProcessMgmtFacade.*java:98)
    en *org.*jboss.*bpm.Consola.*server.*ProcessMgmtFacade.*getDefinitionsJSON(*ProcessMgmtFacade.*java:122)
    en sol.Refleja.*NativeMethodAccessorImpl.Invoca0(Método Nativo)
    en sol.Refleja.*NativeMethodAccessorImpl.Invoca(*NativeMethodAccessorImpl.*java:39)
    en sol.Refleja.*DelegatingMethodAccessorImpl.Invoca(*DelegatingMethodAccessorImpl.*java:25)
    en *java.*lang.Refleja.Método.Invoca(Método.*java:597)
    en *org.*jboss.*resteasy.Núcleo.*MethodInjectorImpl.Invoca(*MethodInjectorImpl.*java:117)
    en *org.*jboss.*resteasy.Núcleo.*ResourceMethod.*invokeOnTarget(*ResourceMethod.*java:260)
    en *org.*jboss.*resteasy.Núcleo.*ResourceMethod.Invoca(*ResourceMethod.*java:232)
    en *org.*jboss.*resteasy.Núcleo.*ResourceMethod.Invoca(*ResourceMethod.*java:166)
    en *org.*jboss.*resteasy.Núcleo.*DispatcherUtilities.*getJaxrsResponse(*DispatcherUtilities.*java:142)
    en *org.*jboss.*resteasy.Núcleo.*SynchronousDispatcher.Invoca(*SynchronousDispatcher.*java:356)
    en *org.*jboss.*resteasy.Núcleo.*SynchronousDispatcher.Invoca(*SynchronousDispatcher.*java:173)
    en *org.*jboss.*resteasy.*plugins.*server.*servlet.*HttpServletDispatcher.Servicio(*HttpServletDispatcher.*java:93)
    en *org.*jboss.*resteasy.*plugins.*server.*servlet.*HttpServletDispatcher.Servicio(*HttpServletDispatcher.*java:68)
    en *javax.*servlet.*http.*HttpServlet.Servicio(*HttpServlet.*java:717)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*internalDoFilter(*ApplicationFilterChain.*java:290)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*doFilter(*ApplicationFilterChain.*java:206)
    en *org.*jboss.*bpm.Consola.*server.*util.*GWTJsonFilter.*doFilter(*GWTJsonFilter.*java:59)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*internalDoFilter(*ApplicationFilterChain.*java:235)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*doFilter(*ApplicationFilterChain.*java:206)
    en *org.*jboss.Web.*tomcat.Filtros.*ReplyHeaderFilter.*doFilter(*ReplyHeaderFilter.*java:96)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*internalDoFilter(*ApplicationFilterChain.*java:235)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*doFilter(*ApplicationFilterChain.*java:206)
    en *org.*apache.*catalina.Núcleo.*StandardWrapperValve.Invoca(*StandardWrapperValve.*java:235)
    en *org.*apache.*catalina.Núcleo.*StandardContextValve.Invoca(*StandardContextValve.*java:191)
    en *org.*jboss.Web.*tomcat.Seguridad.*SecurityAssociationValve.Invoca(*SecurityAssociationValve.*java:190)
    en *org.*apache.*catalina.*authenticator.*AuthenticatorBase.Invoca(*AuthenticatorBase.*java:525)
    en *org.*jboss.Web.*tomcat.Seguridad.*JaccContextValve.Invoca(*JaccContextValve.*java:92)
    en *org.*jboss.Web.*tomcat.Seguridad.*SecurityContextEstablishmentValve.Proceso(*SecurityContextEstablishmentValve.*java:126)
    en *org.*jboss.Web.*tomcat.Seguridad.*SecurityContextEstablishmentValve.Invoca(*SecurityContextEstablishmentValve.*java:70)
    en *org.*apache.*catalina.Núcleo.*StandardHostValve.Invoca(*StandardHostValve.*java:127)
    en *org.*apache.*catalina.*valves.*ErrorReportValve.Invoca(*ErrorReportValve.*java:102)
    en *org.*jboss.Web.*tomcat.Servicio.*jca.*CachedConnectionValve.Invoca(*CachedConnectionValve.*java:158)
    en *org.*apache.*catalina.Núcleo.*StandardEngineValve.Invoca(*StandardEngineValve.*java:109)
    en *org.*apache.*catalina.*connector.*CoyoteAdapter.Servicio(*CoyoteAdapter.*java:330)
    en *org.*apache.*coyote.*http11.*Http11Procesador.Proceso(*Http11Procesador.*java:829)
    en *org.*apache.*coyote.*http11.*Http11Protocolo$*Http11*ConnectionHandler.Proceso(*Http11Protocolo.*java:598)
    en *org.*apache.*tomcat.*util.Red.*JIoEndpoint$Trabajador.Carrera(*JIoEndpoint.*java:447)
    en *java.*lang.Hilo.Carrera(Hilo.*java:619)
Causado por: *org.*h2.*jdbc.*JdbcSQLException: Error general: "*java.*lang.*RuntimeException: Página[10] mesa de hoja del dato:0 entradas:9 padre:12 llaves:[459, 461, 463, 465, 467, 469, 471, 473, 475] *offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] padre 12 esperado 0" [50000-124]
    en *org.*h2.Mensaje.Mensaje.*getSQLException(Mensaje.*java:111)
    en *org.*h2.Mensaje.Mensaje.Convierte(Mensaje.*java:288)
    en *org.*h2.Motor.*Database.*openDatabase(*Database.*java:261)
    en *org.*h2.Motor.*Database.<*init>(*Database.*java:221)
    en *org.*h2.Motor.Motor.*openSession(Motor.*java:58)
    en *org.*h2.Motor.Motor.*openSession(Motor.*java:142)
    en *org.*h2.Motor.Motor.*getSession(Motor.*java:122)
    en *org.*h2.*server.*TcpServerThread.Carrera(*TcpServerThread.*java:122)
    en *java.*lang.Hilo.Carrera(Hilo.*java:619)
Causado por: *java.*lang.*RuntimeException: Página[10] mesa de hoja del dato:0 entradas:9 padre:12 llaves:[459, 461, 463, 465, 467, 469, 471, 473, 475] *offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] padre 12 esperado 0
    en *org.*h2.Mensaje.Mensaje.*throwInternalError(Mensaje.*java:191)
    en *org.*h2.Índice.*PageDataIndex.*getPage(*PageDataIndex.*java:220)
    en *org.*h2.Índice.*PageDataIndex.<*init>(*PageDataIndex.*java:74)
    en *org.*h2.Mesa.*TableData.<*init>(*TableData.*java:83)
    en *org.*h2.Tienda.*PageStore.*addMeta(*PageStore.*java:1304)
    en *org.*h2.Tienda.*PageStore.*redo(*PageStore.*java:1185)
    en *org.*h2.Tienda.*PageLog.Recupera(*PageLog.*java:285)
    en *org.*h2.Tienda.*PageStore.Recupera(*PageStore.*java:1051)
    en *org.*h2.Tienda.*PageStore.*openExisting(*PageStore.*java:310)
    en *org.*h2.Tienda.*PageStore.Abierto(*PageStore.*java:268)
    en *org.*h2.Motor.*Database.*getPageStore(*Database.*java:2305)
    en *org.*h2.Motor.*Database.Abierto(*Database.*java:624)
    en *org.*h2.Motor.*Database.*openDatabase(*Database.*java:227)
    ... 6 más

    en *org.*h2.Motor.*SessionRemote.Hecho(*SessionRemote.*java:522)
    en *org.*h2.Motor.*SessionRemote.*initTransfer(*SessionRemote.*java:115)
    en *org.*h2.Motor.*SessionRemote.*connectServer(*SessionRemote.*java:337)
    en *org.*h2.Motor.*SessionRemote.*connectEmbeddedOrServer(*SessionRemote.*java:229)
    en *org.*h2.Motor.*SessionRemote.*createSession(*SessionRemote.*java:223)
    en *org.*h2.*jdbc.*JdbcConnection.<*init>(*JdbcConnection.*java:110)
    en *org.*h2.*jdbc.*JdbcConnection.<*init>(*JdbcConnection.*java:94)
    en *org.*h2.Conductor.Conecta(Conductor.*java:58)
    en *org.*jboss.Recurso.Adaptador.*jdbc.Local.*LocalManagedConnectionFactory.*getLocalManagedConnection(*LocalManagedConnectionFactory.*java:207)
    ... 84 más
2011-09-19 19:10:18,796 WARN  [*org.*hibernate.*util.*JDBCExceptionReporter] (*http-*localhost%2F127.0.0.1-8080-16) Error de SQL: 0, *SQLState: *null
2011-09-19 19:10:18,796 ERROR [*org.*hibernate.*util.*JDBCExceptionReporter] (*http-*localhost%2F127.0.0.1-8080-16) Incapaz de conseguir conexión dirigida para *jdbc/*testDS1; - *nested *throwable: (*javax.Recurso.*ResourceException: Incapaz de conseguir conexión dirigida para *jdbc/*testDS1)
2011-09-19 19:10:18,828 *INFO  [*STDOUT] (*http-*localhost%2F127.0.0.1-8080-16) 19:10:18,796 ERROR [*SingleSessionCommandService] no Podría cometer sesión
*javax.Persistencia.*PersistenceException: *org.*hibernate.Excepción.*GenericJDBCException: No puede abrir conexión
    en *org.*hibernate.*ejb.*AbstractEntityManagerImpl.*throwPersistenceException(*AbstractEntityManagerImpl.*java:614)
    en *org.*hibernate.*ejb.*AbstractEntityManagerImpl.Persiste(*AbstractEntityManagerImpl.*java:226)
    en *org.*drools.Persistencia.*jpa.*JpaPersistenceContext.Persiste(*JpaPersistenceContext.*java:17)
    en *org.*drools.Persistencia.*SingleSessionCommandService.<*init>(*SingleSessionCommandService.*java:125)
    en sol.Refleja.*NativeConstructorAccessorImpl.*newInstance0(Método Nativo)
    en sol.Refleja.*NativeConstructorAccessorImpl.*newInstance(*NativeConstructorAccessorImpl.*java:39)
    en sol.Refleja.*DelegatingConstructorAccessorImpl.*newInstance(*DelegatingConstructorAccessorImpl.*java:27)
    en *java.*lang.Refleja.Constructor.*newInstance(Constructor.*java:513)
    en *org.*drools.Persistencia.*jpa.*KnowledgeStoreServiceImpl.*buildCommanService(*KnowledgeStoreServiceImpl.*java:116)
    en *org.*drools.Persistencia.*jpa.*KnowledgeStoreServiceImpl.*newStatefulKnowledgeSession(*KnowledgeStoreServiceImpl.*java:54)
    en *org.*drools.Persistencia.*jpa.*JPAKnowledgeService.*newStatefulKnowledgeSession(*JPAKnowledgeService.*java:122)
    en *org.*jbpm.Integración.Consola.*CommandDelegate.*newStatefulKnowledgeSession(*CommandDelegate.*java:153)
    en *org.*jbpm.Integración.Consola.*CommandDelegate.*getSession(*CommandDelegate.*java:193)
    en *org.*jbpm.Integración.Consola.*CommandDelegate.<*init>(*CommandDelegate.*java:71)
    en *org.*jbpm.Integración.Consola.*ProcessManagement.<*init>(*ProcessManagement.*java:35)
    en *org.*jbpm.Integración.Consola.*ManagementFactory.*createProcessManagement(*ManagementFactory.*java:22)
    en *org.*jbpm.Integración.Consola.*ManagementFactory.*createProcessManagement(*ManagementFactory.*java:19)
    en *org.*jboss.*bpm.Consola.*server.*ProcessMgmtFacade.*getProcessManagement(*ProcessMgmtFacade.*java:98)
    en *org.*jboss.*bpm.Consola.*server.*ProcessMgmtFacade.*getDefinitionsJSON(*ProcessMgmtFacade.*java:122)
    en sol.Refleja.*NativeMethodAccessorImpl.Invoca0(Método Nativo)
    en sol.Refleja.*NativeMethodAccessorImpl.Invoca(*NativeMethodAccessorImpl.*java:39)
    en sol.Refleja.*DelegatingMethodAccessorImpl.Invoca(*DelegatingMethodAccessorImpl.*java:25)
    en *java.*lang.Refleja.Método.Invoca(Método.*java:597)
    en *org.*jboss.*resteasy.Núcleo.*MethodInjectorImpl.Invoca(*MethodInjectorImpl.*java:117)
    en *org.*jboss.*resteasy.Núcleo.*ResourceMethod.*invokeOnTarget(*ResourceMethod.*java:260)
    en *org.*jboss.*resteasy.Núcleo.*ResourceMethod.Invoca(*ResourceMethod.*java:232)
    en *org.*jboss.*resteasy.Núcleo.*ResourceMethod.Invoca(*ResourceMethod.*java:166)
    en *org.*jboss.*resteasy.Núcleo.*DispatcherUtilities.*getJaxrsResponse(*DispatcherUtilities.*java:142)
    en *org.*jboss.*resteasy.Núcleo.*SynchronousDispatcher.Invoca(*SynchronousDispatcher.*java:356)
    en *org.*jboss.*resteasy.Núcleo.*SynchronousDispatcher.Invoca(*SynchronousDispatcher.*java:173)
    en *org.*jboss.*resteasy.*plugins.*server.*servlet.*HttpServletDispatcher.Servicio(*HttpServletDispatcher.*java:93)
    en *org.*jboss.*resteasy.*plugins.*server.*servlet.*HttpServletDispatcher.Servicio(*HttpServletDispatcher.*java:68)
    en *javax.*servlet.*http.*HttpServlet.Servicio(*HttpServlet.*java:717)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*internalDoFilter(*ApplicationFilterChain.*java:290)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*doFilter(*ApplicationFilterChain.*java:206)
    en *org.*jboss.*bpm.Consola.*server.*util.*GWTJsonFilter.*doFilter(*GWTJsonFilter.*java:59)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*internalDoFilter(*ApplicationFilterChain.*java:235)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*doFilter(*ApplicationFilterChain.*java:206)
    en *org.*jboss.Web.*tomcat.Filtros.*ReplyHeaderFilter.*doFilter(*ReplyHeaderFilter.*java:96)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*internalDoFilter(*ApplicationFilterChain.*java:235)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*doFilter(*ApplicationFilterChain.*java:206)
    en *org.*apache.*catalina.Núcleo.*StandardWrapperValve.Invoca(*StandardWrapperValve.*java:235)
    en *org.*apache.*catalina.Núcleo.*StandardContextValve.Invoca(*StandardContextValve.*java:191)
    en *org.*jboss.Web.*tomcat.Seguridad.*SecurityAssociationValve.Invoca(*SecurityAssociationValve.*java:190)
    en *org.*apache.*catalina.*authenticator.*AuthenticatorBase.Invoca(*AuthenticatorBase.*java:525)
    en *org.*jboss.Web.*tomcat.Seguridad.*JaccContextValve.Invoca(*JaccContextValve.*java:92)
    en *org.*jboss.Web.*tomcat.Seguridad.*SecurityContextEstablishmentValve.Proceso(*SecurityContextEstablishmentValve.*java:126)
    en *org.*jboss.Web.*tomcat.Seguridad.*SecurityContextEstablishmentValve.Invoca(*SecurityContextEstablishmentValve.*java:70)
    en *org.*apache.*catalina.Núcleo.*StandardHostValve.Invoca(*StandardHostValve.*java:127)
    en *org.*apache.*catalina.*valves.*ErrorReportValve.Invoca(*ErrorReportValve.*java:102)
    en *org.*jboss.Web.*tomcat.Servicio.*jca.*CachedConnectionValve.Invoca(*CachedConnectionValve.*java:158)
    en *org.*apache.*catalina.Núcleo.*StandardEngineValve.Invoca(*StandardEngineValve.*java:109)
    en *org.*apache.*catalina.*connector.*CoyoteAdapter.Servicio(*CoyoteAdapter.*java:330)
    en *org.*apache.*coyote.*http11.*Http11Procesador.Proceso(*Http11Procesador.*java:829)
    en *org.*apache.*coyote.*http11.*Http11Protocolo$*Http11*ConnectionHandler.Proceso(*Http11Protocolo.*java:598)
    en *org.*apache.*tomcat.*util.Red.*JIoEndpoint$Trabajador.Carrera(*JIoEndpoint.*java:447)
    en *java.*lang.Hilo.Carrera(Hilo.*java:619)
Causado por: *org.*hibernate.Excepción.*GenericJDBCException: No puede abrir conexión
    en *org.*hibernate.Excepción.*SQLStateConverter.*handledNonSpecificException(*SQLStateConverter.*java:126)
    en *org.*hibernate.Excepción.*SQLStateConverter.Convierte(*SQLStateConverter.*java:114)
    en *org.*hibernate.Excepción.*JDBCExceptionHelper.Convierte(*JDBCExceptionHelper.*java:66)
    en *org.*hibernate.Excepción.*JDBCExceptionHelper.Convierte(*JDBCExceptionHelper.*java:52)
    en *org.*hibernate.*jdbc.*ConnectionManager.*openConnection(*ConnectionManager.*java:449)
    en *org.*hibernate.*jdbc.*ConnectionManager.*getConnection(*ConnectionManager.*java:167)
    en *org.*hibernate.*jdbc.*AbstractBatcher.*prepareStatement(*AbstractBatcher.*java:116)
    en *org.*hibernate.*id.Inserta.*AbstractSelectingDelegate.*performInsert(*AbstractSelectingDelegate.*java:54)
    en *org.*hibernate.*persister.Entidad.*AbstractEntityPersister.Inserta(*AbstractEntityPersister.*java:2186)
    en *org.*hibernate.*persister.Entidad.*AbstractEntityPersister.Inserta(*AbstractEntityPersister.*java:2666)
    en *org.*hibernate.Acción.*EntityIdentityInsertAction.Ejecuta(*EntityIdentityInsertAction.*java:71)
    en *org.*hibernate.Motor.*ActionQueue.Ejecuta(*ActionQueue.*java:279)
    en *org.*hibernate.Acontecimiento.*def.*AbstractSaveEventListener.*performSaveOrReplicate(*AbstractSaveEventListener.*java:321)
    en *org.*hibernate.Acontecimiento.*def.*AbstractSaveEventListener.*performSave(*AbstractSaveEventListener.*java:204)
    en *org.*hibernate.Acontecimiento.*def.*AbstractSaveEventListener.*saveWithGeneratedId(*AbstractSaveEventListener.*java:130)
    en *org.*hibernate.*ejb.Acontecimiento.*EJB3*PersistEventListener.*saveWithGeneratedId(*EJB3*PersistEventListener.*java:49)
    en *org.*hibernate.Acontecimiento.*def.*DefaultPersistEventListener.*entityIsTransient(*DefaultPersistEventListener.*java:154)
    en *org.*hibernate.Acontecimiento.*def.*DefaultPersistEventListener.*onPersist(*DefaultPersistEventListener.*java:110)
    en *org.*hibernate.Acontecimiento.*def.*DefaultPersistEventListener.*onPersist(*DefaultPersistEventListener.*java:61)
    en *org.*hibernate.*impl.*SessionImpl.*firePersist(*SessionImpl.*java:645)
    en *org.*hibernate.*impl.*SessionImpl.Persiste(*SessionImpl.*java:619)
    en *org.*hibernate.*impl.*SessionImpl.Persiste(*SessionImpl.*java:623)
    en *org.*hibernate.*ejb.*AbstractEntityManagerImpl.Persiste(*AbstractEntityManagerImpl.*java:220)
    ... 55 más
Causado por: *org.*jboss.*util.*NestedSQLException: Incapaz de conseguir conexión dirigida para *jdbc/*testDS1; - *nested *throwable: (*javax.Recurso.*ResourceException: Incapaz de conseguir conexión dirigida para *jdbc/*testDS1)
    en *org.*jboss.Recurso.Adaptador.*jdbc.*WrapperDataSource.*getConnection(*WrapperDataSource.*java:95)
    en *org.*hibernate.Conexión.*DatasourceConnectionProvider.*getConnection(*DatasourceConnectionProvider.*java:92)
    en *org.*hibernate.*jdbc.*ConnectionManager.*openConnection(*ConnectionManager.*java:446)
    ... 73 más
Causado por: *javax.Recurso.*ResourceExceptio
2011-09-19 19:10:18,828 *INFO  [*STDOUT] (*http-*localhost%2F127.0.0.1-8080-16) *n: Incapaz de conseguir conexión dirigida para *jdbc/*testDS1
    en *org.*jboss.Recurso.*connectionmanager.*BaseConnectionManager2.*getManagedConnection(*BaseConnectionManager2.*java:441)
    en *org.*jboss.Recurso.*connectionmanager.*TxConnectionManager.*getManagedConnection(*TxConnectionManager.*java:381)
    en *org.*jboss.Recurso.*connectionmanager.*BaseConnectionManager2.*allocateConnection(*BaseConnectionManager2.*java:496)
    en *org.*jboss.Recurso.*connectionmanager.*BaseConnectionManager2$*ConnectionManagerProxy.*allocateConnection(*BaseConnectionManager2.*java:941)
    en *org.*jboss.Recurso.Adaptador.*jdbc.*WrapperDataSource.*getConnection(*WrapperDataSource.*java:89)
    ... 75 más
Causado por: *org.*jboss.Recurso.*JBossResourceException: No podría crear conexión; - *nested *throwable: (*org.*h2.*jdbc.*JdbcSQLException: Error general: "*java.*lang.*RuntimeException: Página[10] mesa de hoja del dato:0 entradas:9 padre:12 llaves:[459, 461, 463, 465, 467, 469, 471, 473, 475] *offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] padre 12 esperado 0" [50000-124]
    en *org.*h2.Mensaje.Mensaje.*getSQLException(Mensaje.*java:111)
    en *org.*h2.Mensaje.Mensaje.Convierte(Mensaje.*java:288)
    en *org.*h2.Motor.*Database.*openDatabase(*Database.*java:261)
    en *org.*h2.Motor.*Database.<*init>(*Database.*java:221)
    en *org.*h2.Motor.Motor.*openSession(Motor.*java:58)
    en *org.*h2.Motor.Motor.*openSession(Motor.*java:142)
    en *org.*h2.Motor.Motor.*getSession(Motor.*java:122)
    en *org.*h2.*server.*TcpServerThread.Carrera(*TcpServerThread.*java:122)
    en *java.*lang.Hilo.Carrera(Hilo.*java:619)
Causado por: *java.*lang.*RuntimeException: Página[10] mesa de hoja del dato:0 entradas:9 padre:12 llaves:[459, 461, 463, 465, 467, 469, 471, 473, 475] *offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] padre 12 esperado 0
    en *org.*h2.Mensaje.Mensaje.*throwInternalError(Mensaje.*java:191)
    en *org.*h2.Índice.*PageDataIndex.*getPage(*PageDataIndex.*java:220)
    en *org.*h2.Índice.*PageDataIndex.<*init>(*PageDataIndex.*java:74)
    en *org.*h2.Mesa.*TableData.<*init>(*TableData.*java:83)
    en *org.*h2.Tienda.*PageStore.*addMeta(*PageStore.*java:1304)
    en *org.*h2.Tienda.*PageStore.*redo(*PageStore.*java:1185)
    en *org.*h2.Tienda.*PageLog.Recupera(*PageLog.*java:285)
    en *org.*h2.Tienda.*PageStore.Recupera(*PageStore.*java:1051)
    en *org.*h2.Tienda.*PageStore.*openExisting(*PageStore.*java:310)
    en *org.*h2.Tienda.*PageStore.Abierto(*PageStore.*java:268)
    en *org.*h2.Motor.*Database.*getPageStore(*Database.*java:2305)
    en *org.*h2.Motor.*Database.Abierto(*Database.*java:624)
    en *org.*h2.Motor.*Database.*openDatabase(*Database.*java:227)
    ... 6 más
)
    en *org.*jboss.Recurso.Adaptador.*jdbc.Local.*LocalManagedConnectionFactory.*getLocalManagedConnection(*LocalManagedConnectionFactory.*java:225)
    en *org.*jboss.Recurso.Adaptador.*jdbc.Local.*LocalManagedConnectionFactory.*createManagedConnection(*LocalManagedConnectionFactory.*java:195)
    en *org.*jboss.Recurso.*connectionmanager.*InternalManagedConnectionPool.*createConnectionEventListener(*InternalManagedConnectionPool.*java:633)
    en *org.*jboss.Recurso.*connectionmanager.*InternalManagedConnectionPool.*getConnection(*InternalManagedConnectionPool.*java:267)
    en *org.*jboss.Recurso.*connectionmanager.*JBossManagedConnectionPool$*BasePool.*getConnection(*JBossManagedConnectionPool.*java:679)
    en *org.*jboss.Recurso.*connectionmanager.*BaseConnectionManager2.*getManagedConnection(*BaseConnectionManager2.*java:404)
    ... 79 más
Causado por: *org.*h2.*jdbc.*JdbcSQLException: Error general: "*java.*lang.*RuntimeException: Página[10] mesa de hoja del dato:0 entradas:9 padre:12 llaves:[459, 461, 463, 465, 467, 469, 471, 473, 475] *offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] padre 12 esperado 0" [50000-124]
    en *org.*h2.Mensaje.Mensaje.*getSQLException(Mensaje.*java:111)
    en *org.*h2.Mensaje.Mensaje.Convierte(Mensaje.*java:288)
    en *org.*h2.Motor.*Database.*openDatabase(*Database.*java:261)
    en *org.*h2.Motor.*Database.<*init>(*Database.*java:221)
    en *org.*h2.Motor.Motor.*openSession(Motor.*java:58)
    en *org.*h2.Motor.Motor.*openSession(Motor.*java:142)
    en *org.*h2.Motor.Motor.*getSession(Motor.*java:122)
    en *org.*h2.*server.*TcpServerThread.Carrera(*TcpServerThread.*java:122)
    en *java.*lang.Hilo.Carrera(Hilo.*java:619)
Causado por: *java.*lang.*RuntimeException: Página[10] mesa de hoja del dato:0 entradas:9 padre:12 llaves:[459, 461, 463, 465, 467, 469, 471, 473, 475] *offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] padre 12 esperado 0
    en *org.*h2.Mensaje.Mensaje.*throwInternalError(Mensaje.*java:191)
    en *org.*h2.Índice.*PageDataIndex.*getPage(*PageDataIndex.*java:220)
    en *org.*h2.Índice.*PageDataIndex.<*init>(*PageDataIndex.*java:74)
    en *org.*h2.Mesa.*TableData.<*init>(*TableData.*java:83)
    en *org.*h2.Tienda.*PageStore.*addMeta(*PageStore.*java:1304)
    en *org.*h2.Tienda.*PageStore.*redo(*PageStore.*java:1185)
    en *org.*h2.Tienda.*PageLog.Recupera(*PageLog.*java:285)
    en *org.*h2.Tienda.*PageStore.Recupera(*PageStore.*java:1051)
    en *org.*h2.Tienda.*PageStore.*openExisting(*PageStore.*java:310)
    en *org.*h2.Tienda.*PageStore.Abierto(*PageStore.*java:268)
    en *org.*h2.Motor.*Database.*getPageStore(*Database.*java:2305)
    en *org.*h2.Motor.*Database.Abierto(*Database.*java:624)
    en *org.*h2.Motor.*Database.*openDatabase(*Database.*java:227)
    ... 6 más

    en *org.*h2.Motor.*SessionRemote.Hecho(*SessionRemote.*java:522)
    en *org.*h2.Motor.*SessionRemote.*initTransfer(*SessionRemote.*java:115)
    en *org.*h2.Motor.*SessionRemote.*connectServer(*SessionRemote.*java:337)
    en *org.*h2.Motor.*SessionRemote.*connectEmbeddedOrServer(*SessionRemote.*java:229)
    en *org.*h2.Motor.*SessionRemote.*createSession(*SessionRemote.*java:223)
    en *org.*h2.*jdbc.*JdbcConnection.<*init>(*JdbcConnection.*java:110)
    en *org.*h2.*jdbc.*JdbcConnection.<*init>(*JdbcConnection.*java:94)
    en *org.*h2.Conductor.Conecta(Conductor.*java:58)
    en *org.*jboss.Recurso.Adaptador.*jdbc.Local.*LocalManagedConnectionFactory.*getLocalManagedConnection(*LocalManagedConnectionFactory.*java:207)
    ... 84 más
2011-09-19 19:10:18,859 ERROR [*org.*apache.*catalina.Núcleo.*ContainerBase.[*jboss.Web].[*localhost].[/*gwt-Consola-*server].[*Resteasy]] (*http-*localhost%2F127.0.0.1-8080-16) *Servlet.Servicio() para *servlet *Resteasy echó excepción
*org.*jboss.*resteasy.*spi.*UnhandledException: *java.*lang.*RuntimeException: Podría no *initialize *stateful sesión de conocimiento: *java.*lang.Refleja.*InvocationTargetException
    En *org.*jboss.*resteasy.Núcleo.*SynchronousDispatcher.*handleApplicationException(*SynchronousDispatcher.*java:319)
    en *org.*jboss.*resteasy.Núcleo.*SynchronousDispatcher.*handleException(*SynchronousDispatcher.*java:230)
    en *org.*jboss.*resteasy.Núcleo.*SynchronousDispatcher.*handleInvokerException(*SynchronousDispatcher.*java:206)
    en *org.*jboss.*resteasy.Núcleo.*SynchronousDispatcher.Invoca(*SynchronousDispatcher.*java:360)
    en *org.*jboss.*resteasy.Núcleo.*SynchronousDispatcher.Invoca(*SynchronousDispatcher.*java:173)
    en *org.*jboss.*resteasy.*plugins.*server.*servlet.*HttpServletDispatcher.Servicio(*HttpServletDispatcher.*java:93)
    en *org.*jboss.*resteasy.*plugins.*server.*servlet.*HttpServletDispatcher.Servicio(*HttpServletDispatcher.*java:68)
    en *javax.*servlet.*http.*HttpServlet.Servicio(*HttpServlet.*java:717)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*internalDoFilter(*ApplicationFilterChain.*java:290)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*doFilter(*ApplicationFilterChain.*java:206)
    en *org.*jboss.*bpm.Consola.*server.*util.*GWTJsonFilter.*doFilter(*GWTJsonFilter.*java:59)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*internalDoFilter(*ApplicationFilterChain.*java:235)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*doFilter(*ApplicationFilterChain.*java:206)
    en *org.*jboss.Web.*tomcat.Filtros.*ReplyHeaderFilter.*doFilter(*ReplyHeaderFilter.*java:96)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*internalDoFilter(*ApplicationFilterChain.*java:235)
    en *org.*apache.*catalina.Núcleo.*ApplicationFilterChain.*doFilter(*ApplicationFilterChain.*java:206)
    en *org.*apache.*catalina.Núcleo.*StandardWrapperValve.Invoca(*StandardWrapperValve.*java:235)
    en *org.*apache.*catalina.Núcleo.*StandardContextValve.Invoca(*StandardContextValve.*java:191)
    en *org.*jboss.Web.*tomcat.Seguridad.*SecurityAssociationValve.Invoca(*SecurityAssociationValve.*java:190)
    en *org.*apache.*catalina.*authenticator.*AuthenticatorBase.Invoca(*AuthenticatorBase.*java:525)
    en *org.*jboss.Web.*tomcat.Seguridad.*JaccContextValve.Invoca(*JaccContextValve.*java:92)
    en *org.*jboss.Web.*tomcat.Seguridad.*SecurityContextEstablishmentValve.Proceso(*SecurityContextEstablishmentValve.*java:126)
    en *org.*jboss.Web.*tomcat.Seguridad.*SecurityContextEstablishmentValve.Invoca(*SecurityContextEstablishmentValve.*java:70)
    en *org.*apache.*catalina.Núcleo.*StandardHostValve.Invoca(*StandardHostValve.*java:127)
    en *org.*apache.*catalina.*valves.*ErrorReportValve.Invoca(*ErrorReportValve.*java:102)
    en *org.*jboss.Web.*tomcat.Servicio.*jca.*CachedConnectionValve.Invoca(*CachedConnectionValve.*java:158)
    en *org.*apache.*catalina.Núcleo.*StandardEngineValve.Invoca(*StandardEngineValve.*java:109)
    en *org.*apache.*catalina.*connector.*CoyoteAdapter.Servicio(*CoyoteAdapter.*java:330)
    en *org.*apache.*coyote.*http11.*Http11Procesador.Proceso(*Http11Procesador.*java:829)
    en *org.*apache.*coyote.*http11.*Http11Protocolo$*Http11*ConnectionHandler.Proceso(*Http11Protocolo.*java:598)
    en *org.*apache.*tomcat.*util.Red.*JIoEndpoint$Trabajador.Carrera(*JIoEndpoint.*java:447)
    en *java.*lang.Hilo.Carrera(Hilo.*java:619)
Causado por: *java.*lang.*RuntimeException: Podría no *initialize *stateful sesión de conocimiento: *java.*lang.Refleja.*InvocationTargetException
    En *org.*jbpm.Integración.Consola.*CommandDelegate.*newStatefulKnowledgeSession(*CommandDelegate.*java:185)
    en *org.*jbpm.Integración.Consola.*CommandDelegate.*getSession(*CommandDelegate.*java:193)
    en *org.*jbpm.Integración.Consola.*CommandDelegate.<*init>(*CommandDelegate.*java:71)
    en *org.*jbpm.Integración.Consola.*ProcessManagement.<*init>(*ProcessManagement.*java:35)
    en *org.*jbpm.Integración.Consola.*ManagementFactory.*createProcessManagement(*ManagementFactory.*java:22)
    en *org.*jbpm.Integración.Consola.*ManagementFactory.*createProcessManagement(*ManagementFactory.*java:19)
    en *org.*jboss.*bpm.Consola.*server.*ProcessMgmtFacade.*getProcessManagement(*ProcessMgmtFacade.*java:98)
    en *org.*jboss.*bpm.Consola.*server.*ProcessMgmtFacade.*getDefinitionsJSON(*ProcessMgmtFacade.*java:122)
    en sol.Refleja.*NativeMethodAccessorImpl.Invoca0(Método Nativo)
    en sol.Refleja.*NativeMethodAccessorImpl.Invoca(*NativeMethodAccessorImpl.*java:39)
    en sol.Refleja.*DelegatingMethodAccessorImpl.Invoca(*DelegatingMethodAccessorImpl.*java:25)
    en *java.*lang.Refleja.Método.Invoca(Método.*java:597)
    en *org.*jboss.*resteasy.Núcleo.*MethodInjectorImpl.Invoca(*MethodInjectorImpl.*java:117)
    en *org.*jboss.*resteasy.Núcleo.*ResourceMethod.*invokeOnTarget(*ResourceMethod.*java:260)
    en *org.*jboss.*resteasy.Núcleo.*ResourceMethod.Invoca(*ResourceMethod.*java:232)
    en *org.*jboss.*resteasy.Núcleo.*ResourceMethod.Invoca(*ResourceMethod.*java:166)
    en *org.*jboss.*resteasy.Núcleo.*DispatcherUtilities.*getJaxrsResponse(*DispatcherUtilities.*java:142)
    en *org.*jboss.*resteasy.Núcleo.*SynchronousDispatcher.Invoca(*SynchronousDispatcher.*java:356)
    ... 28 más
Causado por: *java.*lang.*IllegalStateException: *java.*lang.Refleja.*InvocationTargetException
    En *org.*drools.Persistencia.*jpa.*KnowledgeStoreServiceImpl.*buildCommanService(*KnowledgeStoreServiceImpl.*java:130)
    en *org.*drools.Persistencia.*jpa.*KnowledgeStoreServiceImpl.*newStatefulKnowledgeSession(*KnowledgeStoreServiceImpl.*java:54)
    en *org.*drools.Persistencia.*jpa.*JPAKnowledgeService.*newStatefulKnowledgeSession(*JPAKnowledgeService.*java:122)
    en *org.*jbpm.Integración.Consola.*CommandDelegate.*newStatefulKnowledgeSession(*CommandDelegate.*java:153)
    ... 45 más
Causado por: *java.*lang.Refleja.*InvocationTargetException
    En sol.Refleja.*NativeConstructorAccessorImpl.*newInstance0(Método Nativo)
    en sol.Refleja.*NativeConstructorAccessorImpl.*newInstance(*NativeConstructorAccessorImpl.*java:39)
    en sol.Refleja.*DelegatingConstructorAccessorImpl.*newInstance(*DelegatingConstructorAccessorImpl.*java:27)
    en *java.*lang.Refleja.Constructor.*newInstance(Constructor.*java:513)
    en *org.*drools.Persistencia.*jpa.*KnowledgeStoreServiceImpl.*buildCommanService(*KnowledgeStoreServiceImpl.*java:116)
    ... 48 más
Causado por: *javax.Persistencia.*PersistenceException: *org.*hibernate.Excepción.*GenericJDBCException: No puede abrir conexión
    en *org.*hibernate.*ejb.*AbstractEntityManagerImpl.*throwPersistenceException(*AbstractEntityManagerImpl.*java:614)
    en *org.*hibernate.*ejb.*AbstractEntityManagerImpl.Persiste(*AbstractEntityManagerImpl.*java:226)
    en *org.*drools.Persistencia.*jpa.*JpaPersistenceContext.Persiste(*JpaPersistenceContext.*java:17)
    en *org.*drools.Persistencia.*SingleSessionCommandService.<*init>(*SingleSessionCommandService.*java:125)
    ... 53 más
Causado por: *org.*hibernate.Excepción.*GenericJDBCException: No puede abrir conexión
    en *org.*hibernate.Excepción.*SQLStateConverter.*handledNonSpecificException(*SQLStateConverter.*java:126)
    en *org.*hibernate.Excepción.*SQLStateConverter.Convierte(*SQLStateConverter.*java:114)
    en *org.*hibernate.Excepción.*JDBCExceptionHelper.Convierte(*JDBCExceptionHelper.*java:66)
    en *org.*hibernate.Excepción.*JDBCExceptionHelper.Convierte(*JDBCExceptionHelper.*java:52)
    en *org.*hibernate.*jdbc.*ConnectionManager.*openConnection(*ConnectionManager.*java:449)
    en *org.*hibernate.*jdbc.*ConnectionManager.*getConnection(*ConnectionManager.*java:167)
    en *org.*hibernate.*jdbc.*AbstractBatcher.*prepareStatement(*AbstractBatcher.*java:116)
    en *org.*hibernate.*id.Inserta.*AbstractSelectingDelegate.*performInsert(*AbstractSelectingDelegate.*java:54)
    en *org.*hibernate.*persister.Entidad.*AbstractEntityPersister.Inserta(*AbstractEntityPersister.*java:2186)
    en *org.*hibernate.*persister.Entidad.*AbstractEntityPersister.Inserta(*AbstractEntityPersister.*java:2666)
    en *org.*hibernate.Acción.*EntityIdentityInsertAction.Ejecuta(*EntityIdentityInsertAction.*java:71)
    en *org.*hibernate.Motor.*ActionQueue.Ejecuta(*ActionQueue.*java:279)
    en *org.*hibernate.Acontecimiento.*def.*AbstractSaveEventListener.*performSaveOrReplicate(*AbstractSaveEventListener.*java:321)
    en *org.*hibernate.Acontecimiento.*def.*AbstractSaveEventListener.*performSave(*AbstractSaveEventListener.*java:204)
    en *org.*hibernate.Acontecimiento.*def.*AbstractSaveEventListener.*saveWithGeneratedId(*AbstractSaveEventListener.*java:130)
    en *org.*hibernate.*ejb.Acontecimiento.*EJB3*PersistEventListener.*saveWithGeneratedId(*EJB3*PersistEventListener.*java:49)
    en *org.*hibernate.Acontecimiento.*def.*DefaultPersistEventListener.*entityIsTransient(*DefaultPersistEventListener.*java:154)
    en *org.*hibernate.Acontecimiento.*def.*DefaultPersistEventListener.*onPersist(*DefaultPersistEventListener.*java:110)
    en *org.*hibernate.Acontecimiento.*def.*DefaultPersistEventListener.*onPersist(*DefaultPersistEventListener.*java:61)
    en *org.*hibernate.*impl.*SessionImpl.*firePersist(*SessionImpl.*java:645)
    en *org.*hibernate.*impl.*SessionImpl.Persiste(*SessionImpl.*java:619)
    en *org.*hibernate.*impl.*SessionImpl.Persiste(*SessionImpl.*java:623)
    en *org.*hibernate.*ejb.*AbstractEntityManagerImpl.Persiste(*AbstractEntityManagerImpl.*java:220)
    ... 55 más
Causado por: *org.*jboss.*util.*NestedSQLException: Incapaz de conseguir conexión dirigida para *jdbc/*testDS1; - *nested *throwable: (*javax.Recurso.*ResourceException: Incapaz de conseguir conexión dirigida para *jdbc/*testDS1)
    en *org.*jboss.Recurso.Adaptador.*jdbc.*WrapperDataSource.*getConnection(*WrapperDataSource.*java:95)
    en *org.*hibernate.Conexión.*DatasourceConnectionProvider.*getConnection(*DatasourceConnectionProvider.*java:92)
    en *org.*hibernate.*jdbc.*ConnectionManager.*openConnection(*ConnectionManager.*java:446)
    ... 73 más
Causado por: *javax.Recurso.*ResourceException: Incapaz de conseguir conexión dirigida para *jdbc/*testDS1
    en *org.*jboss.Recurso.*connectionmanager.*BaseConnectionManager2.*getManagedConnection(*BaseConnectionManager2.*java:441)
    en *org.*jboss.Recurso.*connectionmanager.*TxConnectionManager.*getManagedConnection(*TxConnectionManager.*java:381)
    en *org.*jboss.Recurso.*connectionmanager.*BaseConnectionManager2.*allocateConnection(*BaseConnectionManager2.*java:496)
    en *org.*jboss.Recurso.*connectionmanager.*BaseConnectionManager2$*ConnectionManagerProxy.*allocateConnection(*BaseConnectionManager2.*java:941)
    en *org.*jboss.Recurso.Adaptador.*jdbc.*WrapperDataSource.*getConnection(*WrapperDataSource.*java:89)
    ... 75 más
Causado por: *org.*jboss.Recurso.*JBossResourceException: No podría crear conexión; - *nested *throwable: (*org.*h2.*jdbc.*JdbcSQLException: Error general: "*java.*lang.*RuntimeException: Página[10] mesa de hoja del dato:0 entradas:9 padre:12 llaves:[459, 461, 463, 465, 467, 469, 471, 473, 475] *offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] padre 12 esperado 0" [50000-124]
    en *org.*h2.Mensaje.Mensaje.*getSQLException(Mensaje.*java:111)
    en *org.*h2.Mensaje.Mensaje.Convierte(Mensaje.*java:288)
    en *org.*h2.Motor.*Database.*openDatabase(*Database.*java:261)
    en *org.*h2.Motor.*Database.<*init>(*Database.*java:221)
    en *org.*h2.Motor.Motor.*openSession(Motor.*java:58)
    en *org.*h2.Motor.Motor.*openSession(Motor.*java:142)
    en *org.*h2.Motor.Motor.*getSession(Motor.*java:122)
    en *org.*h2.*server.*TcpServerThread.Carrera(*TcpServerThread.*java:122)
    en *java.*lang.Hilo.Carrera(Hilo.*java:619)
Causado por: *java.*lang.*RuntimeException: Página[10] mesa de hoja del dato:0 entradas:9 padre:12 llaves:[459, 461, 463, 465, 467, 469, 471, 473, 475] *offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] padre 12 esperado 0
    en *org.*h2.Mensaje.Mensaje.*throwInternalError(Mensaje.*java:191)
    en *org.*h2.Índice.*PageDataIndex.*getPage(*PageDataIndex.*java:220)
    en *org.*h2.Índice.*PageDataIndex.<*init>(*PageDataIndex.*java:74)
    en *org.*h2.Mesa.*TableData.<*init>(*TableData.*java:83)
    en *org.*h2.Tienda.*PageStore.*addMeta(*PageStore.*java:1304)
    en *org.*h2.Tienda.*PageStore.*redo(*PageStore.*java:1185)
    en *org.*h2.Tienda.*PageLog.Recupera(*PageLog.*java:285)
    en *org.*h2.Tienda.*PageStore.Recupera(*PageStore.*java:1051)
    en *org.*h2.Tienda.*PageStore.*openExisting(*PageStore.*java:310)
    en *org.*h2.Tienda.*PageStore.Abierto(*PageStore.*java:268)
    en *org.*h2.Motor.*Database.*getPageStore(*Database.*java:2305)
    en *org.*h2.Motor.*Database.Abierto(*Database.*java:624)
    en *org.*h2.Motor.*Database.*openDatabase(*Database.*java:227)
    ... 6 más
)
    en *org.*jboss.Recurso.Adaptador.*jdbc.Local.*LocalManagedConnectionFactory.*getLocalManagedConnection(*LocalManagedConnectionFactory.*java:225)
    en *org.*jboss.Recurso.Adaptador.*jdbc.Local.*LocalManagedConnectionFactory.*createManagedConnection(*LocalManagedConnectionFactory.*java:195)
    en *org.*jboss.Recurso.*connectionmanager.*InternalManagedConnectionPool.*createConnectionEventListener(*InternalManagedConnectionPool.*java:633)
    en *org.*jboss.Recurso.*connectionmanager.*InternalManagedConnectionPool.*getConnection(*InternalManagedConnectionPool.*java:267)
    en *org.*jboss.Recurso.*connectionmanager.*JBossManagedConnectionPool$*BasePool.*getConnection(*JBossManagedConnectionPool.*java:679)
    en *org.*jboss.Recurso.*connectionmanager.*BaseConnectionManager2.*getManagedConnection(*BaseConnectionManager2.*java:404)
    ... 79 más
Causado por: *org.*h2.*jdbc.*JdbcSQLException: Error general: "*java.*lang.*RuntimeException: Página[10] mesa de hoja del dato:0 entradas:9 padre:12 llaves:[459, 461, 463, 465, 467, 469, 471, 473, 475] *offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] padre 12 esperado 0" [50000-124]
    en *org.*h2.Mensaje.Mensaje.*getSQLException(Mensaje.*java:111)
    en *org.*h2.Mensaje.Mensaje.Convierte(Mensaje.*java:288)
    en *org.*h2.Motor.*Database.*openDatabase(*Database.*java:261)
    en *org.*h2.Motor.*Database.<*init>(*Database.*java:221)
    en *org.*h2.Motor.Motor.*openSession(Motor.*java:58)
    en *org.*h2.Motor.Motor.*openSession(Motor.*java:142)
    en *org.*h2.Motor.Motor.*getSession(Motor.*java:122)
    en *org.*h2.*server.*TcpServerThread.Carrera(*TcpServerThread.*java:122)
    en *java.*lang.Hilo.Carrera(Hilo.*java:619)
Causado por: *java.*lang.*RuntimeException: Página[10] mesa de hoja del dato:0 entradas:9 padre:12 llaves:[459, 461, 463, 465, 467, 469, 471, 473, 475] *offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] padre 12 esperado 0
    en *org.*h2.Mensaje.Mensaje.*throwInternalError(Mensaje.*java:191)
    en *org.*h2.Índice.*PageDataIndex.*getPage(*PageDataIndex.*java:220)
    en *org.*h2.Índice.*PageDataIndex.<*init>(*PageDataIndex.*java:74)
    en *org.*h2.Mesa.*TableData.<*init>(*TableData.*java:83)
    en *org.*h2.Tienda.*PageStore.*addMeta(*PageStore.*java:1304)
    en *org.*h2.Tienda.*PageStore.*redo(*PageStore.*java:1185)
    en *org.*h2.Tienda.*PageLog.Recupera(*PageLog.*java:285)
    en *org.*h2.Tienda.*PageStore.Recupera(*PageStore.*java:1051)
    en *org.*h2.Tienda.*PageStore.*openExisting(*PageStore.*java:310)
    en *org.*h2.Tienda.*PageStore.Abierto(*PageStore.*java:268)
    en *org.*h2.Motor.*Database.*getPageStore(*Database.*java:2305)
    en *org.*h2.Motor.*Database.Abierto(*Database.*java:624)
    en *org.*h2.Motor.*Database.*openDatabase(*Database.*java:227)
    ... 6 más

    en *org.*h2.Motor.*SessionRemote.Hecho(*SessionRemote.*java:522)
    en *org.*h2.Motor.*SessionRemote.*initTransfer(*SessionRemote.*java:115)
    en *org.*h2.Motor.*SessionRemote.*connectServer(*SessionRemote.*java:337)
    en *org.*h2.Motor.*SessionRemote.*connectEmbeddedOrServer(*SessionRemote.*java:229)
    en *org.*h2.Motor.*SessionRemote.*createSession(*SessionRemote.*java:223)
    en *org.*h2.*jdbc.*JdbcConnection.<*init>(*JdbcConnection.*java:110)
    en *org.*h2.*jdbc.*JdbcConnection.<*init>(*JdbcConnection.*java:94)
    en *org.*h2.Conductor.Conecta(Conductor.*java:58)
    en *org.*jboss.Recurso.Adaptador.*jdbc.Local.*LocalManagedConnectionFactory.*getLocalManagedConnection(*LocalManagedConnectionFactory.*java:207)
    ... 84 más
==========================================================================

la consola ni siquiera está mostrando proceso de evaluación de la muestra.
Hope solucionará este problema...
--------------------------------------------------------------

Respuesta a este mensaje por ir a Comunidad
[*http://comunidad.*jboss.*org/Mensaje/627222#627222]

Empieza una discusión nueva en *jBPM en Comunidad
[*http://comunidad.*jboss.*org/Escoge-contenedor!Entrada.*jspa?*contentType=1&*containerType=14&contenedor=2034]

Hardik Dave [http://community.jboss.org/people/hadik] created the discussion

"Re: problem about jbpm5.1 web console"

To view the discussion, visit: http://community.jboss.org/message/627222#627222

--------------------------------------------------------------
My Log is as below:
=============================================================================================
2011-09-19 19:10:17,406 WARN  [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] (http-localhost%2F127.0.0.1-8080-16) Throwable while attempting to get a new connection: null
org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.h2.jdbc.JdbcSQLException: General error: "java.lang.RuntimeException: page[10] data leaf table:0 entries:9 parent:12 keys:[459, 461, 463, 465, 467, 469, 471, 473, 475] offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] parent 12 expected 0" [50000-124]
    at org.h2.message.Message.getSQLException(Message.java:111)
    at org.h2.message.Message.convert(Message.java:288)
    at org.h2.engine.Database.openDatabase(Database.java:261)
    at org.h2.engine.Database.<init>(Database.java:221)
    at org.h2.engine.Engine.openSession(Engine.java:58)
    at org.h2.engine.Engine.openSession(Engine.java:142)
    at org.h2.engine.Engine.getSession(Engine.java:122)
    at org.h2.server.TcpServerThread.run(TcpServerThread.java:122)
    at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.RuntimeException: page[10] data leaf table:0 entries:9 parent:12 keys:[459, 461, 463, 465, 467, 469, 471, 473, 475] offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] parent 12 expected 0
    at org.h2.message.Message.throwInternalError(Message.java:191)
    at org.h2.index.PageDataIndex.getPage(PageDataIndex.java:220)
    at org.h2.index.PageDataIndex.<init>(PageDataIndex.java:74)
    at org.h2.table.TableData.<init>(TableData.java:83)
    at org.h2.store.PageStore.addMeta(PageStore.java:1304)
    at org.h2.store.PageStore.redo(PageStore.java:1185)
    at org.h2.store.PageLog.recover(PageLog.java:285)
    at org.h2.store.PageStore.recover(PageStore.java:1051)
    at org.h2.store.PageStore.openExisting(PageStore.java:310)
    at org.h2.store.PageStore.open(PageStore.java:268)
    at org.h2.engine.Database.getPageStore(Database.java:2305)
    at org.h2.engine.Database.open(Database.java:624)
    at org.h2.engine.Database.openDatabase(Database.java:227)
    ... 6 more
)
    at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection(LocalManagedConnectionFactory.java:225)
    at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:195)
    at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:633)
    at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:267)
    at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:622)
    at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:404)
    at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:381)
    at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:496)
    at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:941)
    at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89)
    at org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:92)
    at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:111)
    at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2101)
    at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1325)
    at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)
    at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669)
    at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:126)
    at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:52)
    at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:34)
    at org.jbpm.integration.console.CommandDelegate.newStatefulKnowledgeSession(CommandDelegate.java:131)
    at org.jbpm.integration.console.CommandDelegate.getSession(CommandDelegate.java:193)
    at org.jbpm.integration.console.CommandDelegate.<init>(CommandDelegate.java:71)
    at org.jbpm.integration.console.ProcessManagement.<init>(ProcessManagement.java:35)
    at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:22)
    at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:19)
    at org.jboss.bpm.console.server.ProcessMgmtFacade.getProcessManagement(ProcessMgmtFacade.java:98)
    at org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:122)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117)
    at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260)
    at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232)
    at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166)
    at org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142)
    at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
    at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)
    at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)
    at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:619)
Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.RuntimeException: page[10] data leaf table:0 entries:9 parent:12 keys:[459, 461, 463, 465, 467, 469, 471, 473, 475] offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] parent 12 expected 0" [50000-124]
    at org.h2.message.Message.getSQLException(Message.java:111)
    at org.h2.message.Message.convert(Message.java:288)
    at org.h2.engine.Database.openDatabase(Database.java:261)
    at org.h2.engine.Database.<init>(Database.java:221)
    at org.h2.engine.Engine.openSession(Engine.java:58)
    at org.h2.engine.Engine.openSession(Engine.java:142)
    at org.h2.engine.Engine.getSession(Engine.java:122)
    at org.h2.server.TcpServerThread.run(TcpServerThread.java:122)
    at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.RuntimeException: page[10] data leaf table:0 entries:9 parent:12 keys:[459, 461, 463, 465, 467, 469, 471, 473, 475] offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] parent 12 expected 0
    at org.h2.message.Message.throwInternalError(Message.java:191)
    at org.h2.index.PageDataIndex.getPage(PageDataIndex.java:220)
    at org.h2.index.PageDataIndex.<init>(PageDataIndex.java:74)
    at org.h2.table.TableData.<init>(TableData.java:83)
    at org.h2.store.PageStore.addMeta(PageStore.java:1304)
    at org.h2.store.PageStore.redo(PageStore.java:1185)
    at org.h2.store.PageLog.recover(PageLog.java:285)
    at org.h2.store.PageStore.recover(PageStore.java:1051)
    at org.h2.store.PageStore.openExisting(PageStore.java:310)
    at org.h2.store.PageStore.open(PageStore.java:268)
    at org.h2.engine.Database.getPageStore(Database.java:2305)
    at org.h2.engine.Database.open(Database.java:624)
    at org.h2.engine.Database.openDatabase(Database.java:227)
    ... 6 more

    at org.h2.engine.SessionRemote.done(SessionRemote.java:522)
    at org.h2.engine.SessionRemote.initTransfer(SessionRemote.java:115)
    at org.h2.engine.SessionRemote.connectServer(SessionRemote.java:337)
    at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:229)
    at org.h2.engine.SessionRemote.createSession(SessionRemote.java:223)
    at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:110)
    at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:94)
    at org.h2.Driver.connect(Driver.java:58)
    at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection(LocalManagedConnectionFactory.java:207)
    ... 64 more
2011-09-19 19:10:17,406 WARN  [org.hibernate.cfg.SettingsFactory] (http-localhost%2F127.0.0.1-8080-16) Could not obtain connection metadata
org.jboss.util.NestedSQLException: Unable to get managed connection for jdbc/testDS1; - nested throwable: (javax.resource.ResourceException: Unable to get managed connection for jdbc/testDS1)
    at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:95)
    at org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:92)
    at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:111)
    at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2101)
    at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1325)
    at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)
    at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669)
    at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:126)
    at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:52)
    at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:34)
    at org.jbpm.integration.console.CommandDelegate.newStatefulKnowledgeSession(CommandDelegate.java:131)
    at org.jbpm.integration.console.CommandDelegate.getSession(CommandDelegate.java:193)
    at org.jbpm.integration.console.CommandDelegate.<init>(CommandDelegate.java:71)
    at org.jbpm.integration.console.ProcessManagement.<init>(ProcessManagement.java:35)
    at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:22)
    at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:19)
    at org.jboss.bpm.console.server.ProcessMgmtFacade.getProcessManagement(ProcessMgmtFacade.java:98)
    at org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:122)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117)
    at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260)
    at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232)
    at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166)
    at org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142)
    at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
    at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)
    at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)
    at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:619)
Caused by: javax.resource.ResourceException: Unable to get managed connection for jdbc/testDS1
    at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:441)
    at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:381)
    at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:496)
    at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:941)
    at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89)
    ... 55 more
Caused by: org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.h2.jdbc.JdbcSQLException: General error: "java.lang.RuntimeException: page[10] data leaf table:0 entries:9 parent:12 keys:[459, 461, 463, 465, 467, 469, 471, 473, 475] offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] parent 12 expected 0" [50000-124]
    at org.h2.message.Message.getSQLException(Message.java:111)
    at org.h2.message.Message.convert(Message.java:288)
    at org.h2.engine.Database.openDatabase(Database.java:261)
    at org.h2.engine.Database.<init>(Database.java:221)
    at org.h2.engine.Engine.openSession(Engine.java:58)
    at org.h2.engine.Engine.openSession(Engine.java:142)
    at org.h2.engine.Engine.getSession(Engine.java:122)
    at org.h2.server.TcpServerThread.run(TcpServerThread.java:122)
    at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.RuntimeException: page[10] data leaf table:0 entries:9 parent:12 keys:[459, 461, 463, 465, 467, 469, 471, 473, 475] offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] parent 12 expected 0
    at org.h2.message.Message.throwInternalError(Message.java:191)
    at org.h2.index.PageDataIndex.getPage(PageDataIndex.java:220)
    at org.h2.index.PageDataIndex.<init>(PageDataIndex.java:74)
    at org.h2.table.TableData.<init>(TableData.java:83)
    at org.h2.store.PageStore.addMeta(PageStore.java:1304)
    at org.h2.store.PageStore.redo(PageStore.java:1185)
    at org.h2.store.PageLog.recover(PageLog.java:285)
    at org.h2.store.PageStore.recover(PageStore.java:1051)
    at org.h2.store.PageStore.openExisting(PageStore.java:310)
    at org.h2.store.PageStore.open(PageStore.java:268)
    at org.h2.engine.Database.getPageStore(Database.java:2305)
    at org.h2.engine.Database.open(Database.java:624)
    at org.h2.engine.Database.openDatabase(Database.java:227)
    ... 6 more
)
    at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection(LocalManagedConnectionFactory.java:225)
    at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:195)
    at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:633)
    at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:267)
    at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:622)
    at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:404)
    ... 59 more
Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.RuntimeException: page[10] data leaf table:0 entries:9 parent:12 keys:[459, 461, 463, 465, 467, 469, 471, 473, 475] offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] parent 12 expected 0" [50000-124]
    at org.h2.message.Message.getSQLException(Message.java:111)
    at org.h2.message.Message.convert(Message.java:288)
    at org.h2.engine.Database.openDatabase(Database.java:261)
    at org.h2.engine.Database.<init>(Database.java:221)
    at org.h2.engine.Engine.openSession(Engine.java:58)
    at org.h2.engine.Engine.openSession(Engine.java:142)
    at org.h2.engine.Engine.getSession(Engine.java:122)
    at org.h2.server.TcpServerThread.run(TcpServerThread.java:122)
    at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.RuntimeException: page[10] data leaf table:0 entries:9 parent:12 keys:[459, 461, 463, 465, 467, 469, 471, 473, 475] offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] parent 12 expected 0
    at org.h2.message.Message.throwInternalError(Message.java:191)
    at org.h2.index.PageDataIndex.getPage(PageDataIndex.java:220)
    at org.h2.index.PageDataIndex.<init>(PageDataIndex.java:74)
    at org.h2.table.TableData.<init>(TableData.java:83)
    at org.h2.store.PageStore.addMeta(PageStore.java:1304)
    at org.h2.store.PageStore.redo(PageStore.java:1185)
    at org.h2.store.PageLog.recover(PageLog.java:285)
    at org.h2.store.PageStore.recover(PageStore.java:1051)
    at org.h2.store.PageStore.openExisting(PageStore.java:310)
    at org.h2.store.PageStore.open(PageStore.java:268)
    at org.h2.engine.Database.getPageStore(Database.java:2305)
    at org.h2.engine.Database.open(Database.java:624)
    at org.h2.engine.Database.openDatabase(Database.java:227)
    ... 6 more

    at org.h2.engine.SessionRemote.done(SessionRemote.java:522)
    at org.h2.engine.SessionRemote.initTransfer(SessionRemote.java:115)
    at org.h2.engine.SessionRemote.connectServer(SessionRemote.java:337)
    at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:229)
    at org.h2.engine.SessionRemote.createSession(SessionRemote.java:223)
    at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:110)
    at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:94)
    at org.h2.Driver.connect(Driver.java:58)
    at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection(LocalManagedConnectionFactory.java:207)
    ... 64 more
2011-09-19 19:10:17,406 INFO  [org.hibernate.dialect.Dialect] (http-localhost%2F127.0.0.1-8080-16) Using dialect: org.hibernate.dialect.H2Dialect
2011-09-19 19:10:17,406 INFO  [org.hibernate.transaction.TransactionFactoryFactory] (http-localhost%2F127.0.0.1-8080-16) Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
2011-09-19 19:10:17,406 INFO  [org.hibernate.transaction.TransactionManagerLookupFactory] (http-localhost%2F127.0.0.1-8080-16) instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
2011-09-19 19:10:17,406 INFO  [org.hibernate.transaction.TransactionManagerLookupFactory] (http-localhost%2F127.0.0.1-8080-16) instantiated TransactionManagerLookup
2011-09-19 19:10:17,406 INFO  [org.hibernate.cfg.SettingsFactory] (http-localhost%2F127.0.0.1-8080-16) Automatic flush during beforeCompletion(): disabled
2011-09-19 19:10:17,406 INFO  [org.hibernate.cfg.SettingsFactory] (http-localhost%2F127.0.0.1-8080-16) Automatic session close at end of transaction: disabled
2011-09-19 19:10:17,406 INFO  [org.hibernate.cfg.SettingsFactory] (http-localhost%2F127.0.0.1-8080-16) Scrollable result sets: disabled
2011-09-19 19:10:17,406 INFO  [org.hibernate.cfg.SettingsFactory] (http-localhost%2F127.0.0.1-8080-16) JDBC3 getGeneratedKeys(): disabled
2011-09-19 19:10:17,406 INFO  [org.hibernate.cfg.SettingsFactory] (http-localhost%2F127.0.0.1-8080-16) Connection release mode: auto
2011-09-19 19:10:17,406 INFO  [org.hibernate.cfg.SettingsFactory] (http-localhost%2F127.0.0.1-8080-16) Maximum outer join fetch depth: 3
2011-09-19 19:10:17,406 INFO  [org.hibernate.cfg.SettingsFactory] (http-localhost%2F127.0.0.1-8080-16) Default batch fetch size: 1
2011-09-19 19:10:17,406 INFO  [org.hibernate.cfg.SettingsFactory] (http-localhost%2F127.0.0.1-8080-16) Generate SQL with comments: disabled
2011-09-19 19:10:17,406 INFO  [org.hibernate.cfg.SettingsFactory] (http-localhost%2F127.0.0.1-8080-16) Order SQL updates by primary key: disabled
2011-09-19 19:10:17,406 INFO  [org.hibernate.cfg.SettingsFactory] (http-localhost%2F127.0.0.1-8080-16) Order SQL inserts for batching: disabled
2011-09-19 19:10:17,406 INFO  [org.hibernate.cfg.SettingsFactory] (http-localhost%2F127.0.0.1-8080-16) Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
2011-09-19 19:10:17,406 INFO  [org.hibernate.hql.ast.ASTQueryTranslatorFactory] (http-localhost%2F127.0.0.1-8080-16) Using ASTQueryTranslatorFactory
2011-09-19 19:10:17,406 INFO  [org.hibernate.cfg.SettingsFactory] (http-localhost%2F127.0.0.1-8080-16) Query language substitutions: {}
2011-09-19 19:10:17,406 INFO  [org.hibernate.cfg.SettingsFactory] (http-localhost%2F127.0.0.1-8080-16) JPA-QL strict compliance: enabled
2011-09-19 19:10:17,406 INFO  [org.hibernate.cfg.SettingsFactory] (http-localhost%2F127.0.0.1-8080-16) Second-level cache: enabled
2011-09-19 19:10:17,406 INFO  [org.hibernate.cfg.SettingsFactory] (http-localhost%2F127.0.0.1-8080-16) Query cache: disabled
2011-09-19 19:10:17,406 INFO  [org.hibernate.cfg.SettingsFactory] (http-localhost%2F127.0.0.1-8080-16) Cache region factory : org.hibernate.cache.impl.NoCachingRegionFactory
2011-09-19 19:10:17,406 INFO  [org.hibernate.cfg.SettingsFactory] (http-localhost%2F127.0.0.1-8080-16) Optimize cache for minimal puts: disabled
2011-09-19 19:10:17,406 INFO  [org.hibernate.cfg.SettingsFactory] (http-localhost%2F127.0.0.1-8080-16) Structured second-level cache entries: disabled
2011-09-19 19:10:17,406 INFO  [org.hibernate.cfg.SettingsFactory] (http-localhost%2F127.0.0.1-8080-16) Statistics: disabled
2011-09-19 19:10:17,406 INFO  [org.hibernate.cfg.SettingsFactory] (http-localhost%2F127.0.0.1-8080-16) Deleted entity synthetic identifier rollback: disabled
2011-09-19 19:10:17,406 INFO  [org.hibernate.cfg.SettingsFactory] (http-localhost%2F127.0.0.1-8080-16) Default entity-mode: pojo
2011-09-19 19:10:17,406 INFO  [org.hibernate.cfg.SettingsFactory] (http-localhost%2F127.0.0.1-8080-16) Named query checking : enabled
2011-09-19 19:10:17,406 INFO  [org.hibernate.impl.SessionFactoryImpl] (http-localhost%2F127.0.0.1-8080-16) building session factory
2011-09-19 19:10:17,421 INFO  [org.hibernate.impl.SessionFactoryObjectFactory] (http-localhost%2F127.0.0.1-8080-16) Not binding factory to JNDI, no JNDI name configured
2011-09-19 19:10:17,421 INFO  [org.hibernate.tool.hbm2ddl.SchemaExport] (http-localhost%2F127.0.0.1-8080-16) Running hbm2ddl schema export
2011-09-19 19:10:17,421 INFO  [org.hibernate.tool.hbm2ddl.SchemaExport] (http-localhost%2F127.0.0.1-8080-16) exporting generated schema to database
2011-09-19 19:10:17,484 WARN  [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] (http-localhost%2F127.0.0.1-8080-16) Throwable while attempting to get a new connection: null
org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.h2.jdbc.JdbcSQLException: General error: "java.lang.RuntimeException: page[10] data leaf table:0 entries:9 parent:12 keys:[459, 461, 463, 465, 467, 469, 471, 473, 475] offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] parent 12 expected 0" [50000-124]
    at org.h2.message.Message.getSQLException(Message.java:111)
    at org.h2.message.Message.convert(Message.java:288)
    at org.h2.engine.Database.openDatabase(Database.java:261)
    at org.h2.engine.Database.<init>(Database.java:221)
    at org.h2.engine.Engine.openSession(Engine.java:58)
    at org.h2.engine.Engine.openSession(Engine.java:142)
    at org.h2.engine.Engine.getSession(Engine.java:122)
    at org.h2.server.TcpServerThread.run(TcpServerThread.java:122)
    at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.RuntimeException: page[10] data leaf table:0 entries:9 parent:12 keys:[459, 461, 463, 465, 467, 469, 471, 473, 475] offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] parent 12 expected 0
    at org.h2.message.Message.throwInternalError(Message.java:191)
    at org.h2.index.PageDataIndex.getPage(PageDataIndex.java:220)
    at org.h2.index.PageDataIndex.<init>(PageDataIndex.java:74)
    at org.h2.table.TableData.<init>(TableData.java:83)
    at org.h2.store.PageStore.addMeta(PageStore.java:1304)
    at org.h2.store.PageStore.redo(PageStore.java:1185)
    at org.h2.store.PageLog.recover(PageLog.java:285)
    at org.h2.store.PageStore.recover(PageStore.java:1051)
    at org.h2.store.PageStore.openExisting(PageStore.java:310)
    at org.h2.store.PageStore.open(PageStore.java:268)
    at org.h2.engine.Database.getPageStore(Database.java:2305)
    at org.h2.engine.Database.open(Database.java:624)
    at org.h2.engine.Database.openDatabase(Database.java:227)
    ... 6 more
)
    at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection(LocalManagedConnectionFactory.java:225)
    at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:195)
    at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:633)
    at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:267)
    at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:622)
    at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:404)
    at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:381)
    at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:496)
    at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:941)
    at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89)
    at org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:92)
    at org.hibernate.tool.hbm2ddl.SuppliedConnectionProviderConnectionHelper.prepare(SuppliedConnectionProviderConnectionHelper.java:51)
    at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:252)
    at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:211)
    at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:343)
    at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1327)
    at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)
    at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669)
    at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:126)
    at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:52)
    at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:34)
    at org.jbpm.integration.console.CommandDelegate.newStatefulKnowledgeSession(CommandDelegate.java:131)
    at org.jbpm.integration.console.CommandDelegate.getSession(CommandDelegate.java:193)
    at org.jbpm.integration.console.CommandDelegate.<init>(CommandDelegate.java:71)
    at org.jbpm.integration.console.ProcessManagement.<init>(ProcessManagement.java:35)
    at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:22)
    at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:19)
    at org.jboss.bpm.console.server.ProcessMgmtFacade.getProcessManagement(ProcessMgmtFacade.java:98)
    at org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:122)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117)
    at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260)
    at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232)
    at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166)
    at org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142)
    at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
    at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)
    at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)
    at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:619)
Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.RuntimeException: page[10] data leaf table:0 entries:9 parent:12 keys:[459, 461, 463, 465, 467, 469, 471, 473, 475] offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] parent 12 expected 0" [50000-124]
    at org.h2.message.Message.getSQLException(Message.java:111)
    at org.h2.message.Message.convert(Message.java:288)
    at org.h2.engine.Database.openDatabase(Database.java:261)
    at org.h2.engine.Database.<init>(Database.java:221)
    at org.h2.engine.Engine.openSession(Engine.java:58)
    at org.h2.engine.Engine.openSession(Engine.java:142)
    at org.h2.engine.Engine.getSession(Engine.java:122)
    at org.h2.server.TcpServerThread.run(TcpServerThread.java:122)
    at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.RuntimeException: page[10] data leaf table:0 entries:9 parent:12 keys:[459, 461, 463, 465, 467, 469, 471, 473, 475] offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] parent 12 expected 0
    at org.h2.message.Message.throwInternalError(Message.java:191)
    at org.h2.index.PageDataIndex.getPage(PageDataIndex.java:220)
    at org.h2.index.PageDataIndex.<init>(PageDataIndex.java:74)
    at org.h2.table.TableData.<init>(TableData.java:83)
    at org.h2.store.PageStore.addMeta(PageStore.java:1304)
    at org.h2.store.PageStore.redo(PageStore.java:1185)
    at org.h2.store.PageLog.recover(PageLog.java:285)
    at org.h2.store.PageStore.recover(PageStore.java:1051)
    at org.h2.store.PageStore.openExisting(PageStore.java:310)
    at org.h2.store.PageStore.open(PageStore.java:268)
    at org.h2.engine.Database.getPageStore(Database.java:2305)
    at org.h2.engine.Database.open(Database.java:624)
    at org.h2.engine.Database.openDatabase(Database.java:227)
    ... 6 more

    at org.h2.engine.SessionRemote.done(SessionRemote.java:522)
    at org.h2.engine.SessionRemote.initTransfer(SessionRemote.java:115)
    at org.h2.engine.SessionRemote.connectServer(SessionRemote.java:337)
    at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:229)
    at org.h2.engine.SessionRemote.createSession(SessionRemote.java:223)
    at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:110)
    at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:94)
    at org.h2.Driver.connect(Driver.java:58)
    at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection(LocalManagedConnectionFactory.java:207)
    ... 66 more
2011-09-19 19:10:17,484 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (http-localhost%2F127.0.0.1-8080-16) schema export unsuccessful
org.jboss.util.NestedSQLException: Unable to get managed connection for jdbc/testDS1; - nested throwable: (javax.resource.ResourceException: Unable to get managed connection for jdbc/testDS1)
    at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:95)
    at org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:92)
    at org.hibernate.tool.hbm2ddl.SuppliedConnectionProviderConnectionHelper.prepare(SuppliedConnectionProviderConnectionHelper.java:51)
    at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:252)
    at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:211)
    at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:343)
    at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1327)
    at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)
    at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669)
    at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:126)
    at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:52)
    at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:34)
    at org.jbpm.integration.console.CommandDelegate.newStatefulKnowledgeSession(CommandDelegate.java:131)
    at org.jbpm.integration.console.CommandDelegate.getSession(CommandDelegate.java:193)
    at org.jbpm.integration.console.CommandDelegate.<init>(CommandDelegate.java:71)
    at org.jbpm.integration.console.ProcessManagement.<init>(ProcessManagement.java:35)
    at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:22)
    at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:19)
    at org.jboss.bpm.console.server.ProcessMgmtFacade.getProcessManagement(ProcessMgmtFacade.java:98)
    at org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:122)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117)
    at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260)
    at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232)
    at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166)
    at org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142)
    at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
    at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)
    at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)
    at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:619)
Caused by: javax.resource.ResourceException: Unable to get managed connection for jdbc/testDS1
    at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:441)
    at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:381)
    at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:496)
    at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:941)
    at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89)
    ... 57 more
Caused by: org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.h2.jdbc.JdbcSQLException: General error: "java.lang.RuntimeException: page[10] data leaf table:0 entries:9 parent:12 keys:[459, 461, 463, 465, 467, 469, 471, 473, 475] offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] parent 12 expected 0" [50000-124]
    at org.h2.message.Message.getSQLException(Message.java:111)
    at org.h2.message.Message.convert(Message.java:288)
    at org.h2.engine.Database.openDatabase(Database.java:261)
    at org.h2.engine.Database.<init>(Database.java:221)
    at org.h2.engine.Engine.openSession(Engine.java:58)
    at org.h2.engine.Engine.openSession(Engine.java:142)
    at org.h2.engine.Engine.getSession(Engine.java:122)
    at org.h2.server.TcpServerThread.run(TcpServerThread.java:122)
    at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.RuntimeException: page[10] data leaf table:0 entries:9 parent:12 keys:[459, 461, 463, 465, 467, 469, 471, 473, 475] offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] parent 12 expected 0
    at org.h2.message.Message.throwInternalError(Message.java:191)
    at org.h2.index.PageDataIndex.getPage(PageDataIndex.java:220)
    at org.h2.index.PageDataIndex.<init>(PageDataIndex.java:74)
    at org.h2.table.TableData.<init>(TableData.java:83)
    at org.h2.store.PageStore.addMeta(PageStore.java:1304)
    at org.h2.store.PageStore.redo(PageStore.java:1185)
    at org.h2.store.PageLog.recover(PageLog.java:285)
    at org.h2.store.PageStore.recover(PageStore.java:1051)
    at org.h2.store.PageStore.openExisting(PageStore.java:310)
    at org.h2.store.PageStore.open(PageStore.java:268)
    at org.h2.engine.Database.getPageStore(Database.java:2305)
    at org.h2.engine.Database.open(Database.java:624)
    at org.h2.engine.Database.openDatabase(Database.java:227)
    ... 6 more
)
    at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection(LocalManagedConnectionFactory.java:225)
    at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:195)
    at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:633)
    at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:267)
    at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:622)
    at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:404)
    ... 61 more
Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.RuntimeException: page[10] data leaf table:0 entries:9 parent:12 keys:[459, 461, 463, 465, 467, 469, 471, 473, 475] offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] parent 12 expected 0" [50000-124]
    at org.h2.message.Message.getSQLException(Message.java:111)
    at org.h2.message.Message.convert(Message.java:288)
    at org.h2.engine.Database.openDatabase(Database.java:261)
    at org.h2.engine.Database.<init>(Database.java:221)
    at org.h2.engine.Engine.openSession(Engine.java:58)
    at org.h2.engine.Engine.openSession(Engine.java:142)
    at org.h2.engine.Engine.getSession(Engine.java:122)
    at org.h2.server.TcpServerThread.run(TcpServerThread.java:122)
    at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.RuntimeException: page[10] data leaf table:0 entries:9 parent:12 keys:[459, 461, 463, 465, 467, 469, 471, 473, 475] offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] parent 12 expected 0
    at org.h2.message.Message.throwInternalError(Message.java:191)
    at org.h2.index.PageDataIndex.getPage(PageDataIndex.java:220)
    at org.h2.index.PageDataIndex.<init>(PageDataIndex.java:74)
    at org.h2.table.TableData.<init>(TableData.java:83)
    at org.h2.store.PageStore.addMeta(PageStore.java:1304)
    at org.h2.store.PageStore.redo(PageStore.java:1185)
    at org.h2.store.PageLog.recover(PageLog.java:285)
    at org.h2.store.PageStore.recover(PageStore.java:1051)
    at org.h2.store.PageStore.openExisting(PageStore.java:310)
    at org.h2.store.PageStore.open(PageStore.java:268)
    at org.h2.engine.Database.getPageStore(Database.java:2305)
    at org.h2.engine.Database.open(Database.java:624)
    at org.h2.engine.Database.openDatabase(Database.java:227)
    ... 6 more

    at org.h2.engine.SessionRemote.done(SessionRemote.java:522)
    at org.h2.engine.SessionRemote.initTransfer(SessionRemote.java:115)
    at org.h2.engine.SessionRemote.connectServer(SessionRemote.java:337)
    at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:229)
    at org.h2.engine.SessionRemote.createSession(SessionRemote.java:223)
    at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:110)
    at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:94)
    at org.h2.Driver.connect(Driver.java:58)
    at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection(LocalManagedConnectionFactory.java:207)
    ... 66 more
2011-09-19 19:10:17,484 INFO  [org.hibernate.util.NamingHelper] (http-localhost%2F127.0.0.1-8080-16) JNDI InitialContext properties:{}
2011-09-19 19:10:17,609 INFO  [STDOUT] (http-localhost%2F127.0.0.1-8080-16) Loading session data ...
2011-09-19 19:10:18,156 WARN  [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] (http-localhost%2F127.0.0.1-8080-16) Throwable while attempting to get a new connection: null
org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.h2.jdbc.JdbcSQLException: General error: "java.lang.RuntimeException: page[10] data leaf table:0 entries:9 parent:12 keys:[459, 461, 463, 465, 467, 469, 471, 473, 475] offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] parent 12 expected 0" [50000-124]
    at org.h2.message.Message.getSQLException(Message.java:111)
    at org.h2.message.Message.convert(Message.java:288)
    at org.h2.engine.Database.openDatabase(Database.java:261)
    at org.h2.engine.Database.<init>(Database.java:221)
    at org.h2.engine.Engine.openSession(Engine.java:58)
    at org.h2.engine.Engine.openSession(Engine.java:142)
    at org.h2.engine.Engine.getSession(Engine.java:122)
    at org.h2.server.TcpServerThread.run(TcpServerThread.java:122)
    at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.RuntimeException: page[10] data leaf table:0 entries:9 parent:12 keys:[459, 461, 463, 465, 467, 469, 471, 473, 475] offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] parent 12 expected 0
    at org.h2.message.Message.throwInternalError(Message.java:191)
    at org.h2.index.PageDataIndex.getPage(PageDataIndex.java:220)
    at org.h2.index.PageDataIndex.<init>(PageDataIndex.java:74)
    at org.h2.table.TableData.<init>(TableData.java:83)
    at org.h2.store.PageStore.addMeta(PageStore.java:1304)
    at org.h2.store.PageStore.redo(PageStore.java:1185)
    at org.h2.store.PageLog.recover(PageLog.java:285)
    at org.h2.store.PageStore.recover(PageStore.java:1051)
    at org.h2.store.PageStore.openExisting(PageStore.java:310)
    at org.h2.store.PageStore.open(PageStore.java:268)
    at org.h2.engine.Database.getPageStore(Database.java:2305)
    at org.h2.engine.Database.open(Database.java:624)
    at org.h2.engine.Database.openDatabase(Database.java:227)
    ... 6 more
)
    at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection(LocalManagedConnectionFactory.java:225)
    at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:195)
    at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:633)
    at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:267)
    at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:622)
    at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:404)
    at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:381)
    at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:496)
    at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:941)
    at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89)
    at org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:92)
    at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446)
    at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167)
    at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:161)
    at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1573)
    at org.hibernate.loader.Loader.doQuery(Loader.java:696)
    at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)
    at org.hibernate.loader.Loader.loadEntity(Loader.java:1881)
    at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:71)
    at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:65)
    at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3072)
    at org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:434)
    at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:415)
    at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:165)
    at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:223)
    at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:126)
    at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:905)
    at org.hibernate.impl.SessionImpl.get(SessionImpl.java:842)
    at org.hibernate.impl.SessionImpl.get(SessionImpl.java:835)
    at org.hibernate.ejb.AbstractEntityManagerImpl.find(AbstractEntityManagerImpl.java:182)
    at org.drools.persistence.jpa.JpaPersistenceContext.findSessionInfo(JpaPersistenceContext.java:21)
    at org.drools.persistence.SingleSessionCommandService.initKsession(SingleSessionCommandService.java:173)
    at org.drools.persistence.SingleSessionCommandService.<init>(SingleSessionCommandService.java:157)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.buildCommanService(KnowledgeStoreServiceImpl.java:88)
    at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.loadStatefulKnowledgeSession(KnowledgeStoreServiceImpl.java:71)
    at org.drools.persistence.jpa.JPAKnowledgeService.loadStatefulKnowledgeSession(JPAKnowledgeService.java:131)
    at org.jbpm.integration.console.CommandDelegate.newStatefulKnowledgeSession(CommandDelegate.java:141)
    at org.jbpm.integration.console.CommandDelegate.getSession(CommandDelegate.java:193)
    at org.jbpm.integration.console.CommandDelegate.<init>(CommandDelegate.java:71)
    at org.jbpm.integration.console.ProcessManagement.<init>(ProcessManagement.java:35)
    at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:22)
    at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:19)
    at org.jboss.bpm.console.server.ProcessMgmtFacade.getProcessManagement(ProcessMgmtFacade.java:98)
    at org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:122)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117)
    at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260)
    at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232)
    at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166)
    at org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142)
    at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
    at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)
    at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)
    at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:619)
Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.RuntimeException: page[10] data leaf table:0 entries:9 parent:12 keys:[459, 461, 463, 465, 467, 469, 471, 473, 475] offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] parent 12 expected 0" [50000-124]
    at org.h2.message.Message.getSQLException(Message.java:111)
    at org.h2.message.Message.convert(Message.java:288)
    at org.h2.engine.Database.openDatabase(Database.java:261)
    at org.h2.engine.Database.<init>(Database.java:221)
    at org.h2.engine.Engine.openSession(Engine.java:58)
    at org.h2.engine.Engine.openSession(Engine.java:142)
    at org.h2.engine.Engine.getSession(Engine.java:122)
    at org.h2.server.TcpServerThread.run(TcpServerThread.java:122)
    at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.RuntimeException: page[10] data leaf table:0 entries:9 parent:12 keys:[459, 461, 463, 465, 467, 469, 471, 473, 475] offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] parent 12 expected 0
    at org.h2.message.Message.throwInternalError(Message.java:191)
    at org.h2.index.PageDataIndex.getPage(PageDataIndex.java:220)
    at org.h2.index.PageDataIndex.<init>(PageDataIndex.java:74)
    at org.h2.table.TableData.<init>(TableData.java:83)
    at org.h2.store.PageStore.addMeta(PageStore.java:1304)
    at org.h2.store.PageStore.redo(PageStore.java:1185)
    at org.h2.store.PageLog.recover(PageLog.java:285)
    at org.h2.store.PageStore.recover(PageStore.java:1051)
    at org.h2.store.PageStore.openExisting(PageStore.java:310)
    at org.h2.store.PageStore.open(PageStore.java:268)
    at org.h2.engine.Database.getPageStore(Database.java:2305)
    at org.h2.engine.Database.open(Database.java:624)
    at org.h2.engine.Database.openDatabase(Database.java:227)
    ... 6 more

    at org.h2.engine.SessionRemote.done(SessionRemote.java:522)
    at org.h2.engine.SessionRemote.initTransfer(SessionRemote.java:115)
    at org.h2.engine.SessionRemote.connectServer(SessionRemote.java:337)
    at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:229)
    at org.h2.engine.SessionRemote.createSession(SessionRemote.java:223)
    at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:110)
    at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:94)
    at org.h2.Driver.connect(Driver.java:58)
    at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection(LocalManagedConnectionFactory.java:207)
    ... 85 more
2011-09-19 19:10:18,187 WARN  [org.hibernate.util.JDBCExceptionReporter] (http-localhost%2F127.0.0.1-8080-16) SQL Error: 0, SQLState: null
2011-09-19 19:10:18,187 ERROR [org.hibernate.util.JDBCExceptionReporter] (http-localhost%2F127.0.0.1-8080-16) Unable to get managed connection for jdbc/testDS1; - nested throwable: (javax.resource.ResourceException: Unable to get managed connection for jdbc/testDS1)
2011-09-19 19:10:18,187 INFO  [org.hibernate.event.def.DefaultLoadEventListener] (http-localhost%2F127.0.0.1-8080-16) Error performing load command
org.hibernate.exception.GenericJDBCException: Cannot open connection
    at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:126)
    at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:114)
    at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
    at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:52)
    at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:449)
    at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167)
    at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:161)
    at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1573)
    at org.hibernate.loader.Loader.doQuery(Loader.java:696)
    at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)
    at org.hibernate.loader.Loader.loadEntity(Loader.java:1881)
    at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:71)
    at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:65)
    at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3072)
    at org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:434)
    at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:415)
    at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:165)
    at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:223)
    at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:126)
    at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:905)
    at org.hibernate.impl.SessionImpl.get(SessionImpl.java:842)
    at org.hibernate.impl.SessionImpl.get(SessionImpl.java:835)
    at org.hibernate.ejb.AbstractEntityManagerImpl.find(AbstractEntityManagerImpl.java:182)
    at org.drools.persistence.jpa.JpaPersistenceContext.findSessionInfo(JpaPersistenceContext.java:21)
    at org.drools.persistence.SingleSessionCommandService.initKsession(SingleSessionCommandService.java:173)
    at org.drools.persistence.SingleSessionCommandService.<init>(SingleSessionCommandService.java:157)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.buildCommanService(KnowledgeStoreServiceImpl.java:88)
    at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.loadStatefulKnowledgeSession(KnowledgeStoreServiceImpl.java:71)
    at org.drools.persistence.jpa.JPAKnowledgeService.loadStatefulKnowledgeSession(JPAKnowledgeService.java:131)
    at org.jbpm.integration.console.CommandDelegate.newStatefulKnowledgeSession(CommandDelegate.java:141)
    at org.jbpm.integration.console.CommandDelegate.getSession(CommandDelegate.java:193)
    at org.jbpm.integration.console.CommandDelegate.<init>(CommandDelegate.java:71)
    at org.jbpm.integration.console.ProcessManagement.<init>(ProcessManagement.java:35)
    at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:22)
    at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:19)
    at org.jboss.bpm.console.server.ProcessMgmtFacade.getProcessManagement(ProcessMgmtFacade.java:98)
    at org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:122)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117)
    at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260)
    at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232)
    at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166)
    at org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142)
    at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
    at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)
    at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)
    at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:619)
Caused by: org.jboss.util.NestedSQLException: Unable to get managed connection for jdbc/testDS1; - nested throwable: (javax.resource.ResourceException: Unable to get managed connection for jdbc/testDS1)
    at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:95)
    at org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:92)
    at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446)
    ... 74 more
Caused by: javax.resource.ResourceException: Unable to get managed connection for jdbc/testDS1
    at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:441)
    at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:381)
    at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:496)
    at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:941)
    at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89)
    ... 76 more
Caused by: org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.h2.jdbc.JdbcSQLException: General error: "java.lang.RuntimeException: page[10] data leaf table:0 entries:9 parent:12 keys:[459, 461, 463, 465, 467, 469, 471, 473, 475] offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] parent 12 expected 0" [50000-124]
    at org.h2.message.Message.getSQLException(Message.java:111)
    at org.h2.message.Message.convert(Message.java:288)
    at org.h2.engine.Database.openDatabase(Database.java:261)
    at org.h2.engine.Database.<init>(Database.java:221)
    at org.h2.engine.Engine.openSession(Engine.java:58)
    at org.h2.engine.Engine.openSession(Engine.java:142)
    at org.h2.engine.Engine.getSession(Engine.java:122)
    at org.h2.server.TcpServerThread.run(TcpServerThread.java:122)
    at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.RuntimeException: page[10] data leaf table:0 entries:9 parent:12 keys:[459, 461, 463, 465, 467, 469, 471, 473, 475] offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] parent 12 expected 0
    at org.h2.message.Message.throwInternalError(Message.java:191)
    at org.h2.index.PageDataIndex.getPage(PageDataIndex.java:220)
    at org.h2.index.PageDataIndex.<init>(PageDataIndex.java:74)
    at org.h2.table.TableData.<init>(TableData.java:83)
    at org.h2.store.PageStore.addMeta(PageStore.java:1304)
    at org.h2.store.PageStore.redo(PageStore.java:1185)
    at org.h2.store.PageLog.recover(PageLog.java:285)
    at org.h2.store.PageStore.recover(PageStore.java:1051)
    at org.h2.store.PageStore.openExisting(PageStore.java:310)
    at org.h2.store.PageStore.open(PageStore.java:268)
    at org.h2.engine.Database.getPageStore(Database.java:2305)
    at org.h2.engine.Database.open(Database.java:624)
    at org.h2.engine.Database.openDatabase(Database.java:227)
    ... 6 more
)
    at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection(LocalManagedConnectionFactory.java:225)
    at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:195)
    at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:633)
    at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:267)
    at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:622)
    at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:404)
    ... 80 more
Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.RuntimeException: page[10] data leaf table:0 entries:9 parent:12 keys:[459, 461, 463, 465, 467, 469, 471, 473, 475] offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] parent 12 expected 0" [50000-124]
    at org.h2.message.Message.getSQLException(Message.java:111)
    at org.h2.message.Message.convert(Message.java:288)
    at org.h2.engine.Database.openDatabase(Database.java:261)
    at org.h2.engine.Database.<init>(Database.java:221)
    at org.h2.engine.Engine.openSession(Engine.java:58)
    at org.h2.engine.Engine.openSession(Engine.java:142)
    at org.h2.engine.Engine.getSession(Engine.java:122)
    at org.h2.server.TcpServerThread.run(TcpServerThread.java:122)
    at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.RuntimeException: page[10] data leaf table:0 entries:9 parent:12 keys:[459, 461, 463, 465, 467, 469, 471, 473, 475] offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] parent 12 expected 0
    at org.h2.message.Message.throwInternalError(Message.java:191)
    at org.h2.index.PageDataIndex.getPage(PageDataIndex.java:220)
    at org.h2.index.PageDataIndex.<init>(PageDataIndex.java:74)
    at org.h2.table.TableData.<init>(TableData.java:83)
    at org.h2.store.PageStore.addMeta(PageStore.java:1304)
    at org.h2.store.PageStore.redo(PageStore.java:1185)
    at org.h2.store.PageLog.recover(PageLog.java:285)
    at org.h2.store.PageStore.recover(PageStore.java:1051)
    at org.h2.store.PageStore.openExisting(PageStore.java:310)
    at org.h2.store.PageStore.open(PageStore.java:268)
    at org.h2.engine.Database.getPageStore(Database.java:2305)
    at org.h2.engine.Database.open(Database.java:624)
    at org.h2.engine.Database.openDatabase(Database.java:227)
    ... 6 more

    at org.h2.engine.SessionRemote.done(SessionRemote.java:522)
    at org.h2.engine.SessionRemote.initTransfer(SessionRemote.java:115)
    at org.h2.engine.SessionRemote.connectServer(SessionRemote.java:337)
    at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:229)
    at org.h2.engine.SessionRemote.createSession(SessionRemote.java:223)
    at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:110)
    at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:94)
    at org.h2.Driver.connect(Driver.java:58)
    at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection(LocalManagedConnectionFactory.java:207)
    ... 85 more
2011-09-19 19:10:18,203 ERROR [org.hibernate.ejb.AbstractEntityManagerImpl] (http-localhost%2F127.0.0.1-8080-16) Unable to mark for rollback on PersistenceException: 
java.lang.IllegalStateException: [com.arjuna.ats.internal.jta.transaction.arjunacore.nosuchtx] [com.arjuna.ats.internal.jta.transaction.arjunacore.nosuchtx] No such transaction!
    at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.setRollbackOnly(BaseTransaction.java:191)
    at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.setRollbackOnly(BaseTransactionManagerDelegate.java:123)
    at org.hibernate.ejb.AbstractEntityManagerImpl.markAsRollback(AbstractEntityManagerImpl.java:421)
    at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:576)
    at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:614)
    at org.hibernate.ejb.AbstractEntityManagerImpl.find(AbstractEntityManagerImpl.java:202)
    at org.drools.persistence.jpa.JpaPersistenceContext.findSessionInfo(JpaPersistenceContext.java:21)
    at org.drools.persistence.SingleSessionCommandService.initKsession(SingleSessionCommandService.java:173)
    at org.drools.persistence.SingleSessionCommandService.<init>(SingleSessionCommandService.java:157)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.buildCommanService(KnowledgeStoreServiceImpl.java:88)
    at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.loadStatefulKnowledgeSession(KnowledgeStoreServiceImpl.java:71)
    at org.drools.persistence.jpa.JPAKnowledgeService.loadStatefulKnowledgeSession(JPAKnowledgeService.java:131)
    at org.jbpm.integration.console.CommandDelegate.newStatefulKnowledgeSession(CommandDelegate.java:141)
    at org.jbpm.integration.console.CommandDelegate.getSession(CommandDelegate.java:193)
    at org.jbpm.integration.console.CommandDelegate.<init>(CommandDelegate.java:71)
    at org.jbpm.integration.console.ProcessManagement.<init>(ProcessManagement.java:35)
    at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:22)
    at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:19)
    at org.jboss.bpm.console.server.ProcessMgmtFacade.getProcessManagement(ProcessMgmtFacade.java:98)
    at org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:122)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117)
    at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260)
    at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232)
    at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166)
    at org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142)
    at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
    at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)
    at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)
    at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:619)
2011-09-19 19:10:18,203 INFO  [STDOUT] (http-localhost%2F127.0.0.1-8080-16) Error loading session data: java.lang.reflect.InvocationTargetException
2011-09-19 19:10:18,203 INFO  [STDOUT] (http-localhost%2F127.0.0.1-8080-16) Creating new session data ...
2011-09-19 19:10:18,796 WARN  [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] (http-localhost%2F127.0.0.1-8080-16) Throwable while attempting to get a new connection: null
org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.h2.jdbc.JdbcSQLException: General error: "java.lang.RuntimeException: page[10] data leaf table:0 entries:9 parent:12 keys:[459, 461, 463, 465, 467, 469, 471, 473, 475] offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] parent 12 expected 0" [50000-124]
    at org.h2.message.Message.getSQLException(Message.java:111)
    at org.h2.message.Message.convert(Message.java:288)
    at org.h2.engine.Database.openDatabase(Database.java:261)
    at org.h2.engine.Database.<init>(Database.java:221)
    at org.h2.engine.Engine.openSession(Engine.java:58)
    at org.h2.engine.Engine.openSession(Engine.java:142)
    at org.h2.engine.Engine.getSession(Engine.java:122)
    at org.h2.server.TcpServerThread.run(TcpServerThread.java:122)
    at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.RuntimeException: page[10] data leaf table:0 entries:9 parent:12 keys:[459, 461, 463, 465, 467, 469, 471, 473, 475] offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] parent 12 expected 0
    at org.h2.message.Message.throwInternalError(Message.java:191)
    at org.h2.index.PageDataIndex.getPage(PageDataIndex.java:220)
    at org.h2.index.PageDataIndex.<init>(PageDataIndex.java:74)
    at org.h2.table.TableData.<init>(TableData.java:83)
    at org.h2.store.PageStore.addMeta(PageStore.java:1304)
    at org.h2.store.PageStore.redo(PageStore.java:1185)
    at org.h2.store.PageLog.recover(PageLog.java:285)
    at org.h2.store.PageStore.recover(PageStore.java:1051)
    at org.h2.store.PageStore.openExisting(PageStore.java:310)
    at org.h2.store.PageStore.open(PageStore.java:268)
    at org.h2.engine.Database.getPageStore(Database.java:2305)
    at org.h2.engine.Database.open(Database.java:624)
    at org.h2.engine.Database.openDatabase(Database.java:227)
    ... 6 more
)
    at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection(LocalManagedConnectionFactory.java:225)
    at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:195)
    at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:633)
    at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:267)
    at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:679)
    at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:404)
    at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:381)
    at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:496)
    at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:941)
    at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89)
    at org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:92)
    at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446)
    at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167)
    at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:116)
    at org.hibernate.id.insert.AbstractSelectingDelegate.performInsert(AbstractSelectingDelegate.java:54)
    at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2186)
    at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2666)
    at org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:71)
    at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
    at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:321)
    at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:204)
    at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:130)
    at org.hibernate.ejb.event.EJB3PersistEventListener.saveWithGeneratedId(EJB3PersistEventListener.java:49)
    at org.hibernate.event.def.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:154)
    at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:110)
    at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:61)
    at org.hibernate.impl.SessionImpl.firePersist(SessionImpl.java:645)
    at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:619)
    at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:623)
    at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:220)
    at org.drools.persistence.jpa.JpaPersistenceContext.persist(JpaPersistenceContext.java:17)
    at org.drools.persistence.SingleSessionCommandService.<init>(SingleSessionCommandService.java:125)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.buildCommanService(KnowledgeStoreServiceImpl.java:116)
    at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.newStatefulKnowledgeSession(KnowledgeStoreServiceImpl.java:54)
    at org.drools.persistence.jpa.JPAKnowledgeService.newStatefulKnowledgeSession(JPAKnowledgeService.java:122)
    at org.jbpm.integration.console.CommandDelegate.newStatefulKnowledgeSession(CommandDelegate.java:153)
    at org.jbpm.integration.console.CommandDelegate.getSession(CommandDelegate.java:193)
    at org.jbpm.integration.console.CommandDelegate.<init>(CommandDelegate.java:71)
    at org.jbpm.integration.console.ProcessManagement.<init>(ProcessManagement.java:35)
    at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:22)
    at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:19)
    at org.jboss.bpm.console.server.ProcessMgmtFacade.getProcessManagement(ProcessMgmtFacade.java:98)
    at org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:122)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117)
    at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260)
    at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232)
    at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166)
    at org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142)
    at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
    at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)
    at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)
    at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:619)
Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.RuntimeException: page[10] data leaf table:0 entries:9 parent:12 keys:[459, 461, 463, 465, 467, 469, 471, 473, 475] offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] parent 12 expected 0" [50000-124]
    at org.h2.message.Message.getSQLException(Message.java:111)
    at org.h2.message.Message.convert(Message.java:288)
    at org.h2.engine.Database.openDatabase(Database.java:261)
    at org.h2.engine.Database.<init>(Database.java:221)
    at org.h2.engine.Engine.openSession(Engine.java:58)
    at org.h2.engine.Engine.openSession(Engine.java:142)
    at org.h2.engine.Engine.getSession(Engine.java:122)
    at org.h2.server.TcpServerThread.run(TcpServerThread.java:122)
    at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.RuntimeException: page[10] data leaf table:0 entries:9 parent:12 keys:[459, 461, 463, 465, 467, 469, 471, 473, 475] offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] parent 12 expected 0
    at org.h2.message.Message.throwInternalError(Message.java:191)
    at org.h2.index.PageDataIndex.getPage(PageDataIndex.java:220)
    at org.h2.index.PageDataIndex.<init>(PageDataIndex.java:74)
    at org.h2.table.TableData.<init>(TableData.java:83)
    at org.h2.store.PageStore.addMeta(PageStore.java:1304)
    at org.h2.store.PageStore.redo(PageStore.java:1185)
    at org.h2.store.PageLog.recover(PageLog.java:285)
    at org.h2.store.PageStore.recover(PageStore.java:1051)
    at org.h2.store.PageStore.openExisting(PageStore.java:310)
    at org.h2.store.PageStore.open(PageStore.java:268)
    at org.h2.engine.Database.getPageStore(Database.java:2305)
    at org.h2.engine.Database.open(Database.java:624)
    at org.h2.engine.Database.openDatabase(Database.java:227)
    ... 6 more

    at org.h2.engine.SessionRemote.done(SessionRemote.java:522)
    at org.h2.engine.SessionRemote.initTransfer(SessionRemote.java:115)
    at org.h2.engine.SessionRemote.connectServer(SessionRemote.java:337)
    at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:229)
    at org.h2.engine.SessionRemote.createSession(SessionRemote.java:223)
    at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:110)
    at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:94)
    at org.h2.Driver.connect(Driver.java:58)
    at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection(LocalManagedConnectionFactory.java:207)
    ... 84 more
2011-09-19 19:10:18,796 WARN  [org.hibernate.util.JDBCExceptionReporter] (http-localhost%2F127.0.0.1-8080-16) SQL Error: 0, SQLState: null
2011-09-19 19:10:18,796 ERROR [org.hibernate.util.JDBCExceptionReporter] (http-localhost%2F127.0.0.1-8080-16) Unable to get managed connection for jdbc/testDS1; - nested throwable: (javax.resource.ResourceException: Unable to get managed connection for jdbc/testDS1)
2011-09-19 19:10:18,828 INFO  [STDOUT] (http-localhost%2F127.0.0.1-8080-16) 19:10:18,796 ERROR [SingleSessionCommandService] Could not commit session
javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection
    at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:614)
    at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:226)
    at org.drools.persistence.jpa.JpaPersistenceContext.persist(JpaPersistenceContext.java:17)
    at org.drools.persistence.SingleSessionCommandService.<init>(SingleSessionCommandService.java:125)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.buildCommanService(KnowledgeStoreServiceImpl.java:116)
    at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.newStatefulKnowledgeSession(KnowledgeStoreServiceImpl.java:54)
    at org.drools.persistence.jpa.JPAKnowledgeService.newStatefulKnowledgeSession(JPAKnowledgeService.java:122)
    at org.jbpm.integration.console.CommandDelegate.newStatefulKnowledgeSession(CommandDelegate.java:153)
    at org.jbpm.integration.console.CommandDelegate.getSession(CommandDelegate.java:193)
    at org.jbpm.integration.console.CommandDelegate.<init>(CommandDelegate.java:71)
    at org.jbpm.integration.console.ProcessManagement.<init>(ProcessManagement.java:35)
    at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:22)
    at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:19)
    at org.jboss.bpm.console.server.ProcessMgmtFacade.getProcessManagement(ProcessMgmtFacade.java:98)
    at org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:122)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117)
    at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260)
    at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232)
    at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166)
    at org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142)
    at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
    at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)
    at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)
    at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:619)
Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
    at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:126)
    at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:114)
    at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
    at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:52)
    at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:449)
    at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167)
    at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:116)
    at org.hibernate.id.insert.AbstractSelectingDelegate.performInsert(AbstractSelectingDelegate.java:54)
    at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2186)
    at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2666)
    at org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:71)
    at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
    at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:321)
    at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:204)
    at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:130)
    at org.hibernate.ejb.event.EJB3PersistEventListener.saveWithGeneratedId(EJB3PersistEventListener.java:49)
    at org.hibernate.event.def.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:154)
    at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:110)
    at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:61)
    at org.hibernate.impl.SessionImpl.firePersist(SessionImpl.java:645)
    at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:619)
    at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:623)
    at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:220)
    ... 55 more
Caused by: org.jboss.util.NestedSQLException: Unable to get managed connection for jdbc/testDS1; - nested throwable: (javax.resource.ResourceException: Unable to get managed connection for jdbc/testDS1)
    at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:95)
    at org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:92)
    at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446)
    ... 73 more
Caused by: javax.resource.ResourceExceptio
2011-09-19 19:10:18,828 INFO  [STDOUT] (http-localhost%2F127.0.0.1-8080-16) n: Unable to get managed connection for jdbc/testDS1
    at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:441)
    at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:381)
    at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:496)
    at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:941)
    at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89)
    ... 75 more
Caused by: org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.h2.jdbc.JdbcSQLException: General error: "java.lang.RuntimeException: page[10] data leaf table:0 entries:9 parent:12 keys:[459, 461, 463, 465, 467, 469, 471, 473, 475] offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] parent 12 expected 0" [50000-124]
    at org.h2.message.Message.getSQLException(Message.java:111)
    at org.h2.message.Message.convert(Message.java:288)
    at org.h2.engine.Database.openDatabase(Database.java:261)
    at org.h2.engine.Database.<init>(Database.java:221)
    at org.h2.engine.Engine.openSession(Engine.java:58)
    at org.h2.engine.Engine.openSession(Engine.java:142)
    at org.h2.engine.Engine.getSession(Engine.java:122)
    at org.h2.server.TcpServerThread.run(TcpServerThread.java:122)
    at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.RuntimeException: page[10] data leaf table:0 entries:9 parent:12 keys:[459, 461, 463, 465, 467, 469, 471, 473, 475] offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] parent 12 expected 0
    at org.h2.message.Message.throwInternalError(Message.java:191)
    at org.h2.index.PageDataIndex.getPage(PageDataIndex.java:220)
    at org.h2.index.PageDataIndex.<init>(PageDataIndex.java:74)
    at org.h2.table.TableData.<init>(TableData.java:83)
    at org.h2.store.PageStore.addMeta(PageStore.java:1304)
    at org.h2.store.PageStore.redo(PageStore.java:1185)
    at org.h2.store.PageLog.recover(PageLog.java:285)
    at org.h2.store.PageStore.recover(PageStore.java:1051)
    at org.h2.store.PageStore.openExisting(PageStore.java:310)
    at org.h2.store.PageStore.open(PageStore.java:268)
    at org.h2.engine.Database.getPageStore(Database.java:2305)
    at org.h2.engine.Database.open(Database.java:624)
    at org.h2.engine.Database.openDatabase(Database.java:227)
    ... 6 more
)
    at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection(LocalManagedConnectionFactory.java:225)
    at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:195)
    at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:633)
    at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:267)
    at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:679)
    at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:404)
    ... 79 more
Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.RuntimeException: page[10] data leaf table:0 entries:9 parent:12 keys:[459, 461, 463, 465, 467, 469, 471, 473, 475] offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] parent 12 expected 0" [50000-124]
    at org.h2.message.Message.getSQLException(Message.java:111)
    at org.h2.message.Message.convert(Message.java:288)
    at org.h2.engine.Database.openDatabase(Database.java:261)
    at org.h2.engine.Database.<init>(Database.java:221)
    at org.h2.engine.Engine.openSession(Engine.java:58)
    at org.h2.engine.Engine.openSession(Engine.java:142)
    at org.h2.engine.Engine.getSession(Engine.java:122)
    at org.h2.server.TcpServerThread.run(TcpServerThread.java:122)
    at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.RuntimeException: page[10] data leaf table:0 entries:9 parent:12 keys:[459, 461, 463, 465, 467, 469, 471, 473, 475] offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] parent 12 expected 0
    at org.h2.message.Message.throwInternalError(Message.java:191)
    at org.h2.index.PageDataIndex.getPage(PageDataIndex.java:220)
    at org.h2.index.PageDataIndex.<init>(PageDataIndex.java:74)
    at org.h2.table.TableData.<init>(TableData.java:83)
    at org.h2.store.PageStore.addMeta(PageStore.java:1304)
    at org.h2.store.PageStore.redo(PageStore.java:1185)
    at org.h2.store.PageLog.recover(PageLog.java:285)
    at org.h2.store.PageStore.recover(PageStore.java:1051)
    at org.h2.store.PageStore.openExisting(PageStore.java:310)
    at org.h2.store.PageStore.open(PageStore.java:268)
    at org.h2.engine.Database.getPageStore(Database.java:2305)
    at org.h2.engine.Database.open(Database.java:624)
    at org.h2.engine.Database.openDatabase(Database.java:227)
    ... 6 more

    at org.h2.engine.SessionRemote.done(SessionRemote.java:522)
    at org.h2.engine.SessionRemote.initTransfer(SessionRemote.java:115)
    at org.h2.engine.SessionRemote.connectServer(SessionRemote.java:337)
    at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:229)
    at org.h2.engine.SessionRemote.createSession(SessionRemote.java:223)
    at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:110)
    at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:94)
    at org.h2.Driver.connect(Driver.java:58)
    at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection(LocalManagedConnectionFactory.java:207)
    ... 84 more
2011-09-19 19:10:18,859 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/gwt-console-server].[Resteasy]] (http-localhost%2F127.0.0.1-8080-16) Servlet.service() for servlet Resteasy threw exception
org.jboss.resteasy.spi.UnhandledException: java.lang.RuntimeException: Could not initialize stateful knowledge session: java.lang.reflect.InvocationTargetException
    at org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:319)
    at org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:230)
    at org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:206)
    at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:360)
    at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)
    at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)
    at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.RuntimeException: Could not initialize stateful knowledge session: java.lang.reflect.InvocationTargetException
    at org.jbpm.integration.console.CommandDelegate.newStatefulKnowledgeSession(CommandDelegate.java:185)
    at org.jbpm.integration.console.CommandDelegate.getSession(CommandDelegate.java:193)
    at org.jbpm.integration.console.CommandDelegate.<init>(CommandDelegate.java:71)
    at org.jbpm.integration.console.ProcessManagement.<init>(ProcessManagement.java:35)
    at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:22)
    at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:19)
    at org.jboss.bpm.console.server.ProcessMgmtFacade.getProcessManagement(ProcessMgmtFacade.java:98)
    at org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:122)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117)
    at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260)
    at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232)
    at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166)
    at org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142)
    at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
    ... 28 more
Caused by: java.lang.IllegalStateException: java.lang.reflect.InvocationTargetException
    at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.buildCommanService(KnowledgeStoreServiceImpl.java:130)
    at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.newStatefulKnowledgeSession(KnowledgeStoreServiceImpl.java:54)
    at org.drools.persistence.jpa.JPAKnowledgeService.newStatefulKnowledgeSession(JPAKnowledgeService.java:122)
    at org.jbpm.integration.console.CommandDelegate.newStatefulKnowledgeSession(CommandDelegate.java:153)
    ... 45 more
Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.buildCommanService(KnowledgeStoreServiceImpl.java:116)
    ... 48 more
Caused by: javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection
    at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:614)
    at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:226)
    at org.drools.persistence.jpa.JpaPersistenceContext.persist(JpaPersistenceContext.java:17)
    at org.drools.persistence.SingleSessionCommandService.<init>(SingleSessionCommandService.java:125)
    ... 53 more
Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
    at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:126)
    at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:114)
    at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
    at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:52)
    at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:449)
    at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167)
    at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:116)
    at org.hibernate.id.insert.AbstractSelectingDelegate.performInsert(AbstractSelectingDelegate.java:54)
    at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2186)
    at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2666)
    at org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:71)
    at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
    at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:321)
    at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:204)
    at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:130)
    at org.hibernate.ejb.event.EJB3PersistEventListener.saveWithGeneratedId(EJB3PersistEventListener.java:49)
    at org.hibernate.event.def.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:154)
    at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:110)
    at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:61)
    at org.hibernate.impl.SessionImpl.firePersist(SessionImpl.java:645)
    at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:619)
    at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:623)
    at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:220)
    ... 55 more
Caused by: org.jboss.util.NestedSQLException: Unable to get managed connection for jdbc/testDS1; - nested throwable: (javax.resource.ResourceException: Unable to get managed connection for jdbc/testDS1)
    at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:95)
    at org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:92)
    at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446)
    ... 73 more
Caused by: javax.resource.ResourceException: Unable to get managed connection for jdbc/testDS1
    at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:441)
    at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:381)
    at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:496)
    at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:941)
    at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89)
    ... 75 more
Caused by: org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.h2.jdbc.JdbcSQLException: General error: "java.lang.RuntimeException: page[10] data leaf table:0 entries:9 parent:12 keys:[459, 461, 463, 465, 467, 469, 471, 473, 475] offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] parent 12 expected 0" [50000-124]
    at org.h2.message.Message.getSQLException(Message.java:111)
    at org.h2.message.Message.convert(Message.java:288)
    at org.h2.engine.Database.openDatabase(Database.java:261)
    at org.h2.engine.Database.<init>(Database.java:221)
    at org.h2.engine.Engine.openSession(Engine.java:58)
    at org.h2.engine.Engine.openSession(Engine.java:142)
    at org.h2.engine.Engine.getSession(Engine.java:122)
    at org.h2.server.TcpServerThread.run(TcpServerThread.java:122)
    at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.RuntimeException: page[10] data leaf table:0 entries:9 parent:12 keys:[459, 461, 463, 465, 467, 469, 471, 473, 475] offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] parent 12 expected 0
    at org.h2.message.Message.throwInternalError(Message.java:191)
    at org.h2.index.PageDataIndex.getPage(PageDataIndex.java:220)
    at org.h2.index.PageDataIndex.<init>(PageDataIndex.java:74)
    at org.h2.table.TableData.<init>(TableData.java:83)
    at org.h2.store.PageStore.addMeta(PageStore.java:1304)
    at org.h2.store.PageStore.redo(PageStore.java:1185)
    at org.h2.store.PageLog.recover(PageLog.java:285)
    at org.h2.store.PageStore.recover(PageStore.java:1051)
    at org.h2.store.PageStore.openExisting(PageStore.java:310)
    at org.h2.store.PageStore.open(PageStore.java:268)
    at org.h2.engine.Database.getPageStore(Database.java:2305)
    at org.h2.engine.Database.open(Database.java:624)
    at org.h2.engine.Database.openDatabase(Database.java:227)
    ... 6 more
)
    at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection(LocalManagedConnectionFactory.java:225)
    at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:195)
    at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:633)
    at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:267)
    at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:679)
    at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:404)
    ... 79 more
Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.RuntimeException: page[10] data leaf table:0 entries:9 parent:12 keys:[459, 461, 463, 465, 467, 469, 471, 473, 475] offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] parent 12 expected 0" [50000-124]
    at org.h2.message.Message.getSQLException(Message.java:111)
    at org.h2.message.Message.convert(Message.java:288)
    at org.h2.engine.Database.openDatabase(Database.java:261)
    at org.h2.engine.Database.<init>(Database.java:221)
    at org.h2.engine.Engine.openSession(Engine.java:58)
    at org.h2.engine.Engine.openSession(Engine.java:142)
    at org.h2.engine.Engine.getSession(Engine.java:122)
    at org.h2.server.TcpServerThread.run(TcpServerThread.java:122)
    at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.RuntimeException: page[10] data leaf table:0 entries:9 parent:12 keys:[459, 461, 463, 465, 467, 469, 471, 473, 475] offsets:[1937, 1479, 1392, 1262, 1151, 802, 731, 617, 506] parent 12 expected 0
    at org.h2.message.Message.throwInternalError(Message.java:191)
    at org.h2.index.PageDataIndex.getPage(PageDataIndex.java:220)
    at org.h2.index.PageDataIndex.<init>(PageDataIndex.java:74)
    at org.h2.table.TableData.<init>(TableData.java:83)
    at org.h2.store.PageStore.addMeta(PageStore.java:1304)
    at org.h2.store.PageStore.redo(PageStore.java:1185)
    at org.h2.store.PageLog.recover(PageLog.java:285)
    at org.h2.store.PageStore.recover(PageStore.java:1051)
    at org.h2.store.PageStore.openExisting(PageStore.java:310)
    at org.h2.store.PageStore.open(PageStore.java:268)
    at org.h2.engine.Database.getPageStore(Database.java:2305)
    at org.h2.engine.Database.open(Database.java:624)
    at org.h2.engine.Database.openDatabase(Database.java:227)
    ... 6 more

    at org.h2.engine.SessionRemote.done(SessionRemote.java:522)
    at org.h2.engine.SessionRemote.initTransfer(SessionRemote.java:115)
    at org.h2.engine.SessionRemote.connectServer(SessionRemote.java:337)
    at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:229)
    at org.h2.engine.SessionRemote.createSession(SessionRemote.java:223)
    at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:110)
    at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:94)
    at org.h2.Driver.connect(Driver.java:58)
    at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection(LocalManagedConnectionFactory.java:207)
    ... 84 more
==========================================================================

console is not even showing sample evaluation process.
Hope will solve this problem...
--------------------------------------------------------------

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

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

_______________________________________________
*jboss-Usuario *mailing lista
*jboss-user@xxxxxxxxxxxxxxx
*https://listas.*jboss.*org/*mailman/*listinfo/*jboss-Usuario
_______________________________________________
jboss-user mailing list
jboss-user@xxxxxxxxxxxxxxx
https://lists.jboss.org/mailman/listinfo/jboss-user
<Anterior por Tema] Tema Actual [Siguiente por Tema>