Running and accessing BaseX on OpenShift

Sunday, 15 June 2014 · 2 messages · last reply 24 Jun 2014
P
P.C.15 Jun 2014 16:03 #
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?
CG
Christian Grün24 Jun 2014 12:20 #
Hi PC, it seems we have too few Tomcat experts among our subscribers. If you have made some progress, you are invited to report it to the list. Cheers, Christian
Quoted text · P.C. · 21 lines
On Sun, Jun 15, 2014 at 2:02 PM, P.C. <favq1 at yahoo.com> wrote: > 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?

⚡Generated with XQuery