How to create a Windows Service to run wso2server.bat - cmd

I am relative new in WSO2 and are having some difficulties to solve some problems. Now I need to create a service, with run the wso2server.bat using wso2. However, when I search for a tutorial in the wso2 documentations I just find that:
https://docs.wso2.com/display/EI600/Installing+as+a+Windows+Service
With teach you to create a windows service starting from wso2 carbon. When I fetch for someone who had passed for the same problem, I wasn't able to found. Would someone explain how to do that?

I was able to solve my problem.
The WSO2 have two tutorials, to each folder. One, from carbon.bat and integrator.bat, is the 'docs.wso2.com/display/EI600/Installing+as+a+Windows+Service‌​'.
Another is: 'docs.wso2.com/display/Carbon420/Installing+as+a+Windows+Ser‌​vice'. With serve for wso2server.bat.
Thank you everyone.

Related

Need to setup ejabberd for API call

I need to get response on this URL:
https://[host IP]:8088/api/admin
I tried so many different configs so you might see extra stuff commented out.
I can easily access the web page, the only issue is, I cannot call admin api from application. No response in this regard.
Here are logs and config
https://pastebin.com/42pSg9yN
This is an AWS instance with Ubunutu 16.04
I have tried following this stackoverflow Answer too and also followed the official DOC too.
How to call ejabberd Administrator API
https://docs.ejabberd.im/developer/ejabberd-api/simple-configuration/
If there is anything you need to get a better understanding, Let me know.
I think that your configuration file have some conflicts.
Plus the REST endpoints for admin is "/api" not "/api/admin".
If you have just installed ejaberred, I'll suggest you to do a clean installation using the official linux installer (not apt-get).
The installer is interactive and will generate most of the configurations for you.
Thanks

JDeveloper 11.1.1.6 weblogic startup issue

I created an simple skeletal web application. I created only a simple blank JSF page. Right click and run. Then I got the following message in the Log console.
The Server Instance cannot be started because the Integrated Weblogic domain was not built successfully.
Can anybody suggest me why I am getting this error?
Your question does not provide detailed information.
The best way would be to go to weblogic domain options from start menu and create a new domain.
Then link that domain in jdeveloper and use the same. Delete the integrated domain i.e. base_domain folder.
There were 2 ways this problem can be fixed:
Try starting and fixing any issues with the Integrated weblogic domain. Till that is not starting successfully, JDeveloper cannot do anything on that. For me one time startup of the current domain outside of the Jdeveloper solved the issue. After that it was working fine from JDeveloper too.
Another option is as stated by vijayinani above to create a new domain and link it. But, beware your integrated base_domain is not having anything which you need to preserve if you plan to delete that.

connect to elasticsearch using eclipse

Hello am a student and keen in learning elasticsearch, I could run and create index in elasticsearch from browser but can you give me detailed step by step guide to connect elasticsearch using eclipse and the code used to connect and create index.
Thanks
I know this isn't the answer you want but the way you have phrased the question, the clear answer is no.
Please review this https://stackoverflow.com/help/how-to-ask
Then edit your question to show what attempt you have made to understand the problem on your own. This is not a site where people do tutorials, sorry.

How can I go about loading Mule ESB onto a AWS EC2?

I need to upload it to EC2 and am unsure how to go about it. I am using Eclipse with the Mule plugin.
Hi there have you try CloudHub?
It's basically Mule in the Cloud
You can simply follow the installation guide from the documentation and that should be it.
Please see:
http://www.mulesoft.org/documentation/display/current/Downloading+and+Installing+Mule+ESB#download-MuleCommunityRuntime
There's a ready made and up to date Docker container that can simplify things for you: https://registry.hub.docker.com/u/vromero/mule/
After starting the container, just drop your Mule application ZIPs into /opt/mule/apps.
There are other notable mount points: make sure to read the user guide to learn more.

Running TurboGears2 in Amazon EC2

I would just like to ask if anybody here has run Turbogears2 from an Amazon EC2 instance. I've been looking for a way to do it, but so far searching the Web hasn't given me anything I could use as an example. I did see one here:
http://codersbuffet.blogspot.com/2010/05/announcing-turbpgears-ec2-images.html
Though I think the person used an earlier version of TG in his post.
I thought it would be as simple as changing the host parameter in the development.ini, but that did not work. I've also tried connecting to the instance with the -L option for ssh, but it did not work as well (I did this approach for web2py way back, and it worked).
I'm wondering if I need to configure some file somewhere in the TG2 application. I've also tried searching the TG2 documentation. Either I'm not using the right keywords, or I'm just not getting the right results.
Thanks in advance for any help!
DM
By itself EC2 doesn't provide a platform, you can freely choose a deploy environment from mod_wsgi, circus, gunicorn or whatever your prefer. It's not strictly a TurboGears problem, it can be deployed like any other WSGI application.
There are some tutorial for a step by step deploy on Apache+mod_wsgi and Circus+chausette on the TurboGears documentation, you can find them here: http://turbogears.readthedocs.org/en/latest/cookbook/deploy/index.html
Avoid deploying on gearbox+wsgiref because it is not meant for production usage, if you want to use gearbox I suggest you give a try to waitress

Resources