-
1. Re: JCA connector project from template doesn't build
van.halbert Nov 24, 2015 2:46 PM (in response to jjakub)Try the latest archetypes (8.12.0) : https://docs.jboss.org/author/display/teiid812final/Archetype+Template+Translator+Project
Notice, there is a change in the mvn command.
-
2. Re: JCA connector project from template doesn't build
jjakub Nov 25, 2015 11:16 AM (in response to van.halbert)Thx for help.
Now I get
17:09:56,494 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001: Failed to start service jboss.module.service."deployment.connector-myType-0.0.1-SNAPSHOT.rar".main: org.jboss.msc.service.StartException in service jboss.module.service."deployment.connector-myType-0.0.1-SNAPSHOT.rar".main: JBAS018759: Failed to load module: deployment.connector-myType-0.0.1-SNAPSHOT.rar:main
at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:91) [wildfly-server-8.0.0.Final.jar:8.0.0.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) [jboss-msc-1.2.0.Final.jar:1.2.0.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) [jboss-msc-1.2.0.Final.jar:1.2.0.Final]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_65]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_65]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_65]
Caused by: org.jboss.modules.ModuleNotFoundException: org.jboss.teiid.common-core:main
at org.jboss.modules.Module.addPaths(Module.java:1030) [jboss-modules.jar:1.3.0.Final]
at org.jboss.modules.Module.link(Module.java:1386) [jboss-modules.jar:1.3.0.Final]
at org.jboss.modules.Module.relinkIfNecessary(Module.java:1414) [jboss-modules.jar:1.3.0.Final]
at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:242) [jboss-modules.jar:1.3.0.Final]
at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:70) [wildfly-server-8.0.0.Final.jar:8.0.0.Final]
... 5 more
17:09:56,498 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) JBAS014613: Operation ("full-replace-deployment") failed - address: ([]) - failure description: {"JBAS014671: Failed services" => {"jboss.module.service.\"deployment.connector-myType-0.0.1-SNAPSHOT.rar\".main" => "org.jboss.msc.service.StartException in service jboss.module.service.\"deployment.connector-myType-0.0.1-SNAPSHOT.rar\".main: JBAS018759: Failed to load module: deployment.connector-myType-0.0.1-SNAPSHOT.rar:main
Caused by: org.jboss.modules.ModuleNotFoundException: org.jboss.teiid.common-core:main"}}
Should I add this jars (from MANIFEST.MF : Dependencies: org.jboss.teiid.common-core,org.jboss.teiid.api,javax.api) in similar way like eg mysql driver ?
Isn't teeid already in wildfly ?
BR
Jakub
-
3. Re: JCA connector project from template doesn't build
van.halbert Nov 25, 2015 6:52 PM (in response to jjakub)Regarding Wildfly, Teiid 8.13.x is the version that will support wildfly.
As to the MANIFEST.MF, you are right, somewhere that file got left out. So create the MANIFEST.MF file under main/src/rar/META-INF directory and add:
Dependencies: org.jboss.teiid.common-core,org.jboss.teiid.api,javax.api,org.jboss.teiid.translator.{translator-type}
I"ll be pushing an updated version of the archetype to fix that.
-
4. Re: JCA connector project from template doesn't build
jjakub Nov 26, 2015 6:19 AM (in response to van.halbert)- Should I add Teiid specific jars to Wildfly (into modules/system/layers/base) ? (guess yes, but want to assure so as not to start useless battle in case they were already in Wildfly)
- Is Teiid used internally by Wildfly ? (guess no)
- Is Teiid a replacement for IronJacamar ? (guess no)
-
5. Re: JCA connector project from template doesn't build
van.halbert Nov 27, 2015 9:27 AM (in response to jjakub)You will need to use Teiid 8.13.x branch for wildly. I'm not sure about if the archetypes are compatible with wildly, as they are based on EAP 6.4.
as to #2 and #3, you are right, no. IronJacamar is the JCA framework that Teiid integrates with for accessing data sources.
-
6. Re: JCA connector project from template doesn't build
rareddy Nov 29, 2015 4:50 PM (in response to jjakub)1 of 1 people found this helpfulJakab,
WildFly is JEE application server, it does NOT contain Teiid, nor WildFly depends on it.
However, in the next version of Teiid 8.13, we are working towards a platform such that Teiid is deployed inside the WildFly. Look for Alpha version early next week.
IronJacmar is a JCA system inside a JEE server, where it provides access to your Enterprise Information systems (EIS). Where as Teiid is a Data Virtualization system that access data in your EIS or otherwise (files, web services) and provide a combined view. So, if you are trying to integrate data from a system to which Teiid do not already have a translator and resource-adapter (JCA Connector) then you should be using above arch types to generate templates for translator and resource-adapter.
whatever you develop should work inside the WildFly +Teiid with minimal changes, but you need wait for Teiid 8.13.
Ramesh..