web stats
Derby error running server from within Eclipse - Mirth Community

Go Back   Mirth Community > Mirth Connect > Development

Reply
 
Thread Tools Display Modes
  #1  
Old 11-20-2012, 11:24 AM
ssantiago ssantiago is offline
What's HL7?
 
Join Date: Nov 2012
Posts: 4
ssantiago is on a distinguished road
Question Derby error running server from within Eclipse

I was attempting to setup a development environment to experiment with Mirth following these instructions for configuring your dev environment:

http://www.mirthcorp.com/community/w...ageId=11178096

I was able to successfully configure and build within Eclipse, but when I attempt to run the server I am getting a derby SQL error below. Any suggestions on what configuration parameter to examine would be appreciated.

Thanks,

Sam

ERROR 2012-11-20 12:11:36,861 [main] com.mirth.connect.server.Mirth: Error establishing connection to database, aborting startup.
### Error building SqlSession.
### The error may exist in derby/derby-user.xml
### Cause: org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.lang.RuntimeException: Error parsing Mapper XML. Cause: java.lang.NullPointerException
INFO 2012-11-20 12:11:36,863 [Thread-4] com.mirth.connect.server.Mirth: shutting down mirth due to normal request
ERROR 2012-11-20 12:11:37,840 [Thread-4] Server: Exception in thread "Thread-4" java.lang.RuntimeException: org.apache.ibatis.exceptions.PersistenceException:
ERROR 2012-11-20 12:11:37,840 [Thread-4] Server: ### Error building SqlSession.
ERROR 2012-11-20 12:11:37,840 [Thread-4] Server: ### The error may exist in derby/derby-user.xml
ERROR 2012-11-20 12:11:37,840 [Thread-4] Server: ### Cause: org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.lang.RuntimeException: Error parsing Mapper XML. Cause: java.lang.NullPointerException
ERROR 2012-11-20 12:11:37,840 [Thread-4] Server: at com.mirth.connect.server.util.SqlConfig.init(SqlCo nfig.java:83)
ERROR 2012-11-20 12:11:37,841 [Thread-4] Server: at com.mirth.connect.server.util.SqlConfig.getSqlSess ionManager(SqlConfig.java:47)
ERROR 2012-11-20 12:11:37,841 [Thread-4] Server: at com.mirth.connect.server.Mirth.shutdown(Mirth.java :263)
ERROR 2012-11-20 12:11:37,841 [Thread-4] Server: at com.mirth.connect.server.Mirth$ShutdownHook.run(Mi rth.java:514)
ERROR 2012-11-20 12:11:37,841 [Thread-4] Server: Caused by: org.apache.ibatis.exceptions.PersistenceException:
ERROR 2012-11-20 12:11:37,841 [Thread-4] Server: ### Error building SqlSession.
ERROR 2012-11-20 12:11:37,841 [Thread-4] Server: ### The error may exist in derby/derby-user.xml
ERROR 2012-11-20 12:11:37,841 [Thread-4] Server: ### Cause: org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.lang.RuntimeException: Error parsing Mapper XML. Cause: java.lang.NullPointerException
ERROR 2012-11-20 12:11:37,841 [Thread-4] Server: at org.apache.ibatis.exceptions.ExceptionFactory.wrap Exception(ExceptionFactory.java:23)
ERROR 2012-11-20 12:11:37,841 [Thread-4] Server: at org.apache.ibatis.session.SqlSessionFactoryBuilder .build(SqlSessionFactoryBuilder.java:51)
ERROR 2012-11-20 12:11:37,841 [Thread-4] Server: at org.apache.ibatis.session.SqlSessionFactoryBuilder .build(SqlSessionFactoryBuilder.java:43)
ERROR 2012-11-20 12:11:37,841 [Thread-4] Server: at com.mirth.connect.server.util.SqlConfig.init(SqlCo nfig.java:80)
ERROR 2012-11-20 12:11:37,841 [Thread-4] Server: ... 3 more
ERROR 2012-11-20 12:11:37,842 [Thread-4] Server: Caused by: org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.lang.RuntimeException: Error parsing Mapper XML. Cause: java.lang.NullPointerException
ERROR 2012-11-20 12:11:37,842 [Thread-4] Server: at org.apache.ibatis.builder.xml.XMLConfigBuilder.par seConfiguration(XMLConfigBuilder.java:105)
ERROR 2012-11-20 12:11:37,842 [Thread-4] Server: at org.apache.ibatis.builder.xml.XMLConfigBuilder.par se(XMLConfigBuilder.java:88)
ERROR 2012-11-20 12:11:37,842 [Thread-4] Server: at org.apache.ibatis.session.SqlSessionFactoryBuilder .build(SqlSessionFactoryBuilder.java:49)
ERROR 2012-11-20 12:11:37,842 [Thread-4] Server: ... 5 more
ERROR 2012-11-20 12:11:37,842 [Thread-4] Server: Caused by: java.lang.RuntimeException: Error parsing Mapper XML. Cause: java.lang.NullPointerException
ERROR 2012-11-20 12:11:37,842 [Thread-4] Server: at org.apache.ibatis.builder.xml.XMLMapperBuilder.con figurationElement(XMLMapperBuilder.java:113)
ERROR 2012-11-20 12:11:37,842 [Thread-4] Server: at org.apache.ibatis.builder.xml.XMLMapperBuilder.par se(XMLMapperBuilder.java:88)
ERROR 2012-11-20 12:11:37,842 [Thread-4] Server: at org.apache.ibatis.builder.xml.XMLConfigBuilder.map perElement(XMLConfigBuilder.java:311)
ERROR 2012-11-20 12:11:37,842 [Thread-4] Server: at org.apache.ibatis.builder.xml.XMLConfigBuilder.par seConfiguration(XMLConfigBuilder.java:103)
ERROR 2012-11-20 12:11:37,842 [Thread-4] Server: ... 7 more
ERROR 2012-11-20 12:11:37,843 [Thread-4] Server: Caused by: java.lang.NullPointerException
ERROR 2012-11-20 12:11:37,843 [Thread-4] Server: at org.apache.ibatis.builder.xml.XMLMapperBuilder.con figurationElement(XMLMapperBuilder.java:104)
ERROR 2012-11-20 12:11:37,843 [Thread-4] Server: ... 10 more
Reply With Quote
  #2  
