hammock
hammock copied to clipboard
Need a beans.xml to start
Hello, I'm testing hammock solution.
But I'm facing multiple issues. First of them is that, even if starting tutorial say that we only need to add a JaxRS endpoint, CDI is not started (with dist-microprofile).
I have to add an empty beans.xml.
Regards.
@yblazart -- there was an issue with the rest-cxf
module in Hammock 2.0 which is fixed in Hammock 2.0-SNAPSHOT. dist-microprofile
includes rest-cxf
.
I'm using rest-jersey
in the style of the hammock-diy example, and it works well in Hammock 2.0.
2.1-SNAPSHOT you mean ? Yes I just tested.
sometimes work, sometime not, really strange. It's working when I do not see any line about atmosphere in logs. Doing a rebuild in idea then run...
When I see
For Atmosphere Framework Commercial Support, visit
http://www.async-io.org/ or send an email to [email protected]
in logs, rest endpoint not working. When I'm doing mvn clean install, then run, it's ok. If I do a rebuild from idea, then start, atmosphere log and rest endpoint not working
Yes, basically sometimes CXF initializes and other times it doesn't. There's two fixes that went in, one within CXF and one on my side. I'll be upgrading to CXF 3.2.2 which should fix this completely.