How to deploy application in bluemix from eclipse - eclipse

When I try to deploy application to bluemix, I get following error
Error: Host taken error. A different mapped application URL is required before pushing or starting the application.
Though If I download a default application created bluemix, download the same and import in eclipse and then redeploying application works fine. I am sure I must be missing some key steps, wondering if someone can point me to the link that has those details or missing step.

Use the screenshot below to ensure that your mapped URL is correct:

according to the posted error you just set a wrong URL for your app's mapping URL: just check on Eclipse Server view, you should have Bluemix Server item, double click on it to open, it should show your server configuration, go to Applications and Services tab, here you could find you app listed; now double click on it, it should open you app properties, check on Mapper URL property under General configuration tab.
Otherwise could you provide some details more about the configuration used on Bluemix Eclipse plugin?

As per my understanding..
application name is globle. what ever application name using that already used by someone.
try to change Name.
ex:- cocacola.mybluemix.net change to cocacola429.mybluemix.net.
it worked for me.

Related

Web service consumer SOAP version is showing error by default

I am trying to configure a SOAP service using web service consumer, as soon as I click on new configuration in the connector configuration, I see SOAP version column is turning into error and when I hover on it, it is showing some tooling related error and when i check my tooling stats in preferences, it shows in running state.
My studio version is 7.11.1
Please let me know how to resolve this issue.
The information is not complete to identify the root cause. Having said that it is possible that the error is happening when the Web Service Consumer connector is trying to download the WSDL if the access is restricted in some way. For example if the server has whitelisted the IPs of authorized clients, or there is an access restriction in your network, or some other permission issue.
In that case you may resolve the issue if you can download the WSDL locally and add it to the application in the src/main/resources folder, and reference it by the file name (with no path) instead of an URL.

How to open page directly in Ionic 4 from url

I have a project in Ionic 4, when I do ionic serve it runs at localhost:8100/
Now when it loads home page, the URL is localhost:8100/home, if I open contact page the URL becomes localhost:8100/contact.
When I try to copy the above URL and hit, then it says -
Sorry, this page doesn't exist. Please check the URL or go back a page.
What do I need to do to get this working?
Based on your comments this is happening because your server does not support fallback. So when you enter a url manually, the server is trying to find that page, but you only have index.html in your app because of Client side routing.
If the app uses the Angular router, you must configure the server to
return the application's host page (index.html) when asked for a file
that it does not have.
The configuration is specific to your server or cloud platform. You can check Angular deployment for more info.
This regularly should not happen and you can't do anything for this. Try to upgrade your ionic to the latest with nodejs since the error my be from currupted project creation. Then after update create a new project and it should go good.

Cannot Sign In to OpenShift using Eclipse IDE

I am currently learning OpenShift and would like to experiment with a few examples. I have created an OpenShift account (using my github account as a login) and was able to create a new project and deploy an application online. Note that I'm using OpenShift Online (Developer Preview) which I think is OpenShift 3.
Now, I'd like to import that OpenShift project into Eclipse IDE. However, I cannot sign in to connect to the online server.
I tried both the versions 2 and 3 of the OpenShift server unsuccessfully. Attached is a screenshot of the error I'm getting
As shown on the screenshot, I can get a token when clicking the retrieve link (which does take me to the OpenShift site, with a token generated. This shows that eclipse does connect to https//console.preview.openshift.com).
I've also tried authentication with both username and password, leading to the same outcome.
Any help is appreciated.
This error is because you are using the free version. You need to use you console address in 'Server:' that you get after clicking the 'Open Web Console' button that you get after logging in to openshift.
This url should be something like this: "https://console.starter-us-east-1.openshift.com/console/catalog". You may use just "https://console.starter-us-east-1.openshift.com". And then click 'Next', it should work.

Bluemix - Can't select space in boilerplate

[Edited with new info]
I have created some spaces under my organization name in Bluemix successfully, using both Bluemix web interface & CLI.
I was trying to create an app from IoTFoundation Boilerplate by clicking the icon on the catalog. It leads me to the introduction page, and at the right hand side I was asked to select Space, Name, Host domain etc.
My problem is though I have spaces created and shown successfully in the Bluemix web interface, it is NOT POSSIBLE for me to select the space in the boilerplate. [new info: After > 10 minutes of creating the space using CLI, it finally appears in the boilerplate, however, the spaces created using Bluemix web interface doesn't appear even after a day...].
May I know what is the possible cause in this case?
Thanks in advance for any advise.
BRs,
KH
Generally, to fix this kind of issue follow these steps:
logout
close browser
clean the cache and login in Bluemix console
If the issue is still there open a support request directly from your Bluemix console or you can open a new ticket here: https://support.ng.bluemix.net/gethelp/ .

Click once deployment to a ISP hosted Server (ISP is Lunarpages in this case)

I know this has some crossover to Serverfault.com but the advice on meta.stackoverflow was to ask it here (first) as it requires a .NET dev to answer more than likely.
I am having some problems publishing to my website a Click Once App, I am getting an error message saying (something like) IIS not running, I'm not currently at home to give an exact error message, i'll edit later if it is required to answer this question.
My ISP is lunarpages the plan I am on is this one IIS is definitely running as I have BlogEngine.NET running just fine. Anyone know what is required configuration wise (both server and client) to make this work?
The files that the ClickOnce publish create can be run on just about any web environment (include Apache/Linux.) It simply generates an html page along with the application manifest and your application files. Maybe you can deploy to a local folder and upload the files to the server?