Menu

#47 in myoscar_server SOAPFaultException: Connection refused

trunk
not-a-bug
None
5
2014-07-28
2014-07-27
venkat
No

Hi Ted,

I followed "https://sourceforge.net/p/myoscar/mailman/message/30845624/"

disscussion in this link reg SOAPFaultException: Connection refused in tomcat7 myoscar issue. I followed Surveys fix 6 steps still i am getting below error.

and in patient login i couldnot see clinical_component booking tab below Surveys.

can you please help me to resolve this issue.

Jul 28, 2014 12:36:21 AM org.apache.catalina.core.StandardContext reload
INFO: Reloading Context with name [/myoscar_server] is completed
2014-07-28 00:36:22,357 INFO [Runtime:81] Starting OpenJPA 2.2.2
2014-07-28 00:36:22,360 INFO [JDBC:81] Using dictionary class "org.apache.openjpa.jdbc.sql.MySQLDictionary" (MySQL 5.5.37-0ubuntu0.12.04.1 ,MySQL-AB JDBC Driver mysql-connector-java-5.1.18 ( Revision: tonci.grgin@oracle.com-20110930151701-jfj14ddfq48ifkfq )).
2014-07-28 00:36:22,936 ERROR [RegistrationThread:86] Unexpected error.
javax.xml.ws.soap.SOAPFaultException: Connection refused
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:156)
at com.sun.proxy.$Proxy142.login(Unknown Source)
at org.oscarehr.oscar_patient_portal.utils.OscarServerWebServicesManager.initLoginResultTransfer(OscarServerWebServicesManager.java:33)
at org.oscarehr.oscar_patient_portal.utils.OscarServerWebServicesManager.getFacilityWs(OscarServerWebServicesManager.java:123)
at org.oscarehr.oscar_patient_portal.manager.OscarFacilityManager.getDefaultFacility(OscarFacilityManager.java:28)
at org.oscarehr.oscar_patient_portal.utils.RegistrationThread.register(RegistrationThread.java:69)
at org.oscarehr.oscar_patient_portal.utils.RegistrationThread.access$100(RegistrationThread.java:19)
at org.oscarehr.oscar_patient_portal.utils.RegistrationThread$RegistraionTimerTask.run(RegistrationThread.java:35)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
Caused by: com.ctc.wstx.exc.WstxIOException: Connection refused
at com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.java:263)
at org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor.writeParts(AbstractOutDatabindingInterceptor.java:99)
at org.apache.cxf.interceptor.BareOutInterceptor.handleMessage(BareOutInterceptor.java:68)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:532)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:464)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:367)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:320)
at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:89)
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:134)
... 9 more
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
at java.net.Socket.connect(Socket.java:579)
at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:378)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:473)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:203)
at sun.net.www.http.HttpClient.New(HttpClient.java:290)
at sun.net.www.http.HttpClient.New(HttpClient.java:306)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:995)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:931)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:849)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1090)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleHeadersTrustCaching(HTTPConduit.java:1395)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.onFirstWrite(HTTPConduit.java:1337)
at org.apache.cxf.io.AbstractWrappedOutputStream.write(AbstractWrappedOutputStream.java:42)
at org.apache.cxf.io.AbstractThresholdOutputStream.write(AbstractThresholdOutputStream.java:69)
at com.ctc.wstx.io.UTF8Writer.flush(UTF8Writer.java:100)
at com.ctc.wstx.sw.BufferingXmlWriter.flush(BufferingXmlWriter.java:225)
at com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.java:261)
... 18 more

Thanks ,
Venkat

1 Attachments

Related

Bugs: #47

