Git Product home page Git Product logo

undertow.js-examples's People

Contributors

stuartwdouglas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

undertow.js-examples's Issues

WildFly 10 CR1 deploy doesn't work

Hi,

i tried to deploy the angular example on WildFly 10 CR1 and i have this error, calling the angular method register():

Members.save($scope.newMember, function(data) {
// mark success on the registration form
$scope.successMessages = [ 'Member Registered' ];
// Update the list of members
$scope.refresh();
// Clear the form
$scope.reset();
}, function(result) {
if ((result.status == 409) || (result.status == 400)) {
$scope.errors = result.data;
} else {
$scope.errorMessages = [ 'Unknown server error' ];
}
$scope.$apply();
});

i have this error on wildfly log:

4:43:21,240 ERROR [io.undertow.request](default task-1) Undertow request failed HttpServerExchange{ POST /wildfly-kitchensink-utjs-angularjs/rest/members request {Accept=[application/json, text/plain, /], X-Requested-With=[XMLHttpRequest], Accept-Language=[it-IT,it;q=0.8,en-US;q=0.6,en;q=0.4,es;q=0.2,fr;q=0.2], Accept-Encoding=[gzip, deflate], Origin=[http://localhost:8080], User-Agent=[Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.85 Safari/537.36], Connection=[keep-alive], Content-Length=[83], Content-Type=[application/json;charset=UTF-8], Referer=[http://localhost:8080/wildfly-kitchensink-utjs-angularjs/], Host=[localhost:8080]} response {X-Powered-By=[Undertow/1], Server=[WildFly/10]}}: java.lang.NoSuchMethodError: io.undertow.util.StringReadChannelListener.(Lorg/xnio/Pool;)V
at io.undertow.js.StringReadHandler$1$1.(StringReadHandler.java:54)
at io.undertow.js.StringReadHandler$1.run(StringReadHandler.java:54)
at io.undertow.util.SameThreadExecutor.execute(SameThreadExecutor.java:35)
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:211)
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:784)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

I used:
WildFly 10 CR1, jdk1.8.0_60.jdk.

it seems that the the StringReadChannelListener constructor method not exists in the version deployed on wildfly.

Best Regards

Fiorenzo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.