-
Bug
-
Resolution: Done
-
Blocker
-
JDG 7.0.1
-
None
-
CR2
Applying the patch has a problem:
[standalone@127.0.0.1:9990 /] patch apply /Users/mrobson/Downloads/jboss-datagrid-7.0.1.CR2-server-patch.zip WFLYPAT0046: Cannot copy files to temporary directory /Users/mrobson/jboss-as-patch-1: /Users/mrobson/jboss-as-patch-1/jboss-jdg-7.0.1.CP/misc/docs/licenses/licenses-jdg/BSD-3-clause-"New"-or-"Revised"-License.txt. Note that '-Djava.io.tmpdir' switch can be used to set different temporary directory.
Unzipping the patch, you can see there are 2 duplicate files:
jboss-jdg-7.0.1.CP/misc/docs/licenses/licenses-jdg/BSD-3-clause-"New"or"Revised"-License.txt?
and
jboss-jdg-7.0.1.CP/misc/docs/licenses/licenses-jdg/MIT-license.txt
inflating: jboss-jdg-7.0.1.CP/misc/docs/licenses/licenses-jdg/BSD-2-Clause-License.txt inflating: jboss-jdg-7.0.1.CP/misc/docs/licenses/licenses-jdg/BSD-3-Clause-"New"-or-"Revised"-License.txt replace jboss-jdg-7.0.1.CP/misc/docs/licenses/licenses-jdg/BSD-3-clause-"New"-or-"Revised"-License.txt? [y]es, [n]o, [A]ll, [N]one, [r]ename: y inflating: jboss-jdg-7.0.1.CP/misc/docs/licenses/licenses-jdg/BSD-3-clause-"New"-or-"Revised"-License.txt inflating: jboss-jdg-7.0.1.CP/misc/docs/licenses/licenses-jdg/Bouncy-Castle-Licence.txt inflating: jboss-jdg-7.0.1.CP/misc/docs/licenses/licenses-jdg/CDDL-1.1-and-GPL-2-with-Classpath-Exception.txt inflating: jboss-jdg-7.0.1.CP/misc/docs/licenses/licenses-jdg/Common-Development-and-Distribution-License-1.0.txt inflating: jboss-jdg-7.0.1.CP/misc/docs/licenses/licenses-jdg/Common-Development-and-Distribution-License-1.1.txt inflating: jboss-jdg-7.0.1.CP/misc/docs/licenses/licenses-jdg/Common-Public-License-1.0.txt inflating: jboss-jdg-7.0.1.CP/misc/docs/licenses/licenses-jdg/Creative-Commons-Attribution-License-2.5.txt inflating: jboss-jdg-7.0.1.CP/misc/docs/licenses/licenses-jdg/Dual-license-consisting-of-the-CDDL-v1.1-and-GPL-v2.txt inflating: jboss-jdg-7.0.1.CP/misc/docs/licenses/licenses-jdg/Eclipse-Distribution-License,-Version-1.0.txt inflating: jboss-jdg-7.0.1.CP/misc/docs/licenses/licenses-jdg/Eclipse-Public-License-1.0.txt inflating: jboss-jdg-7.0.1.CP/misc/docs/licenses/licenses-jdg/GNU-General-Public-License,-Version-2-with-Classpath-Exception.txt inflating: jboss-jdg-7.0.1.CP/misc/docs/licenses/licenses-jdg/GNU-General-Public-License,-Version-3.txt inflating: jboss-jdg-7.0.1.CP/misc/docs/licenses/licenses-jdg/GNU-General-Public-License-v3.0-only.txt inflating: jboss-jdg-7.0.1.CP/misc/docs/licenses/licenses-jdg/GNU-Lesser-General-Public-License,-Version-2.1.txt inflating: jboss-jdg-7.0.1.CP/misc/docs/licenses/licenses-jdg/GNU-Lesser-General-Public-License,-Version-2.txt inflating: jboss-jdg-7.0.1.CP/misc/docs/licenses/licenses-jdg/GNU-Lesser-General-Public-License,-Version-3.txt inflating: jboss-jdg-7.0.1.CP/misc/docs/licenses/licenses-jdg/H2-License.txt inflating: jboss-jdg-7.0.1.CP/misc/docs/licenses/licenses-jdg/ISC-License.txt inflating: jboss-jdg-7.0.1.CP/misc/docs/licenses/licenses-jdg/Indiana-University-Extreme!-Lab-Software-License,-vesion-1.1.1.txt inflating: jboss-jdg-7.0.1.CP/misc/docs/licenses/licenses-jdg/JDOM-License.txt inflating: jboss-jdg-7.0.1.CP/misc/docs/licenses/licenses-jdg/MIT-License.txt replace jboss-jdg-7.0.1.CP/misc/docs/licenses/licenses-jdg/MIT-license.txt? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
After removing the duplicates, rezipped the patch:
zip -r jboss-datagrid-7.0.1.CR2-server-patch.zip * adding: META-INF/ (stored 0%) adding: README.txt (deflated 31%) adding: jboss-jdg-7.0.1.CP/ (stored 0%) adding: jboss-jdg-7.0.1.CP/misc/ (stored 0%) adding: jboss-jdg-7.0.1.CP/misc/bin/ (stored 0%) adding: jboss-jdg-7.0.1.CP/misc/bin/init.d/ (stored 0%) adding: jboss-jdg-7.0.1.CP/misc/bin/init.d/jboss-datagrid-rhel.sh (deflated 68%) adding: jboss-jdg-7.0.1.CP/misc/bin/init.d/jboss-datagrid.conf (deflated 50%) adding: jboss-jdg-7.0.1.CP/misc/docs/ (stored 0%) adding: jboss-jdg-7.0.1.CP/misc/docs/examples/ (stored 0%) ..
Applying now works:
[standalone@127.0.0.1:9990 /] patch apply /Users/mrobson/Downloads/cp1/jboss-datagrid-7.0.1.CR2-server-patch.zip { "outcome" : "success", "response-headers" : { "operation-requires-restart" : true, "process-state" : "restart-required" } } [standalone@127.0.0.1:9990 /] shutdown --restart=true
11:20:02,420 INFO [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-3) ISPN000128: Infinispan version: Infinispan 'Chakra' 8.3.1.Final-redhat-2