You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Jarek Gawor (JIRA)" <ji...@apache.org> on 2007/10/09 22:39:51 UTC

[jira] Created: (GERONIMO-3523) java.io.IOException: FULL head

java.io.IOException: FULL head
------------------------------

                 Key: GERONIMO-3523
                 URL: https://issues.apache.org/jira/browse/GERONIMO-3523
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: Jetty
    Affects Versions: 2.0.x
            Reporter: Jarek Gawor


On Jetty the testsuite/console-testsuite/advanced tests usually fail with strange errors while the same works fine on Tomcat.

On the server I see the following errors:

16:22:43,046 WARN  [log] handle failed
java.io.IOException: FULL head
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:276)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
        at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
        at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:201)
        at org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(ThreadPool.java:331)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)

The tests fail with different errors e.g. (it changes from run to run):

testNewJMSResource(org.apache.geronimo.testsuite.console.JMSResourcesTest)  Time
 elapsed: 7.86 sec  <<< FAILURE!
com.thoughtworks.selenium.SeleniumException: ERROR: Element //input[@value='Add Destination'] not found
        at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:73)
        at com.thoughtworks.selenium.DefaultSelenium.click(DefaultSelenium.java:82)
        at org.apache.geronimo.testsuite.console.JMSResourcesTest.testNewJMSResource(JMSResourcesTest.java:47)



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-3523) java.io.IOException: FULL head

Posted by "Paul McMahan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-3523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12540542 ] 

Paul McMahan commented on GERONIMO-3523:
----------------------------------------

Using the HTTP session to store render parms didn't work out.  Rev. 592536 sets the header buffer size to 8k for jetty web connectors in G.   The default buffer size had been tuned to 4k in jetty as part of
http://fisheye.codehaus.org/browse/jetty/jetty/tags/jetty-6.1.5/modules/jetty/src/main/java/org/mortbay/jetty/AbstractBuffers.java?r1=1649&r2=1723

> java.io.IOException: FULL head
> ------------------------------
>
>                 Key: GERONIMO-3523
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3523
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Jetty
>    Affects Versions: 2.0.x
>            Reporter: Jarek Gawor
>            Assignee: Paul McMahan
>
> On Jetty the testsuite/console-testsuite/advanced tests usually fail with strange errors while the same works fine on Tomcat.
> On the server I see the following errors:
> 16:22:43,046 WARN  [log] handle failed
> java.io.IOException: FULL head
>         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:276)
>         at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
>         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
>         at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
>         at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:201)
>         at org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(ThreadPool.java:331)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>         at java.lang.Thread.run(Thread.java:595)
> The tests fail with different errors e.g. (it changes from run to run):
> testNewJMSResource(org.apache.geronimo.testsuite.console.JMSResourcesTest)  Time
>  elapsed: 7.86 sec  <<< FAILURE!
> com.thoughtworks.selenium.SeleniumException: ERROR: Element //input[@value='Add Destination'] not found
>         at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:73)
>         at com.thoughtworks.selenium.DefaultSelenium.click(DefaultSelenium.java:82)
>         at org.apache.geronimo.testsuite.console.JMSResourcesTest.testNewJMSResource(JMSResourcesTest.java:47)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-3523) java.io.IOException: FULL head

Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-3523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12547018 ] 

Jarek Gawor commented on GERONIMO-3523:
---------------------------------------

I ported the fixes to branches/2.0 as the same problem occurred in 2.0.2 (revision 599705).


