OpenJDK 64-Bit Server VM warning: You have loaded library which might have disabled stack guard. The VM will try to fix the stack guard now. It's highly recommended that you fix the library with 'execstack -c ', or link it with '-z noexecstack'.

1 reply

A pattern tar.gz or tgz file should contain the pattern definition, file patterns.json, in the root directory. If the file provided on the import CLI command is a pattern type rather than a pattern, a patterns.json file will not be included in the file.
If the tar.gz or tgz is incorrectly formatted with an additional subdirectory so that patterns.json is not in the root folder, patterns.json will not be found in the expected location.

The messages you show in your console output will be included in the console output for both cases.
The message regarding stack guard is not critical and may be ignored.

Confirm the file passed to the CLI import command does not have an extra sub-folder that would cause the patterns.json to fail to be found in the root directory when the files from zipped content are unpacked.

Resolving the problem To import a pattern type rather than a pattern:
1. run "pure -h -u -p -a " to get into the interactive console.
2. in the console, input deployer.patterntypes.create("")

If the diagnostic steps above do not resolve the issue, collect the documentation suggested in