[JBoss JIRA] (TEIID-5246) Simplify Teiid configuration when using an external load balancer
by Steven Hawkins (JIRA)
Steven Hawkins created TEIID-5246:
-------------------------------------
Summary: Simplify Teiid configuration when using an external load balancer
Key: TEIID-5246
URL: https://issues.jboss.org/browse/TEIID-5246
Project: Teiid
Issue Type: Quality Risk
Components: Server
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Fix For: 10.2
When using an external load balancer it requires that the server disable ping checks and set max session age (to clean up any orphaned sessions). This is not specifically called out in the documentation. For future releases we should eliminate the need to explicitly change the configuration when using an external load balancer.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 11 months
[JBoss JIRA] (TEIID-5123) Osisoft translator - Cannot cast String to Float if value is negative
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/TEIID-5123?page=com.atlassian.jira.plugin... ]
RH Bugzilla Integration commented on TEIID-5123:
------------------------------------------------
Jan Stastny <jstastny(a)redhat.com> changed the Status of [bug 1506201|https://bugzilla.redhat.com/show_bug.cgi?id=1506201] from ON_QA to CLOSED
> Osisoft translator - Cannot cast String to Float if value is negative
> ---------------------------------------------------------------------
>
> Key: TEIID-5123
> URL: https://issues.jboss.org/browse/TEIID-5123
> Project: Teiid
> Issue Type: Bug
> Components: JDBC Connector
> Affects Versions: 8.12.x-6.4
> Reporter: Andrej Šmigala
> Assignee: Ramesh Reddy
> Fix For: 10.1
>
>
> Casting a string containing a negative value (e.g. '-24') to float fails with
> {noformat}com.osisoft.rdsa.RdsaException: [PIOLEDBENT] Cannot convert -24 from String to Single.{noformat}
> This seems to be a bug in Osisoft PI SQL DAS (server-side not the JDBC driver), as connecting to the PI server using Osisoft's SQL Commander and running
> {code:sql}select cast(N'-24' as single){code}
> results in the same error.
> I think the best course of action would be to document this behaviour of the PI server as known issue and NOT work around it.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 11 months
[JBoss JIRA] (TEIID-5244) Text Based LoginModule does not find properties files
by Ramesh Reddy (JIRA)
[ https://issues.jboss.org/browse/TEIID-5244?page=com.atlassian.jira.plugin... ]
Ramesh Reddy edited comment on TEIID-5244 at 2/1/18 1:05 PM:
-------------------------------------------------------------
[~gadeyne.bram] can you try
{code}
${jboss.server.config.dir}
{code}
was (Author: rareddy):
[~gadeyne.bram] can you try ${jboss.server.config.dir} ?
> Text Based LoginModule does not find properties files
> -----------------------------------------------------
>
> Key: TEIID-5244
> URL: https://issues.jboss.org/browse/TEIID-5244
> Project: Teiid
> Issue Type: Bug
> Affects Versions: 10.1
> Reporter: Bram Gadeyne
> Assignee: Steven Hawkins
>
> Hi,
> I have this in my configuration:
> {code:xml}
> <security-domain name="teiid-security" cache-type="default">
> <authentication>
> <login-module code="UsersRoles" flag="required">
> <module-option name="usersProperties" value="$(jboss.server.config.dir)/teiid-security-users.properties"/>
> <module-option name="rolesProperties" value="$(jboss.server.config.dir)/teiid-security-roles.properties"/>
> </login-module>
> </authentication>
> </security-domain>
> {code}
> The two files teiid-security-roles.properties and teiid-security-users.properties are located in the configuration directory of wildfly.
> I see this error message in the logs: It seems like teiid is using the value as a directory.
> 2018-02-01 15:20:40,918 ERROR [org.jboss.security] (NIO1) PBOX00261: Failed to load users/passwords/roles files: java.io.IOException: PBOX00072: Properties file $(jboss.server.config.dir)/teiid-security-users.properties/defaultUsers.properties not found
> at org.jboss.security.auth.spi.Util.loadProperties(Util.java:212)
> at org.jboss.security.auth.spi.UsersRolesLoginModule.loadUsers(UsersRolesLoginModule.java:205)
> at org.jboss.security.auth.spi.UsersRolesLoginModule.createUsers(UsersRolesLoginModule.java:219)
> at org.jboss.security.auth.spi.UsersRolesLoginModule.initialize(UsersRolesLoginModule.java:146)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 11 months
[JBoss JIRA] (TEIID-5244) Text Based LoginModule does not find properties files
by Ramesh Reddy (JIRA)
[ https://issues.jboss.org/browse/TEIID-5244?page=com.atlassian.jira.plugin... ]
Ramesh Reddy commented on TEIID-5244:
-------------------------------------
[~gadeyne.bram] can you try ${jboss.server.config.dir} ?
> Text Based LoginModule does not find properties files
> -----------------------------------------------------
>
> Key: TEIID-5244
> URL: https://issues.jboss.org/browse/TEIID-5244
> Project: Teiid
> Issue Type: Bug
> Affects Versions: 10.1
> Reporter: Bram Gadeyne
> Assignee: Steven Hawkins
>
> Hi,
> I have this in my configuration:
> {code:xml}
> <security-domain name="teiid-security" cache-type="default">
> <authentication>
> <login-module code="UsersRoles" flag="required">
> <module-option name="usersProperties" value="$(jboss.server.config.dir)/teiid-security-users.properties"/>
> <module-option name="rolesProperties" value="$(jboss.server.config.dir)/teiid-security-roles.properties"/>
> </login-module>
> </authentication>
> </security-domain>
> {code}
> The two files teiid-security-roles.properties and teiid-security-users.properties are located in the configuration directory of wildfly.
> I see this error message in the logs: It seems like teiid is using the value as a directory.
> 2018-02-01 15:20:40,918 ERROR [org.jboss.security] (NIO1) PBOX00261: Failed to load users/passwords/roles files: java.io.IOException: PBOX00072: Properties file $(jboss.server.config.dir)/teiid-security-users.properties/defaultUsers.properties not found
> at org.jboss.security.auth.spi.Util.loadProperties(Util.java:212)
> at org.jboss.security.auth.spi.UsersRolesLoginModule.loadUsers(UsersRolesLoginModule.java:205)
> at org.jboss.security.auth.spi.UsersRolesLoginModule.createUsers(UsersRolesLoginModule.java:219)
> at org.jboss.security.auth.spi.UsersRolesLoginModule.initialize(UsersRolesLoginModule.java:146)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 11 months
[JBoss JIRA] (TEIID-5245) Killed remote jdbc connections to an embedded server allowed to continue
by Steven Hawkins (JIRA)
Steven Hawkins created TEIID-5245:
-------------------------------------
Summary: Killed remote jdbc connections to an embedded server allowed to continue
Key: TEIID-5245
URL: https://issues.jboss.org/browse/TEIID-5245
Project: Teiid
Issue Type: Bug
Components: Server
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Priority: Critical
Fix For: 10.2, 10.0.3, 9.3.7, 10.1.1
Checks for session.isClosed occur in the full server and localserverconnection, but not when using a remote jdbc connections to an embedded server.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 11 months
[JBoss JIRA] (TEIID-5097) Cannot run time-based queries against Osisoft PI
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/TEIID-5097?page=com.atlassian.jira.plugin... ]
RH Bugzilla Integration commented on TEIID-5097:
------------------------------------------------
Jan Stastny <jstastny(a)redhat.com> changed the Status of [bug 1500814|https://bugzilla.redhat.com/show_bug.cgi?id=1500814] from ON_QA to CLOSED
> Cannot run time-based queries against Osisoft PI
> ------------------------------------------------
>
> Key: TEIID-5097
> URL: https://issues.jboss.org/browse/TEIID-5097
> Project: Teiid
> Issue Type: Quality Risk
> Components: JDBC Connector
> Affects Versions: 8.12.x-6.4
> Reporter: Andrej Šmigala
> Assignee: Steven Hawkins
> Fix For: 10.1
>
>
> Osisoft PI supports a relative time literals syntax, e.g.
> {code:sql}
> select * from dvqe.Data.Archive a where a.time between '*-14d' and '*'
> {code}
> will select all data between right now and 14 days ago, and
> {code:sql}
> select * from dvqe.Data.Archive a where a.time > 'y'
> {code}
> will select all data after yesterday midnight.
> The string literals are converted to time values in the PI Server
> Running the same queries through teiid however returns incorrect results, because teiid pushes a cast to string on the Time column, which results in string comparison on the datasource:
> {code:sql|title=Pushed query}
> SELECT TOP 100 cast(g_0.[ElementAttributeID] as String), g_0.[Time] AS c_1, g_0.[Value] AS c_2, g_0.[ValueInt] AS c_3, g_0.
> [ValueDbl] AS c_4, g_0.[ValueStr] AS c_5, cast(g_0.[ValueGuid] as String), g_0.[ValueDateTime] AS c_7, g_0.[Status] AS c_8, g_0.[Annotated] AS c_9, g_0.[IsGood] A
> S c_10, g_0.[Questionable] AS c_11, g_0.[Substituted] AS c_12 FROM [dvqe].[Data].[Archive] AS g_0 WHERE cast(g_0.[Time] AS String) > 'y'
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 11 months