You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "ant elder (JIRA)" <de...@tuscany.apache.org> on 2010/12/10 13:12:02 UTC

[jira] Created: (TUSCANY-3810) Various issues with removing explicit dependencies for things that are included in JDK6

Various issues with removing explicit dependencies for things that are included in JDK6
---------------------------------------------------------------------------------------

                 Key: TUSCANY-3810
                 URL: https://issues.apache.org/jira/browse/TUSCANY-3810
             Project: Tuscany
          Issue Type: Bug
            Reporter: ant elder
             Fix For: Java-SCA-2.0


Before Tuscany supported running with Java 1.5 so various dependencies were defined explicitly, now Tuscany only support Java 1.6 which includes dependencies such as stax, jaxb and other standard APIs so the Tuscany explict dependencies can be removed which stops the dependency jars being dragged in as transitive dependencies.

Doing this however causes quit e alot of problems, some are due to simple things like test code not doing things like calling close which you can get away with with woodstox bu not with the JDK stax parser, other things are not using standard APIs quite correctly. 

This JIRA is to track all the issues.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: [jira] Commented: (TUSCANY-3810) Various issues with removing explicit dependencies for things that are included in JDK6

Posted by ant elder <an...@gmail.com>.
I think i've got all these now with all the commits this morning, just
running another final build to confirm. Its removed 30 dependency jars
from the binary distribution. I do still get fails in the dosgi
samples, they also failed on hudson last night so i don't know if the
fails now are from my changes, the jms binding changes which have
broken some other tests for me, or something else. I can't see how to
debug the fails in osgi-junit, all i can see is they fail with a
connection refused exception but it doesn't say why, can any one help?

   ...ant

On Sat, Dec 11, 2010 at 1:50 PM, Mike Edwards (JIRA)
<de...@tuscany.apache.org> wrote:
>
>    [ https://issues.apache.org/jira/browse/TUSCANY-3810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12970458#action_12970458 ]
>
> Mike Edwards commented on TUSCANY-3810:
> ---------------------------------------
>
> For jaxb-impl & jaxb-api, only the following need changing:
>
> pom.xml of:
>
> modules\databinding-jaxb
> modules\base-runtime
> modules\base-runtime-pom
>
> The dependencies are commented out already in pom.xml of:
>
> modules\common-xml
> modules\implementation-jaxrs-runtime
>
> In all other cases the pom statements relate to excluding these 2 dependencies and so do not need changing...
>
>> Various issues with removing explicit dependencies for things that are included in JDK6
>> ---------------------------------------------------------------------------------------
>>
>>                 Key: TUSCANY-3810
>>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3810
>>             Project: Tuscany
>>          Issue Type: Bug
>>            Reporter: ant elder
>>             Fix For: Java-SCA-2.0
>>
>>
>> Before Tuscany supported running with Java 1.5 so various dependencies were defined explicitly, now Tuscany only support Java 1.6 which includes dependencies such as stax, jaxb and other standard APIs so the Tuscany explict dependencies can be removed which stops the dependency jars being dragged in as transitive dependencies.
>> Doing this however causes quit e alot of problems, some are due to simple things like test code not doing things like calling close which you can get away with with woodstox bu not with the JDK stax parser, other things are not using standard APIs quite correctly.
>> This JIRA is to track all the issues.
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>

Re: [jira] Commented: (TUSCANY-3810) Various issues with removing explicit dependencies for things that are included in JDK6

Posted by Simon Laws <si...@googlemail.com>.
On my freshly updated Linux checkout this morning I see
samples/learning-more/binding-jms/helloworl-webapp hangs. If I comment
that out I see 6 failures in the build as follows.

[INFO] ------------------------------------------------------------------------
[INFO] Error for project: Apache Tuscany SCA Sample OSGi Remote Services Calcula
tor (during install)
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to /home/simon_laws/java-2.x/samples/learning-more/implementation-o
sgi/dosgi-calculator/target/surefire-reports for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] Error for project: Apache Tuscany SCA Sample OSGi Remote Services Dynamic
 Calculator (during install)
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to /home/simon_laws/java-2.x/samples/learning-more/distributed-osgi
/dosgi-dynamic-calculator/target/surefire-reports for the individual test result
s.
[INFO] ------------------------------------------------------------------------
[INFO] Error for project: Apache Tuscany SCA Sample Launcher Embedded OSGi (duri
ng install)
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to /home/simon_laws/java-2.x/samples/running-tuscany/embedded-osgi/
target/surefire-reports for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] Error for project: Apache Tuscany SCA Sample Implementation Extension (du
ring install)
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to /home/simon_laws/java-2.x/samples/extending-tuscany/implementati
on-sample/target/surefire-reports for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] Error for project: Apache Tuscany SCA iTest Distribution Legal Checks (du
ring install)
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to /home/simon_laws/java-2.x/testing/itest/distribution/legal-check
s/target/surefire-reports for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] Error for project: Apache Tuscany SCA iTest JMS Time To Live (during inst
all)
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to /home/simon_laws/java-2.x/testing/itest/jms/ttl/target/surefire-
reports for the individual test results.

