I've been trying to find some detailed info about deploying my ABM App in my 1&1.com vps server, but no luck. I keep getting error related to io.file not found and permission denied issues.
[EDIT] I keep forgetting about SUDO!
So is there a tuto for deploying an ABM app in a vps?
By default the content for B4J webapps (including ABMaterial) are assumed to be located in the 'www' folder of the webserver. The problem with this assumption is that not all hosts follow this convention. Other hosts use 'public_html' as the default folder for public facing content.
If you want to use the default structure and your host does not have 'www' as their root, then make a 'www' folder in the root of public Internet folder and put your site under it. The .JAR goes in the parent to 'www'.
Here's the typical layout for an ABM webapp. Our webapp is named 'siteone'.
Starting with ABMaterial 2.00 you can configure the root path to your site. See this thread for more info.
I am now able to start the server, ut the page is not served.
If I access the page directly, then I have no dynamic behaviour and no connection to the jetty server
I'll dig a bit more...
btw, how would the site address look like ( assuming default port (51042))??
I am now able to start the server, ut the page is not served.
If I access the page directly, then I have no dynamic behaviour and no connection to the jetty server
I'll dig a bit more...
btw, how would the site address look like ( assuming default port (51042))??
That's a good question. We run Apache on our main site so 80 and 443 are already spoken for. However, I believe if there is nothing currently bound to 80 and 443 you could specify those when you start the webapp and could use links without the port.
My VPS uses Centos with Apache an nginx, and I tried disabling/stopping Apache, but nginx seems to give me troubles, So I guess I will Just use a Landing page and simple redirects to my webapp.