Hi All,

I have tried to host the NiFi deployed in azure as service

In this analysis I able to test following two ways


#1.Virtual machine creation



In this case , I created a new virtual machine using azure portal and
configure the NiFi and I am able to connect the NiFi web app from my local
machine




#2. Java web app creation



In this case, some following procedures is needed to host the application

1.       Create a new web app in azure

2.       Create a FTP Host

3.       Move the required files to server using “filezilla” application

4.       Create a web job for running NIFI

I have to create a web app using below procedures. But some initial
problem(socket exception (following Exception logs)) occurred while
starting  NiFi through web job

Please share the information to resolve the problem from your side

Exception logs:

[05/31/2016 12:46:43 > 22d821: ERR ] Exception in thread "main"
java.net.SocketException: Address family not supported by protocol family:
JVM_Bind
[05/31/2016 12:46:43 > 22d821: ERR ]     at
java.net.DualStackPlainSocketImpl.bind0(Native Method)
[05/31/2016 12:46:43 > 22d821: ERR ]     at
java.net.DualStackPlainSocketImpl.socketBind(DualStackPlainSocketImpl.java:106)
[05/31/2016 12:46:43 > 22d821: INFO]
[05/31/2016 12:46:43 > 22d821: ERR ]     at
java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376)
[05/31/2016 12:46:43 > 22d821: INFO]
d:\home\site\wwwroot\root\ETL\1.1.0.9\SDK\NIFI>popd
[05/31/2016 12:46:43 > 22d821: ERR ]     at
java.net.PlainSocketImpl.bind(PlainSocketImpl.java:190)
[05/31/2016 12:46:43 > 22d821: ERR ]     at
java.net.ServerSocket.bind(ServerSocket.java:376)
[05/31/2016 12:46:43 > 22d821: ERR ]     at
java.net.ServerSocket.bind(ServerSocket.java:330)
[05/31/2016 12:46:43 > 22d821: ERR ]     at
org.apache.nifi.bootstrap.NiFiListener.start(NiFiListener.java:38)
[05/31/2016 12:46:43 > 22d821: ERR ]     at
org.apache.nifi.bootstrap.RunNiFi.start(RunNiFi.java:948)
[05/31/2016 12:46:43 > 22d821: ERR ]     at
org.apache.nifi.bootstrap.RunNiFi.main(RunNiFi.java:206)
[05/31/2016 12:46:43 > 22d821: SYS INFO] Status changed to Failed
[05/31/2016 12:46:43 > 22d821: SYS ERR ] Job failed due to exit code 1


Regards,
Ravi

Reply via email to