GRPC is not being enabled in Wildfly 26.1.2.Final #58
Replies: 1 comment
-
Hi @bantunes82, Running Alternatively, you can create a WildFly with the grpc subsystem using galleon.sh on the command line. I just build one like this
Also, I built a WildFly based on 26.1.2.Final
but it doesn't have an io/grpc module, so that might not work out without some fiddling around. I copied wildfly-grpc-examples-helloworld-service-0.0.4-SNAPSHOT.jar into the deployments directory and saw
Then I ran
and it worked. Note that the client needs a second argument now to determine what kind of SSL connection to create. I still have to clean up the examples a bit. Does that help? When you say, "I followed this one https://github.com/wildfly-extras/wildfly-grpc-feature-pack/blob/main/docs/guide/index.adoc, but it didn't work.", what part didn't work? |
Beta Was this translation helpful? Give feedback.
-
Hi Guys
Do you know or have any documentation available to configure the GRPC server part in Wildfly version 26.1.2.Final ?
I followed this one https://github.com/wildfly-extras/wildfly-grpc-feature-pack/blob/main/docs/guide/index.adoc, but it didn't work.
I have tried this hello world bellow, but the GRPC port was not enabled in the log and the GRPC service was not registered as well.
It looks like the GPRC submodule is not being enabled, just to let you know we are not using the maven plugin "wildfly-maven-plugin" like you are using in yours helloworld example.
To enable this GRPC subsystem in Wildfly version 26.1.2.Final, do you know if I have to enable the subsystem via pre-commands.cli ?
This is java GRPC service that I added:
These are the topics that I added in the pom.file
dependency part
plugin part
Beta Was this translation helpful? Give feedback.
All reactions