the service doesn't start outside of docker #1785
Replies: 6 comments
-
To run any VRO component outside of Docker, you'll need to configure your environment so that the component can communicate with containers inside of Docker. Luke documented some steps for running vro-app in IntelliJ. For the
In a new console, run:
As a result, you should see the following appended to the
|
Beta Was this translation helpful? Give feedback.
-
I am able to replicate @yoomlam steps, with the addition of running |
Beta Was this translation helpful? Give feedback.
-
So for @yoomlam the gradle build also hangs at 90%. But the service seems to work. It responds to messages sent to it. That's all I really care about for now. But this is ugly that the build doesn't confirm success. That means that the service, while appears ok, is in unknown state. This can lead to maintainability nightmare where somebody spends long time looking for bug in his code while the bad behavior is due to the incorrect initialization. Have you tried running it with --debug flag. The output is interesting, |
Beta Was this translation helpful? Give feedback.
-
I'm interpreting this to mean that this particular issue can be closed as resolved. Is that correct?
Does this suggest that a new ticket needs to be created with the goal of having the build confirm success? |
Beta Was this translation helpful? Give feedback.
-
That was a misinterpretation of the Gradle output. It's not hanging and is working as expected.
No. Again, it was a misinterpretation of the Gradle output and unfamiliarity with the |
Beta Was this translation helpful? Give feedback.
-
I took the liberty to convert the issue to discussion. Which it was intended to be to begin with. I hope it's ok. The resolution was following: @yoomlam was right -- I was just confused by gradle output. |
Beta Was this translation helpful? Give feedback.
-
Having started RMQ in docker but not
svc-xample-j
, as shown below, I attempt to start the service usinggradle bootRun
command. The service never completes initialization. It gets stuck at 90% forever."But, Ilya, why is this an issue, why not just run in docker?" Because it's much easier to develop service when it's not isolated by a powerful indirection such as Docker. And it just should run locally, IMHO.
Beta Was this translation helpful? Give feedback.
All reactions