Deploy multiple instances of war on Hadoop through Apache Twill - jetty

I've a web app archive (war) file which is deployed on Tomcat. It contains some REST services. To scale, I want to deploy these REST services (either as war or as jar) on Hadoop cluster through Apache Twill. I want to use Jetty instead of Tomcat.
I couldn't find something very helpful. I'm looking for something like a detailed technical guide, or even better, a step-by-step guide.

Related

why _vti_bin/shtml.exe is accessible in default AWS setup

I'm new to AWS and I got a Spring microservice project that serve in AWS. I have Jboss7 running in AWS-EC2 instances and having setup AWS-ELB for load balancing.
I encounter an issue to remove microsoftsharepointteamservices version number in response header from a URL, for example www.domainName.com/_vti_bin/shtml.exe.
However, i have not idea why microsoft share point service come into picture as I do not install any web server or apache httpd in AWS.
Why shtml.exe is accessible in default AWS setup? Or is it the other issue that related to ISS?
Please kindly advice. Thank you so much.
I found the root cause for this issue. This is due to we have setup Liferay CMS system in our AWS. And Microsoft Share Point service team service is bundle together with Liferay by default to support for Content Search module.

Dockerized wso2 APIM

I was exploring the possibility of using Wso2 API Manager in a dockerized cluster and was pointed to this link.
https://github.com/gayangunarathne/Docker-compose/tree/master/wso2-products/WSO2APIM/1.10.
In the docker-compose file I see references to svnrepo service. Could you please point me to instructions on how to configure this? Is this really required for Deployment Synchronizer Configuration?
Also any idea how I can access dockerhub.private.wso2.com ? Also any other examples of the distributed patterns of components of API Manager (like gateway,keymanager,store,publisher) in docker containers that are running in the production environment?
WSO2 will soon have their docker images available publicly.
SVN is only required for dep-sync. For now you can use any svn docker container for that.
We are currently implementing distributed deployment patterns with docker-compose. These will be released once ready..
Hope this helps.
Supun

Is it possible to write libs in clojure and deployed in WSO2 as service to export?

anyone have tried a web service written in Clojure and runing in WSO2 AS ?
WSO2 AS is based on apache tomcat. Therefore I think it should work. I haven't tried the scenario. You can create a war out of your clojure project and deploy it in the WSO2AS.
You can refer to http://www.luminusweb.net/docs/deployment.md#deploying_to_tomcat

Apache Axis2 Webservice in regular shared hosting service

I developed a webservice in java with Axis2, and now I need to put it online.
In order to do it I signed a shared hosting service, but as I am not familiar with this kind o stuff, I don´t really know how to do it.
It´s a regular shared hosting service, is runs on Apache Tomcat, but I only have access to my home folder, public_html this kinda stuff.
Can I run my webservice by deploying it and putting it into public_html?
Do I have to deploy it in some way as to add Axis2 files to it, to make it work?
Any help will be much appreciated,
Lucas
You need to find a way to deploy .war files. In this case you have to use the Axis2 .war distribution and deploy it in your service hosting environment.
Normally you are given public_html folders in the hosting environments created by appche httpd where you can only deploy html pages. You need to clarify this with your service hosting provider.
You can use WSO2 Stratos live[1] for this kind of purposes. This article[2] describes how to deploy the axis2.war in stratos live.
In fact WSO2 application server[3] is specially written to deploy axis2 artifacts. So even without deploying axis2.war you can directly upload your service as well.
[1] https://stratoslive.wso2.com/home/index.html
[2] http://wso2.org/library/knowledge-base/2011/08/run-apache-axis2-webapp-wso2-cloud-0
[3] https://appserver.stratoslive.wso2.com/home/index.html

Web Services with Netbeans

After having done a web service with netbeans and having tested it. What is it that I should upload to the server so I can use it? I have been going around tutorials but none (of the ones I've found) say what to upload. They just finish when you deploy the web service =/.
Right, you'll package it as a WAR file and deploy that to the app server. A WAR file is what you need.
How you deploy depends on your situation and your app server. If you're using Tomcat, you can either put the WAR in the /webapps directory or use the admin console to deploy.
If you're using a hosting service, you'll have to ask them how to do it.