Skip to content

Instantly share code, notes, and snippets.

#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGBUS (0x7) at pc=0x00007f8bf59bf3df, pid=10094, tid=0x00007f8bf667e700
#
# JRE version: OpenJDK Runtime Environment (8.0_141-b16) (build 1.8.0_141-b16)
# Java VM: OpenJDK 64-Bit Server VM (25.141-b16 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [libc.so.6+0x14f3df] __memmove_avx_unaligned_erms+0x4f
#
java.lang.NoClassDefFoundError: org/jboss/shrinkwrap/descriptor/impl/jbossmodule13/ModuleDescriptorImpl
at org.wildfly.swarm.tools.ModuleAnalyzer.<init>(ModuleAnalyzer.java:58)
at org.wildfly.swarm.tools.ResolvedDependencies.findModuleXmls(ResolvedDependencies.java:81)
at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:267)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1553)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
kind: List
apiVersion: v1
items:
# Create a proxy service account and ensure it will use the route "proxy"
- apiVersion: v1
kind: ServiceAccount
metadata:
name: proxy
annotations:
serviceaccounts.openshift.io/oauth-redirectreference.primary: '{"kind":"OAuthRedirectReference","apiVersion":"v1","reference":{"kind":"Route","name":"proxy"}}'
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>0.23.0</version>
<configuration>
<registry>registry.hub.docker.com</registry>
<images>
<image>
<name>teiid/komodo:${project.version}</name>
<alias>komodo</alias>
{
"kind": "Template",
"apiVersion": "v1",
"metadata": {
"name": "data-access-service",
"annotations": {
"iconClass": "icon-datavirt",
"description": "Data Access Service, integrate data from multiple disparate data sources.",
"tags": "datavirt,jdv,data,virtualization,integration",
"version": "1.0.0",
Cloning "https://github.com/rareddy/teiid-openshift-demo " ...
Commit: c378c5ace8412d439842e00ea8ed5a5a7254d546 (removing the openshift profile and makeing it the default run)
Author: Ramesh Reddy <rareddy@jboss.org>
Date: Fri Feb 2 19:49:44 2018 -0600
==================================================================
Starting S2I Java Build .....
Maven build detected
Initialising default settings /tmp/artifacts/configuration/settings.xml
Setting MAVEN_OPTS to -XX:+UseParallelGC -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -XX:MaxMetaspaceSize=100m -XX:+ExitOnOutOfMemoryError
Found pom.xml ...
<?xml version="1.0" encoding="UTF-8"?>
<module xmlns="urn:jboss:module:1.3" name="org.apache.commons.lang" slot="3.3.2">
<properties>
<property name="jboss.api" value="private"/>
</properties>
<resources>
<artifact name="${org.apache.commons:commons-lang3}"/>
</resources>
</module>
Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer artifact org.wildfly.swarm:bom-all:pom:2017.12.1 from/to central (https://repo1.maven.org/maven2): repo1.maven.org
at org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed(ArtifactTransportListener.java:43)
at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:355)
at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
at org.eclipse.aether.connector.basic.BasicRepositoryConnector$DirectExecutor.execute(BasicRepositoryConnector.java:581)
at org.eclipse.aether.connector.basic.BasicRepositoryConnector.get(BasicRepositoryConnector.java:249)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:520)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:421)
... 27 more
Caused by: org.apache.maven.wagon.TransferFailed
curl -X POST --header "Content-Type: application/json" --header "Accept: application/json" -d '{storageType: "file", content:"PHZkYiBuYW1lPSJteXNlcnZpY2UiIHZlcnNpb249IjEiPg0KICAgIDxtb2RlbCB2aXNpYmxlPSJ0cnVlIiBuYW1lPSJhY2NvdW50cyI+DQogICAgICAgIDxzb3VyY2UgbmFtZT0iYWNjb3VudHMteHl6IiB0cmFuc2xhdG9yLW5hbWU9InBvc3RncmVzcWwiIGNvbm5lY3Rpb24tam5kaS1uYW1lPSJqYXZhOi9hY2NvdW50c0RTIi8+DQogICAgPC9tb2RlbD4gICAgDQo8L3ZkYj4=", documentType: "xml"}' -H "X-Forwarded-Access-Token: CRy5pNjncYqqQCngkiPuymAH3bz08yoLwcZ7-3Z9eGs" -H "X-Forwarded-User: admin" -H "Content-Type: application/json" http://localhost:8080/vdb-builder/v1/importexport/import
curl -X POST --header "Content-Type: application/json" --header "Accept: application/json" -d '{storageType: "file", content:"PHZkYiBuYW1lPSJteXNlcnZpY2UiIHZlcnNpb249IjEiPg0KICAgIDxtb2RlbCB2aXNpYmxlPSJ0cnVlIiBuYW1lPSJhY2NvdW50cyI+DQogICAgICAgIDxzb3VyY2UgbmFtZT0iYWNjb3VudHMteHl6IiB0cmFuc2xhdG9yLW5hbWU9InBvc3RncmVzcWwiIGNvbm5lY3Rpb24tam5kaS1uYW1lPSJqYXZhOi9hY2NvdW50c0RTIi8+DQogICAgPC9tb2RlbD4gICAgDQo8L3ZkYj4=", documentType: "xml"}' -H "X-Forwarded-Access-Token: CRy5pNjncYqqQCngkiPuymAH3bz08yoLwcZ7-3Z9eGs" -H "X-Forwarded-User: admin" -H "Content-Type: application/json" http://localhost:8080/vdb-builder/v1/importexport/import
"error":"An error occurred while attempting to perform an import to storage of type file: The storage document type \"xml\" is unsupported
-----
org.komodo.spi.KException: The storage document type \"xml\" is unsupported
at org.komodo.relational.workspace.WorkspaceManager.importArtifact(WorkspaceManager.java:990)
at org.komodo.rest.service.KomodoImportExportService.importArtifact(Komo