Created attachment 880675 [details] portal.zip Description of problem: curl -i -H "Content-Type: application/zip" -u root:gtn -X PUT -T examples/portal.zip "http://localhost:8080/rest/private/managed-components/template/portal" Running this command causes BufferOverflowException and portals are not updated: java.nio.BufferOverflowException at java.nio.DirectByteBuffer.put(DirectByteBuffer.java:357) [rt.jar:1.7.0_45] 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] ....
It seems there is an issue in the NIO2 connector for EAP 6.3.0. There is a workaround defined in the JIRA attached, is to change to JIO connector: <subsystem xmlns="urn:jboss:domain:web:1.5" default-virtual-server="default-host" native="false"> <connector name="http" protocol="org.apache.coyote.http11.Http11Protocol" scheme="http" socket-binding="http"/> <virtual-server name="default-host" enable-welcome-root="true"> <alias name="localhost"/> <alias name="example.com"/> </virtual-server> </subsystem>
I successfully did the workaround changing the connector. The exception is no longer present. But anyway running the command curl -i -H "Content-Type: application/zip" -u root:gtn -X PUT -T examples/portal.zip "http://localhost:8080/rest/private/managed-components/template/portal" only the mobile portal is updated. Classic portal stays without any change.
There is a missing attribute in branding classic template. I'm going to send a fix for it. Meanwhile, there is a workaround: In file: jpp-portal-6.2/gatein/extensions/jpp-branding-extension.ear/jpp-branding-extension.war/WEB-INF/conf/portal/portal/classic/portal.xml Add a <properties> ... <entry key="template">classic</entry> </properties> To indicate that "classic" site has been created from "classic" template. Thanks for reporting. Lucas
Verified in JPP 6.2.ER2.
Lucas Ponce <ponce.ballesteros> updated the status of jira GTNPORTAL-3435 to Resolved