As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<br>org.apache.ibatis.exceptions.PersistenceException: <br>### Error querying database. Cause: org.h2.jdbc.JdbcSQLException: Connection is broken: "java.net.ConnectException: Connection refused: connect: localhost" [90067-170]<br>### The error may exist in org/activiti/db/mapping/entity/Property.xml<br>### The error may involve org.activiti.engine.impl.persistence.entity.PropertyEntity.selectDbSchemaVersion<br>### The error occurred while executing a query<br>### Cause: org.h2.jdbc.JdbcSQLException: Connection is broken: "java.net.ConnectException: Connection refused: connect: localhost" [90067-170]<br> at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:23)<br> at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:107)<br> <bla bla something omissis><br>Caused by: org.h2.jdbc.JdbcSQLException: Connection is broken: "java.net.ConnectException: Connection refused: connect: localhost" [90067-170]<br> at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)<br> at org.h2.message.DbException.get(DbException.java:158)<br> at org.h2.engine.SessionRemote.connectServer(SessionRemote.java:399)<br> <bla bla something omissis><br>Caused by: java.net.ConnectException: Connection refused: connect<br> at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)<br> at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)<br> … 57 more<br>
<br><?xml version="1.0" encoding="UTF-8"?><br><beans xmlns="<a href="http://www.springframework.org/schema/beans" rel="nofollow noopener noreferrer">http://www.springframework.org/schema/beans</a>" <br> xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow noopener noreferrer">http://www.w3.org/2001/XMLSchema-instance</a>"<br> xsi:schemaLocation="<a href="http://www.springframework.org/schema/beans" rel="nofollow noopener noreferrer">http://www.springframework.org/schema/beans</a> <a href="http://www.springframework.org/schema/beans/spring-beans.xsd" rel="nofollow noopener noreferrer">http://www.springframework.org/schema/beans/spring-beans.xsd</a>"><br><br> <bean id="processEngineConfiguration" class="org.activiti.engine.impl.cfg.StandaloneProcessEngineConfiguration" ><br> <!– Database configurations –><br> <property name="databaseType" value="h2" /><br> <property name="jdbcUrl" value="jdbc:h2:tcp://localhost/activiti" /><br> <property name="jdbcDriver" value="org.h2.Driver" /><br> <property name="jdbcUsername" value="sa" /><br> <property name="jdbcPassword" value="" /><br><br> <property name="mailServerPort" value="1025"/><br> <br> <property name="jobExecutorActivate" value="false" /><br> <br> <property name="customPostDeployers"><br> <list><br> <bean class="org.activiti.engine.impl.rules.RulesDeployer" /><br> </list><br> </property><br> <br> </bean><br> <br></beans><br>
<br>ProcessEngine processEngine = ProcessEngineConfiguration<br> .createStandaloneInMemProcessEngineConfiguration()<br> .buildProcessEngine();<br>
<br>ProcessEngine processEngine = ProcessEngineConfiguration<br> .createStandaloneProcessEngineConfiguration()<br> .buildProcessEngine();<br>