[JBoss JIRA] (TEIID-3164) Second connection to VDB through Kerberos authentication ends with exception
by Ramesh Reddy (JIRA)
[ https://issues.jboss.org/browse/TEIID-3164?page=com.atlassian.jira.plugin... ]
Ramesh Reddy edited comment on TEIID-3164 at 10/14/14 1:36 PM:
---------------------------------------------------------------
[~jdurani] I do not seem to replicate the behavior, I need your JDBC client class that you used.
BTW, my vdb looks like
{code title=loopy-vdb.xml}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<vdb name="Loopy" version="1">
<property name="security-domain" value="EXAMPLE.COM" />
<property name="authentication-type" value="GSS" />
<model name="PM1">
<source name="text-connector2" translator-name="loopback" />
<metadata type="DDL"><![CDATA[
CREATE FOREIGN TABLE G1 (e1 string, e2 integer PRIMARY KEY, e3 clob);
CREATE FOREIGN TABLE G2 (e1 string, e2 integer PRIMARY KEY) OPTIONS (UPDATABLE 'true');
]]> </metadata>
</model>
<model name="PM2" type="VIRTUAL">
<metadata type="DDL"><![CDATA[
CREATE PROCEDURE proc (x string) returns string AS
BEGIN
return x;
END
CREATE VIEW VIEW_G1 as select * from PM1.G1;
]]> </metadata>
</model>
</vdb>
{code}
was (Author: rareddy):
[~jdurani] I do not seem to replicate the behavior, I need your JDBC client class that you used.
> Second connection to VDB through Kerberos authentication ends with exception
> ----------------------------------------------------------------------------
>
> Key: TEIID-3164
> URL: https://issues.jboss.org/browse/TEIID-3164
> Project: Teiid
> Issue Type: Bug
> Affects Versions: 8.7.1
> Environment: OS: fedora20
> arch: x86_64
> java: sun 1.7
> kdc: on localhost
> Reporter: Juraj Duráni
> Assignee: Ramesh Reddy
> Fix For: 8.7.1, 8.9
>
>
> Second (third,forth,...) conection to VDB through Kerberos ends with exception:
> javax.security.auth.login.LoginException: TEIID50103 Wrong Response returned from EXAMPLE.COM security domain; Expecting a Kerberoes response
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
9 years, 8 months
[JBoss JIRA] (TEIID-3172) Improve bind type resolving
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-3172?page=com.atlassian.jira.plugin... ]
Steven Hawkins resolved TEIID-3172.
-----------------------------------
Resolution: Done
Added setting the desired type when a conversion is created.
> Improve bind type resolving
> ---------------------------
>
> Key: TEIID-3172
> URL: https://issues.jboss.org/browse/TEIID-3172
> Project: Teiid
> Issue Type: Quality Risk
> Components: Query Engine
> Affects Versions: 8.7
> Reporter: Steven Hawkins
> Assignee: Steven Hawkins
> Fix For: 8.9
>
>
> Not all attempts to resolve are setting the desired type of a reference, thus something like:
> texttable(? columns ...)
> will fail to resolve - even though there is only a single expected type.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
9 years, 8 months
[JBoss JIRA] (TEIID-3171) NullPointerException in LogonImpl when Credential Delegate is not enabled
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-3171?page=com.atlassian.jira.plugin... ]
Steven Hawkins resolved TEIID-3171.
-----------------------------------
Fix Version/s: 8.7.1
8.9
Resolution: Done
Thanks Cristiano.
> NullPointerException in LogonImpl when Credential Delegate is not enabled
> -------------------------------------------------------------------------
>
> Key: TEIID-3171
> URL: https://issues.jboss.org/browse/TEIID-3171
> Project: Teiid
> Issue Type: Bug
> Affects Versions: 8.8
> Reporter: Cristiano Nicolai
> Assignee: Steven Hawkins
> Priority: Blocker
> Fix For: 8.7.1, 8.9
>
>
> When trying to connect via JDBC using GSS authentication, the follwing exception is thrown if Credential Delegation is not enabled. Via ODBC, same setup works fine.
> 2014-10-14 11:22:35,199 INFO [org.teiid.SECURITY] (New I/O worker #4:) TEIID40017 Unexpected exception for session null: java.lang.NullPointerException
> at java.util.Hashtable.put(Hashtable.java:514)
> at org.teiid.transport.LogonImpl.neogitiateGssLogin(LogonImpl.java:197)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.teiid.transport.ServerWorkItem.run(ServerWorkItem.java:87)
> at org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:274)
> at org.teiid.transport.SocketClientInstance.processMessagePacket(SocketClientInstance.java:207)
> at org.teiid.transport.SocketClientInstance.receivedMessage(SocketClientInstance.java:193)
> at org.teiid.transport.SSLAwareChannelHandler.messageReceived(SSLAwareChannelHandler.java:211)
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
9 years, 8 months
[JBoss JIRA] (TEIID-3172) Improve bind type resolving
by Steven Hawkins (JIRA)
Steven Hawkins created TEIID-3172:
-------------------------------------
Summary: Improve bind type resolving
Key: TEIID-3172
URL: https://issues.jboss.org/browse/TEIID-3172
Project: Teiid
Issue Type: Quality Risk
Components: Query Engine
Affects Versions: 8.7
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Fix For: 8.9
Not all attempts to resolve are setting the desired type of a reference, thus something like:
texttable(? columns ...)
will fail to resolve - even though there is only a single expected type.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
9 years, 8 months
[JBoss JIRA] (TEIID-3171) NullPointerException in LogonImpl when Credential Delegate is not enabled
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-3171?page=com.atlassian.jira.plugin... ]
Steven Hawkins edited comment on TEIID-3171 at 10/14/14 8:01 AM:
-----------------------------------------------------------------
I was thinking of TEIID-3057 which is for the same scenario, but on the odbc side.
was (Author: shawkins):
I was thinking of TEIID-3057 which is for the same scenario, but on the server side.
> NullPointerException in LogonImpl when Credential Delegate is not enabled
> -------------------------------------------------------------------------
>
> Key: TEIID-3171
> URL: https://issues.jboss.org/browse/TEIID-3171
> Project: Teiid
> Issue Type: Bug
> Affects Versions: 8.8
> Reporter: Cristiano Nicolai
> Assignee: Steven Hawkins
> Priority: Blocker
>
> When trying to connect via JDBC using GSS authentication, the follwing exception is thrown if Credential Delegation is not enabled. Via ODBC, same setup works fine.
> 2014-10-14 11:22:35,199 INFO [org.teiid.SECURITY] (New I/O worker #4:) TEIID40017 Unexpected exception for session null: java.lang.NullPointerException
> at java.util.Hashtable.put(Hashtable.java:514)
> at org.teiid.transport.LogonImpl.neogitiateGssLogin(LogonImpl.java:197)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.teiid.transport.ServerWorkItem.run(ServerWorkItem.java:87)
> at org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:274)
> at org.teiid.transport.SocketClientInstance.processMessagePacket(SocketClientInstance.java:207)
> at org.teiid.transport.SocketClientInstance.receivedMessage(SocketClientInstance.java:193)
> at org.teiid.transport.SSLAwareChannelHandler.messageReceived(SSLAwareChannelHandler.java:211)
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
9 years, 8 months
[JBoss JIRA] (TEIID-3171) NullPointerException in LogonImpl when Credential Delegate is not enabled
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-3171?page=com.atlassian.jira.plugin... ]
Steven Hawkins commented on TEIID-3171:
---------------------------------------
I was thinking of TEIID-3057 which is for the same scenario, but on the server side.
> NullPointerException in LogonImpl when Credential Delegate is not enabled
> -------------------------------------------------------------------------
>
> Key: TEIID-3171
> URL: https://issues.jboss.org/browse/TEIID-3171
> Project: Teiid
> Issue Type: Bug
> Affects Versions: 8.8
> Reporter: Cristiano Nicolai
> Assignee: Steven Hawkins
> Priority: Blocker
>
> When trying to connect via JDBC using GSS authentication, the follwing exception is thrown if Credential Delegation is not enabled. Via ODBC, same setup works fine.
> 2014-10-14 11:22:35,199 INFO [org.teiid.SECURITY] (New I/O worker #4:) TEIID40017 Unexpected exception for session null: java.lang.NullPointerException
> at java.util.Hashtable.put(Hashtable.java:514)
> at org.teiid.transport.LogonImpl.neogitiateGssLogin(LogonImpl.java:197)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.teiid.transport.ServerWorkItem.run(ServerWorkItem.java:87)
> at org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:274)
> at org.teiid.transport.SocketClientInstance.processMessagePacket(SocketClientInstance.java:207)
> at org.teiid.transport.SocketClientInstance.receivedMessage(SocketClientInstance.java:193)
> at org.teiid.transport.SSLAwareChannelHandler.messageReceived(SSLAwareChannelHandler.java:211)
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
9 years, 8 months
[JBoss JIRA] (TEIID-3171) NullPointerException in LogonImpl when Credential Delegate is not enabled
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-3171?page=com.atlassian.jira.plugin... ]
Steven Hawkins commented on TEIID-3171:
---------------------------------------
Ramesh,
I thought you already addressed this, but I don't see another issue or commit. I just want to make sure we don't have other changes missing.
> NullPointerException in LogonImpl when Credential Delegate is not enabled
> -------------------------------------------------------------------------
>
> Key: TEIID-3171
> URL: https://issues.jboss.org/browse/TEIID-3171
> Project: Teiid
> Issue Type: Bug
> Affects Versions: 8.8
> Reporter: Cristiano Nicolai
> Assignee: Steven Hawkins
> Priority: Blocker
>
> When trying to connect via JDBC using GSS authentication, the follwing exception is thrown if Credential Delegation is not enabled. Via ODBC, same setup works fine.
> 2014-10-14 11:22:35,199 INFO [org.teiid.SECURITY] (New I/O worker #4:) TEIID40017 Unexpected exception for session null: java.lang.NullPointerException
> at java.util.Hashtable.put(Hashtable.java:514)
> at org.teiid.transport.LogonImpl.neogitiateGssLogin(LogonImpl.java:197)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.teiid.transport.ServerWorkItem.run(ServerWorkItem.java:87)
> at org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:274)
> at org.teiid.transport.SocketClientInstance.processMessagePacket(SocketClientInstance.java:207)
> at org.teiid.transport.SocketClientInstance.receivedMessage(SocketClientInstance.java:193)
> at org.teiid.transport.SSLAwareChannelHandler.messageReceived(SSLAwareChannelHandler.java:211)
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
9 years, 8 months