[
https://issues.jboss.org/browse/GTNPORTAL-3435?page=com.atlassian.jira.pl...
]
Jean-Frederic Clere commented on GTNPORTAL-3435:
------------------------------------------------
Could you retest with the latest jbossweb,jar?
That look like a jbossweb problem. in the NIO2 connector. The work-around should be to use
the JIO or the APR connector, could you test that too?
Import .zip REST API broken with EAP 6.3.0.Alpha1
-------------------------------------------------
Key: GTNPORTAL-3435
URL:
https://issues.jboss.org/browse/GTNPORTAL-3435
Project: GateIn Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Reporter: Lucas Ponce
Assignee: Lucas Ponce
Attachments: portal_classic_2014-03-28_16-59-29.zip
A curl operation over template/user API:
curl -i -H "Content-Type: application/zip" -u root:gtn -X PUT -T
examples/user.zip
"http://localhost:8080/rest/private/managed-components/template/user"
hangs with:
16:35:16,466 INFO
[org.exoplatform.portal.mop.management.operations.TemplateImportResource]
(http-/127.0.0.1:8080-4) Import successful !
16:35:16,475 ERROR [org.apache.catalina.connector] (http-/127.0.0.1:8080-4) JBWEB001018:
An exception or error occurred in the container during the request processing:
java.nio.BufferOverflowException
at java.nio.DirectByteBuffer.put(DirectByteBuffer.java:357) [rt.jar:1.7.0_25]
at
org.apache.coyote.http11.InternalNioOutputBuffer.commit(InternalNioOutputBuffer.java:666)
[jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
at
org.apache.coyote.http11.Http11NioProcessor.commit(Http11NioProcessor.java:480)
[jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
at
org.apache.coyote.http11.Http11NioProcessor.action(Http11NioProcessor.java:798)
[jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
at org.apache.coyote.Response.action(Response.java:190)
[jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
at org.apache.coyote.Response.sendHeaders(Response.java:390)
[jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:352)
[jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
at org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:318)
[jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
at org.apache.catalina.connector.Response.finishResponse(Response.java:487)
[jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:371)
[jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
at
org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:353)
[jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
at
org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:911)
[jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
at
org.apache.tomcat.util.net.NioEndpoint$ChannelProcessor.run(NioEndpoint.java:920)
[jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_25]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_25]
at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira