We hope you'll join us for our 4/23 webinar on using data tables to apply reference ranges and AE codes in OC4. For more information and to register, visit https://register.gotowebinar.com/register/2882170018956684555

Can't open localhost:8080/openClinica: SEVERE: Failed to initialize end point

From tomcat7-stderr.2020-05-01 I have this message:

SEVERE: Failed to initialize end point associated with ProtocolHandler ["http-bio-8080"]
java.net.BindException: Address already in use :8080

But using TPCView I'can't see any other instance using port 8080.
«1

Comments

  • ColinSuttonColinSutton Posts: 31
    via Email
    If you can’t see ‘any other instance’ that means that OpenClinica is already attached and you are trying to attach it again.
    __
    Colin

    > On 2 May 2020, at 8:32 am, giordano wrote:
    >
    > OpenClinica https://scanmail.trustwave.com/?c=13000&d=gqOs3oZKtVERqeXtRbuDfT41P-SHgEAnFzijQeqkhw&u=https://forums.openclinica.com/
    >
    > [OpenClinica] giordano started a new discussion: Can't open localhost:8080/openClinica: SEVERE: Failed to initialize end point
    >
    > From tomcat7-stderr.2020-05-01 I have this message:
    >
    > SEVERE: Failed to initialize end point associated with ProtocolHandler ["http-bio-8080"]
    > java.net.BindException: Address already in use :8080
    >
    > But using TPCView I'can't see any other instance using port 8080.
    >
    > --
    > To manage your email notifications, please visit: https://scanmail.trustwave.com/?c=13000&d=gqOs3oZKtVERqeXtRbuDfT41P-SHgEAnF2uiRrWsgQ&u=https://www.openclinica.com/forums#/profile/preferences
    >
    > Reply to this email directly or follow the link below to check it out:
    > https://scanmail.trustwave.com/?c=13000&d=gqOs3oZKtVERqeXtRbuDfT41P-SHgEAnF2yhQrb_gA&u=https://forums.openclinica.com/discussion/16664/cant-open-localhost-8080-openclinica-severe-failed-to-initialize-end-point
    >
    > Check it out: https://scanmail.trustwave.com/?c=13000&d=gqOs3oZKtVERqeXtRbuDfT41P-SHgEAnF2yhQrb_gA&u=https://forums.openclinica.com/discussion/16664/cant-open-localhost-8080-openclinica-severe-failed-to-initialize-end-point


    #####################################################################################
    Scanned by the Trustwave Secure Email Gateway - Trustwave's comprehensive email content security solution.
    #####################################################################################

    ________________________________________
    IMPORTANT NOTICE: This e-mail and any attachment to it are intended only to be read or used by the named addressee. It is confidential and may contain legally privileged information. No confidentiality or privilege is waived or lost by any mistaken transmission to you. The CTC is not responsible for any unauthorised alterations to this e-mail or attachment to it. Views expressed in this message are those of the individual sender, and are not necessarily the views of the CTC. If you receive this e-mail in error, please immediately delete it and notify the sender. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient.
    ________________________________________
  • giordanogiordano Posts: 24
    Hi Colin,
    To be more precisly: I can't see no openclinica instance and any other instance using port 8080.
    giordano
  • GerbenRienkGerbenRienk Posts: 838 ✭✭✭
    Hi Giordano,
    Can you try netstat -vatn
    Many thanks,
    Gerben Rienk
  • giordanogiordano Posts: 24
    Hi Gerben,
    In the meantime I tried several restarts of Tomcat and once I got the the following message:

    SEVERE: The web application [/OpenClinica] registered the JDBC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.

    Later I restart again Tomcat and got no "SEVERE" message. I tried netstat -vatn and got:
    TCP 0.0.0.0:8080 0.0.0.0:0 ABHÖREN InHost

    Still, I can't open openclinca. This is very strange since I often installed successfully openclinica.

    Here are the message of the few lines in tomcat7-stderr.2020-05-03.log:

    Information: Initiating Jersey application, version 'Jersey: 1.17.1 02/28/2013 12:47 PM'
    Mai 03, 2020 1:29:35 AM org.apache.coyote.AbstractProtocol start
    Information: Starting ProtocolHandler ["http-bio-8080"]
    Mai 03, 2020 1:29:35 AM org.apache.coyote.AbstractProtocol start
    Information: Starting ProtocolHandler ["ajp-bio-8009"]
    Mai 03, 2020 1:29:35 AM org.apache.catalina.startup.Catalina start
    Information: Server startup in 25301 ms
    Mai 03, 2020 1:32:19 AM org.apache.coyote.http11.AbstractHttp11Processor process
    Information: Error parsing HTTP request header
    Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level.
    Mai 03, 2020 1:32:41 AM org.apache.coyote.http11.AbstractHttp11Processor process
    Information: Error parsing HTTP request header
    Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level
  • giordanogiordano Posts: 24
    I succeed to open OC. I don't know why I succeed.
  • giordanogiordano Posts: 24
    Again, next day it does not work. Maybe I looked at the wrong Error message. The browser shows:

    404 not found: The requested URL /OpenClinica was not found on this server.

    There is already a post with this issue:
    https://forums.openclinica.com/discussion/15947/404-page-not-found-error-message

    But there is no answer which works for me.
  • kkristiansonkkristianson Posts: 24
    "Can't open localhost:8080/openClinica: SEVERE: Failed to initialize end point"

    You must spell it OpenClinica . Not openClinica
  • giordanogiordano Posts: 24
    @kkristianson
    Correct. I meant http://localhost:8080/OpenClinica
    But still I get:
    Schwerwiegend: Failed to initialize end point associated with ProtocolHandler ["http-bio-8080"]
    java.net.BindException: Address already in use: JVM_Bind :8080
  • kkristiansonkkristianson Posts: 24
    There are twp potential issues: 1) When you installed JAVA did you make sure there were no old JAVA in your system? 2) Have you configured Tomcat correctly?
    I would delete all traces of JAVA and Tomcat and reinstall everything.
    What OS are you using?
    Good luck

    Krister
  • giordanogiordano Posts: 24
    @kkristianson Thanks for helping. I had an old Java und Tomcat respectively newer versions. Since it didn't worked I deinstalled Java and Tomcat and installed the version indicated in the manual (https://github.com/OpenClinica/OpenClinica/wiki/Install-OpenClinica-v3.6-and-higher-on-Windows).

    What is strange is that after several stopping and startings of Tomcat once I could access openclinica with localhost:8080/OpenClinica. The next day it was not possible anymore.
Sign In or Register to comment.