Decouple launching scripts form installation

Hi

We have Smart Client and NG Client applications (one is web service) installed on a tomcat server. We are looking for possibilities (scripts/batch files/calls), how these applications could be launched. Our goal is, to decouple the launching scripts from development or installation details like ip, port, technique, context, solution name, form name or arguments.

Currently we think about an additional web server and php files which could be requested and would forward to the specific applications. With this, even a POST request should be possible to invoke.

Instead of

http://<ip>:<port>/<context>/solutions/<solution name>/<form name>?<argument>=<value>

you could call

http://<application nam>.php?arg=<value>

What is your experience?
What are your ideas?
Any suggestions?

Thanks in advance and best regards

Hi Birgit

I’m not shure if I understand you right. For me this sounds like you want to have an URL-Rewrite. If this is the case, look for a Rewrite-Valve.

Tomcat Page: Apache Tomcat 8 (8.0.53) - The rewrite Valve
Example: Apache Tomcat Rewrite Rules Example - Java Code Geeks !stupid popup add.

I have done that once, long time ago for a small java application. It takes some time to dig in, but it works. The question is, does the valve work together with Servoy?

On the other hand you talk about an extra webserver with php. It looks like you want to have an apache webserver (php) working together with an apache tomcat server.
I think then you need an AJP Connector to let the both servers communicate together. I have never done this before, I just read about it. I think this can be very complicated.

The Tomcat Page is: Apache Tomcat 7 Configuration Reference (7.0.109) - The AJP Connector

I know this is not much, but it may helps you a bit.

Greetings Gregory

Hi Gregory

Thank you for your reply! Yes, apache is, what we currently did install.
We’ll have a look at your links and the documentation.

Kind regards