Coder Social home page Coder Social logo

Comments (5)

mcicolella avatar mcicolella commented on May 12, 2024

@p3trur0 what do you think?

from freedomotic.

ubaldop avatar ubaldop commented on May 12, 2024

@mcicolella this seems a little abstract scenario. What do you specifically mean with startup problem? The front end part or the engine itself?

One proposal could be to send either an e-mail or to display a basic GUI prompt.

However, we should evaluate how much each of those approaches could be feasible according to the failure scenario (e.g.: if the JVM goes down it'd be difficult to perform any notification from freedomotic itself).

from freedomotic.

mcicolella avatar mcicolella commented on May 12, 2024

@p3trur0
I agree with you. If you start Freedomotic manually from command line you can see any log message about startup problems: environment file not found, network not available, other missing files etc
But an unmanned/headless installation requires a notification system. The same if you start FD by .exe or .sh file: the spash screen disappears and you don't know what happened.

from freedomotic.

mcicolella avatar mcicolella commented on May 12, 2024

Another notification: when the network is not available (e.g. PC not connected to a LAN/WLAN) FD stops with a lot of error messages

ERROR [main] - Failed to start Apache ActiveMQ ([ba0cb4d7-8aa8-4ad6-8241-7264de82a50f, ID:emmecilab-42086-1486394041702-0:2], java.net.SocketException: bad argument for IP_MULTICAST_IF2) INFO [main] - Apache ActiveMQ 5.14.1 (ba0cb4d7-8aa8-4ad6-8241-7264de82a50f, ID:emmecilab-42086-1486394041702-0:2) is shutting down INFO [main] - Network Connector DiscoveryNetworkConnector:NC:BrokerService[ba0cb4d7-8aa8-4ad6-8241-7264de82a50f] stopped ERROR [main] - Failed to advertise our service: freedomotic-commander.ActiveMQ-4.dead.%localhost%tcp://emmecilab:41678 java.io.IOException: Network is unreachable at java.net.PlainDatagramSocketImpl.send(Native Method) at java.net.DatagramSocket.send(DatagramSocket.java:693) at org.apache.activemq.transport.discovery.multicast.MulticastDiscoveryAgent.doAdvertizeSelf(MulticastDiscoveryAgent.java:446)

from freedomotic.

amenak77 avatar amenak77 commented on May 12, 2024

Maybe the nicest way to notify the user about Freedomotic startup failure is an alert icon in the traybar. It is a quite universal GUI element whatever OS you are using. If you can add a baloon with critical last ActiveMQ warnings too, perhaps it would be perfect ;)

from freedomotic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.