Deploying an ADF taskform on Fusion instance - bpel

I am looking for the steps to deploy an ADF task form to Fusion instance. It is not possible to deploy directly from Jdeveloper (we are not allowed to create a Weblogic server connection in Jdev). Please give me the steps to deploy via ear/war file.
The ADF taskform itself is created through the 'Auto-generate task form' option while defining a human task in BPEL.

Follow steps here from section 8.3 onwards. http://docs.oracle.com/cd/E18476_01/doc.220/e18479/deploy.htm
Assuming you have the ear/war and a weblogic server available it is very simple:
Login to admin console
Click the Lock & Edit button
Click on Deployments link
Click Install button
Choose the ear file
Choose target server(s)
Follow the next screens
Go back to the deployments link, check the box next to your new deployment, click Start button

Related

Azure Marketplace currently cannot deploy Sitecore

I am connected to the Azure account on which Sitecore has already been deployed. I removed it.
Now, I try to deploy a clean Sitecore. I have an XML free trial, but as soon as I click on Configure required settings, I have an error.
I choose 'Sitecore Experience Cloud', then I fill the input: Ressource group ( I tried with an existing one and a new one). And I clicked on Configure required settings, then I have the error:
Important Notice:
Marketplace cannot currently deploy to resource groups that contain certain characters in their name, for example underscore, due to Microsoft naming rules for Azure resources.
Marketplace currently cannot deploy Sitecore in the first try of a fresh login session, Please retry on the same login session if there is no Submitting for deployment or Deployment in progress notification message after you started a new deployment.
If I continue to fill all the inputs, the next button is disabled event if I filled all the inputs.
I would like to complete the Sitecore website setup.
When Sitecore Azure fails to deploy
Restart ASP.NET.->Clear the browser cache.-> try with different browser
Investigate the Sitecore logs in the Sitecore Deployment server environment for errors.
Remove the instances from the environment and deploy again.
After deploying, configure the $(dataFolder)\AzurePackages(хх)Azure\SitecoreWebSite subfolder as the document root of an IIS web site, and diagnose that site.
Temporarily set the mode attribute of the /configuration/system.web/customErrors element in the web.config file to Off.
You may also refer to the suggestion mentioned in this article: have you referred to this article https://www.valtech.com/en-in/insights/step-by-step-guide-to-installing-sitecore-9-on-microsoft-azure-marketplace-module/

Bug in DevOps project creation with Python

When i try to create a new DevOps project from Azure portal by clicking Python as my new application, Django as framework and Web App for Containers as service, i cannot click on "additional settings" button while filling in project details. I have tried 2 seperate accounts and all the available browsers but the behaviour is the same.
It is not a bug, the Additional settings work fine on my side, please try again. Besides, I notice your subscription is a free version, may be you could try to use another one.
Update:
As #Ali Maan said, you should create a devops organization first then it will work fine.

Azure web deployment

I get the below error when I try to publish my website from VS2017 to Azure. P.S : I already have an Azure account and url created for my website. Error description:
Web deployment task failed. (Connected to the remote computer
("rdproduct1.scm.azurewebsites.net") using the Web Management Service,
but could not authorize. Make sure that you are using the correct user
name and password, that the site you are connecting to exists, and
that the credentials represent a user who has permissions to access
the site. Learn more at:
http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_USER_UNAUTHORIZED.)
There are 2 areas that have to be setup to allow this to happen.
1). Azure portal - Locate the AppSvc Resource you're trying to deploy to. Under the action selection blade, select deployment credentials. Enter a username & pw. It has to be unique and doesn't need to tie to your email or login 2) Within Visual Studio. Right click on the project to deploy and select publish. When the publish page shows up, in the 'Summary' section to the right of the site URL you will see a hyperlink for "Settings" select it. In the page that comes up now, enter your user name and pw in the areas identified. Select Save. Once back on the previous page now hit the "Publish" button. Assuming your build is successful the app should publish with your "authentication" to the app service in Azure.

Deploy Database Fails for Azure Mobile App

