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.
Mount watchdog's unpacked jsp-tests.war explore nodes jsp->core_syntax->actions->forward and start execute all jsp one by one. Use only 'Execute' but not 'Execute (Force Reload). Check access_log file. You will find that every new request generated more than one time. For example I have following log: 127.0.0.1 - - [22/Aug/2002:17:18:09 3000] "GET /jsp/core_syntax/actions/forward/forwardcommon.jsp HTTP/1.1" 200 90 127.0.0.1 - - [22/Aug/2002:17:18:18 3000] "GET /jsp/core_syntax/actions/forward/forwardcommonXML.jsp HTTP/1.1" 200 90 127.0.0.1 - - [22/Aug/2002:17:18:18 3000] "GET /jsp/core_syntax/actions/forward/forwardcommonXML.jsp HTTP/1.1" 200 90 127.0.0.1 - - [22/Aug/2002:17:18:33 3000] "GET /jsp/core_syntax/actions/forward/positiveForwardCtxRelative.jsp HTTP/1.1" 200 95 127.0.0.1 - - [22/Aug/2002:17:18:33 3000] "GET /jsp/core_syntax/actions/forward/positiveForwardCtxRelative.jsp HTTP/1.1" 200 95 127.0.0.1 - - [22/Aug/2002:17:18:33 3000] "GET /jsp/core_syntax/actions/forward/positiveForwardCtxRelative.jsp HTTP/1.1" 200 95 127.0.0.1 - - [22/Aug/2002:17:18:46 3000] "GET /jsp/core_syntax/actions/forward/positiveForwardCtxRelativeHtml.jsp HTTP/1.1" 200 83 127.0.0.1 - - [22/Aug/2002:17:18:46 3000] "GET /jsp/core_syntax/actions/forward/positiveForwardCtxRelativeHtml.jsp HTTP/1.1" 200 83 127.0.0.1 - - [22/Aug/2002:17:18:46 3000] "GET /jsp/core_syntax/actions/forward/positiveForwardCtxRelativeHtml.jsp HTTP/1.1" 200 83 127.0.0.1 - - [22/Aug/2002:17:18:46 3000] "GET /jsp/core_syntax/actions/forward/positiveForwardCtxRelativeHtml.jsp HTTP/1.1" 200 83
probably the internet browser request is called a twice
I don't think so. I've tried all possible browsers and exactly the same result. Every new request generated n+1 'GET'
> probably the internet browser request is called a twice the IDE makes this request; so probably the IDE calls it twice, but it should calls it only once
This looks it could affect performance.
Can you attach the WAR? I can't reproduce it.
Created attachment 8720 [details] Attaching jsp-tests.war
The log actually contains correct output (each request only once), the problem is that in the IDE output window it is displayed multiple times. So each request is only sent once, but the IDE is displaying it wrong - at least on Win2000.
Reassigning to Milan, since he was working on the logs displaying.
The bug was rather serious - it is reproducible on any web module when two or more JSP files are executed. Each execution inside the web module caused that new "scribbler" thread was created. The role of those threads is to copy the text from log files to the output window when log file size is changed. Each thread is related to one particular log file. In our case each JSP execution (inside the same web module) created the new thread (related the same log file) and this caused the duplicity. Thus, two or more threads read the same log file. The bug was fixed. The "thread pool" is checked for log file name before new thead is created.
VERIFIED