Discussion

  • venkat

    venkat - 2014-07-28

    Hi Can any one please help on this !!
    I was struck with this isse

    and if I try to add any patient from OSCAR server after adding and subbmiting details I am getting error please find below logs and attachment

    2014-07-27 19:59:59,383 WARN [ReflectionServiceFactoryBean:649] Could not find a matching method for operation {http://ws.myoscar_server.oscarehr.org/}updatePerson2. Operation will be unavailable.
    2014-07-27 19:59:59,901 ERROR [DbConnectionFilter:66] Unexpected error.
    org.apache.jasper.JasperException: javax.xml.ws.soap.SOAPFaultException: Fault occurred while processing.
    at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:502)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:430)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at oscar.oscarSecurity.LoginFilter.doFilter(LoginFilter.java:121)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at net.sf.cookierevolver.servlet.CRFilterImpl.doFilter(CRFilterImpl.java:60)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

        at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:88)
        at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:134)
        ... 44 more
    

    2014-07-27 20:00:11,985 WARN [ProblemCheckFilter:178] Possible excessive memory usage | 11267056 | /Oscar12/dms/documentReport.jsp | function=demographic&doctype=lab&functionid=9&curUser=999998&mode=add
    2014-07-27 20:00:29,788 ERROR [AddEditDocumentAction:305] Error
    java.lang.Exception
    at oscar.dms.actions.AddEditDocumentAction.addDocument(AddEditDocumentAction.java:218)
    at oscar.dms.actions.AddEditDocumentAction.execute2(AddEditDocumentAction.java:183)
    at oscar.dms.actions.AddEditDocumentAction.unspecified(AddEditDocumentAction.java:168)
    at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:256)
    at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:194)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:701)
    

    2014-07-27 20:00:47,611 ERROR [AddEditDocumentAction:305] Error
    java.lang.Exception
    at oscar.dms.actions.AddEditDocumentAction.addDocument(AddEditDocumentAction.java:222)
    at oscar.dms.actions.AddEditDocumentAction.execute2(AddEditDocumentAction.java:183)
    at oscar.dms.actions.AddEditDocumentAction.unspecified(AddEditDocumentAction.java:168)
    at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:256)
    at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:194)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at oscar.oscarSecurity.LoginFilter.doFilter(Login

      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:701)
    

    2014-07-27 20:01:32,927 ERROR [AddEditDocumentAction:400] Error
    java.io.FileNotFoundException: null/20140727200132ca_flag.png (No such file or directory)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:212)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:99)
    at oscar.dms.actions.AddEditDocumentAction.writeLocalFile(AddEditDocumentAction.java:393)
    at oscar.dms.actions.AddEditDocumentAction.writeLocalFile(AddEditDocumentAction.java:380)
    at oscar.dms.actions.AddEditDocumentAction.addDocument(AddEditDocumentAction.java:240)
    at oscar.dms.actions.AddEditDocumentAction.execute2(AddEditDocumentAction.java:183)
    at oscar.dms.actions.AddEditDocumentAction.unspecified(AddEditDocumentAction.java:168)
    at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:256)
    at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:194)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.

    ountByPersonId. Operation will be unavailable.
    2014-07-27 20:04:12,797 WARN [ReflectionServiceFactoryBean:649] Could not find a matching method for operation {http://ws.myoscar_server.oscarehr.org/}updatePerson2. Operation will be unavailable.
    2014-07-27 20:04:14,334 ERROR [PHRUserManagementAction:140] OFFSET ERROR
    java.lang.ArrayIndexOutOfBoundsException: -1
    at java.util.ArrayList.elementData(ArrayList.java:338)
    at java.util.ArrayList.get(ArrayList.java:351)
    at org.oscarehr.phr.web.PHRUserManagementAction.getCfgProp(PHRUserManagementAction.java:136)
    at org.oscarehr.phr.web.PHRUserManagementAction.generateUserRegistrationLetter(PHRUserManagementAction.java:185)
    at org.oscarehr.phr.web.PHRUserManagementAction.registerUser(PHRUserManagementAction.java:431)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:622)

        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:701)
    

    2014-07-27 20:04:14,536 ERROR [PHRUserManagementAction:474] Failed to register myOSCAR user
    java.lang.NullPointerException
    at java.io.File.<init>(File.java:265)
    at org.oscarehr.phr.web.PHRUserManagementAction.registerUser(PHRUserManagementAction.java:433)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:622)
    at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:274)
    at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:194)

     
  • Ted Leung

    Ted Leung - 2014-07-28

    sorry but there's a few problems here

    1) oscar_patient_portal and clinic_component are 2 different webapps, so you need to make sure you have the one you want and not the wrong one. the oscar_patient_portal has been deprecated by the clinic_component. oscar_patient_portal is not longer maintained.

    2) neither are part of myoscar, they are both separate server services. Myoscar itself only consists of the myoscar_server and myoscar_client and the component_registry (depending on if your version has this or not). You will have to contact the authors of the specific components to find out more about those components.

    3) oscar is another unlreated product, for assistance with oscar you will need to contact whom ever is maintaining oscar.

    If you can login to the myoscar_client, then myoscar itself is running properly and generally speaking configured properly. Other products and other systems will need their own configuration and setup.

     
    • venkat

      venkat - 2014-07-29

      Thanks Ted, for clarification.

      I have myOscar_client and myOscar_server aswell in my machine I followed below steps for installing OSCAR and MYOSCAR

      I have created sysadmin from root client loging
      and using sysadmin login credentials i created patient details also

      after login with petient details I am not getting clinical component tab for booking appointments.
      I added
      INSERT INTO RemoteComponent (id, componentName, componentUri, editDate, editorId) VALUES
      (1, 'oclinic_Northern Clinic', 'http://localhost:8090/oscar_clinic_component/index.jsp?clinic=Northern Clinic', '2013-04-17 20:13:30', 5);
      INSERT INTO RemoteComponentText (id, authorText, componentName, displayDescriptionText, displayName, locale, termsOfUseText) VALUES
      (1, 'Peter H-C', 'oclinic_Northern Clinic', 'This component allows patients to book their own appointments online', 'Haileybury FHT', 'en_US', 'None.');

      these commands in db also i didn't find can you please give me insight of it.

      http://oscarmanual.org/oscar_emr_12/developers/installation/12_1deb

      http://oscarmanual.org/myoscar-phr/developers/installing-myoscar2/myoscar2-install

      http://oscarmanual.org/myoscar-phr/developers/installing-myoscar2

      below are tomcat7 logs after server run and client login

      2014-07-29 20:18:14,999 INFO [ContextStartupListener:48] Server processes starting. context=/myoscar_server
      2014-07-29 20:18:15,002 INFO [ConfigXmlUtils:127] Reading config file into map : /config.xml
      2014-07-29 20:18:15,010 INFO [VmStat:210] HEADER,Code Cache.maxAllowed(bytes),Code Cache.currentUsage(bytes),PS Eden Space.maxAllowed(bytes),PS Eden Space.currentUsage(bytes),PS Survivor Space.maxAllowed(bytes),PS Survivor Space.currentUsage(bytes),PS Old Gen.maxAllowed(bytes),PS Old Gen.currentUsage(bytes),PS Perm Gen.maxAllowed(bytes),PS Perm Gen.currentUsage(bytes),PS Scavenge.CollectionTime(ms),PS Scavenge.CollectionCount,PS MarkSweep.CollectionTime(ms),PS MarkSweep.CollectionCount,PeakThreadCount,ThreadCount(includes deamons),DaemonThreadCount,Load Average (last minute)
      2014-07-29 20:18:15,013 INFO [VmStat:205] DATA,50331648,6741120,147128320,121863440,96403456,27011032,673906688,185100096,536870912,104742024,1482,47,1143,8,66,52,51,0.97
      2014-07-29 20:18:15,195 INFO [ReportTask:76] Task scheduled.
      2014-07-29 20:18:16,167 INFO [DbMigrator:120] Current schema version: 46
      2014-07-29 20:18:16,170 INFO [DbMigrator:182] Schema is up to date. No migration necessary.
      2014-07-29 20:18:16,468 WARN [Runtime:89] An error occurred while registering a ClassTransformer with PersistenceUnitInfo: name 'persistenceUnit', root URL [file:/var/lib/apache-tomcat-7.0.54/webapps/myoscar_server/WEB-INF/classes/]. The error has been consumed. To see it, set your openjpa.Runtime log level to TRACE. Load-time class transformation will not be available.
      2014-07-29 20:18:17,824 INFO [PersonSecurityTokenReaperThread:80] Task scheduled.
      2014-07-29 20:18:17,828 INFO [MedicalDataLargeBlobThresholdConverter:89] desired_medical_data_large_blob_threshold = 1024
      2014-07-29 20:18:17,828 INFO [PerformanceTrackingUtils:47] Performance tracking dataRoot directory : performance_tracking_myoscar_server
      2014-07-29 20:18:17,848 INFO [Runtime:81] Starting OpenJPA 2.2.2
      2014-07-29 20:18:17,874 INFO [ContextStartupListener:67] Server processes starting completed. context=/myoscar_server
      Jul 29, 2014 8:18:17 PM org.apache.catalina.core.ApplicationContext log
      INFO: Initializing Spring root WebApplicationContext
      2014-07-29 20:18:17,916 INFO [JDBC:81] Using dictionary class "org.apache.openjpa.jdbc.sql.MySQLDictionary" (MySQL 5.5.37-0ubuntu0.12.04.1 ,MySQL-AB JDBC Driver mysql-connector-java-5.1.18 ( Revision: tonci.grgin@oracle.com-20110930151701-jfj14ddfq48ifkfq )).
      2014-07-29 20:18:18,469 INFO [MedicalDataLargeBlobThresholdConverter:96] current database threshold = 1024
      2014-07-29 20:18:18,532 INFO [DbMigrator:120] Current schema version: 46
      2014-07-29 20:18:18,536 INFO [DbMigrator:182] Schema is up to date. No migration necessary.
      2014-07-29 20:18:18,556 WARN [Runtime:89] An error occurred while registering a ClassTransformer with PersistenceUnitInfo: name 'persistenceUnit', root URL [file:/var/lib/apache-tomcat-7.0.54/webapps/myoscar_server/WEB-INF/classes/]. The error has been consumed. To see it, set your openjpa.Runtime log level to TRACE. Load-time class transformation will not be available.
      Jul 29, 2014 8:18:23 PM org.apache.catalina.core.StandardContext reload
      INFO: Reloading Context with name [/myoscar_server] is completed
      2014-07-29 20:19:02,188 INFO [Runtime:81] Starting OpenJPA 2.2.2
      2014-07-29 20:19:02,190 INFO [JDBC:81] Using dictionary class "org.apache.openjpa.jdbc.sql.MySQLDictionary" (MySQL 5.5.37-0ubuntu0.12.04.1 ,MySQL-AB JDBC Driver mysql-connector-java-5.1.18 ( Revision: tonci.grgin@oracle.com-20110930151701-jfj14ddfq48ifkfq )).

      Thanks,
      Venkat.

       
      • Ted Leung

        Ted Leung - 2014-07-29

        sorry I'm not the maintainer of those products, you will have to track
        down those maintainers else where.

        On 7/29/14, venkat battula97@users.sf.net wrote:

        Thanks Ted, for clarification.

        I have myOscar_client and myOscar_server aswell in my machine I followed
        below steps for installing OSCAR and MYOSCAR

        I have created sysadmin from root client loging
        and using sysadmin login credentials i created patient details also

        after login with petient details I am not getting clinical component tab for
        booking appointments.
        I added
        INSERT INTO RemoteComponent (id, componentName, componentUri,
        editDate, editorId) VALUES
        (1, 'oclinic_Northern Clinic',
        'http://localhost:8090/oscar_clinic_component/index.jsp?clinic=Northern
        Clinic', '2013-04-17 20:13:30', 5);
        INSERT INTO RemoteComponentText (id, authorText, componentName,
        displayDescriptionText, displayName, locale, termsOfUseText) VALUES
        (1, 'Peter H-C', 'oclinic_Northern Clinic', 'This component allows patients
        to book their own appointments online', 'Haileybury FHT', 'en_US',
        'None.');

        these commands in db also i didn't find can you please give me insight of
        it.

        http://oscarmanual.org/oscar_emr_12/developers/installation/12_1deb

        http://oscarmanual.org/myoscar-phr/developers/installing-myoscar2/myoscar2-install

        http://oscarmanual.org/myoscar-phr/developers/installing-myoscar2

        below are tomcat7 logs after server run and client login

        2014-07-29 20:18:14,999 INFO [ContextStartupListener:48] Server processes
        starting. context=/myoscar_server
        2014-07-29 20:18:15,002 INFO [ConfigXmlUtils:127] Reading config file into
        map : /config.xml
        2014-07-29 20:18:15,010 INFO [VmStat:210] HEADER,Code
        Cache.maxAllowed(bytes),Code Cache.currentUsage(bytes),PS Eden
        Space.maxAllowed(bytes),PS Eden Space.currentUsage(bytes),PS Survivor
        Space.maxAllowed(bytes),PS Survivor Space.currentUsage(bytes),PS Old
        Gen.maxAllowed(bytes),PS Old Gen.currentUsage(bytes),PS Perm
        Gen.maxAllowed(bytes),PS Perm Gen.currentUsage(bytes),PS
        Scavenge.CollectionTime(ms),PS Scavenge.CollectionCount,PS
        MarkSweep.CollectionTime(ms),PS
        MarkSweep.CollectionCount,PeakThreadCount,ThreadCount(includes
        deamons),DaemonThreadCount,Load Average (last minute)
        2014-07-29 20:18:15,013 INFO [VmStat:205]
        DATA,50331648,6741120,147128320,121863440,96403456,27011032,673906688,185100096,536870912,104742024,1482,47,1143,8,66,52,51,0.97
        2014-07-29 20:18:15,195 INFO [ReportTask:76] Task scheduled.
        2014-07-29 20:18:16,167 INFO [DbMigrator:120] Current schema version: 46
        2014-07-29 20:18:16,170 INFO [DbMigrator:182] Schema is up to date. No
        migration necessary.
        2014-07-29 20:18:16,468 WARN [Runtime:89] An error occurred while
        registering a ClassTransformer with PersistenceUnitInfo: name
        'persistenceUnit', root URL
        [file:/var/lib/apache-tomcat-7.0.54/webapps/myoscar_server/WEB-INF/classes/].
        The error has been consumed. To see it, set your openjpa.Runtime log level
        to TRACE. Load-time class transformation will not be available.
        2014-07-29 20:18:17,824 INFO [PersonSecurityTokenReaperThread:80] Task
        scheduled.
        2014-07-29 20:18:17,828 INFO [MedicalDataLargeBlobThresholdConverter:89]
        desired_medical_data_large_blob_threshold = 1024
        2014-07-29 20:18:17,828 INFO [PerformanceTrackingUtils:47] Performance
        tracking dataRoot directory : performance_tracking_myoscar_server
        2014-07-29 20:18:17,848 INFO [Runtime:81] Starting OpenJPA 2.2.2
        2014-07-29 20:18:17,874 INFO [ContextStartupListener:67] Server processes
        starting completed. context=/myoscar_server
        Jul 29, 2014 8:18:17 PM org.apache.catalina.core.ApplicationContext log
        INFO: Initializing Spring root WebApplicationContext
        2014-07-29 20:18:17,916 INFO [JDBC:81] Using dictionary class
        "org.apache.openjpa.jdbc.sql.MySQLDictionary" (MySQL 5.5.37-0ubuntu0.12.04.1
        ,MySQL-AB JDBC Driver mysql-connector-java-5.1.18 ( Revision:
        tonci.grgin@oracle.com-20110930151701-jfj14ddfq48ifkfq )).
        2014-07-29 20:18:18,469 INFO [MedicalDataLargeBlobThresholdConverter:96]
        current database threshold = 1024
        2014-07-29 20:18:18,532 INFO [DbMigrator:120] Current schema version: 46
        2014-07-29 20:18:18,536 INFO [DbMigrator:182] Schema is up to date. No
        migration necessary.
        2014-07-29 20:18:18,556 WARN [Runtime:89] An error occurred while
        registering a ClassTransformer with PersistenceUnitInfo: name
        'persistenceUnit', root URL
        [file:/var/lib/apache-tomcat-7.0.54/webapps/myoscar_server/WEB-INF/classes/].
        The error has been consumed. To see it, set your openjpa.Runtime log level
        to TRACE. Load-time class transformation will not be available.
        Jul 29, 2014 8:18:23 PM org.apache.catalina.core.StandardContext reload
        INFO: Reloading Context with name [/myoscar_server] is completed
        2014-07-29 20:19:02,188 INFO [Runtime:81] Starting OpenJPA 2.2.2
        2014-07-29 20:19:02,190 INFO [JDBC:81] Using dictionary class
        "org.apache.openjpa.jdbc.sql.MySQLDictionary" (MySQL 5.5.37-0ubuntu0.12.04.1
        ,MySQL-AB JDBC Driver mysql-connector-java-5.1.18 ( Revision:
        tonci.grgin@oracle.com-20110930151701-jfj14ddfq48ifkfq )).

        Thanks,
        Venkat.


        [bugs:#47] in myoscar_server SOAPFaultException: Connection refused

        Status: not-a-bug
        Group: trunk
        Created: Sun Jul 27, 2014 07:42 PM UTC by venkat
        Last Updated: Mon Jul 28, 2014 06:47 PM UTC
        Owner: Ted Leung

        Hi Ted,

        I followed "https://sourceforge.net/p/myoscar/mailman/message/30845624/"

        disscussion in this link reg SOAPFaultException: Connection refused in
        tomcat7 myoscar issue. I followed Surveys fix 6 steps still i am getting
        below error.

        and in patient login i couldnot see clinical_component booking tab below
        Surveys.

        can you please help me to resolve this issue.

        Jul 28, 2014 12:36:21 AM org.apache.catalina.core.StandardContext reload
        INFO: Reloading Context with name [/myoscar_server] is completed
        2014-07-28 00:36:22,357 INFO [Runtime:81] Starting OpenJPA 2.2.2
        2014-07-28 00:36:22,360 INFO [JDBC:81] Using dictionary class
        "org.apache.openjpa.jdbc.sql.MySQLDictionary" (MySQL 5.5.37-0ubuntu0.12.04.1
        ,MySQL-AB JDBC Driver mysql-connector-java-5.1.18 ( Revision:
        tonci.grgin@oracle.com-20110930151701-jfj14ddfq48ifkfq )).
        2014-07-28 00:36:22,936 ERROR [RegistrationThread:86] Unexpected error.
        javax.xml.ws.soap.SOAPFaultException: Connection refused
        at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:156)
        at com.sun.proxy.$Proxy142.login(Unknown Source)
        at
        org.oscarehr.oscar_patient_portal.utils.OscarServerWebServicesManager.initLoginResultTransfer(OscarServerWebServicesManager.java:33)
        at
        org.oscarehr.oscar_patient_portal.utils.OscarServerWebServicesManager.getFacilityWs(OscarServerWebServicesManager.java:123)
        at
        org.oscarehr.oscar_patient_portal.manager.OscarFacilityManager.getDefaultFacility(OscarFacilityManager.java:28)
        at
        org.oscarehr.oscar_patient_portal.utils.RegistrationThread.register(RegistrationThread.java:69)
        at
        org.oscarehr.oscar_patient_portal.utils.RegistrationThread.access$100(RegistrationThread.java:19)
        at
        org.oscarehr.oscar_patient_portal.utils.RegistrationThread$RegistraionTimerTask.run(RegistrationThread.java:35)
        at java.util.TimerThread.mainLoop(Timer.java:555)
        at java.util.TimerThread.run(Timer.java:505)
        Caused by: com.ctc.wstx.exc.WstxIOException: Connection refused
        at com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.java:263)
        at
        org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor.writeParts(AbstractOutDatabindingInterceptor.java:99)
        at
        org.apache.cxf.interceptor.BareOutInterceptor.handleMessage(BareOutInterceptor.java:68)
        at
        org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)
        at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:532)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:464)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:367)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:320)
        at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:89)
        at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:134)
        ... 9 more
        Caused by: java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at
        java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
        at
        java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
        at
        java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
        at java.net.Socket.connect(Socket.java:579)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:378)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:473)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:203)
        at sun.net.www.http.HttpClient.New(HttpClient.java:290)
        at sun.net.www.http.HttpClient.New(HttpClient.java:306)
        at
        sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:995)
        at
        sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:931)
        at
        sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:849)
        at
        sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1090)
        at
        org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleHeadersTrustCaching(HTTPConduit.java:1395)
        at
        org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.onFirstWrite(HTTPConduit.java:1337)
        at
        org.apache.cxf.io.AbstractWrappedOutputStream.write(AbstractWrappedOutputStream.java:42)
        at
        org.apache.cxf.io.AbstractThresholdOutputStream.write(AbstractThresholdOutputStream.java:69)
        at com.ctc.wstx.io.UTF8Writer.flush(UTF8Writer.java:100)
        at com.ctc.wstx.sw.BufferingXmlWriter.flush(BufferingXmlWriter.java:225)
        at com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.java:261)
        ... 18 more

        Thanks ,
        Venkat


        Sent from sourceforge.net because you indicated interest in
        https://sourceforge.net/p/myoscar/bugs/47/

        To unsubscribe from further messages, please visit
        https://sourceforge.net/auth/subscriptions/

        --
        Ted

         

        Related

        Bugs: #47

  • Ted Leung

    Ted Leung - 2014-07-28

    not a bug (at least not in myoscar)

     
  • Ted Leung

    Ted Leung - 2014-07-28
    • status: open --> not-a-bug
     

Log in to post a comment.