I'm trying to build a webservice/backend for a new mobile app I'm building usuing Xamarin Forms and Azure Services. I've been following this tutorial.
Everything is fine until I get to the section for "Deploy the project to Azure App Service", where I have 2 related issues. I get this same issue with my own DataObjects AND with the standard "ToDoList" application that is given as an example.
When I go to publish the first time, I select "Update database" on the "Settings" tab in the Publish Wizard in order to push my new DataObjects/Schema through to my new database. Then, I hit publish, and I get an error back saying System.Data.SqlClient.SqlException (0x80131904): Cannot attach the file '{LocalFilePath}\App_Data\{databaseName}.mdf' as database '{databaseName}'. I notice that there is NOTHING in the specified "App_Data" folder, is it possible that I need to do something to build the .mdf prior to publishing to the app service?
After this error occurs, and I try to re-publish the database, and the Publish Wizard has 2 differences. First, I no longer have the "Update Database" option, I only have the "Execute Code First Migrations" option on the Settings Tab, and it is grayed out. Second, the Preview tab says "No databases are selected to publish"
I've tried to publish the database through the App Service three different ways, and each of them is giving me the exact same scenario described above, so I think I'm just missing something obvious since I'm new to Azure and Mobile App development.
Create Mobile App Backend + Service + Database through the Azure Portal, and then deploying the "QuickStart" project from the Azure Portal.
Following a tutorial similar to the one above, but that was specifically for publishing the ToDoList database schema that is inserted by default. This was the tutorial I followed
Following the tutorial above but utilizing my own custom DataObjects rather than the ones described in the tutorial.
I've read up on ways to get the "Execute Code First Migrations" to be available, but I haven't found anything that actually allows me to deploy the database yet, as it keeps on saying "No databases are selected to publish", and I can't get the "Update Database" option to show up after that initial failure. Is there anything obvious that I'm missing?
When I go to publish the first time, I select "Update database" on the "Settings" tab in the Publish Wizard in order to push my new DataObjects/Schema through to my new database. Then, I hit publish, and I get an error back saying System.Data.SqlClient.SqlException (0x80131904): Cannot attach the file '{LocalFilePath}\App_Data{databaseName}.mdf' as database '{databaseName}'. I notice that there is NOTHING in the specified "App_Data" folder, is it possible that I need to do something to build the .mdf prior to publishing to the app service?
As official document mentioned about Update database in the Publish Web wizard as follows:
you select the check box labeled Update database in the Publish Web wizard. This check box is shown for SQL Server databases that the application accesses without using an Entity Framework Code First context class.
If your source local db is not created before you deploying your app, you would get the error as follows:
For more details, you could refer to the dbDacFx Web Deploy Provider section in this document.
After this error occurs, and I try to re-publish the database, and the Publish Wizard has 2 differences. First, I no longer have the "Update Database" option, I only have the "Execute Code First Migrations" option on the Settings Tab, and it is grayed out. Second, the Preview tab says "No databases are selected to publish"
Execute Code First Migrations (runs on application start) is shown for databases that the application accesses by using an Entity Framework Code First context class.
When you select this option, the deployment process automatically configures the application Web.config file on the destination server so that Code First uses the MigrateDatabaseToLatestVersion initializer class.
If you run the Enable-Migrations command in Package Manager Console, you could select this check box. For more details, you could refer to the Entity Framework Code First Migrations section in this document.
For a simple way, you could leverage the "QuickStart" project from the Azure Portal to migrate your db via EF code first. When deploying your project, update your local connectionstring with your target db (e.g. Azure db) connectionstring under "Settings > Databases" in the VS publish web wizard as follows:

How to get .publishsettings for Web Deployable Web Role?

I enabled the Web Deploy feature for my Web Role and deployed it.
But how can I get hold of the .publishsettings file so I can create a Publishing Profile for it?
This 2 year old article states that it should have been created automatically, but I haven't got that in my profile manager.
Any ideas?
If you are using Visual Studio 2012 or greater, the server explorer to the left will have several Azure items.
Specifically the Windows Azure Compute is what we are looking for, right click on that and say 'add deployment environment'. You will then be prompted with a dialog that allows you to sign in and download publish settings file:
You can get publishsettings file from the following link: https://windows.azure.com/download/publishprofile.aspx
Well, the problem was really behind the keyboard.
So the publishing profile is actually provisioned correctly and automatically to the Web project as the documentation states.
The problem and confusion was that I have a secondary web application in my Solution that I also publish to the same Web Role (referenced as an additional Site in the ServiceDefinition.csdef file).
That Web Project does not get the Publishing Profile, and when I try to create a profile manually, it doesn't work since that (secondary) IIs instance is not configured for Web Deployment.
Oh well, back to the tedious Cloud Service deployment it is...

Resources