web stats
Could not start web server - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 05-15-2019, 08:46 AM
ysdemiryilmaz ysdemiryilmaz is offline
What's HL7?
 
Join Date: Nov 2018
Location: İzmir/TURKEY
Posts: 5
ysdemiryilmaz is on a distinguished road
Unhappy Could not start web server

Hello,

We are trying to run Mirth Connect and getting error while trying to open Administrator, but otherwise Mirth server is running in background.

When we try to enter http://localhost:8080 or https://localhost8443, it gives error too.

Do you know the reason of this?

Thanks in advange for all your helps.

Error log are like below;

Mirth Log file;
ERROR 2019-05-15 18:15:03,727 [Main Server Thread] com.mirth.connect.server.controllers.DefaultConfig urationController: Could not initialize security settings.
java.lang.NullPointerException
at java.io.File.<init>(Unknown Source)
at com.mirth.connect.server.controllers.DefaultConfig urationController.initializeSecuritySettings(Defau ltConfigurationController.java:966)
at com.mirth.connect.server.Mirth.startup(Mirth.java: 207)
at com.mirth.connect.server.Mirth.run(Mirth.java:153)
WARN 2019-05-15 18:15:08,431 [Main Server Thread] com.mirth.connect.server.Mirth: Could not start web server.
java.lang.NullPointerException
at java.io.File.<init>(Unknown Source)
at com.mirth.connect.server.MirthWebServer.createSSLC onnector(MirthWebServer.java:347)
at com.mirth.connect.server.MirthWebServer.<init>(Mir thWebServer.java:132)
at com.mirth.connect.server.Mirth.startWebServer(Mirt h.java:372)
at com.mirth.connect.server.Mirth.startup(Mirth.java: 252)
at com.mirth.connect.server.Mirth.run(Mirth.java:153)