Old 11-29-2012, 02:01 PM
srinivasay srinivasay is offline
OBX.1 Kenobi
 
Join Date: Sep 2008
Posts: 29
srinivasay
Default

I am also having the same issue. Did you get the problem solved?

Thanks
Srini
Reply With Quote
  #3  
Old 11-29-2012, 08:51 PM
ssantiago ssantiago is offline
What's HL7?
 
Join Date: Nov 2012
Posts: 4
ssantiago is on a distinguished road
Unhappy Re: Derby errror running server from within Eclipse

Unfortunately, no. No one has provided any clues yet.

Quote:
Originally Posted by srinivasay View Post
I am also having the same issue. Did you get the problem solved?

Thanks
Srini
Reply With Quote
  #4  
Old 12-01-2012, 03:54 PM
santosam santosam is offline
OBX.2 Kenobi
 
Join Date: May 2012
Location: Portugal
Posts: 62
santosam is on a distinguished road
Default

Me too...

Alex
Reply With Quote
  #5  
Old 12-03-2012, 10:26 AM
jacobb jacobb is offline
Mirth Employee
 
Join Date: Aug 2006
Location: Irvine, CA
Posts: 1,218
jacobb is an unknown quantity at this point
Default

Derby is not yet supported in the trunk (3.0). If you're looking for a stable version of Mirth Connect source code, I suggest working off of a tag (i.e. tags/2.2.1) instead of trunk.
__________________
Jacob Brauer
Director, Software Development
NextGen Healthcare

Reply With Quote
  #6  
Old 12-13-2012, 09:08 AM
ssantiago ssantiago is offline
What's HL7?
 
Join Date: Nov 2012
Posts: 4
ssantiago is on a distinguished road
Default

Working in the tags/2.2.1 branch worked. Thank you for responding.
Reply With Quote
Reply

Tags
derby, eclipse, error, server, sql

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 03:29 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation