Giter Club home page Giter Club logo

teiid-extensions's Introduction

teiid-extensions

Teiid extensions and utilities

  • database-service, is stateless bean that has JPA entities to log messages to a database
  • database-logging-appender, is logging appender that can invoke the "database-service" bean and pass the log message
  • build, contains the deployment jar file.

To build/install:

$mvn clean install

then unzip the "build/target/build-${version}-dist.zip, on to JBoss EAP installation. Then start JBoss AS server,

To configure:

$cd <jboss-eap-6.x>/bin

make sure property substitution is enabled. Edit bin/jboss-cli.xml and make sure the following property is set to true:

<resolve-parameter-values>false</resolve-parameter-values>

edit "scripts/teiid-logger-ds.properties", add the {db.driver_name}, {db.url}, {db.user} and {db.password} properties. By default these values are set to H2 database configured with JBoss EAP for development purposes.

Also make sure the jdbc driver for the database you are using is correctly installed in the system, then execute

./jboss-cli.sh --file=scripts/teiid-add-database-logger.cli --properties=./scripts/teiid-logger-ds.properties

to install database logger for "COMMAND_LOG" and "AUDIT_LOG" in Teiid.

teiid-extensions's People

Contributors

kylinsoong avatar rareddy avatar shawkins avatar thauser avatar vhalbert avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

teiid-extensions's Issues

Error while compiling - not finding dependent objects

I am getting the following error while compiling using maven clean install. Can you please specify the version that needs to be used, Thanks!