Regards

Simon

-- 
Apache Tuscany committer: tuscany.apache.org
Co-author of a book about Tuscany and SCA: tuscanyinaction.com

[jira] Commented: (TUSCANY-3810) Various issues with removing explicit dependencies for things that are included in JDK6

Posted by "Mike Edwards (JIRA)" <de...@tuscany.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-3810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12970458#action_12970458 ] 

Mike Edwards commented on TUSCANY-3810:
---------------------------------------

For jaxb-impl & jaxb-api, only the following need changing:

pom.xml of:

modules\databinding-jaxb
modules\base-runtime
modules\base-runtime-pom

The dependencies are commented out already in pom.xml of:

modules\common-xml
modules\implementation-jaxrs-runtime

In all other cases the pom statements relate to excluding these 2 dependencies and so do not need changing...

> Various issues with removing explicit dependencies for things that are included in JDK6
> ---------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-3810
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3810
>             Project: Tuscany
>          Issue Type: Bug
>            Reporter: ant elder
>             Fix For: Java-SCA-2.0
>
>
> Before Tuscany supported running with Java 1.5 so various dependencies were defined explicitly, now Tuscany only support Java 1.6 which includes dependencies such as stax, jaxb and other standard APIs so the Tuscany explict dependencies can be removed which stops the dependency jars being dragged in as transitive dependencies.
> Doing this however causes quit e alot of problems, some are due to simple things like test code not doing things like calling close which you can get away with with woodstox bu not with the JDK stax parser, other things are not using standard APIs quite correctly. 
> This JIRA is to track all the issues.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] [Closed] (TUSCANY-3810) Various issues with removing explicit dependencies for things that are included in JDK6

Posted by "ant elder (JIRA)" <de...@tuscany.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-3810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ant elder closed TUSCANY-3810.
------------------------------

    Resolution: Fixed

This has been fixed now

> Various issues with removing explicit dependencies for things that are included in JDK6
> ---------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-3810
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3810
>             Project: Tuscany
>          Issue Type: Bug
>            Reporter: ant elder
>             Fix For: Java-SCA-2.x
>
>
> Before Tuscany supported running with Java 1.5 so various dependencies were defined explicitly, now Tuscany only support Java 1.6 which includes dependencies such as stax, jaxb and other standard APIs so the Tuscany explict dependencies can be removed which stops the dependency jars being dragged in as transitive dependencies.
> Doing this however causes quit e alot of problems, some are due to simple things like test code not doing things like calling close which you can get away with with woodstox bu not with the JDK stax parser, other things are not using standard APIs quite correctly. 
> This JIRA is to track all the issues.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Commented: (TUSCANY-3810) Various issues with removing explicit dependencies for things that are included in JDK6