> java.io.IOException: FULL head
> ------------------------------
>
>                 Key: GERONIMO-3523
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3523
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Jetty
>    Affects Versions: 2.0.x
>            Reporter: Jarek Gawor
>            Assignee: Paul McMahan
>             Fix For: 2.1
>
>
> On Jetty the testsuite/console-testsuite/advanced tests usually fail with strange errors while the same works fine on Tomcat.
> On the server I see the following errors:
> 16:22:43,046 WARN  [log] handle failed
> java.io.IOException: FULL head
>         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:276)
>         at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
>         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
>         at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
>         at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:201)
>         at org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(ThreadPool.java:331)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>         at java.lang.Thread.run(Thread.java:595)
> The tests fail with different errors e.g. (it changes from run to run):
> testNewJMSResource(org.apache.geronimo.testsuite.console.JMSResourcesTest)  Time
>  elapsed: 7.86 sec  <<< FAILURE!
> com.thoughtworks.selenium.SeleniumException: ERROR: Element //input[@value='Add Destination'] not found
>         at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:73)
>         at com.thoughtworks.selenium.DefaultSelenium.click(DefaultSelenium.java:82)
>         at org.apache.geronimo.testsuite.console.JMSResourcesTest.testNewJMSResource(JMSResourcesTest.java:47)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (GERONIMO-3523) java.io.IOException: FULL head

Posted by "Paul McMahan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul McMahan reassigned GERONIMO-3523:
--------------------------------------

    Assignee: Paul McMahan

I think this is caused by the pluto actionurl tag creating a URL that contains two slashes '//'.   When the browser posts to a URL like that the servlet engine 302's the request to a normalized URL, but it's a GET request the second time around with all the form inputs appended to the URL.  i.e. the URL can get huge and exceed the servlet engine's internal buffers

> java.io.IOException: FULL head
> ------------------------------
>
>                 Key: GERONIMO-3523
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3523
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Jetty
>    Affects Versions: 2.0.x
>            Reporter: Jarek Gawor
>            Assignee: Paul McMahan
>
> On Jetty the testsuite/console-testsuite/advanced tests usually fail with strange errors while the same works fine on Tomcat.
> On the server I see the following errors:
> 16:22:43,046 WARN  [log] handle failed
> java.io.IOException: FULL head
>         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:276)
>         at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
>         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
>         at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
>         at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:201)
>         at org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(ThreadPool.java:331)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>         at java.lang.Thread.run(Thread.java:595)
> The tests fail with different errors e.g. (it changes from run to run):
> testNewJMSResource(org.apache.geronimo.testsuite.console.JMSResourcesTest)  Time
>  elapsed: 7.86 sec  <<< FAILURE!
> com.thoughtworks.selenium.SeleniumException: ERROR: Element //input[@value='Add Destination'] not found
>         at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:73)
>         at com.thoughtworks.selenium.DefaultSelenium.click(DefaultSelenium.java:82)
>         at org.apache.geronimo.testsuite.console.JMSResourcesTest.testNewJMSResource(JMSResourcesTest.java:47)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (GERONIMO-3523) java.io.IOException: FULL head

Posted by "Paul McMahan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul McMahan resolved GERONIMO-3523.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1

> java.io.IOException: FULL head
> ------------------------------
>
>                 Key: GERONIMO-3523
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3523
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Jetty
>    Affects Versions: 2.0.x
>            Reporter: Jarek Gawor
>            Assignee: Paul McMahan
>             Fix For: 2.1
>
>
> On Jetty the testsuite/console-testsuite/advanced tests usually fail with strange errors while the same works fine on Tomcat.
> On the server I see the following errors:
> 16:22:43,046 WARN  [log] handle failed
> java.io.IOException: FULL head
>         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:276)
>         at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
>         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
>         at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
>         at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:201)
>         at org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(ThreadPool.java:331)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>         at java.lang.Thread.run(Thread.java:595)
> The tests fail with different errors e.g. (it changes from run to run):
> testNewJMSResource(org.apache.geronimo.testsuite.console.JMSResourcesTest)  Time
>  elapsed: 7.86 sec  <<< FAILURE!
> com.thoughtworks.selenium.SeleniumException: ERROR: Element //input[@value='Add Destination'] not found
>         at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:73)
>         at com.thoughtworks.selenium.DefaultSelenium.click(DefaultSelenium.java:82)
>         at org.apache.geronimo.testsuite.console.JMSResourcesTest.testNewJMSResource(JMSResourcesTest.java:47)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-3523) java.io.IOException: FULL head

Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-3523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12539786 ] 

Jarek Gawor commented on GERONIMO-3523:
---------------------------------------

