Please join your peers on either March 26 (8pm GMT) or March 28 (8am GMT) to watch as user extraordinaire and forum legend @"lindsay.stevens" demonstrates OpenClinica Insight.

See preview and register at https://openclinica.com/insight-webinar

Insight makes it easy to ask questions of ALL of your clinical and operational data and visualize answers via interactive reports and dashboards. The idea is simple, but the results are powerful: ask your questions, choose your visualizations, then return often for updated, interactive results that link you to all of the underlying data.

Web Server/Hosting

Hello,

I am a new user of OpenClinica community edition.  Is there a tutorial available in setting up a server that allows one to access OpenClinica and user created database from any PC with internet access?  

Thank you
Tagged:

Comments

  • GuppiGuppi Posts: 14
    Hello alvin.baetiong,

    Welcome to the community. 
    You can find a lot of useful information about OC installation here: https://docs.openclinica.com/installation
    After installation your tomcat instance should be available locally for other PCs using local IP address (How-to check IP address in Windows: Start - All Programs - Accessories - Command Prompt - 'ipconfig';  Linux: Terminal - 'ifconfig'). Server should be available in the internet using your external IP address (you can check it in the www.whatismyip.com website). Please note that using wifi-routes/switches require IP forwarding setup on the device admin site.
    Good luck!
  • kristiakkristiak Posts: 1,280 ✭✭✭

    .......and also make sure that your fire wall on the server is configured to let external user contact OpenClinica, then you simply type http://XXX.XXX.XXX.XXX:8080/OpenClinica  where XXX represents your IP address.


    Good luck

    Krister

  • Thanks Guppi and kristiak.  I will try this out once I try to figure out another issue.  

    The PC I installed OpenClinica on was running on Windows XP and installation went smoothly.  Another PC I'm trying to install on is running on 64-bit Windows 7.  Whenever I try to verify installation by connecting to http://localhost:8080/OpenClinica, I get Access Error 404 - Cannot open document for OpenClinica.

    I've checked the logs and this part seems to be pointing to the cause of error:

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

    Is this because I'm installing OpenClinica on a PC that is  on the same network as the other one?

    For the 64-bit install I'm running 

    Windows 7
    Java SE 7 update 71 64-bit
    PostgresSQL 9.4 64-bit
    Apache Tomcat 7.0.57

    For the 32-bit install I'm running 

    Windows XP
    Java Java SE 7 update 71 32-bit
    PostgresSQL 8.4 32-bit
    Apache Tomcat 7.0.57

    Thanks again
  • GuppiGuppi Posts: 14
    edited December 2014
    Hello alvin.baetiong,

    I think there two ways:
    1. You can try to stop all 'java' processes using Windows 'Task manager' (Ctrl + Alt + Del -> Task Manager - Processes), but it can stop another java application. If 'Processes' list doesn't contain 'java' process, it can be antivirus (as I know KAV likes use this port sometimes) or something else.
    2. Change tomcat default port from 8080 to 8081 (or 8181 etc). Firstly, you need to open 'server.xml' file (c:/oc/tomcat/conf/server.xml) and find 'Connector port="8080" '. Then, replace old port for the new one (eg. 8181) and save your changes. Restart tomcat and check the URL http://localhost:8181/OpenClinica .

    Is this because I'm installing OpenClinica on a PC that is  on the same network as the other one?

    As I know OC works fine in the lan with more than one instances. 

    I hope it helps. 


  • Hello Guppi,

    Changing port from 8080 worked.  Thanks, you have been a great help.
This discussion has been closed.