Hello,
I'm trying to use BaseX on the OpenShift PaaS.
My setup:
First, I have set up an application in Openshift. This application has a Tomcat 7 (JBoss EWS 2.0) cartridge. I deploy Web applications to it by sending the WAR with an SFTP client. I would like to start a BaseX server so that the servlets in this application can use it as clients.
Then, I have successfully created a DIY (Do It Yourself) application by following the instructions outlined here: https://github.com/Quodatum/openshift-basex-quick-start
Now, the BaseX server is running in my DIY gear, and I know it is working because I'm able to log into the gear via SSH, running BaseXClient via the remote console and connecting with the BaseX server.
My question is, how do I connect to this server from my Tomcat application?