[JBoss JIRA] (TEIID-3524) Database Logging not working
by Van Halbert (JIRA)
[ https://issues.jboss.org/browse/TEIID-3524?page=com.atlassian.jira.plugin... ]
Van Halbert reassigned TEIID-3524:
----------------------------------
Assignee: Van Halbert (was: Steven Hawkins)
> Database Logging not working
> ----------------------------
>
> Key: TEIID-3524
> URL: https://issues.jboss.org/browse/TEIID-3524
> Project: Teiid
> Issue Type: Bug
> Affects Versions: 8.7.1.6_2
> Reporter: Jan Stastny
> Assignee: Van Halbert
>
> When using db logging in Teiid, nothing gets inserted into the db. Logs appear at server.log, but not in the db.
> I set up the logging as follows:
> Created java:/teiid-log-ds datasource.
> Added these to logging subsystem:
> {code:xml}
> <async-handler name="TEIID_COMMAND_LOG">
> <level name="DEBUG"/>
> <queue-length value="50"/>
> <overflow-action value="block"/>
> <subhandlers>
> <handler name="TEIID_JPA_LOG"/>
> </subhandlers>
> </async-handler>
> <async-handler name="TEIID_AUDIT_LOG">
> <level name="DEBUG"/>
> <queue-length value="50"/>
> <overflow-action value="block"/>
> <subhandlers>
> <handler name="TEIID_JPA_LOG"/>
> </subhandlers>
> </async-handler>
> <custom-handler name="TEIID_JPA_LOG" class="org.teiid.logger.DatabaseAppender" module="org.jboss.teiid.extensions">
> <level name="DEBUG"/>
> </custom-handler>
> <logger category="org.teiid.COMMAND_LOG">
> <level name="DEBUG"/>
> <handlers>
> <handler name="TEIID_COMMAND_LOG"/>
> </handlers>
> </logger>
> <logger category="org.teiid.AUDIT_LOG">
> <level name="DEBUG"/>
> <handlers>
> <handler name="TEIID_AUDIT_LOG"/>
> </handlers>
> </logger>
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 9 months
[JBoss JIRA] (TEIID-3524) Database Logging not working
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/TEIID-3524?page=com.atlassian.jira.plugin... ]
RH Bugzilla Integration updated TEIID-3524:
-------------------------------------------
Bugzilla Update: Perform
Bugzilla References: https://bugzilla.redhat.com/show_bug.cgi?id=1231050
> Database Logging not working
> ----------------------------
>
> Key: TEIID-3524
> URL: https://issues.jboss.org/browse/TEIID-3524
> Project: Teiid
> Issue Type: Bug
> Affects Versions: 8.7.1.6_2
> Reporter: Jan Stastny
> Assignee: Steven Hawkins
>
> When using db logging in Teiid, nothing gets inserted into the db. Logs appear at server.log, but not in the db.
> I set up the logging as follows:
> Created java:/teiid-log-ds datasource.
> Added these to logging subsystem:
> {code:xml}
> <async-handler name="TEIID_COMMAND_LOG">
> <level name="DEBUG"/>
> <queue-length value="50"/>
> <overflow-action value="block"/>
> <subhandlers>
> <handler name="TEIID_JPA_LOG"/>
> </subhandlers>
> </async-handler>
> <async-handler name="TEIID_AUDIT_LOG">
> <level name="DEBUG"/>
> <queue-length value="50"/>
> <overflow-action value="block"/>
> <subhandlers>
> <handler name="TEIID_JPA_LOG"/>
> </subhandlers>
> </async-handler>
> <custom-handler name="TEIID_JPA_LOG" class="org.teiid.logger.DatabaseAppender" module="org.jboss.teiid.extensions">
> <level name="DEBUG"/>
> </custom-handler>
> <logger category="org.teiid.COMMAND_LOG">
> <level name="DEBUG"/>
> <handlers>
> <handler name="TEIID_COMMAND_LOG"/>
> </handlers>
> </logger>
> <logger category="org.teiid.AUDIT_LOG">
> <level name="DEBUG"/>
> <handlers>
> <handler name="TEIID_AUDIT_LOG"/>
> </handlers>
> </logger>
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 9 months
[JBoss JIRA] (TEIID-3524) Database Logging not working
by Jan Stastny (JIRA)
[ https://issues.jboss.org/browse/TEIID-3524?page=com.atlassian.jira.plugin... ]
Jan Stastny updated TEIID-3524:
-------------------------------
Description:
When using db logging in Teiid, nothing gets inserted into the db. Logs appear at server.log, but not in the db.
I set up the logging as follows:
Created java:/teiid-log-ds datasource.
Added these to logging subsystem:
{code:xml}
<async-handler name="TEIID_COMMAND_LOG">
<level name="DEBUG"/>
<queue-length value="50"/>
<overflow-action value="block"/>
<subhandlers>
<handler name="TEIID_JPA_LOG"/>
</subhandlers>
</async-handler>
<async-handler name="TEIID_AUDIT_LOG">
<level name="DEBUG"/>
<queue-length value="50"/>
<overflow-action value="block"/>
<subhandlers>
<handler name="TEIID_JPA_LOG"/>
</subhandlers>
</async-handler>
<custom-handler name="TEIID_JPA_LOG" class="org.teiid.logger.DatabaseAppender" module="org.jboss.teiid.extensions">
<level name="DEBUG"/>
</custom-handler>
<logger category="org.teiid.COMMAND_LOG">
<level name="DEBUG"/>
<handlers>
<handler name="TEIID_COMMAND_LOG"/>
</handlers>
</logger>
<logger category="org.teiid.AUDIT_LOG">
<level name="DEBUG"/>
<handlers>
<handler name="TEIID_AUDIT_LOG"/>
</handlers>
</logger>
{code}
was:
When using db logging in Teiid, nothing gets inserted into the db. Logs appear at server.log, but not in the db.
I set up the logging as follows:
Created java:/teiid-log-ds datasource.
Added these to logging subsystem:
<async-handler name="TEIID_COMMAND_LOG">
<level name="DEBUG"/>
<queue-length value="50"/>
<overflow-action value="block"/>
<subhandlers>
<handler name="TEIID_JPA_LOG"/>
</subhandlers>
</async-handler>
<async-handler name="TEIID_AUDIT_LOG">
<level name="DEBUG"/>
<queue-length value="50"/>
<overflow-action value="block"/>
<subhandlers>
<handler name="TEIID_JPA_LOG"/>
</subhandlers>
</async-handler>
<custom-handler name="TEIID_JPA_LOG" class="org.teiid.logger.DatabaseAppender" module="org.jboss.teiid.extensions">
<level name="DEBUG"/>
</custom-handler>
<logger category="org.teiid.COMMAND_LOG">
<level name="DEBUG"/>
<handlers>
<handler name="TEIID_COMMAND_LOG"/>
</handlers>
</logger>
<logger category="org.teiid.AUDIT_LOG">
<level name="DEBUG"/>
<handlers>
<handler name="TEIID_AUDIT_LOG"/>
</handlers>
</logger>
> Database Logging not working
> ----------------------------
>
> Key: TEIID-3524
> URL: https://issues.jboss.org/browse/TEIID-3524
> Project: Teiid
> Issue Type: Bug
> Affects Versions: 8.7.1.6_2
> Reporter: Jan Stastny
> Assignee: Steven Hawkins
>
> When using db logging in Teiid, nothing gets inserted into the db. Logs appear at server.log, but not in the db.
> I set up the logging as follows:
> Created java:/teiid-log-ds datasource.
> Added these to logging subsystem:
> {code:xml}
> <async-handler name="TEIID_COMMAND_LOG">
> <level name="DEBUG"/>
> <queue-length value="50"/>
> <overflow-action value="block"/>
> <subhandlers>
> <handler name="TEIID_JPA_LOG"/>
> </subhandlers>
> </async-handler>
> <async-handler name="TEIID_AUDIT_LOG">
> <level name="DEBUG"/>
> <queue-length value="50"/>
> <overflow-action value="block"/>
> <subhandlers>
> <handler name="TEIID_JPA_LOG"/>
> </subhandlers>
> </async-handler>
> <custom-handler name="TEIID_JPA_LOG" class="org.teiid.logger.DatabaseAppender" module="org.jboss.teiid.extensions">
> <level name="DEBUG"/>
> </custom-handler>
> <logger category="org.teiid.COMMAND_LOG">
> <level name="DEBUG"/>
> <handlers>
> <handler name="TEIID_COMMAND_LOG"/>
> </handlers>
> </logger>
> <logger category="org.teiid.AUDIT_LOG">
> <level name="DEBUG"/>
> <handlers>
> <handler name="TEIID_AUDIT_LOG"/>
> </handlers>
> </logger>
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 9 months
[JBoss JIRA] (TEIID-3524) Database Logging not working
by Jan Stastny (JIRA)
Jan Stastny created TEIID-3524:
----------------------------------
Summary: Database Logging not working
Key: TEIID-3524
URL: https://issues.jboss.org/browse/TEIID-3524
Project: Teiid
Issue Type: Bug
Affects Versions: 8.7.1.6_2
Reporter: Jan Stastny
Assignee: Steven Hawkins
When using db logging in Teiid, nothing gets inserted into the db. Logs appear at server.log, but not in the db.
I set up the logging as follows:
Created java:/teiid-log-ds datasource.
Added these to logging subsystem:
<async-handler name="TEIID_COMMAND_LOG">
<level name="DEBUG"/>
<queue-length value="50"/>
<overflow-action value="block"/>
<subhandlers>
<handler name="TEIID_JPA_LOG"/>
</subhandlers>
</async-handler>
<async-handler name="TEIID_AUDIT_LOG">
<level name="DEBUG"/>
<queue-length value="50"/>
<overflow-action value="block"/>
<subhandlers>
<handler name="TEIID_JPA_LOG"/>
</subhandlers>
</async-handler>
<custom-handler name="TEIID_JPA_LOG" class="org.teiid.logger.DatabaseAppender" module="org.jboss.teiid.extensions">
<level name="DEBUG"/>
</custom-handler>
<logger category="org.teiid.COMMAND_LOG">
<level name="DEBUG"/>
<handlers>
<handler name="TEIID_COMMAND_LOG"/>
</handlers>
</logger>
<logger category="org.teiid.AUDIT_LOG">
<level name="DEBUG"/>
<handlers>
<handler name="TEIID_AUDIT_LOG"/>
</handlers>
</logger>
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 9 months
[JBoss JIRA] (TEIID-3523) Statement -> executeBatch method throws an NPE
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-3523?page=com.atlassian.jira.plugin... ]
Steven Hawkins resolved TEIID-3523.
-----------------------------------
Fix Version/s: 8.11
Resolution: Done
Corrected the batch logic to update the result update count array. Also changed the prepared statement handling to not create prepared statements for updates unless a bind value is used. This allow batched updates to execute as batches of statements rather than individually.
> Statement -> executeBatch method throws an NPE
> ----------------------------------------------
>
> Key: TEIID-3523
> URL: https://issues.jboss.org/browse/TEIID-3523
> Project: Teiid
> Issue Type: Bug
> Affects Versions: 8.7.3
> Reporter: Juraj Duráni
> Assignee: Steven Hawkins
> Priority: Blocker
> Fix For: 8.11
>
> Attachments: server.log
>
>
> The method executeBatch() of class Statement throws an NPE. Please see the log in the attachment.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 9 months
[JBoss JIRA] (TEIID-3437) Inconsistencies with row count handling
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-3437?page=com.atlassian.jira.plugin... ]
Steven Hawkins updated TEIID-3437:
----------------------------------
Note this introduced a regression TEIID-3523 into 8.10.1
> Inconsistencies with row count handling
> ---------------------------------------
>
> Key: TEIID-3437
> URL: https://issues.jboss.org/browse/TEIID-3437
> Project: Teiid
> Issue Type: Bug
> Components: Misc. Connectors, Query Engine
> Affects Versions: 8.10
> Reporter: Steven Hawkins
> Assignee: Steven Hawkins
> Fix For: 8.10.1, 8.11, 8.7.3
>
>
> With TEIID-3271 we addressed returning all of the update counts from a bulk operation such that the direct JDBC logic was correct. However this left the logic inconsistent with the projectintonode (which could result in invalid rowcount variables) and with the accumulo, solr, and simpledb translators.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 9 months