This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 178428 - AjaxCometServlet.java broken
Summary: AjaxCometServlet.java broken
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Samples (show other bugs)
Version: 6.x
Hardware: PC Mac OS X
: P2 normal (vote)
Assignee: Petr Jiricka
URL:
Keywords:
: 175397 178422 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-12-10 07:11 UTC by Martin Schovanek
Modified: 2010-03-02 04:17 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
a patch (1.33 KB, patch)
2009-12-10 09:49 UTC, Martin Schovanek
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Schovanek 2009-12-10 07:11:54 UTC
[#200912041009, jdk1.6]

The ServletRequest.setAsyncTimeout() and .addAsyncListener() should be replaced by ServletRequest.getAsyncContext().setTimeout() and .getAsyncContext().addListener() .
Comment 1 Martin Schovanek 2009-12-10 09:49:26 UTC
Created attachment 92389 [details]
a patch
Comment 2 Petr Jiricka 2010-02-02 06:15:55 UTC
Fixed: http://hg.netbeans.org/web-main/rev/9a90cb28cef9
Comment 3 Petr Jiricka 2010-02-02 06:17:14 UTC
*** Bug 178422 has been marked as a duplicate of this bug. ***
Comment 4 Quality Engineering 2010-02-03 21:53:04 UTC
Integrated into 'main-golden', will be available in build *201002040200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/9a90cb28cef9
User: pjiricka@netbeans.org
Log: #178428 - updating the AsyncRequest sample to the latest snapshot from the glassfish-samples repository.
Comment 5 Petr Jiricka 2010-03-01 09:17:43 UTC
*** Bug 175397 has been marked as a duplicate of this bug. ***
Comment 6 Martin Schovanek 2010-03-02 04:17:07 UTC
v.