cancel
Showing results for 
Search instead for 
Did you mean: 

Error creating document instance.

ram00540
Champ in-the-making
Champ in-the-making
Hi all,
i am new to Activiti executing the Simple program as per the below link.

http://www.jorambarrez.be/blog/2010/08/09/hello_world_on_mysql/

but getting the below exception.

Exception in thread "main" org.activiti.ActivitiException: Error while building ibatis SqlSessionFactory:
### Error building SqlSession.
### The error may exist in SQL Mapper Configuration
### Cause: org.apache.ibatis.builder.BuilderException: Error creating document instance.  Cause: java.net.ConnectException: Connection refused: connect
   at org.activiti.impl.persistence.IbatisPersistenceSessionFactory.<init>(IbatisPersistenceSessionFactory.java:184)
   at org.activiti.DbProcessEngineBuilder.buildProcessEngine(DbProcessEngineBuilder.java:262)
   at Main.main(Main.java:12)
Caused by: org.apache.ibatis.exceptions.IbatisException:

Could you please help me on this.

Thanks
1 REPLY 1

frederikherema1
Star Contributor
Star Contributor
java.net.ConnectException: Connection refused: connect

Please make sure you're using the correct port and your DB is actually reachable and running…