Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jca-dev] [jakartaee-tck-dev] Connector TCK test deployment failures after updating from connector_1_0.dtd to connector_2_0.xsd
  • From: "Steve Millidge (Payara)" <steve.millidge@xxxxxxxxxxx>
  • Date: Wed, 26 Aug 2020 08:44:56 +0000
  • Accept-language: en-GB, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=payara.fish; dmarc=pass action=none header.from=payara.fish; dkim=pass header.d=payara.fish; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Hy9VrKTyapQXsvZ0YjW543aj0rVIgO6FiAb8jZbYKFs=; b=WtEPJcnqeyDjSr+kkfFIjerx7Y+X1qV77Bs/rWNF2wa18qPNCJYQ4QWJ345dj0HvRMfYYsr1JAwH1mjwTTq/N42dIorsZ94fqdZMkdhN4lpn49dFbAydpBgZnl7AThcAZvyVmnFnOsr7VAWb41Yl/wQW1hjAEbb/3hV5PfQxN8r8sGS6vVYO30V4WCgtQTI2PfmXjtKDZlDQVgdh0fB96tMeGZjUTCVqLR6u1W5F2XsIj0PeZygQXmIYMiCyFGK4lIXgp5aGj3avNkgk6gxCeLEE8nthohx1aoJLMZqiOVvSXUSmdddx/iykqwN90EZEqSBSqfD00fl8YLqejCe+uQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VleDnIx6sNR82w7bJUHXvI5V2227SUD1wkRJ/B1j0qdaYHCQIMOV1+SZd57fbDAEHM/EBKPJAQrOEhbJbcJQP8gWFgAQV5kvgK/FcF9Vme0QrtCCYWqPyowBwuLE0FRS9Fu3fc3O6C/jG7HpE7VXG3pqiJ5gU9QQcL6YBV6sVIOPWi5oMdOl/QfqSeWWKBVBWS5MTAUGAbaGexAk08eHsQMFcOjTeNE5gY9jvYypPx4nxq4M8Dv+f3Vq4YDSm75lI7kjqFLOkZBvzGxpebD/tiua1krbwLGjea9M5UgDLBb3ZzyIYs7St7OcNjZfZkXbBkMAb37TRXVNatDEHGGBnw==
  • Delivered-to: jca-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/jca-dev>
  • List-help: <mailto:jca-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/jca-dev>, <mailto:jca-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/jca-dev>, <mailto:jca-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHWeyIKPbf8AVqpU0Gat64kooM4RalJeCWAgACY7AA=
  • Thread-topic: [jakartaee-tck-dev] Connector TCK test deployment failures after updating from connector_1_0.dtd to connector_2_0.xsd

I've had a quick check and commented on the issue;

https://github.com/eclipse-ee4j/jakartaee-tck/pull/474 

To summarise the issue seems to be a classloading issue and the exception is thrown after doing a Class.forName on the class specified. Therefore this isn't being thrown from a schema check.

Steve

-----Original Message-----
From: jakartaee-tck-dev-bounces@xxxxxxxxxxx <jakartaee-tck-dev-bounces@xxxxxxxxxxx> On Behalf Of Scott Marlow
Sent: 26 August 2020 00:27
To: jakartaee-tck-dev@xxxxxxxxxxx
Cc: jca-dev@xxxxxxxxxxx
Subject: Re: [jakartaee-tck-dev] Connector TCK test deployment failures after updating from connector_1_0.dtd to connector_2_0.xsd

Adding Jakarta Connectors ml...

On 8/25/20 4:54 PM, Scott Marlow wrote:
> Hi,
> 
> If the connector tests are failing due to connector_1_0.dtd [1] being 
> less strict than connector_2_0.xsd [2] about the 
> `connection-interface` type, should the TCK connector tests adjust for 
> the stricter connector_2_0.xsd [2] requirement that  
> `connection-interface` be of type "jakartaee:fully-qualified-classType"?
> 
> Does connector_2_0.xsd  require the `connection-interface` class to be 
> in the jakarta namespace?
> 
> The test failure is mentioned in jakartaee-tck/pull#474 [3] (see 
> second paragraph in comment) and also in test result [4].
> 
> Connector 2.0 spec [5] shows that connection-interface could be at 
> least one of { jakarta.resource.cci.Connection, 
> jakarta.jms.QueueConnection, jakarta.jms.TopicConnection, jakarta.jms.Connection }.
> 
> So perhaps the connector TCK tests should update 
> `com.sun.ts.tests.common.connector.whitebox.TSConnectionFactory` to be 
> of type jakarta.resource.cci.Connection.
> 
> For reference [6] shows the pull/474 ([3]) 
> connector/whitebox/ra-compat-tx.xml file that may need more changes.
> 
> Scott
> 
> [1] http://java.sun.com/dtd/connector_1_0.dtd
> [2] https://jakarta.ee/xml/ns/jakartaee/connector_2_0.xsd
> [3]
> https://github.com/eclipse-ee4j/jakartaee-tck/pull/474#issuecomment-68
> 0238740
> [4]
> https://ci.eclipse.org/jakartaee-tck/job/jakartaee-tck-alw/job/pr%252F
> 474/2/testReport/com.sun.ts.tests.connector.connManager/connManagerCli
> ent1/jakartaeetck_run___connector___testTransactionSupportLevels_from_
> jsp
> [5]
> https://jakarta.ee/specifications/connectors/2.0/connectors-spec-2.0-R
> C2.html
> [6]
> https://github.com/eclipse-ee4j/jakartaee-tck/blob/6be543f6f5fdf62a718
> 9e0570c5c80b4df0360a9/src/com/sun/ts/tests/common/connector/whitebox/r
> a-compat-tx.xml

_______________________________________________
jakartaee-tck-dev mailing list
jakartaee-tck-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jakartaee-tck-dev

Back to the top