$ /c/DataVirtualization/apache-maven-3.6.3/bin/mvn clean install
[INFO] Scanning for projects...
Downloading from central: https://repo.maven.apache.org/maven2/org/jboss/integration-platform/jboss-integration-platform-parent/6.0.0.CR30/jboss-integration-platform-parent-6.0.0.CR30.pom
Downloaded from central: https://repo.maven.apache.org/maven2/org/jboss/integration-platform/jboss-integration-platform-parent/6.0.0.CR30/jboss-integration-platform-parent-6.0.0.CR30.pom (25 kB at 35 kB/s)
Downloading from jboss-public-repository-group: http://repository.jboss.org/nexus/content/groups/public/org/jboss/jboss-parent/16/jboss-parent-16.pom
Downloaded from jboss-public-repository-group: http://repository.jboss.org/nexus/content/groups/public/org/jboss/jboss-parent/16/jboss-parent-16.pom (32 kB at 27 kB/s)
Downloading from jboss-public-repository-group: http://repository.jboss.org/nexus/content/groups/public/org/jboss/integration-platform/jboss-integration-platform-bom/6.0.0.CR30/jboss-integration-platform-bom-6.0.0.CR30.pom
Downloaded from jboss-public-repository-group: http://repository.jboss.org/nexus/content/groups/public/org/jboss/integration-platform/jboss-integration-platform-bom/6.0.0.CR30/jboss-integration-platform-bom-6.0.0.CR30.pom (109 kB at 196 kB/s)
Downloading from jboss-public-repository-group: http://repository.jboss.org/nexus/content/groups/public/org/jboss/arquillian/selenium/selenium-bom/2.46.0/selenium-bom-2.46.0.pom
Downloaded from jboss-public-repository-group: http://repository.jboss.org/nexus/content/groups/public/org/jboss/arquillian/selenium/selenium-bom/2.46.0/selenium-bom-2.46.0.pom (5.2 kB at 14 kB/s)
Downloading from jboss-public-repository-group: http://repository.jboss.org/nexus/content/groups/public/org/jboss/shrinkwrap/resolver/shrinkwrap-resolver-bom/2.2.0/shrinkwrap-resolver-bom-2.2.0.pom
Downloaded from jboss-public-repository-group: http://repository.jboss.org/nexus/content/groups/public/org/jboss/shrinkwrap/resolver/shrinkwrap-resolver-bom/2.2.0/shrinkwrap-resolver-bom-2.2.0.pom (5.3 kB at 13 kB/s)
Downloading from jboss-public-repository-group: http://repository.jboss.org/nexus/content/groups/public/org/jboss/arquillian/arquillian-bom/1.1.9.Final/arquillian-bom-1.1.9.Final.pom
Downloaded from jboss-public-repository-group: http://repository.jboss.org/nexus/content/groups/public/org/jboss/arquillian/arquillian-bom/1.1.9.Final/arquillian-bom-1.1.9.Final.pom (11 kB at 26 kB/s)
Downloading from jboss-public-repository-group: http://repository.jboss.org/nexus/content/groups/public/org/jboss/shrinkwrap/shrinkwrap-bom/1.2.2/shrinkwrap-bom-1.2.2.pom
Downloaded from jboss-public-repository-group: http://repository.jboss.org/nexus/content/groups/public/org/jboss/shrinkwrap/shrinkwrap-bom/1.2.2/shrinkwrap-bom-1.2.2.pom (4.0 kB at 11 kB/s)
Downloading from jboss-public-repository-group: http://repository.jboss.org/nexus/content/groups/public/org/jboss/shrinkwrap/resolver/shrinkwrap-resolver-bom/2.1.1/shrinkwrap-resolver-bom-2.1.1.pom
Downloaded from jboss-public-repository-group: http://repository.jboss.org/nexus/content/groups/public/org/jboss/shrinkwrap/resolver/shrinkwrap-resolver-bom/2.1.1/shrinkwrap-resolver-bom-2.1.1.pom (4.6 kB at 11 kB/s)
Downloading from jboss-public-repository-group: http://repository.jboss.org/nexus/content/groups/public/org/jboss/shrinkwrap/descriptors/shrinkwrap-descriptors-bom/2.0.0-alpha-7/shrinkwrap-descriptors-bom-2.0.0-alpha-7.pom
Downloaded from jboss-public-repository-group: http://repository.jboss.org/nexus/content/groups/public/org/jboss/shrinkwrap/descriptors/shrinkwrap-descriptors-bom/2.0.0-alpha-7/shrinkwrap-descriptors-bom-2.0.0-alpha-7.pom (5.2 kB at 12 kB/s)
Downloading from jboss-public-repository-group: http://repository.jboss.org/nexus/content/groups/public/org/springframework/spring-framework-bom/3.2.12.RELEASE/spring-framework-bom-3.2.12.RELEASE.pom
Downloaded from jboss-public-repository-group: http://repository.jboss.org/nexus/content/groups/public/org/springframework/spring-framework-bom/3.2.12.RELEASE/spring-framework-bom-3.2.12.RELEASE.pom (4.8 kB at 11 kB/s)
Downloading from jboss-public-repository-group: http://repository.jboss.org/nexus/content/groups/public/org/jboss/teiid/teiid-parent/8.12.11.6_4/teiid-parent-8.12.11.6_4.pom
Downloading from central: https://repo.maven.apache.org/maven2/org/jboss/teiid/teiid-parent/8.12.11.6_4/teiid-parent-8.12.11.6_4.pom
Downloading from jboss-public-repository-group: http://repository.jboss.org/nexus/content/groups/public/org/jboss/bom/eap/jboss-javaee-6.0-with-tools/6.4.4.GA/jboss-javaee-6.0-with-tools-6.4.4.GA.pom
Downloading from central: https://repo.maven.apache.org/maven2/org/jboss/bom/eap/jboss-javaee-6.0-with-tools/6.4.4.GA/jboss-javaee-6.0-with-tools-6.4.4.GA.pom
Downloading from jboss-public-repository-group: http://repository.jboss.org/nexus/content/groups/public/org/jboss/bom/eap/jboss-javaee-6.0-with-hibernate/6.4.4.GA/jboss-javaee-6.0-with-hibernate-6.4.4.GA.pom
Downloading from central: https://repo.maven.apache.org/maven2/org/jboss/bom/eap/jboss-javaee-6.0-with-hibernate/6.4.4.GA/jboss-javaee-6.0-with-hibernate-6.4.4.GA.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Non-resolvable import POM: Could not find artifact org.jboss.teiid:teiid-parent:pom:8.12.11.6_4 in jboss-public-repository-group (http://repository.jboss.org/nexus/content/groups/public/) @ line 92, column 16
[ERROR] Non-resolvable import POM: Could not find artifact org.jboss.bom.eap:jboss-javaee-6.0-with-tools:pom:6.4.4.GA in jboss-public-repository-group (http://repository.jboss.org/nexus/content/groups/public/) @ line 100, column 25
[ERROR] Non-resolvable import POM: Could not find artifact org.jboss.bom.eap:jboss-javaee-6.0-with-hibernate:pom:6.4.4.GA in jboss-public-repository-group (http://repository.jboss.org/nexus/content/groups/public/) @ line 107, column 25
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.jboss.teiid:extensions:1.3.0 (C:\Users\halace\Documents\GitHub\teiid-extensions\pom.xml) has 3 errors
[ERROR] Non-resolvable import POM: Could not find artifact org.jboss.teiid:teiid-parent:pom:8.12.11.6_4 in jboss-public-repository-group (http://repository.jboss.org/nexus/content/groups/public/) @ line 92, column 16 -> [Help 2]
[ERROR] Non-resolvable import POM: Could not find artifact org.jboss.bom.eap:jboss-javaee-6.0-with-tools:pom:6.4.4.GA in jboss-public-repository-group (http://repository.jboss.org/nexus/content/groups/public/) @ line 100, column 25 -> [Help 2]
[ERROR] Non-resolvable import POM: Could not find artifact org.jboss.bom.eap:jboss-javaee-6.0-with-hibernate:pom:6.4.4.GA in jboss-public-repository-group (http://repository.jboss.org/nexus/content/groups/public/) @ line 107, column 25 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

Is the version mentioned in pom.xml correct or need a revision?

<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<version.org.jboss.integration-platform>6.0.0.CR30</version.org.jboss.integration-platform>

<version.jboss.bom>6.4.4.GA</version.jboss.bom>
<version.teiid.project>8.12.11.6_4</version.teiid.project>

<jbossas-module-root>modules/system/layers/dv</jbossas-module-root>

<!-- properties to control placement of artifacts in the kit-->
<db.jarloc>dataVirtualization/logging</db.jarloc>
<cli.scriploc>/cli-scripts</cli.scriploc>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.