Found this: http://jira.codehaus.org/browse/JETTY-336. We might be able to work around this issue by setting a bigger header buffer size.


> java.io.IOException: FULL head
> ------------------------------
>
>                 Key: GERONIMO-3523
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3523
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Jetty
>    Affects Versions: 2.0.x
>            Reporter: Jarek Gawor
>            Assignee: Paul McMahan
>
> On Jetty the testsuite/console-testsuite/advanced tests usually fail with strange errors while the same works fine on Tomcat.
> On the server I see the following errors:
> 16:22:43,046 WARN  [log] handle failed
> java.io.IOException: FULL head
>         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:276)
>         at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
>         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
>         at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
>         at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:201)
>         at org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(ThreadPool.java:331)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>         at java.lang.Thread.run(Thread.java:595)
> The tests fail with different errors e.g. (it changes from run to run):
> testNewJMSResource(org.apache.geronimo.testsuite.console.JMSResourcesTest)  Time
>  elapsed: 7.86 sec  <<< FAILURE!
> com.thoughtworks.selenium.SeleniumException: ERROR: Element //input[@value='Add Destination'] not found
>         at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:73)
>         at com.thoughtworks.selenium.DefaultSelenium.click(DefaultSelenium.java:82)
>         at org.apache.geronimo.testsuite.console.JMSResourcesTest.testNewJMSResource(JMSResourcesTest.java:47)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-3523) java.io.IOException: FULL head

Posted by "Mike McLean (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-3523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12550678 ] 

Mike McLean commented on GERONIMO-3523:
---------------------------------------

While waiting for version 2.1, what is one to do to create a JMS resource. Are there docs somewhere on how to do it manually, or is there a way to integrate some sort of patch.


> java.io.IOException: FULL head
> ------------------------------
>
>                 Key: GERONIMO-3523
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3523
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Jetty
>    Affects Versions: 2.0.x
>            Reporter: Jarek Gawor
>            Assignee: Paul McMahan
>             Fix For: 2.1
>
>
> On Jetty the testsuite/console-testsuite/advanced tests usually fail with strange errors while the same works fine on Tomcat.
> On the server I see the following errors:
> 16:22:43,046 WARN  [log] handle failed
> java.io.IOException: FULL head
>         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:276)
>         at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
>         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
>         at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
>         at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:201)
>         at org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(ThreadPool.java:331)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>         at java.lang.Thread.run(Thread.java:595)
> The tests fail with different errors e.g. (it changes from run to run):
> testNewJMSResource(org.apache.geronimo.testsuite.console.JMSResourcesTest)  Time
>  elapsed: 7.86 sec  <<< FAILURE!
> com.thoughtworks.selenium.SeleniumException: ERROR: Element //input[@value='Add Destination'] not found
>         at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:73)
>         at com.thoughtworks.selenium.DefaultSelenium.click(DefaultSelenium.java:82)
>         at org.apache.geronimo.testsuite.console.JMSResourcesTest.testNewJMSResource(JMSResourcesTest.java:47)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-3523) java.io.IOException: FULL head

Posted by "Mike McLean (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-3523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12550980 ] 

Mike McLean commented on GERONIMO-3523:
---------------------------------------

The Tomcat option worked great.
Thanks.

> java.io.IOException: FULL head
> ------------------------------
>
>                 Key: GERONIMO-3523
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3523
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Jetty
>    Affects Versions: 2.0.x
>            Reporter: Jarek Gawor
>            Assignee: Paul McMahan
>             Fix For: 2.1
>
>
> On Jetty the testsuite/console-testsuite/advanced tests usually fail with strange errors while the same works fine on Tomcat.
> On the server I see the following errors:
> 16:22:43,046 WARN  [log] handle failed
> java.io.IOException: FULL head
>         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:276)
>         at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
>         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
>         at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
>         at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:201)
>         at org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(ThreadPool.java:331)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>         at java.lang.Thread.run(Thread.java:595)
> The tests fail with different errors e.g. (it changes from run to run):
> testNewJMSResource(org.apache.geronimo.testsuite.console.JMSResourcesTest)  Time
>  elapsed: 7.86 sec  <<< FAILURE!
> com.thoughtworks.selenium.SeleniumException: ERROR: Element //input[@value='Add Destination'] not found
>         at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:73)
>         at com.thoughtworks.selenium.DefaultSelenium.click(DefaultSelenium.java:82)
>         at org.apache.geronimo.testsuite.console.JMSResourcesTest.testNewJMSResource(JMSResourcesTest.java:47)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-3523) java.io.IOException: FULL head

Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-3523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12550851 ] 