Administrator error details/exceptions
CouldNotLoadArgumentException[ Could not load file/URL specified: http://localhost:8080/webstart.jnlp?maxHeapSize=512m]
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main.access$000(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Un known Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress( Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.http://www.protocol.http.HttpURLConn...Client(Unknown Source)
at sun.net.http://www.protocol.http.HttpURLConn...nnect0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$6.run( Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$6.run( Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessController.doPrivilegedWithCom biner(Unknown Source)
at sun.net.http://www.protocol.http.HttpURLConn...onnect(Unknown Source)
at sun.net.http://www.protocol.http.HttpURLConn...onnect(Unknown Source)
at sun.net.http://www.protocol.http.HttpURLConn...tream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.access $200(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$9.run( Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$9.run( Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessController.doPrivilegedWithCom biner(Unknown Source)
at sun.net.http://www.protocol.http.HttpURLConn...Stream(Unknown Source)
at com.sun.deploy.net.HttpUtils.followRedirects(Unkno wn Source)
at com.sun.deploy.net.BasicHttpRequest.doRequest(Unkn own Source)
at com.sun.deploy.net.BasicHttpRequest.doRequest(Unkn own Source)
at com.sun.deploy.net.BasicHttpRequest.doGetRequest(U nknown Source)
at com.sun.javaws.jnl.LaunchDescFactory._buildDescrip tor(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescript or(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescript or(Unknown Source)
... 5 more
__________________
Yavuz Selim Demiryılmaz
Computer Engineer @imageRAD
Reply With Quote
  #2  
Old 05-16-2019, 03:00 AM
obsessio obsessio is offline
OBX.3 Kenobi
 
Join Date: Mar 2015
Location: Turkey
Posts: 166
obsessio is on a distinguished road
Default

Which version are you running?
Also can you check mirth.properites file for the value of keystore.
Reply With Quote
  #3  
Old 09-10-2019, 11:08 AM
KeithF1138 KeithF1138 is offline
Mirth Newb
 
Join Date: Oct 2017
Posts: 11
KeithF1138 is on a distinguished road
Default Has anyone figured this out?

This same problem has started occurring with one of our Mirth Servers. Seems like the channels are still running, but cant start the administer to take a look at things, change things, etc.

Was running 3.5.2, but trying to figure this out upgraded to 3.8.0


Have another issue on another Mirth server running 3.5.1. Left admin up running yesterday. When went to look at something today the admin tool was closed. Tried to start it back up and after login is authenticated get an error that the tool cant connect to https://localhost:8443 verify service is running.
Reply With Quote
  #4  
Old 11-12-2019, 08:25 AM
KeithF1138 KeithF1138 is offline
Mirth Newb
 
Join Date: Oct 2017
Posts: 11
KeithF1138 is on a distinguished road
Default

This is getting to be a bit of a crisis. Cant get into the administrator or view any of the messages.

Does anyone have any idea why this would occur. I dont know where to start to get this working again.
Reply With Quote
  #5  
Old 11-12-2019, 08:36 AM
jackwhaines jackwhaines is offline
 
Join Date: May 2011
Location: Kansas City, Missouri
Posts: 228
jackwhaines is on a distinguished road
Send a message via Skype™ to jackwhaines
Default

What OS are you running? Have you tried disabling SELinux (if on Linux) and/or any firewalls (just to see if that's causing it)?

From the logs, the service doesn't have the security to attach to the ports...
__________________

-= Jack Haines : Founder/CEO of Healthcare Integrations, LLC
-= jack.haines@HealthcareIntegrations.com
-= Mirth Connect (Advanced)-certified
-= Gold member of HL7.org
-= Available for Mirth Connect channel development and consultation! Schedule a FREE call with me at https://calendly.com/jackhaines
Reply With Quote
  #6  
Old 11-12-2019, 09:07 AM
KeithF1138 KeithF1138 is offline
Mirth Newb
 
Join Date: Oct 2017
Posts: 11
KeithF1138 is on a distinguished road
Default

Our Mirth Servers are running on Windows Server 2012 R2. We have not been applying any changes to this server and this started occurring.

The version of Java on this machine is 1.8.0_221
Location http://java.sun.com/products/autodl/j2se

I believe Java installed came with the Mirth installation, but I could be wrong.

Mirth is version 3.8.0. The problem first occurred with a previous version. I couldn't find out any reason why, so we decided to upgrade and hoped the install would fix it. It didnt.

The log says the web server is running. Messages are being received, processed and transmitted
Reply With Quote
  #7  
Old 11-12-2019, 09:58 AM
jackwhaines jackwhaines is offline
 
Join Date: May 2011
Location: Kansas City, Missouri
Posts: 228
jackwhaines is on a distinguished road
Send a message via Skype™ to jackwhaines
Default

Mirth does not come with Java. It is a prerequisite to installing Java. I would suspect that a java update was run and your security settings got reset.
__________________

-= Jack Haines : Founder/CEO of Healthcare Integrations, LLC
-= jack.haines@HealthcareIntegrations.com
-= Mirth Connect (Advanced)-certified
-= Gold member of HL7.org
-= Available for Mirth Connect channel development and consultation! Schedule a FREE call with me at https://calendly.com/jackhaines
Reply With Quote
  #8  
Old 11-12-2019, 11:03 AM
KeithF1138 KeithF1138 is offline
Mirth Newb
 
Join Date: Oct 2017
Posts: 11
KeithF1138 is on a distinguished road
Default

Quote:
Originally Posted by jackwhaines View Post
Mirth does not come with Java. It is a prerequisite to installing Java. I would suspect that a java update was run and your security settings got reset.

OK really that experienced with keeping Java in sync. What do I look for and where.

Also is all the settings for channels stored in the database? Could I uninstall and reinstall (including Java) and then change from Derby to our SQL Server? Would that restore all the channels? Would it restore history?
Reply With Quote
  #9  
Old 11-12-2019, 11:09 AM
jackwhaines jackwhaines is offline
 
Join Date: May 2011
Location: Kansas City, Missouri
Posts: 228
jackwhaines is on a distinguished road
Send a message via Skype™ to jackwhaines
Default

I'm not a Windows guy (go Linux) but I know it will pop up and ask you to update which people tend to hit, and that's not always the best idea for Mirth.

All of the data is stored in the Mirth database. You should NEVER use Derby for ANYTHING other than the install and then moving to something else... MySQL, PostgreSQL, SQL Server. You can reinstall Mirth, Java, etc and as long as the database connection is the same, you'll be okay. (Make a config backup before you do anything, just to be sure)
__________________

-= Jack Haines : Founder/CEO of Healthcare Integrations, LLC
-= jack.haines@HealthcareIntegrations.com
-= Mirth Connect (Advanced)-certified
-= Gold member of HL7.org
-= Available for Mirth Connect channel development and consultation! Schedule a FREE call with me at https://calendly.com/jackhaines
Reply With Quote
  #10  
Old 11-12-2019, 12:07 PM
KeithF1138 KeithF1138 is offline
Mirth Newb
 
Join Date: Oct 2017
Posts: 11
KeithF1138 is on a distinguished road
Default

Quote:
Originally Posted by jackwhaines View Post
I'm not a Windows guy (go Linux) but I know it will pop up and ask you to update which people tend to hit, and that's not always the best idea for Mirth.

All of the data is stored in the Mirth database. You should NEVER use Derby for ANYTHING other than the install and then moving to something else... MySQL, PostgreSQL, SQL Server. You can reinstall Mirth, Java, etc and as long as the database connection is the same, you'll be okay. (Make a config backup before you do anything, just to be sure)
When you say backup config do you mean the database or some files somewhere?
Reply With Quote
Reply

Tags
administrator, web server

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 07:14 AM.


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