I'm guessing we'll have to talk to support about this but I believe the Connection closed one could be more network related.
Error 1
NullReferenceException: Object reference not set to an instance of an object.
at GE.CPO.Registration.UI.PatientCtl.OnDataChanged(Object sender, EventArgs e)
at GE.CPO.Registration.UI.PatientCtl.m_DeletePhoto_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.WndProc(Message& m)
at GE.CPO.Common.UI.ControlsEx.FocusButton.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparamError occurred in class CoreExceptionHandler, method ShowException
Object reference not set to an instance of an object.
Exception details have been written to the log
Error 2 & 3
Server stack trace:
at System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason)
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at GEHC.Centricity.EMR.Model.ServiceLayer.Proxy.EmrWebservice.GetChartData(Decimal patientId, Boolean includeFlags, Boolean includeCareAlerts, patientData patientdata)
at GEHC.Centricity.EMR.Model.ServiceLayer.EmrWebServiceClient.<>c__DisplayClassb.b__a()
at GEHC.Centricity.Common.Application.ServiceLayer.WebServiceClientBase`2.CallWebService[TReturn](Func`1 webServiceCall, Boolean exitOnUnknownException)
WebException: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server.
at System.Net.HttpWebRequest.GetResponse()
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
IOException: Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
at System.Net.Security._SslStream.StartFrameHeader(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security._SslStream.StartReading(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security._SslStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.TlsStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)
SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
Which product is this? CPS12? we found issues similar to this with a 12 client we had added a demo database to their JBoss instance. The issue was the configuration of JBoss was set to use less ram than it really needed. This caused disk swapping and as the JBoss instance tried to keep up with requests it would drop connections, similar to this, which caused crashes.
Hope that helps..
Brad Riemann
Systems Engineer
TechPro, Inc
Thanks Brad, it's primarily EMR. Jboss sounds like the right way to go, may just try a reinstall.
yup, that's exactly where we were seeing it too, I always tout trying to fix the problem instead of reinstalling... If you haven't made changes to your system resources (i.e. Ram amount), reinstalling might be a temp fix, but the issues would come back..
Good luck!
Brad Riemann
Systems Engineer
TechPro, Inc
Brad,
How did you gauge how much RAM Jboss needed? We have demo installed and would like to look into this a little further.
Thanks,
Josh
We deploy JBoss only servers, GE confirmed that by default it uses 45% of the ram when installed, we talked and it was conveyed that if the server that JBoss was installed on was only being used for JBoss (which is what we do), changing the % to 70 would work just fine.
You need to edit "C:\Program Files\Centricity Practice Solution\jboss\jsw\wrapper.conf" and change "wrapper.java.additional.6=-Xmx####m" (the number signs) to whatever is 70% of the available ram on that box.. Due to our limited knowledge of JBoss, we don't know what pieces cause it to take up so much ram per website, I assume that it has to do with all of the service layer items present.
Brad Riemann
Systems Engineer
TechPro, Inc
Good ol java... I'm new to everything Centricity (second week here) and it seems that our problem primarily affects fat clients. I don't see that file on a fat client. Testing the fix on our demo setup would also get a bit tricky since our errors are so random.
Michael, the file Brad was talking about will be on your JBoss server, not your fat client. And then I think you have to cycle the JBoss service to get it to read it. Cycling the JBoss service can crash clients.
Did increasing the RAM allocation on the JBOSS resolve the crashing issue?
No, we're already slightly over 70%.
wrapper.java.additional.6=-Xmx24576m
We have 32 gigs to work with.
Hey guys, just a bit of a follow up on my errors. One of the GE engineers I talked to had seen a similar error and this was his theory.
This is probably caused by someone logging out of CPS but not closing that IE window that pops up with the JBOSS connection. What happens is, they take over the jboss connection of the previous person (if it's within the timeout limit of 15-20 minutes) and don’t necessarily have the same permissions so when they try to do something that the previous person doesn’t have permissions to do, they get a jBoss error like this.
That scenario is possible for the area where this came from since they have a tenancy of sharing computers/sessions. Thanks for every ones input!