Is possible run message broker as a windows service in wso2? - wso2

I already was able to create API Manager and Enterprise Integrator as service, following this tutorials: https://docs.wso2.com/display/EI611/Installing+as+a+Windows+Service
https://docs.wso2.com/display/AM210/Installing+as+a+Windows+Service
But i can't found a tutorial to show me the way to configure Message Broker to be installed as windows service. Could anyone help me?
Thank you.

I discovered the solution from that. Unfortunately the WSO2 don't have the support to create a message broker as a service yet. Been like that, you can't do that yet, unless you find anothers way out of the original platform to do so.

Its possible to do that through the YAJSW by installing the version of 11.03.
I tried and resolved the same by keeping the ESB and Message Broker as a different services in the windows service.
Just change the name and convention as per the services and maintain the uniqueness which you want to execute as a service.
Also, do the steps as provide by the YAJSW steps to install as a service for both either EI or ESB and Message Broker.
Follow the below link for the steps,
https://docs.wso2.com/display/ESB500/Installing+as+a+Windows+Service#InstallingasaWindowsService-SettinguptheYAJSWwrapperconfigurationfile
Thanks,
Praveen Tallakokula

Related

WSO2 BRS to ESB

newbie on ESB and BRS here.
Below message was displayed in WSO2 download page for BRS:
IMPORTANT NOTICE
The WSO2 Business Rules Server (WSO2 BRS) was created as a mechanism to host standalone business rules services. We no longer believe it is well suited for others to use directly, and as such it will no longer be available for download.
We currently have the ability to execute business rules within WSO2 ESB, and we encourage you to continue to use the WSO2 ESB to create business rules services.
If you are currently using WSO2 BRS as a standalone product please contact us
We will of course support it as needed or help you migrate to the right higher level product.
How can I implement this example I saw on youtube https://www.youtube.com/watch?v=O-D2Hgdrzs8 using WSO2 ESB because BRS is no longer promoted.
I don't know also if I got it right, but my understanding is that the mediators like rule mediator is the best fit solution to implement business rules in ESB now. Am I right?
I hope you can help me how to translate the video tutorial from using BRS to ESB in WSO2, or at least if you know some good sites to read and use as reference, then I am happy to visit them as well.
Thank you in advance.

Application Development Using WSO2 Servers

Can I have source code of any running application/Test case build using (DSS,ESB,IS,AS, etc).
I am able to understand the these servers separately but not able to deliver any project using these servers collectively.
Do not have clue to use all these servers collectively best way and din't get any video, article or samples using all there in one application.
I Have already posted this question in StackOverflow, but din't get any response.
Please help me to achieve the same so that the greatness of WSO2, I can show to some of my colleague and We can go long with WSO2.
You can try the Retail Bankning Sample with WSO2 Developer Studio and bunch of other WSO2 Servers such as WSO2 ESB, WSO2 BPS, WSO2 DSS, WSO2 AS etc [1]. This sample was demonstrated on this webinar as well [2]. Source code for the Webinar is in [3].
[1]. https://docs.wso2.com/display/DVS370/Retail+Banking+Sample
[2]. http://www.youtube.com/watch?v=4hdq1Qq-XSc
[3]. https://svn.wso2.org/repos/wso2/trunk/tools/ide/eclipse/docs/src/main/resources/samples/banking-sample/Webinar/
Hope this helps!

Enabling Web Service Security With OpenAM WSS Agent

I am struggling with setting up the Web service security with OpenAM.
Here is what I have done so far:
I looked up openam documentation but I could nto find anything
significant which points to web service security implementation details.
However I found this link
(http://www.oracle.com/technetwork/java/wss-sdn-1-137232.html) on
OpenSSO oracle website which gives step by step instructions to
secure the web services.
Also I found this post
(http://www.stormacq.com/web-services-security-with-opensso-security-token-service-sts/) which essentially says that there are many issues one might face while
trying to implement WSS in OpenAM.
I followed oracle link (point 2 above) and tried to implement the WSS in OpenAM version 10.0.0:
My questions:
But The WSS Agent I got from OpenAM website is glassfish version. I am not sure if extracting it and including files from it in my service and client will cause any issues if the server is not glassfish. OpenAM website has glassfish version only.
Another problem is that oracle tutorial was probably written in days of OpenSSO 8.0. Not sure if it will work with Open AM 10. I can see some differences in directory structure already.
It will be helpful if anyone can point me to any other available documentation for implementation of WSS in OpenAM.
Is it advisable to use some IDM solution other than OpenAM for WSS security if OpenAM WSS has known issues.
Any help here will be sincerely appreciated. Thanks in Advance.
WSS Agent actually is a JAX-WS filter implementation. It does not rely on GlassFish you can also use it with Tomcat and Metro. However I've not tested it with Apache CXF yet.
Unfortunately there's no real documentation yet. If you face issues you may post it to the OpenAM mailing list.

How to merge wso2 products?

I want to merge WSO2 ESB and Data Services Products to execute both of them
on one server.
Both of them are based on Carbon framework and consists of some OSGi bundles.
Is there a simple way to do this.
Best regards.
--Seyyed Jamal
Yes. You can install the ESB features in the DSS or vise versa. Feature installing way is common for all the WSO2 Carbon Servers (ESB, IS, AS, DSS, BAM .....). Here is a blog post I wrote on installing an AS feature in IS. It is the same procedure for the ESB or DSS, find the required features, install them.

how to publish and discover a java web service

I am new to developing web services using java. I have an academic project where I need to do dynamic service composition. For that I can't directly create a service-client for a particular service because if I do so then that client will call that particular service only. Client need to search various web services and then out of those services select any one at run time and also call that service at run time.
I was able to develop the web service(JAX-WS) using Eclipse(indigo), I also created the client for that web service and every thing is working fine. Now my problem is that while creating the client I am hard coding the client to call that particular web service only(since I am creating the client using the WSDL file of the service). However I actually need to call any one of the searched service, but for that I need to publish the service some where then discover it and then call it.
I tried publishing the service to juddiv3. But on juddiv3 I could only publish the sample service supplied with the juddiv3. When I try to publish service created by me then it is not getting displayed in the group of published services.
Is there any other UDDI server which I could install on my local machine and then publish and discover the service from that. Also I was not able to figure out how to create a client that will modify itself at run time to call any one service out of various searched services.
Kindly provide the necessary steps and code.
Thanks
You can use jUDDI (http://juddi.apache.org/ ).
juddi is based on UDDI v2.0, v 3.0 .
Here, you can publish as well as discover your web service.
For integration, you have to make some application which integrates with jUDDI.
But I think for your academic project, and for your purpose, jUDDI is best suitable! ( :) )
jUDDI has a boat load of examples in the source code trunk. You may want to check them out. It's difficult to guess what the problem is from the little information you've provided. Consider contacting the jUDDI team for further assistance. http://svn.apache.org/repos/asf/juddi/trunk/juddi-examples/. There's also additional document for working with UDDI in the jUDDI user's guide, which is at the jUDDI web site
You cannot directly publish on jUDDI. You need to create publisher entities in jUDDI server also. You'll find Rename4Sales and Rename4Marketing examples in 'Classes' folder in the standalone server's juddi application. Use these XMLs as your basis and create your own entity. You also need to configure the server's login credentials.
I suggest you follow the tutorials on jUDDI blog.