Menu

#214 Cannot start TestPanel app on linux (incorrect Run_Test_Panel.sh)

2.2
open
nobody
None
1
2018-07-17
2014-05-30
No

I'm not able to start TestPanel application using Run_Test_Panel.sh bash script.

Steps I've made:

  1. I downloaded test-panel ver 2.2 from here:
    https://sourceforge.net/projects/hl7api/files/hapi-testpanel/
    by clicking this link:
    "Download hapi-dist-2.2-all.tar.bz2 (37.7 MB)"

  2. I unpacked whole content and made example/Run_Test_Panel.sh script executable on linux)

  3. I commented out following lines in Run_Test_Panel.sh

if [ "$1" = "" ]

then echo with HL7Service on port $1

they used incorrect bash syntax preventing script from running

  1. I run Run_Test_Panel.sh
    It failed with following error:

Error: Could not find or load main class ca.uhn.hl7v2.app.TestPanel

This is because last line in script:

java -cp $CP -Dhapi.home=$HAPI_HOME ca.uhn.hl7v2.app.TestPanel $1

references TestPanel java class that is not present in any jar file that are located in lib/ director.

Discussion

  • Han

    Han - 2018-03-26

    I have same problem here, can someone take a look?

     
  • Pablo A

    Pablo A - 2018-07-17

    I have same problem.

     

Log in to post a comment.