[
https://issues.apache.org/jira/browse/TRAFODION-2356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15677662#comment-15677662
]
ASF GitHub Bot commented on TRAFODION-2356:
-------------------------------------------
GitHub user selvaganesang opened a pull request:
https://github.com/apache/incubator-trafodion/pull/841
[TRAFODION-2356] Trafodion process can dump core at times because JNI…
…Env is not initialized
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/selvaganesang/incubator-trafodion
trafodion-2356
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-trafodion/pull/841.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #841
----
commit 7aabbabee08be540a0f2f182377958dc7dee61c4
Author: selvaganesang <[email protected]>
Date: 2016-11-18T16:59:07Z
[TRAFODION-2356] Trafodion process can dump core at times because JNIEnv is
not initialized
----
> Trafodion process can dump core at times because JNIEnv is not initialized
> --------------------------------------------------------------------------
>
> Key: TRAFODION-2356
> URL: https://issues.apache.org/jira/browse/TRAFODION-2356
> Project: Apache Trafodion
> Issue Type: Bug
> Components: sql-exe
> Reporter: Selvaganesan Govindarajan
>
> JNIEnv needs to be initialized before issuing any JNI call from this thread.
> Trafodion doesn't ensure that for all of its java methods called from 'C'
> side of the SQL engine. It is possible that Type2 JDBC applications can
> fail, if the connection is made in one thread and the actual SQL is executed
> from another thread.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)