Posted by "ant elder (JIRA)" <de...@tuscany.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-3810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12970754#action_12970754 ] 

ant elder commented on TUSCANY-3810:
------------------------------------

I think all the compile/runtime dependencies have been remove now, there are still a few test scope dependencies. These are needed due to either: 

- bugs in the tuscany tests where the reader/writers don't get closed, that seesm to work ok with woodstox but with the Java stax parser it doesn't. To fix just need to update the test cases adding a close. 

- a bug in the Tuscany WS code that tries to create a stream reader form a dom source which is not supported. Mike fixed another case of that in the assembly model a while back so just need to copy that code to the ws code

- some JAXB test cases are failing. Don't know why, its only in the databinding modules unit tests so hopefully not a serious issue

The places these test scope dependencies are:

wstx-asl:

assembly-xml
binding-jms
binding-rest
binding-ws
binding-ws-runtime-axis2
databinding
databinding-json
databinding-sdo
implementation-script-runtime
policy-wspolicy
itest/policy
itest/ws/authentication-basic
itest/ws/endpoint-references
complicance-tests all

jaxb-impl:

databinding-jaxb
databinding-jaxb-axiom


   

> Various issues with removing explicit dependencies for things that are included in JDK6
> ---------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-3810
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3810
>             Project: Tuscany
>          Issue Type: Bug
>            Reporter: ant elder
>             Fix For: Java-SCA-2.0
>
>
> Before Tuscany supported running with Java 1.5 so various dependencies were defined explicitly, now Tuscany only support Java 1.6 which includes dependencies such as stax, jaxb and other standard APIs so the Tuscany explict dependencies can be removed which stops the dependency jars being dragged in as transitive dependencies.
> Doing this however causes quit e alot of problems, some are due to simple things like test code not doing things like calling close which you can get away with with woodstox bu not with the JDK stax parser, other things are not using standard APIs quite correctly. 
> This JIRA is to track all the issues.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TUSCANY-3810) Various issues with removing explicit dependencies for things that are included in JDK6

Posted by "Mike Edwards (JIRA)" <de...@tuscany.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-3810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12970453#action_12970453 ] 

Mike Edwards commented on TUSCANY-3810:
---------------------------------------

Here is a list of all the places where jaxb-impl turns up in the pom:

modules\base-runtime\
modules\base-runtime-pom\
modules\binding-ejb-runtime\
modules\binding-rest-runtime\
modules\common-xml\
modules\databinding-jaxb\
modules\implementation-jaxrs-runtime\
modules\wink\
samples\learning-more\implementation-web\helloworld-jaxrs\
distribution\all\target\apache-tuscany-sca-all-2.0-SNAPSHOT.dir\tuscany-sca-2.0-SNAPSHOT\samples\learning-more\implementation-web\helloworld-jaxrs\
distribution\all+jms\target\apache-tuscany-sca-all-2.0-SNAPSHOT.dir\tuscany-sca-2.0-SNAPSHOT\samples\learning-more\implementation-web\helloworld-jaxrs\


> Various issues with removing explicit dependencies for things that are included in JDK6
> ---------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-3810
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3810
>             Project: Tuscany
>          Issue Type: Bug
>            Reporter: ant elder
>             Fix For: Java-SCA-2.0
>
>
> Before Tuscany supported running with Java 1.5 so various dependencies were defined explicitly, now Tuscany only support Java 1.6 which includes dependencies such as stax, jaxb and other standard APIs so the Tuscany explict dependencies can be removed which stops the dependency jars being dragged in as transitive dependencies.
> Doing this however causes quit e alot of problems, some are due to simple things like test code not doing things like calling close which you can get away with with woodstox bu not with the JDK stax parser, other things are not using standard APIs quite correctly. 
> This JIRA is to track all the issues.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.