accessing ofbiz application that is installed on windows server virtually in azure - deployment

I have created windows server VM and installed ofbiz framework with Demo data. The framework is working fine when accessed through VM itself, but I need a way to access it outside (through local browsers).

You need to open ports (8080 and 8443) to access it from outside the azure VM. Here you go on how to do that- https://learn.microsoft.com/en-us/azure/virtual-machines/windows/classic/setup-endpoints?toc=%2Fazure%2Fvirtual-machines%2Fwindows%2Fclassic%2Ftoc.json
You can also use the Apache OFBiz Mailing list for such queries - https://ofbiz.apache.org/mailing-lists.html
HTH!

Related

How to configure IIS inside Windows Container on AKS

I'm using the .NET Framework (I can't use .NET Core) for a solution that needs to stay alive the entire time it's running.
Normally I would configure IIS and keep it active all the time but inside the container I am not able to perform these settings.
Is there a "correct" way to configure IIS?
.NET Framework 4.8
Kubernetes
Windows Container
To manage IIS in a container, most professionals (server administrators) use PowerShell.
If you prefer IIS Manager, then you will have to prepare the container and enable IIS remote management. I have a very basic example in my blog post, https://blog.lextudio.com/remote-management-of-containerized-iis-instances-on-windows-server-core-f6864c74917f

Where do I place the deployment files for asp net core application

I have a self contained asp net core web application and I dont know where in the file system I need to place the files. I will be using the Kestrel web server without a reverse proxy as it will be behind the AWS application load balancer. I will use amazon linux2 AMI
It is OK to place it anywhere as long as the hosting user has sufficient permissions to the folder. Simply create a systemd service configuration and it would work properly.
Consider placing it in /usr/share as where the applications commonly are.

Connect Oracle MAF app to server database

I am using eclipse to develop an oracle MAF application. I set up the environment but i need now to connect my app to the oracle database on the server and i don't know how to start. Do i have to use the local sqlite database then sync with the server or connect directly to the server and how to do it?
thank you!
It's not possible to make a direct database connection MAF. You will have to expose your data in a web service and consume it in your mobile app.
One option you can consider is to expose the data in the database as a REST Service which you can invoke from a MAF application.
See this presentation on how to use OEPE to build a MAF application that invokes REST services: https://www.youtube.com/watch?v=pRdLSOVslQg
Hope this helps. Thanks for your interest in OEPE.
-Raghu
Here is the simple tutorial which describes that how can you make a REST web service in Oracle MAF, deploy it to web logic server using Jdeveloper and access it from your browser. I hope it'll help you:
http://sanjeev-technology.blogspot.in/2014/09/rest-service-on-weblogic-1034.html
Pervasync just released a new version (6.0.2) of its sync framework that supports synchronization of Oracle MAF SQLite databases with central Oracle, MySQL, SQL Server and PostgreSQL databases.
You can try this sample tutorial which having the step by step explanation.
To make it work, you need to use JDeveloper 12c (download it from here). It will contain WebLogic server as well.
In additional you need to have Android SDK for emulator (or) you can make use of Android device to deploy and run the application.
For Android Device:
You can deploy the application into machine and configure the mobile client app using virtual IP of that machine. So that it can be accessed from outside of the network.
For Emulator:
you can run the webservice and client in same machine by configuring the webservice IP as 127.0.0.1 this will route your client app into local machine (P.S: localhost does't works here)

Understanding lightswitch deployment

I wish to deploy a lightswitch application for a small company. I want a central server hosting the database and then the silverlight client to run inside the network connecting to the server and updating the database with clients, etc.
I have made a working system using the intrinsic database in VS2013, but now I come to deploy it and am having problems, despite hours reading MSDN and following tutorials.
I create a deployment package on my development machine, which I then install on the server, but I then need to create a client only package, which points to the server? Does this mean I need to specify the central database as an external data source? Or does this switch happen automatically? Can I publish only the server, and install that on the server machine, (I have already installed the web server package) then publish a separate client package for installing the application on the clients? I need all the clients to update a single database, not all have their own local copies and local databases...
When you "create a client only package" the intrinsic database is running on the client, so nothing point to the server.
A external data source is always external regardless of the app type.
What type of a LightSwitch Application you've selected?
A 2-tier desktop application runs on an end-user Windows desktop. The
database and server components are deployed to the end-user computer.
A 3-tier desktop application runs on an end-user Windows desktop. The
database and server components are deployed to an Internet
Information Services (IIS) server or to Windows Azure.
A 3-tier Web application runs in an end-user web browser. The
database and server components are deployed to an Internet
Information Services (IIS) server or to Windows Azure.

asp.net application calling a web service

I have a web application which calls a third party web service to return data which is then populated to a gridview.
When I run it locally from the visual studio built in IIS, it works fine.
When I publish to our servers and try to repeat the same action, it times out. I have checked all possibilites...if it is running locally, what happens when it gets published to the server machine.
Is it possible that your production machines may have a more strict firewall configuration that is disallowing outbound connections? Or maybe only allowing connections to whitelisted IPs?