web stats
Building MIrth 2.0 in Eclipse - Mirth Community

Go Back   Mirth Community > Mirth Connect > Development

Reply
 
Thread Tools Display Modes
  #1  
Old 03-17-2011, 08:02 AM
Sree Sree is offline
What's HL7?
 
Join Date: Aug 2010
Posts: 4
Sree is on a distinguished road
Default Building MIrth 2.0 in Eclipse

Hi,
I have been trying to build and deploy Mirth from Eclipse.
I have executed all the steps necessary and that were mentioned @ http://www.mirthcorp.com/community/w...2.0+in+Eclipse

I am successful with the build and when I am trying to run the configuration I get the following problem :

java.lang.NoClassDefFoundError: com/mirth/connect/server/Mirth
Caused by: java.lang.ClassNotFoundException: com.mirth.connect.server.Mirth
at java.net.URLClassLoader$1.run(URLClassLoader.java: 202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 07)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 48)
Exception in thread "main"

I have the server directory in the class path.
I dont understand why this is happening , can any one please help me with this.

Thanks,
Sathish
Reply With Quote
  #2  
Old 03-21-2011, 08:52 AM
geraldb geraldb is offline
Mirth Employee
 
Join Date: Aug 2006
Location: Irvine, CA
Posts: 314
geraldb is an unknown quantity at this point
Default

Eclipse comes with Ant 1.7.1 and you need to use version 1.8 or newer to build Mirth Connect. Install it separately, add it to your PATH, and run the build from the command line.

http://ant.apache.org/
__________________
Gerald Bortis | Chief Information Officer | Mirth Corporation
Reply With Quote
  #3  
Old 03-22-2011, 07:25 PM
lin_xd lin_xd is offline
OBX.2 Kenobi
 
Join Date: Apr 2008
Posts: 92
lin_xd
Default run server error

when ran the server after build. get the fellowing error:
////////////////////////////
java.text.ParseException: Format.parseObject(String) failed
at java.text.Format.parseObject(Unknown Source)
at javax.swing.text.InternationalFormatter.stringToVa lue(Unknown Source)
at javax.swing.text.InternationalFormatter.stringToVa lue(Unknown Source)
at com.mirth.connect.plugins.messagepruner.MessagePru nerService.createTrigger(MessagePrunerService.java :98)
at com.mirth.connect.plugins.messagepruner.MessagePru nerService.init(MessagePrunerService.java:80)
at com.mirth.connect.server.controllers.DefaultExtens ionController.initPlugins(DefaultExtensionControll er.java:132)
at com.mirth.connect.server.Mirth.startup(Mirth.java: 197)
at com.mirth.connect.server.Mirth.run(Mirth.java:145)
at com.mirth.connect.server.Mirth.main(Mirth.java:97)
INFO 2011-03-23 11:23:25,312 [main] com.mirth.connect.server.Mirth: Mirth Connect
Reply With Quote
  #4  
Old 03-24-2011, 04:14 PM
gisaac gisaac is offline
What's HL7?
 
Join Date: Oct 2009
Posts: 5
gisaac is on a distinguished road
Default

I'm getting the same error. I installed MIRTH Connect, using Postgresql. I couldn't log in with admin, admin. I stopped MIRTH, then re-started. I get a prompt saying MIRTH server couldn't start. The MIRTH icon still goes to color from grey but I can't log in.

Mirth Connect version 2.0.0.5127
Java Version: 1.6.0_24

RROR 2554-03-24 20:05:53,250 [Thread-1] com.mirth.connect.plugins.messagepruner.MessagePru nerService: error encountered in database pruner initialization
java.text.ParseException: Format.parseObject(String) failed
at java.text.Format.parseObject(Unknown Source)
at javax.swing.text.InternationalFormatter.stringToVa lue(Unknown Source)
at javax.swing.text.InternationalFormatter.stringToVa lue(Unknown Source)
at com.mirth.connect.plugins.messagepruner.MessagePru nerService.createTrigger(MessagePrunerService.java :92)
at com.mirth.connect.plugins.messagepruner.MessagePru nerService.init(MessagePrunerService.java:74)
at com.mirth.connect.server.controllers.DefaultExtens ionController.initPlugins(DefaultExtensionControll er.java:116)
at com.mirth.connect.server.Mirth.startup(Mirth.java: 163)
at com.mirth.connect.server.Mirth.run(Mirth.java:126)

Mirth server doesn't seem to be starting; can't log in.
Reply With Quote
  #5  
Old 03-25-2011, 10:31 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

gisaac, it doesn't sound like you're building or running Mirth Connect from the source code in eclipse. If you're not, you might have better luck in the support forum.
__________________
Jacob Brauer
Director, Software Development
NextGen Healthcare

Reply With Quote
  #6  
Old 01-23-2012, 03:17 AM
BlackGhost BlackGhost is offline
What's HL7?
 
Join Date: Jan 2012
Posts: 2
BlackGhost is on a distinguished road
Default

Concerning the error "error encountered in database pruner initialization": Can you check database in the table configuration whether there is a record:
(Message Pruner; time; 12:00 AM).

If NOT, add this record and restart mirth.



Uploaded with ImageShack.us
Reply With Quote
Reply

Tags
mirth 2.0 eclipse build

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 04:39 AM.


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