Code Monkey home page Code Monkey logo

Comments (8)

dotcompany avatar dotcompany commented on August 15, 2024

also have the same problem with the plugin on linux and mac it works perfectly on windows but it does not show the events at runtime. would arrange to work perfectly in windows it works on linux and mac?

from gradle-vaadin-plugin.

ledbruno avatar ledbruno commented on August 15, 2024

it works fine for me on both. mac and linux. the problem occurs to me only on windows

from gradle-vaadin-plugin.

johndevs avatar johndevs commented on August 15, 2024

Usually you will see that error if the port the server runs on is already occupied.

The plugin will need to use port 8080 to run the server on and port 8000 for the debugger. Could you check that they are not occupied?

You could also try changing the ports by changing vaadin.serverPort and vaadin.debugPort to something else and see if it helps.

from gradle-vaadin-plugin.

ledbruno avatar ledbruno commented on August 15, 2024

It doesn´t seems to be a port error. The server port it´s ok, and i´ve changed the debugger port and nothing happens

:vaadinRun
Application running on http://0.0.0.0:8080 (debugger on 8081)

We dont have an exception (BindException) or some other error logged. It seems that jetty can´t connect to Windows output to print the server logs.

Any idea? As a workaround we are running the gradle project inside eclipse with Tomcat, and the logs are printing OK.

from gradle-vaadin-plugin.

RyanHow avatar RyanHow commented on August 15, 2024

Also have the same issue. Running windows 7 64 bit. No log output on console. Also (maybe related?) pressing enter only sometimes terminates, sometimes I have to kill the task

from gradle-vaadin-plugin.

xunkutech avatar xunkutech commented on August 15, 2024

Same problem under Windows 2008 R2 64bit.

The following Groovy code in fi.jasoft.plugin.ApplicationServer is HIGHLY suspected:

       // Execute server
        appServerProcess = appServerProcess.execute()

        if (project.vaadin.plugin.logToConsole) {
            appServerProcess.consumeProcessOutput(System.out, System.out)
        } else {
            File log = new File(logDir.canonicalPath + '/jetty8-devMode.log')
            appServerProcess.consumeProcessOutputStream(new FileOutputStream(log))
        }

from gradle-vaadin-plugin.

johndevs avatar johndevs commented on August 15, 2024

Hi guys, thanks for pointing out the issues.

@RyanHow Try to set project.vaadin.plugin.logToConsole = true. You should get more output to the console that way.

@xunkutech consumeProcessOutput takes whatever the applicationServer process outputs to System.out or System.err and redirects it to either a file or to System.out depending on if you have set project.vaadin.plugin.logToConsole to true or false. Nothing more suspect there :)

I'll see if I can find a Windows 8 box this weekend and and see if I could fix these issues for the next maintenance release.

from gradle-vaadin-plugin.

johndevs avatar johndevs commented on August 15, 2024

Logging issues should be fixed with the upcoming 0.9 release.

from gradle-vaadin-plugin.

Related Issues (20)

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.