eclipse-ee4j / glassfish

Eclipse GlassFish
https://eclipse-ee4j.github.io/glassfish/
385 stars 144 forks source link

[Regression] Build problem on async-request-war sample #10163

Closed glassfishrobot closed 15 years ago

glassfishrobot commented 15 years ago

In glassfishv3/glassfish/samples/javaee6/web/servlet/async-request-war, when executing the "ant compile" target, the following problem is reported and the build fails.

pp-actual-compilation: [echo] Compiling async-request-war [javac] Compiling 1 source file to /Users/ap2257/glassfishv3/glassfish/samples/javaee6/web/servlet/async-request-war/build/classes [javac] /Users/ap2257/glassfishv3/glassfish/samples/javaee6/web/servlet/async-request-war/src/java/web/servlet/async_request_war/AjaxCometServlet.java:118: cannot find symbol [javac] symbol : method setAsyncTimeout(int) [javac] location: interface javax.servlet.http.HttpServletRequest [javac] req.setAsyncTimeout(10 60 1000); [javac] ^ [javac] /Users/ap2257/glassfishv3/glassfish/samples/javaee6/web/servlet/async-request-war/src/java/web/servlet/async_request_war/AjaxCometServlet.java:121: <anonymous web.servlet.async_request_war.AjaxCometServlet$2> is not abstract and does not override abstract method onStartAsync(javax.servlet.AsyncEvent) in javax.servlet.AsyncListener [javac] req.addAsyncListener(new AsyncListener() { [javac] ^ [javac] /Users/ap2257/glassfishv3/glassfish/samples/javaee6/web/servlet/async-request-war/src/java/web/servlet/async_request_war/AjaxCometServlet.java:121: cannot find symbol [javac] symbol : method addAsyncListener(<anonymous javax.servlet.AsyncListener>) [javac] location: interface javax.servlet.http.HttpServletRequest [javac] req.addAsyncListener(new AsyncListener() { [javac] ^ [javac] 3 errors

BUILD FAILED /Users/ap2257/glassfishv3/glassfish/samples/bp-project/command-line-ant-tasks.xml:81: Compile failed; see the compiler error output for details.

This is a regression from build 66. The compilation worked without problems.

Environment

Operating System: All Platform: Macintosh

Affected Versions

[V3]

glassfishrobot commented 6 years ago
glassfishrobot commented 15 years ago

@glassfishrobot Commented msreddy said: requesting Rajiv's help

glassfishrobot commented 15 years ago

@glassfishrobot Commented mode said: This has already been fixed by Jan I think. Please refresh your workspace.

glassfishrobot commented 15 years ago

@glassfishrobot Commented ap2257 said: Verified the sample is working again. The regression problem has been resolved.

glassfishrobot commented 15 years ago

@glassfishrobot Commented Was assigned to mode

glassfishrobot commented 7 years ago

@glassfishrobot Commented This issue was imported from java.net JIRA GLASSFISH-10163

glassfishrobot commented 15 years ago

@glassfishrobot Commented Reported by ap2257

glassfishrobot commented 15 years ago

@glassfishrobot Commented Marked as fixed on Wednesday, October 28th 2009, 2:59:26 am