Skip to content

Latest commit

 

History

History
35 lines (31 loc) · 2.19 KB

README.md

File metadata and controls

35 lines (31 loc) · 2.19 KB

shapelet-learner-webapp

How to run the programme

  • mvn clean install to compile.
  • Ececute target/bin/webapp > tomcat.8334/out.log to start the server.
  • All the API functionalities can be tested using http://localhost:8334/demo.jsp

API URL patterns

Debugging

  1. Intellij Idea can be used to remote debug this. IDEA_debug _config.png

  2. Then copy the Command line argumemts for running remote JVM.

  3. Open target\bin\webapp and add the copied line before tech.artisanhub.launch.Main \"$@" and put a \ after that.

    Example
     exec "$JAVACMD" $JAVA_OPTS \
     $EXTRA_JVM_ARGUMENTS \
     -classpath "$CLASSPATH" \
     -Dapp.name="webapp" \
     -Dapp.pid="$$" \
     -Dapp.repo="$REPO" \
     -Dbasedir="$BASEDIR" \
     -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8000 \
     tech.artisanhub.launch.Main \
     "$@"
    
  4. Ececute target\bin\webapp to start the server.