-
15. Re: exception while processing vdb request
rareddy Aug 10, 2017 5:33 PM (in response to arli1215)I see no mention of your resource adapter in the log file at all, that makes me believe that you are not starting your application using
standalone.sh -c standalone-teiid.xml
But at the same time, whatever the profile you started with, does have the Teiid subsystem in it, thus you were able to deploy the VDB etc. Check that. If that is not true, then provide your rar file, I will run locally and see if there is anything else is wrong.
-
16. Re: exception while processing vdb request
arli1215 Aug 11, 2017 11:07 AM (in response to rareddy)That's my server. Teiid is present. I actually didn't find any guides to setup jdbc driver, so I tryed to setup like postgres module.
orient-rar-0.1.0.rar - Google Drive - rar that i use in RA.
-
17. Re: exception while processing vdb request
rareddy Aug 11, 2017 11:32 AM (in response to arli1215)If you are saying OrientDB has JDBC driver, then there are plenty of guides on how to configure a data source. For example, see this for Oracle [1]. You want to use resource-adapter (RAR) when there is no JDBC driver and need another custom way to provide a manageable connection in WildFly.
I quickly looked at your RAR file, it does not follow the standard structure that is required by JEE to be a resource-adapter [2]. That is the reason the WildFly server did not load your .rar file. If you are building a resource-adapter there are many examples in Teiid such as [3] to follow along.
Using the JDBC driver if OrientDB has one is the easiest way to configure. If not there is some coding required on your part to build a resource-adapter. Luckily Teiid provides all the basic libraries, templates to implement one.
[1] Installing Oracle JDBC-Driver On Wildfly / JBoss : Adam Bien's Weblog
[2] Resource Adapters and Contracts - The Java EE 6 Tutorial
[3] teiid/connectors/file/connector-file at master · teiid/teiid · GitHub
-
18. Re: exception while processing vdb request
arli1215 Aug 11, 2017 12:39 PM (in response to rareddy)I tried to install orientdb jdbc driver as module at first, but i failed.Module was failing to load at startup without any informative error logs.
So i occasionally found resource adapter installation guide and tried this one.
I will try to install jdbc driver once more.
-
19. Re: exception while processing vdb request
rareddy Aug 11, 2017 12:45 PM (in response to arli1215)The JDBC driver needs to support JDBC 4 compatible service loading mechanism. See this how to convert it if it already does not support service loading [1]. You can open the JAR and quickly check if there is a "services" directory underneath "META-INF" directory or not. If not follow the directions in below article to make it compatible.