I have grouped family of services as a Carbon Application and then deploying the same on WSO2 ESB. If one of those services fails during deployment then none of the other services are deployed on ESB, instead i get an Service laready exists exception upon retry.
It will be of great help if you could help me.
EDIT
I am using WSO2 3.0.1.
Make sure you donot have any traces of CAR file that you uploaded in the following paths.
1) <ESB_HOME>--> tmp--> carbonappuploads
2) <ESB_HOME>--> repository-->deployment-->server-->carbonapps
3) <ESB_HOME>--> carbonapps.
After deleting any traces of carbonapps in the above mentioned apps, Restart the ESB server. Then try to upload CAR file again. Hope this will work.Thanks.
According to your description I guess that you are trying to deploy a Carbon Application aRchive (CAR) file which contains a set of services in WSO2 ESB. First of all I would like to suggest to use WSO2 Application Server [1] to deploy services instead of the ESB.
Regarding the error you get during the deployment I guess you may have defined two services with the same name or you may have already deployed this CAR file before. Hope this will help. If this is not the case please provide more information about your problem so that we could try to identify the problem.
[1] http://docs.wso2.org/display/DVS320/Creating+JAX-WS+and+JAX-RS+Service+Projects
Thanks
Related
Another question regarding design automation.
I am trying to deploy the app to AWS but it seems that the appsettings.json file is not coming throug and the result is that I receive an error saying that the cliendid parameter is null.
Can someone help me through this?
I don't know why appsettings.json didn't made it to your AWS but if you use Forge Design Automation SDK (https://github.com/Autodesk-Forge/forge-api-dotnet-design.automation), there is way how to setup ClientID and ClientSecret using environment variables.
Forge__ClientId=<your client id>
Forge__ClientSecret=<your client secret>
What is the best way to run an API test that was created via the IBM API Connect Test and Monitor ?
I published a test and I would like my CI sever (jenkins or azure devops) to run it?
Many thanks,
Assaf
Great question Assaf. It is currently not possible in the product, however, is on the roadmap and is coming soon.
We will have APIs and Webhooks to help execute tests as part of your CI/CD processes. Meaning, the same tests you generated using the test composer and run in production can be recycled to ensure your deployments are error free.
As well, Jenkins is an industry standard so we will be providing a plugin to help facilitate the API testing processes via GUI. More details to come, will update this space when it does.
Alternatively keep your eye out here: http://ibm.biz/apitest
I'm trying "Click-to-deploy Hadoop on Google Compute Engine" here
Unfortunately this doesn't seems to work : either the process stops almost immediately, or it's like it's frozen.
message displayed is
Deployment may take 3 to 10 minutes to complete, depending on the size of your cluster
Creating deployment
In any case, I can't have any cluster. Tried several zones, Hadoop versions, nothing.
Any thought ?
The problem is occurring because your Cloud project does not have a project id associated with it, but only a project number, which is true for some long-standing Cloud projects.
https://developers.google.com/console/help/new/#projectnumber
You can fix this by going into Developers Console, selecting your project from the project list, selecting Billing & settings from the left-hand navigation, and adding the project id there.
The following URL should take you there directly:
https://console.developers.google.com/project/_/settings
Thanks,
-Matt
A few items to help diagnose the problem:
Go to the Compute Engine instance list and check if there are any instances created for the deployment.
Check if there are any errors raised to the Javascript Console for your browser.
BTW, what browser and version are you using?
Thanks.
No instance deployed (however I can (and had) deployed compute engine VM instances)
I have a 404 in console :
POST https://console.developers.google.com/m/deploy?pid=1090158225078&cmd=custom…ion=europe-west1&app=hadoop&xsrf=R5Ezthkrr1L8xU1STye3sXUiHiA:1414055456964 404 (Not Found)
on Chrome, Windows7
I tried on Firefox too : no 404 in console but same effect : no deployment at all.
The "customdeploy" command should not be returning a 404, so let's check if there's something going on with your Cloud project.
Click to Deploy uses the preview version of Deployment Manager on the backend. Let's check the objects (if any) that Deployment Manager has created for the Hadoop deployment.
To do this, you will need to:
Install the Google Cloud SDK (if you have not already)
Add the preview component
Query for Deployment Manager templates
Query for Deployment Manager deployments
Install the Google Cloud SDK:
Instructions are here: https://cloud.google.com/sdk/
Add the preview component:
gcloud components update preview
Query for Deployment Manager templates
gcloud preview --project=<projectid> deployment-manager templates list
Query for Deployment Manager deployments
gcloud preview --project=<projectid> deployment-manager deployments --region europe-west1 list
One last question. Is this a relatively "new" or "old" Google Cloud project? Sometimes old projects need a feature to be enabled that is automatically enabled on new projects.
Thanks.
The JBoss AS Admin Console has a "configuration" tab for ESBs deployed on the server.
http://docs.jboss.org/jbossas/6/Admin_Console_Guide/en-US/html/Administration_Console_User_Guide-Updating_Resource_Configurations.html
It says that this is available for "resources that support configuration", but it is greyed out for an ESB service that I have written.
How can I make my service support configuration?
Without code changes to the ESB RHQ plugin, that's not really possible. The jbossesb RHQ plugin controls what's displayed there and there's nothing in your service configuration to allow run-time configuration through the admin-console.
If you're interested in changing that, you'd have to change the following files :
http://anonsvn.jboss.org/repos/labs/labs/jbossesb/trunk/product/tools/jonplugin/src/main/java/org/jbosson/plugins/jbossesb/ServiceComponent.java
http://anonsvn.jboss.org/repos/labs/labs/jbossesb/trunk/product/tools/jonplugin/as5/src/main/resources/META-INF/rhq-plugin.xml
Or submit a JIRA with a request of what service properties that you'd like to see configurable at runtime under JBoss ESB in the JBoss JIRA issue tracker :
https://issues.jboss.org/
Is there any way update Jira ticket using scripts?
Basically I will have a build from hudson/jenkins and if I get the Jira ID in all changes then corresponding ID should be updated to release version in Jira? Can any one help me? I am bit new to Jira admin.
It's a bit difficult to understand the question but there is a Jira plugin for jenkins that does what I think you're asking:
Here is a link to the Jenkins JIRA plugin, you'll need to make sure the web service API for JIRA is enabled in the JIRA admin interface.
JIRA has a SOAP (and in some version REST) web service that would allow you to make an HTTP request to JIRA to make changes to a ticket. If the Jenkins plugin that Mike K suggested does not work for you, then you can look at writing a script that would make the request that you need.