cmsmythers [http://community.jboss.org/people/cmsmythers] created the discussion
"Re: Problems working through v5.0 userguide" To view the discussion, visit: http://community.jboss.org/message/596355#596355 -------------------------------------------------------------- Hi, sure, here is a portion of what I get: /pre></p><p><b>root cause</b> <pre>org.h2.jdbc.JdbcSQLException: Unsupported database file version or invalid file header in file "/Users/rossputin/test.h2.db" [90048-124] at org.h2.message.Message.getSQLException(Message.java:111) at org.h2.message.Message.getSQLException(Message.java:122) at org.h2.message.Message.getSQLException(Message.java:75) at org.h2.store.PageStore.readStaticHeader(PageStore.java:585) at org.h2.store.PageStore.openExisting(PageStore.java:298) 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) 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:680) org.h2.engine.SessionRemote.done(SessionRemote.java:522) org.h2.engine.SessionRemote.initTransfer(SessionRemote.java:115) org.h2.engine.SessionRemote.connectServer(SessionRemote.java:337) org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:229) org.h2.engine.SessionRemote.createSession(SessionRemote.java:223) org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:110) org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:94) org.h2.Driver.connect(Driver.java:58) org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection(LocalManagedConnectionFactory.java:207) org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:195) org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:633) org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:267) org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:679) org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:404) org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:381) org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:496) org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:941) org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89) org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:92) org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446) org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167) org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:116) org.hibernate.id.insert.AbstractSelectingDelegate.performInsert(AbstractSelectingDelegate.java:54) org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2186) org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2666) org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:71) org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279) org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:321) org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:204) org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:130) org.hibernate.ejb.event.EJB3PersistEventListener.saveWithGeneratedId(EJB3PersistEventListener.java:49) org.hibernate.event.def.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:154) org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:110) org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:61) org.hibernate.impl.SessionImpl.firePersist(SessionImpl.java:645) org.hibernate.impl.SessionImpl.persist(SessionImpl.java:619) org.hibernate.impl.SessionImpl.persist(SessionImpl.java:623) org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:220) org.drools.persistence.jpa.JpaPersistenceContext.persist(JpaPersistenceContext.java:17) org.drools.persistence.SingleSessionCommandService.<init>(SingleSessionCommandService.java:125) sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) java.lang.reflect.Constructor.newInstance(Constructor.java:513) org.drools.persistence.jpa.KnowledgeStoreServiceImpl.buildCommanService(KnowledgeStoreServiceImpl.java:116) org.drools.persistence.jpa.KnowledgeStoreServiceImpl.newStatefulKnowledgeSession(KnowledgeStoreServiceImpl.java:54) org.drools.persistence.jpa.JPAKnowledgeService.newStatefulKnowledgeSession(JPAKnowledgeService.java:109) org.jbpm.integration.console.CommandDelegate.newStatefulKnowledgeSession(CommandDelegate.java:145) org.jbpm.integration.console.CommandDelegate.getSession(CommandDelegate.java:185) org.jbpm.integration.console.CommandDelegate.<init>(CommandDelegate.java:69) org.jbpm.integration.console.ProcessManagement.<init>(ProcessManagement.java:35) org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:22) org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:19) org.jboss.bpm.console.server.ProcessMgmtFacade.getProcessManagement(ProcessMgmtFacade.java:98) org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:122) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:597) org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117) org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260) org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232) org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166) org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142) org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356) org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173) org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93) org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) </pre></p><p><b>note</b> <u>The full stack trace of the root cause is available in the JBoss Web/2.1.3.GA logs.</u></p><HR size="1" noshade="noshade"><h3>JBoss Web/2.1.3.GA</h3></body></html> com.google.gwt.http.client.RequestException: Is this because I already have an H2 on my system ? Any idea how to modify the JBPM 5 setup script to deal with this ? Thanks for your help. -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/596355#596355] Start a new discussion in jBPM at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
_______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user