Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need a beans.xml to start #123

Open
yblazart opened this issue Jan 30, 2018 · 3 comments
Open

Need a beans.xml to start #123

yblazart opened this issue Jan 30, 2018 · 3 comments

Comments

@yblazart
Copy link

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.

@derekm
Copy link
Contributor

derekm commented Jan 30, 2018

@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.

@yblazart
Copy link
Author

yblazart commented Jan 30, 2018

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

@johnament
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants