Reputation: 6244
I developed a Java server application (spring+hibernate) that use websockets. When I run the app with jetty-maven-plugin all works fine, but if I try to run my application with jetty-runner, then seems that JSR356 are not enabled.
To load my app I run: java -jar c:\jetty.jar --port 8083 --path gateway gateway
Is supposed JSR356 included into jetty-runner? In the opposite case how I can enable it?
Thanks very much
Upvotes: 1
Views: 341
Reputation: 164
Just to add to what Joakim mentioned, you can use the jetty websockets implementation instead of the JSR-356 one with jetty-runner if JSR-356 support isn't a hard requirement.
I just went through this exercise to get a cometd application running on Heroku so I can confirm that it works.
Upvotes: 0
Reputation: 49462
Nope, JSR-356 is not included in the jetty-runner.
Your choices:
Upvotes: 2