Corda apps not visible on 10004 port - blockchain

I'm working on Corda on Azure Cloud.
I have deployed a Corda blockchain (4 nodes, 1 notary and 1 network manager) in Corda 2.0.
I have tried to follow the tutorial https://docs.corda.net/azure-vm.html.
When I go to http://(public IP address):10004/, I don't see my Cordapps.
I have 2 installed (jar files in /opt/corda/plugins) on each node: corda-finance (already installed by Azure) and yo!app (version M11)
I see :
Installed CorDapps
No installed custom CorDapps.
If I go to http://(public IP address):(port)/web/yo, I have :
Corda O=Organisation 2 (Corda 2.0.0), L=London, C=GB
HTTP ERROR 404
Problem accessing /web/yo. Reason:
Not Found
Powered by Jetty:// 9.4.7.v20170914
Do anyone know why?

I found the problem,
The yo!app version M11 doesn't work for Corda V2. There is nothing in the tutorial saying what to do (I think it is outdated) but I have an updated version of yo!app on https://explore.corda.zone/, you can upload it on your node in the pluging folder with
wget http://ci-artifactory.corda.r3cev.com/artifactory/cordapp-showcase/yo-4.jar
strangely the "corda-finance.jar" file don't seem to work, either the jar file is also outdated or it is not a "real" cordapps and thus , it doesn't appear on the web-service page.
Hope this can be helpful to someone else.

Related

Issue in running corda as Windows service

I am trying to run corda as a Windows service. I followed all the steps in documentation. As per the steps the node configuration and corda.jar is invoked by a NSSM service manager. Nowhere it is mentioned to start the controller node. I assume a controller node should be running as a prerequisite.
In node.conf file
networkMapService {
address="networkmap.foo.bar.com:10002"
legalName="O=FooBar NetworkMap, L=Dublin, C=IE" }
networkMapService is pointing to some address. So should I deploy and run the Cordapp before I run the nssm.bat file ?
However I when I opened the log file I see the below error though I have the certificates in place.
Exception during node startup
java.lang.IllegalArgumentException: Identity certificate not found. Please either copy your existing identity key and certificate from another node,
or if you don't have one yet, fill out the config file and run corda.jar --initial-registration.
I am clueless. Please someone help me understand this process.
There are a few issues with the docs there:
When deploying a node, we are assuming that you are going to provision real certificates to the node. This step is only documented in the Linux instructions (See step 11: 11. Provision the required certificates to your node. Contact the network permissioning service or see Network Permissioning). You can create your own certificates by following the instructions here (https://docs.corda.net/permissioning.html)
We are assuming that there is already a node operating a network map service at the address listed in node.conf
I'll raise a PR to fix these issues.
If you are interested in running nodes across different machines in dev mode instead, see https://docs.corda.net/tutorial-cordapp.html#running-nodes-across-machines.

Installing AD and MSExchange 2016 in AWS EC2

I am trying to install an MSExchange 2016 in an EC2 instance from scratch without success. By from scratch, I mean I start from a new EC2 instance without any AD yet installed.
I am not very familial with Windows Server. I got a lot of problem during the installation. By digging the web, I fixed a lot of them, but I think there is something I miss to succeed in my installation. Any help would be greatly appreciated
Here is the procedure I followed:
I created an EC2 Windows Server 2012RC2 instance
I created a simple Active Directory in AWS.
I provided the AD DNS to my Windows Server (via Network and Sharing Center, properties of Internet Protocol v4)
I joined the server into that AD (Via Control Panel > System and Security > System, change computer workgroup to the domain defined in my AWS Simple AD)
Restart computer
Log into the server as Administrator, with the AD domain
Download Exchange from here
Set-up the active directory, as in this procedure: https://judeperera.wordpress.com/2015/07/24/step-by-step-guide-for-installing-exchange-server-2016-preview/
The Step 4.1. of that procedure indicates to execute the following code
Setup.exe /PrepareSchema /IAcceptExchangeServerLicenseTerms
When I execute it, I get the following error:
I do not understand what I need to do/fix to continue the installation.
Thanks in advance for your help!
The issue you are encountering is that Simple Directory is not an Active Directory product, it is powered by Samba v4. What you need is to setup a Microsoft Active Directory (Enterprise Edition) or Microsoft AD, which is powered by Windows Server 2012 R2. The Simple AD is powered by Samba v4 and is simply Active Directory compatible but does not support the added schema features which are needed by Exchange Server 2016.
The other option is to back away from hosting your own instance of Exchange server and instead take a look at AWS WorkMail. It is an exchange like service which supports active sync with Outlook 2007+ and all current mobile smart devices such as Android and iOS. I currently use this and it took a lot of the headache out of managing my own mail server as the complexities are offloaded to the AWS environment and all you need to do it add mail accounts and group addresses.
Either option should solve your issue.

ColdFusion 10 multi-instance on development install

So I am using ColdFusion 10 on Windows 7 64-bit machine. I have installed CF10 developer edition, now I am trying to create a second instance. I Add the instance in ColdFusion admin, then go into the Number folder and run the webconfig tool and add the site. When I go to services to start this new instance service, it does not start, it gives me an error.
App log:
The description for Event ID 256 from source ColdFusion 10 Application Server perm cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
Can anyone help me get the second instance working, or is this really not allowed in the dev edition?
If I can get this working for ColdFusion 10, I want to get ColdFusion 11 working with 2 instances next.
I was able to work with the adobe install team, and they helped me figure out my web config connectors were messed up, and there was a random cfide folder in the site causing confusion and delay. I am up and running now.

Install WSO2 Stratos 2.0 on single node?

I have setup WSO2 Stratos 2.0 on single node using following documentation http://docs.wso2.org/display/Stratos200/OpenStack I have downloaded wso2s2-openstack-1.0.1, extract zip file, and follow the instructions in the README.txt file.
But I don't understand this step in Readme.txt file:
Open up the security rules in openstack for the following ports which
are from ./con/setup.conf
22, 443, 8280, 4103, 4100, s2_db_port, agent_https_port, agent_http_port, bam_port, elb_port, agent_clustering_port,
sc_cluster_port, elb_cluster_port,
bam_reciever_port, bam_reciever_secured_port, cassandra_port, userstore_db_port, s2_db_port,
in Openstack install section
Can you give me more detail about this step?
Thank you very much! :)
In fact, I want to build a private cloud on my VM.
In my scenario, I use OpenStack (Havana) as IaaS and WSO2 Stratos 2.0 as PaaS. But I can find any document on infrastructure level about deploy Stratos on IaaS.
WSO2 have document on installing Stratos, but indeed I am very confuse how OpenStack and Stratos combine with each other?
Cloud is very new to me and I am learning.
So, could someone give me the right direction to learning or some useful link for me started.
And another question: install Stratos on OpenStack controller or compute node or both?
I appreciate your help.
If you are installing Stratos on a single node, for prototyping or testing purposes, you probably don't need Openstack in the first place. Any (virtual) machine would do.
If you use Openstack, it happens that all the ports in your virtual instances are closed by default. If you need specific ports to be accessible to that server, you must enable them, creating security rules in the corresponding security group where this machine belongs.
If using nova-network, this would open 8280 in the 'default' group, for any address:
nova secgroup-add-rule default tcp 8280 8280 0.0.0.0/0
See instructions at:
http://docs.openstack.org/network-admin/admin/content/enabling_ping_and_ssh.html

VMware Server 2.0 - The VMware Infrastructure Web Service not responding

After installing VMware Server I get the following error when I try to access the VMware web-based server manager:
The VMware Infrastructure Web Service
at "http://localhost:8222/sdk" is not
responding
Go into the services manager and check that the 'VMware Host Agent' service is running. If not, then start it and then try browsing to the site again.
Vmware Hostd was not working for me either.
However, in trying to start the service it stopped automatically. Typically when this happens it is because there is an error in your config.xml.
C:\ProgramData\VMware\VMware Server\hostd\config.xml
In my case, checking the logs at:
C:\ProgramData\VMware\VMware Server
showed it erroring out after "Trying hostsvc".
Searching the config.xml for hostsvc showed references to several things, the first thing was the datastore. In checking my datastores.xml file:
C:\ProgramData\VMware\VMware Server\hostd\datastores.xml .
I found it full of all sorts of random characters instead of a properly formed XML document.
Renaming datastores.xml to datastorex.xml.bad allowed me to start the service. At which point I had to add back my datastores through the GUI.
Hopefully this will help someone else out. I did not find any other references in Google to this issue.
Try accessing via "http://localhost:8222" without the /sdk. You can also try the secure site via "https://localhost:8333".