Jarek Gawor commented on GERONIMO-3523:
---------------------------------------

Mike,

There is a number of alternatives:

1) Use 2.0.2 Tomcat assembly instead of Jetty. 
2) Download 2.0.3-SNAPSHOT binary from: http://people.apache.org/~prasad/binaries/2.0/20071211/
3) Build 2.0.3-SNAPSHOT from source (branches/2.0)

And make sure not to use IE. It also has some problems with long URLs.


> java.io.IOException: FULL head
> ------------------------------
>
>                 Key: GERONIMO-3523
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3523
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Jetty
>    Affects Versions: 2.0.x
>            Reporter: Jarek Gawor
>            Assignee: Paul McMahan
>             Fix For: 2.1
>
>
> On Jetty the testsuite/console-testsuite/advanced tests usually fail with strange errors while the same works fine on Tomcat.
> On the server I see the following errors:
> 16:22:43,046 WARN  [log] handle failed
> java.io.IOException: FULL head
>         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:276)
>         at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
>         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
>         at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
>         at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:201)
>         at org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(ThreadPool.java:331)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>         at java.lang.Thread.run(Thread.java:595)
> The tests fail with different errors e.g. (it changes from run to run):
> testNewJMSResource(org.apache.geronimo.testsuite.console.JMSResourcesTest)  Time
>  elapsed: 7.86 sec  <<< FAILURE!
> com.thoughtworks.selenium.SeleniumException: ERROR: Element //input[@value='Add Destination'] not found
>         at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:73)
>         at com.thoughtworks.selenium.DefaultSelenium.click(DefaultSelenium.java:82)
>         at org.apache.geronimo.testsuite.console.JMSResourcesTest.testNewJMSResource(JMSResourcesTest.java:47)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-3523) java.io.IOException: FULL head

Posted by "Paul McMahan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-3523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12539689 ] 

Paul McMahan commented on GERONIMO-3523:
----------------------------------------

The two slashes '//' in the URL were a red herring.  The problem is that when the console portlets process an action they persist their state in render parameters.   When the action has completed pluto creates a URL that contains all of the render parameters and redirects the browser to it using response.sendredirect.   The subsequent request header from the browser can get pretty big and overflow jetty's buffer.

> java.io.IOException: FULL head
> ------------------------------
>
>                 Key: GERONIMO-3523
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3523
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Jetty
>    Affects Versions: 2.0.x
>            Reporter: Jarek Gawor
>            Assignee: Paul McMahan
>
> On Jetty the testsuite/console-testsuite/advanced tests usually fail with strange errors while the same works fine on Tomcat.
> On the server I see the following errors:
> 16:22:43,046 WARN  [log] handle failed
> java.io.IOException: FULL head
>         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:276)
>         at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
>         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
>         at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
>         at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:201)
>         at org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(ThreadPool.java:331)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>         at java.lang.Thread.run(Thread.java:595)
> The tests fail with different errors e.g. (it changes from run to run):
> testNewJMSResource(org.apache.geronimo.testsuite.console.JMSResourcesTest)  Time
>  elapsed: 7.86 sec  <<< FAILURE!
> com.thoughtworks.selenium.SeleniumException: ERROR: Element //input[@value='Add Destination'] not found
>         at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:73)
>         at com.thoughtworks.selenium.DefaultSelenium.click(DefaultSelenium.java:82)
>         at org.apache.geronimo.testsuite.console.JMSResourcesTest.testNewJMSResource(JMSResourcesTest.java:47)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.