-
1. Re: UnhandledException: java.lang.NoClassDefFoundError:org/teiid/odata/ODataSQLBuilder
shawkins Feb 1, 2018 8:00 AM (in response to sagarika1in)Can you provide more details about the openshift deployment - what image are you using, what version of teiid?
-
2. Re: UnhandledException: java.lang.NoClassDefFoundError:org/teiid/odata/ODataSQLBuilder
sagarika1in Feb 1, 2018 8:22 AM (in response to sagarika1in)Hi Stev,
I am using teiid-8.12.3 and datavirt with extension image from openshift. PostgreSQL is located on RHEL and outside of openshift.
Please let me know incase of any further information required.
-
3. Re: UnhandledException: java.lang.NoClassDefFoundError:org/teiid/odata/ODataSQLBuilder
rareddy Feb 1, 2018 1:25 PM (in response to sagarika1in)Are you using the RedHat supplied templates? Also, is this public OpenShift instance or you testing something locally inside the firewall?
-
4. Re: UnhandledException: java.lang.NoClassDefFoundError:org/teiid/odata/ODataSQLBuilder
sagarika1in Feb 2, 2018 1:17 PM (in response to sagarika1in)Hi Ramesh,
I am using Red Hat JBoss Data Virtualization 6.3 (with SSL and
Extensions).Please find the detailed steps mentioned in
OData_Issue_0201.doc which I followed while deploying VDB on openshift
pod.
Today, we also tried to implement docker approach to deploy VDB as
mentioned in the OData_Issue_0202.doc but it seems, it is not able to find
the VDB in the second approach.
I am uploading both the documents for your reference.
Regards
Sagarika Singh
Tata Consultancy Services
Mailto: sagarika.singh@tcs.com
Website: http://www.tcs.com
-
OData_Issue_0202.docx 87.5 KB
-
OData_Issue_0201.docx 705.5 KB
-
-
5. Re: UnhandledException: java.lang.NoClassDefFoundError:org/teiid/odata/ODataSQLBuilder
rareddy Feb 2, 2018 2:49 PM (in response to sagarika1in)I see both approaches are same, as we have a single way to do OpenShift deployment, which you are using. I see you are getting metadata but while you issue a query for getting the data you run into ClassNotFound Issues. You can also open a support case with Redhat if you a customer, then they can investigate and can get a fix for you.
The NoClassDef error suggests somehow the OData file has been modified. The required class is in the WAR file under WEb-INF/classes. You can use the terminal in OpenShift to log into the Pod and try to crack open the war file and see you can find the .class file.
Otherwise, there is also OData V4 war file should be there also, try using the OData V4 URL. It is slightly different in URL semantics, check the documentation for details.
-
6. Re: UnhandledException: java.lang.NoClassDefFoundError:org/teiid/odata/ODataSQLBuilder
sagarika1in Feb 5, 2018 5:55 AM (in response to rareddy)Hi Ramesh,
We have raised support case for this issue. For OData V4 also we are
facing the same issue. Today We tried connecting with postgresql placed on
Openshift Pod. For that also we can see metadata of the but unable to see
the data.
{
"error" : {
"code" : "ServerErrorException", "message" : {
"lang" : "en-US", "value" : "TEIID30498 Capabilities for test_openshift
were not available. The command could not be planned properly."
}
}
}
Please the detailed document covering the steps followed to access
postgresql present in Openshift.Kindly let us know you suggestion to
resolve the issue.
Regards
Sagarika Singh
Tata Consultancy Services
Mailto: sagarika.singh@tcs.com
Website: http://www.tcs.com
-
OData_Issue_0205.docx 250.6 KB
-
-
7. Re: UnhandledException: java.lang.NoClassDefFoundError:org/teiid/odata/ODataSQLBuilder
rareddy Feb 5, 2018 9:14 AM (in response to sagarika1in)I believe this exception is saying that it can not reach the Postgres database. Take a look at the log of the pod, that should show more details.