You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Luciano Resende (JIRA)" <de...@tuscany.apache.org> on 2009/05/12 00:24:45 UTC

[jira] Created: (TUSCANY-3015) 2.x Runtime can't handle contributions with spaces in the name

2.x Runtime can't handle contributions with spaces in the name
--------------------------------------------------------------

                 Key: TUSCANY-3015
                 URL: https://issues.apache.org/jira/browse/TUSCANY-3015
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Core Runtime
    Affects Versions:  Java-SCA-2.0-M2
            Reporter: Luciano Resende
             Fix For: Java-SCA-2.0


run:

init:
    [mkdir] Created dir: /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/target/classes

compile:
    [javac] Compiling 13 source files to /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/target/classes
     [copy] Copying 2 files to /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/target/classes
      [jar] Building jar: /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/target/sample-binding-ws-calculator.jar

run:
     [java] May 11, 2009 12:43:51 AM org.apache.tuscany.sca.node.impl.NodeImpl &lt;init>
     [java] INFO: Creating node: default
     [java] Exception in thread "main" java.lang.reflect.InvocationTargetException
     [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java] 	at java.lang.reflect.Method.invoke(Method.java:597)
     [java] 	at org.apache.tuscany.sca.launcher.LauncherMain.invokeMainMethod(LauncherMain.java:114)
     [java] 	at org.apache.tuscany.sca.launcher.LauncherMain.main(LauncherMain.java:55)
     [java] Caused by: org.oasisopen.sca.ServiceRuntimeException: java.lang.IllegalArgumentException
     [java] 	at org.apache.tuscany.sca.node.impl.NodeImpl.&lt;init>(NodeImpl.java:191)
     [java] 	at org.apache.tuscany.sca.node.impl.NodeFactoryImpl.createNode(NodeFactoryImpl.java:52)
     [java] 	at sample.SampleClientImpl.main(SampleClientImpl.java:31)
     [java] 	... 6 more
     [java] Caused by: java.lang.IllegalArgumentException
     [java] 	at java.net.URI.create(URI.java:842)
     [java] 	at org.apache.tuscany.sca.node.impl.NodeImpl.configureNode(NodeImpl.java:510)
     [java] 	at org.apache.tuscany.sca.node.impl.NodeImpl.&lt;init>(NodeImpl.java:188)
     [java] 	... 8 more
     [java] Caused by: java.net.URISyntaxException: Illegal character in path at index 56: file:/zonestorage/hudson/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/target/sample-binding-ws-calculator.jar
     [java] 	at java.net.URI$Parser.fail(URI.java:2809)
     [java] 	at java.net.URI$Parser.checkChars(URI.java:2982)
     [java] 	at java.net.URI$Parser.parseHierarchical(URI.java:3066)
     [java] 	at java.net.URI$Parser.parse(URI.java:3014)
     [java] 	at java.net.URI.&lt;init>(URI.java:578)
     [java] 	at java.net.URI.create(URI.java:840)
     [java] 	... 10 more
[HUDSON] Archiving /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/itest/distribution/binding-ws-calculator/pom.xml to /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/modules/org.apache.tuscany.sca$itest-distribution-binding-ws-calculator/builds/2009-05-11_00-28-24/archive/org.apache.tuscany.sca/itest-distribution-binding-ws-calculator/2.0-SNAPSHOT/pom.xml
[HUDSON] Archiving /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/itest/distribution/binding-ws-calculator/target/itest-distribution-binding-ws-calculator-2.0-SNAPSHOT.jar to /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/modules/org.apache.tuscany.sca$itest-distribution-binding-ws-calculator/builds/2009-05-11_00-28-24/archive/org.apache.tuscany.sca/itest-distribution-binding-ws-calculator/2.0-SNAPSHOT/itest-distribution-binding-ws-calculator-2.0-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] An Ant BuildException has occured: The following error occurred while executing this line:
/export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/itest/distribution/binding-ws-calculator/build.xml:36: The following error occurred while executing this line:
/export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/build.xml:58: Java returned: 1



-- 
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-3015) 2.x Runtime can't handle contributions with spaces in the name

Posted by Raymond Feng <en...@gmail.com>.
I fixed the issue under r783576. The createURI() method did double-escaping 
if the string is already escaped.

Thanks,
Raymond
--------------------------------------------------
From: "ant elder" <an...@gmail.com>
Sent: Wednesday, June 10, 2009 10:20 AM
To: <de...@tuscany.apache.org>
Subject: Re: [jira] Commented: (TUSCANY-3015) 2.x Runtime can't handle 
contributions with spaces in the name

> On Wed, May 13, 2009 at 4:19 PM, Luciano Resende<lu...@gmail.com> 
> wrote:
>> On Wed, May 13, 2009 at 3:06 AM, ant elder (JIRA)
>> <de...@tuscany.apache.org> wrote:
>>>
>>>    [ 
>>> https://issues.apache.org/jira/browse/TUSCANY-3015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12708870#action_12708870 ]
>>>
>>> ant elder commented on TUSCANY-3015:
>>> ------------------------------------
>>>
>>> Also the helloworld-bpel sample is failing again for me now. I've not 
>>> debugged it to see whats wrong but from the console log it looks like 
>>> its treating the %20 as an actual string part of the process file name 
>>> location instead of an escaped space.
>>>
>>>
>>
>> Ok, I can take a quick look... do you have your source code checked
>> out in a folder with spaces on the name ?
>>
>>
>
> Did you ever find anything about this? This is now breaking all the
> webapp itests for me as the jetty plugin runs them from the system
> temp folder which on my machine is in a path which contains a space.
> It looks like the change here means the the escape characters like %20
> now get used as a literal part of the file name.
>
>   ...ant 


Re: [jira] Commented: (TUSCANY-3015) 2.x Runtime can't handle contributions with spaces in the name

Posted by ant elder <an...@gmail.com>.
On Wed, May 13, 2009 at 4:19 PM, Luciano Resende<lu...@gmail.com> wrote:
> On Wed, May 13, 2009 at 3:06 AM, ant elder (JIRA)
> <de...@tuscany.apache.org> wrote:
>>
>>    [ https://issues.apache.org/jira/browse/TUSCANY-3015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12708870#action_12708870 ]
>>
>> ant elder commented on TUSCANY-3015:
>> ------------------------------------
>>
>> Also the helloworld-bpel sample is failing again for me now. I've not debugged it to see whats wrong but from the console log it looks like its treating the %20 as an actual string part of the process file name location instead of an escaped space.
>>
>>
>
> Ok, I can take a quick look... do you have your source code checked
> out in a folder with spaces on the name ?
>
>

Did you ever find anything about this? This is now breaking all the
webapp itests for me as the jetty plugin runs them from the system
temp folder which on my machine is in a path which contains a space.
It looks like the change here means the the escape characters like %20
now get used as a literal part of the file name.

   ...ant

Re: [jira] Commented: (TUSCANY-3015) 2.x Runtime can't handle contributions with spaces in the name

Posted by ant elder <an...@gmail.com>.
On Wed, May 13, 2009 at 4:19 PM, Luciano Resende <lu...@gmail.com> wrote:
> On Wed, May 13, 2009 at 3:06 AM, ant elder (JIRA)
> <de...@tuscany.apache.org> wrote:
>>
>>    [ https://issues.apache.org/jira/browse/TUSCANY-3015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12708870#action_12708870 ]
>>
>> ant elder commented on TUSCANY-3015:
>> ------------------------------------
>>
>> Also the helloworld-bpel sample is failing again for me now. I've not debugged it to see whats wrong but from the console log it looks like its treating the %20 as an actual string part of the process file name location instead of an escaped space.
>>
>>
>
> Ok, I can take a quick look... do you have your source code checked
> out in a folder with spaces on the name ?
>
>

Yes, after seeing this JIRA created I changed my checkout to use a
directory path including a space as that seemed a good way to find the
reoccurring issues and as this has come up several times before from
users it would be good to stop it from happening.

   ...ant

Re: [jira] Commented: (TUSCANY-3015) 2.x Runtime can't handle contributions with spaces in the name

Posted by Luciano Resende <lu...@gmail.com>.
On Wed, May 13, 2009 at 3:06 AM, ant elder (JIRA)
<de...@tuscany.apache.org> wrote:
>
>    [ https://issues.apache.org/jira/browse/TUSCANY-3015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12708870#action_12708870 ]
>
> ant elder commented on TUSCANY-3015:
> ------------------------------------
>
> Also the helloworld-bpel sample is failing again for me now. I've not debugged it to see whats wrong but from the console log it looks like its treating the %20 as an actual string part of the process file name location instead of an escaped space.
>
>

Ok, I can take a quick look... do you have your source code checked
out in a folder with spaces on the name ?


-- 
Luciano Resende
Apache Tuscany, Apache PhotArk
http://people.apache.org/~lresende
http://lresende.blogspot.com/

[jira] Commented: (TUSCANY-3015) 2.x Runtime can't handle contributions with spaces in the name

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

ant elder commented on TUSCANY-3015:
------------------------------------

This is getting closer but there are still several fails in:
node-impl-osgi
node-launcher-equinox
itest/implementation-spring

> 2.x Runtime can't handle contributions with spaces in the name
> --------------------------------------------------------------
>
>                 Key: TUSCANY-3015
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3015
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core Runtime
>    Affects Versions:  Java-SCA-2.0-M2
>            Reporter: Luciano Resende
>            Assignee: Luciano Resende
>             Fix For: Java-SCA-2.0
>
>
> run:
> init:
>     [mkdir] Created dir: /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/target/classes
> compile:
>     [javac] Compiling 13 source files to /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/target/classes
>      [copy] Copying 2 files to /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/target/classes
>       [jar] Building jar: /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/target/sample-binding-ws-calculator.jar
> run:
>      [java] May 11, 2009 12:43:51 AM org.apache.tuscany.sca.node.impl.NodeImpl &lt;init>
>      [java] INFO: Creating node: default
>      [java] Exception in thread "main" java.lang.reflect.InvocationTargetException
>      [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>      [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>      [java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>      [java] 	at java.lang.reflect.Method.invoke(Method.java:597)
>      [java] 	at org.apache.tuscany.sca.launcher.LauncherMain.invokeMainMethod(LauncherMain.java:114)
>      [java] 	at org.apache.tuscany.sca.launcher.LauncherMain.main(LauncherMain.java:55)
>      [java] Caused by: org.oasisopen.sca.ServiceRuntimeException: java.lang.IllegalArgumentException
>      [java] 	at org.apache.tuscany.sca.node.impl.NodeImpl.&lt;init>(NodeImpl.java:191)
>      [java] 	at org.apache.tuscany.sca.node.impl.NodeFactoryImpl.createNode(NodeFactoryImpl.java:52)
>      [java] 	at sample.SampleClientImpl.main(SampleClientImpl.java:31)
>      [java] 	... 6 more
>      [java] Caused by: java.lang.IllegalArgumentException
>      [java] 	at java.net.URI.create(URI.java:842)
>      [java] 	at org.apache.tuscany.sca.node.impl.NodeImpl.configureNode(NodeImpl.java:510)
>      [java] 	at org.apache.tuscany.sca.node.impl.NodeImpl.&lt;init>(NodeImpl.java:188)
>      [java] 	... 8 more
>      [java] Caused by: java.net.URISyntaxException: Illegal character in path at index 56: file:/zonestorage/hudson/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/target/sample-binding-ws-calculator.jar
>      [java] 	at java.net.URI$Parser.fail(URI.java:2809)
>      [java] 	at java.net.URI$Parser.checkChars(URI.java:2982)
>      [java] 	at java.net.URI$Parser.parseHierarchical(URI.java:3066)
>      [java] 	at java.net.URI$Parser.parse(URI.java:3014)
>      [java] 	at java.net.URI.&lt;init>(URI.java:578)
>      [java] 	at java.net.URI.create(URI.java:840)
>      [java] 	... 10 more
> [HUDSON] Archiving /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/itest/distribution/binding-ws-calculator/pom.xml to /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/modules/org.apache.tuscany.sca$itest-distribution-binding-ws-calculator/builds/2009-05-11_00-28-24/archive/org.apache.tuscany.sca/itest-distribution-binding-ws-calculator/2.0-SNAPSHOT/pom.xml
> [HUDSON] Archiving /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/itest/distribution/binding-ws-calculator/target/itest-distribution-binding-ws-calculator-2.0-SNAPSHOT.jar to /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/modules/org.apache.tuscany.sca$itest-distribution-binding-ws-calculator/builds/2009-05-11_00-28-24/archive/org.apache.tuscany.sca/itest-distribution-binding-ws-calculator/2.0-SNAPSHOT/itest-distribution-binding-ws-calculator-2.0-SNAPSHOT.jar
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] An Ant BuildException has occured: The following error occurred while executing this line:
> /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/itest/distribution/binding-ws-calculator/build.xml:36: The following error occurred while executing this line:
> /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/build.xml:58: Java returned: 1

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


[jira] Assigned: (TUSCANY-3015) 2.x Runtime can't handle contributions with spaces in the name

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

Luciano Resende reassigned TUSCANY-3015:
----------------------------------------

    Assignee: Luciano Resende

> 2.x Runtime can't handle contributions with spaces in the name
> --------------------------------------------------------------
>
>                 Key: TUSCANY-3015
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3015
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core Runtime
>    Affects Versions:  Java-SCA-2.0-M2
>            Reporter: Luciano Resende
>            Assignee: Luciano Resende
>             Fix For: Java-SCA-2.0
>
>
> run:
> init:
>     [mkdir] Created dir: /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/target/classes
> compile:
>     [javac] Compiling 13 source files to /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/target/classes
>      [copy] Copying 2 files to /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/target/classes
>       [jar] Building jar: /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/target/sample-binding-ws-calculator.jar
> run:
>      [java] May 11, 2009 12:43:51 AM org.apache.tuscany.sca.node.impl.NodeImpl &lt;init>
>      [java] INFO: Creating node: default
>      [java] Exception in thread "main" java.lang.reflect.InvocationTargetException
>      [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>      [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>      [java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>      [java] 	at java.lang.reflect.Method.invoke(Method.java:597)
>      [java] 	at org.apache.tuscany.sca.launcher.LauncherMain.invokeMainMethod(LauncherMain.java:114)
>      [java] 	at org.apache.tuscany.sca.launcher.LauncherMain.main(LauncherMain.java:55)
>      [java] Caused by: org.oasisopen.sca.ServiceRuntimeException: java.lang.IllegalArgumentException
>      [java] 	at org.apache.tuscany.sca.node.impl.NodeImpl.&lt;init>(NodeImpl.java:191)
>      [java] 	at org.apache.tuscany.sca.node.impl.NodeFactoryImpl.createNode(NodeFactoryImpl.java:52)
>      [java] 	at sample.SampleClientImpl.main(SampleClientImpl.java:31)
>      [java] 	... 6 more
>      [java] Caused by: java.lang.IllegalArgumentException
>      [java] 	at java.net.URI.create(URI.java:842)
>      [java] 	at org.apache.tuscany.sca.node.impl.NodeImpl.configureNode(NodeImpl.java:510)
>      [java] 	at org.apache.tuscany.sca.node.impl.NodeImpl.&lt;init>(NodeImpl.java:188)
>      [java] 	... 8 more
>      [java] Caused by: java.net.URISyntaxException: Illegal character in path at index 56: file:/zonestorage/hudson/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/target/sample-binding-ws-calculator.jar
>      [java] 	at java.net.URI$Parser.fail(URI.java:2809)
>      [java] 	at java.net.URI$Parser.checkChars(URI.java:2982)
>      [java] 	at java.net.URI$Parser.parseHierarchical(URI.java:3066)
>      [java] 	at java.net.URI$Parser.parse(URI.java:3014)
>      [java] 	at java.net.URI.&lt;init>(URI.java:578)
>      [java] 	at java.net.URI.create(URI.java:840)
>      [java] 	... 10 more
> [HUDSON] Archiving /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/itest/distribution/binding-ws-calculator/pom.xml to /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/modules/org.apache.tuscany.sca$itest-distribution-binding-ws-calculator/builds/2009-05-11_00-28-24/archive/org.apache.tuscany.sca/itest-distribution-binding-ws-calculator/2.0-SNAPSHOT/pom.xml
> [HUDSON] Archiving /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/itest/distribution/binding-ws-calculator/target/itest-distribution-binding-ws-calculator-2.0-SNAPSHOT.jar to /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/modules/org.apache.tuscany.sca$itest-distribution-binding-ws-calculator/builds/2009-05-11_00-28-24/archive/org.apache.tuscany.sca/itest-distribution-binding-ws-calculator/2.0-SNAPSHOT/itest-distribution-binding-ws-calculator-2.0-SNAPSHOT.jar
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] An Ant BuildException has occured: The following error occurred while executing this line:
> /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/itest/distribution/binding-ws-calculator/build.xml:36: The following error occurred while executing this line:
> /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/build.xml:58: Java returned: 1

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


[jira] Commented: (TUSCANY-3015) 2.x Runtime can't handle contributions with spaces in the name

Posted by "Luciano Resende (JIRA)" <de...@tuscany.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-3015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12708495#action_12708495 ] 

Luciano Resende commented on TUSCANY-3015:
------------------------------------------

We should probably avoid using string replace to fix this issue, and use URI which will have the proper code to handle the encode/decode when special characters are present on the string, see [1].... I had most of changes done locally (using the same approach I fixed the 1.x codestream), and will commit after I fix couple places where I'm still seeing test failures.



[1] http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4968789

> 2.x Runtime can't handle contributions with spaces in the name
> --------------------------------------------------------------
>
>                 Key: TUSCANY-3015
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3015
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core Runtime
>    Affects Versions:  Java-SCA-2.0-M2
>            Reporter: Luciano Resende
>            Assignee: Luciano Resende
>             Fix For: Java-SCA-2.0
>
>
> run:
> init:
>     [mkdir] Created dir: /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/target/classes
> compile:
>     [javac] Compiling 13 source files to /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/target/classes
>      [copy] Copying 2 files to /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/target/classes
>       [jar] Building jar: /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/target/sample-binding-ws-calculator.jar
> run:
>      [java] May 11, 2009 12:43:51 AM org.apache.tuscany.sca.node.impl.NodeImpl &lt;init>
>      [java] INFO: Creating node: default
>      [java] Exception in thread "main" java.lang.reflect.InvocationTargetException
>      [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>      [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>      [java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>      [java] 	at java.lang.reflect.Method.invoke(Method.java:597)
>      [java] 	at org.apache.tuscany.sca.launcher.LauncherMain.invokeMainMethod(LauncherMain.java:114)
>      [java] 	at org.apache.tuscany.sca.launcher.LauncherMain.main(LauncherMain.java:55)
>      [java] Caused by: org.oasisopen.sca.ServiceRuntimeException: java.lang.IllegalArgumentException
>      [java] 	at org.apache.tuscany.sca.node.impl.NodeImpl.&lt;init>(NodeImpl.java:191)
>      [java] 	at org.apache.tuscany.sca.node.impl.NodeFactoryImpl.createNode(NodeFactoryImpl.java:52)
>      [java] 	at sample.SampleClientImpl.main(SampleClientImpl.java:31)
>      [java] 	... 6 more
>      [java] Caused by: java.lang.IllegalArgumentException
>      [java] 	at java.net.URI.create(URI.java:842)
>      [java] 	at org.apache.tuscany.sca.node.impl.NodeImpl.configureNode(NodeImpl.java:510)
>      [java] 	at org.apache.tuscany.sca.node.impl.NodeImpl.&lt;init>(NodeImpl.java:188)
>      [java] 	... 8 more
>      [java] Caused by: java.net.URISyntaxException: Illegal character in path at index 56: file:/zonestorage/hudson/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/target/sample-binding-ws-calculator.jar
>      [java] 	at java.net.URI$Parser.fail(URI.java:2809)
>      [java] 	at java.net.URI$Parser.checkChars(URI.java:2982)
>      [java] 	at java.net.URI$Parser.parseHierarchical(URI.java:3066)
>      [java] 	at java.net.URI$Parser.parse(URI.java:3014)
>      [java] 	at java.net.URI.&lt;init>(URI.java:578)
>      [java] 	at java.net.URI.create(URI.java:840)
>      [java] 	... 10 more
> [HUDSON] Archiving /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/itest/distribution/binding-ws-calculator/pom.xml to /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/modules/org.apache.tuscany.sca$itest-distribution-binding-ws-calculator/builds/2009-05-11_00-28-24/archive/org.apache.tuscany.sca/itest-distribution-binding-ws-calculator/2.0-SNAPSHOT/pom.xml
> [HUDSON] Archiving /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/itest/distribution/binding-ws-calculator/target/itest-distribution-binding-ws-calculator-2.0-SNAPSHOT.jar to /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/modules/org.apache.tuscany.sca$itest-distribution-binding-ws-calculator/builds/2009-05-11_00-28-24/archive/org.apache.tuscany.sca/itest-distribution-binding-ws-calculator/2.0-SNAPSHOT/itest-distribution-binding-ws-calculator-2.0-SNAPSHOT.jar
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] An Ant BuildException has occured: The following error occurred while executing this line:
> /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/itest/distribution/binding-ws-calculator/build.xml:36: The following error occurred while executing this line:
> /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/build.xml:58: Java returned: 1

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


[jira] Resolved: (TUSCANY-3015) 2.x Runtime can't handle contributions with spaces in the name

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

Luciano Resende resolved TUSCANY-3015.
--------------------------------------

    Resolution: Fixed

Fixed

> 2.x Runtime can't handle contributions with spaces in the name
> --------------------------------------------------------------
>
>                 Key: TUSCANY-3015
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3015
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core Runtime
>    Affects Versions:  Java-SCA-2.0-M2
>            Reporter: Luciano Resende
>            Assignee: Luciano Resende
>             Fix For: Java-SCA-2.0
>
>
> run:
> init:
>     [mkdir] Created dir: /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/target/classes
> compile:
>     [javac] Compiling 13 source files to /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/target/classes
>      [copy] Copying 2 files to /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/target/classes
>       [jar] Building jar: /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/target/sample-binding-ws-calculator.jar
> run:
>      [java] May 11, 2009 12:43:51 AM org.apache.tuscany.sca.node.impl.NodeImpl &lt;init>
>      [java] INFO: Creating node: default
>      [java] Exception in thread "main" java.lang.reflect.InvocationTargetException
>      [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>      [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>      [java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>      [java] 	at java.lang.reflect.Method.invoke(Method.java:597)
>      [java] 	at org.apache.tuscany.sca.launcher.LauncherMain.invokeMainMethod(LauncherMain.java:114)
>      [java] 	at org.apache.tuscany.sca.launcher.LauncherMain.main(LauncherMain.java:55)
>      [java] Caused by: org.oasisopen.sca.ServiceRuntimeException: java.lang.IllegalArgumentException
>      [java] 	at org.apache.tuscany.sca.node.impl.NodeImpl.&lt;init>(NodeImpl.java:191)
>      [java] 	at org.apache.tuscany.sca.node.impl.NodeFactoryImpl.createNode(NodeFactoryImpl.java:52)
>      [java] 	at sample.SampleClientImpl.main(SampleClientImpl.java:31)
>      [java] 	... 6 more
>      [java] Caused by: java.lang.IllegalArgumentException
>      [java] 	at java.net.URI.create(URI.java:842)
>      [java] 	at org.apache.tuscany.sca.node.impl.NodeImpl.configureNode(NodeImpl.java:510)
>      [java] 	at org.apache.tuscany.sca.node.impl.NodeImpl.&lt;init>(NodeImpl.java:188)
>      [java] 	... 8 more
>      [java] Caused by: java.net.URISyntaxException: Illegal character in path at index 56: file:/zonestorage/hudson/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/target/sample-binding-ws-calculator.jar
>      [java] 	at java.net.URI$Parser.fail(URI.java:2809)
>      [java] 	at java.net.URI$Parser.checkChars(URI.java:2982)
>      [java] 	at java.net.URI$Parser.parseHierarchical(URI.java:3066)
>      [java] 	at java.net.URI$Parser.parse(URI.java:3014)
>      [java] 	at java.net.URI.&lt;init>(URI.java:578)
>      [java] 	at java.net.URI.create(URI.java:840)
>      [java] 	... 10 more
> [HUDSON] Archiving /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/itest/distribution/binding-ws-calculator/pom.xml to /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/modules/org.apache.tuscany.sca$itest-distribution-binding-ws-calculator/builds/2009-05-11_00-28-24/archive/org.apache.tuscany.sca/itest-distribution-binding-ws-calculator/2.0-SNAPSHOT/pom.xml
> [HUDSON] Archiving /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/itest/distribution/binding-ws-calculator/target/itest-distribution-binding-ws-calculator-2.0-SNAPSHOT.jar to /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/modules/org.apache.tuscany.sca$itest-distribution-binding-ws-calculator/builds/2009-05-11_00-28-24/archive/org.apache.tuscany.sca/itest-distribution-binding-ws-calculator/2.0-SNAPSHOT/itest-distribution-binding-ws-calculator-2.0-SNAPSHOT.jar
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] An Ant BuildException has occured: The following error occurred while executing this line:
> /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/itest/distribution/binding-ws-calculator/build.xml:36: The following error occurred while executing this line:
> /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/build.xml:58: Java returned: 1

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


[jira] Commented: (TUSCANY-3015) 2.x Runtime can't handle contributions with spaces in the name

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

ant elder commented on TUSCANY-3015:
------------------------------------

I've fixed a bunch of places where a space in the file name wasn't been tolerated and the build is now working except for in the osgi launcher. It looks like Equinox isn't handling a space or %20 in the name, eg in BundleContext.installBundle at line 244 in teh Tuscany EquinoxHost. There's an eclipse bug about this though it seems quite old - https://bugs.eclipse.org/bugs/show_bug.cgi?id=184620 

> 2.x Runtime can't handle contributions with spaces in the name
> --------------------------------------------------------------
>
>                 Key: TUSCANY-3015
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3015
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core Runtime
>    Affects Versions:  Java-SCA-2.0-M2
>            Reporter: Luciano Resende
>             Fix For: Java-SCA-2.0
>
>
> run:
> init:
>     [mkdir] Created dir: /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/target/classes
> compile:
>     [javac] Compiling 13 source files to /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/target/classes
>      [copy] Copying 2 files to /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/target/classes
>       [jar] Building jar: /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/target/sample-binding-ws-calculator.jar
> run:
>      [java] May 11, 2009 12:43:51 AM org.apache.tuscany.sca.node.impl.NodeImpl &lt;init>
>      [java] INFO: Creating node: default
>      [java] Exception in thread "main" java.lang.reflect.InvocationTargetException
>      [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>      [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>      [java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>      [java] 	at java.lang.reflect.Method.invoke(Method.java:597)
>      [java] 	at org.apache.tuscany.sca.launcher.LauncherMain.invokeMainMethod(LauncherMain.java:114)
>      [java] 	at org.apache.tuscany.sca.launcher.LauncherMain.main(LauncherMain.java:55)
>      [java] Caused by: org.oasisopen.sca.ServiceRuntimeException: java.lang.IllegalArgumentException
>      [java] 	at org.apache.tuscany.sca.node.impl.NodeImpl.&lt;init>(NodeImpl.java:191)
>      [java] 	at org.apache.tuscany.sca.node.impl.NodeFactoryImpl.createNode(NodeFactoryImpl.java:52)
>      [java] 	at sample.SampleClientImpl.main(SampleClientImpl.java:31)
>      [java] 	... 6 more
>      [java] Caused by: java.lang.IllegalArgumentException
>      [java] 	at java.net.URI.create(URI.java:842)
>      [java] 	at org.apache.tuscany.sca.node.impl.NodeImpl.configureNode(NodeImpl.java:510)
>      [java] 	at org.apache.tuscany.sca.node.impl.NodeImpl.&lt;init>(NodeImpl.java:188)
>      [java] 	... 8 more
>      [java] Caused by: java.net.URISyntaxException: Illegal character in path at index 56: file:/zonestorage/hudson/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/target/sample-binding-ws-calculator.jar
>      [java] 	at java.net.URI$Parser.fail(URI.java:2809)
>      [java] 	at java.net.URI$Parser.checkChars(URI.java:2982)
>      [java] 	at java.net.URI$Parser.parseHierarchical(URI.java:3066)
>      [java] 	at java.net.URI$Parser.parse(URI.java:3014)
>      [java] 	at java.net.URI.&lt;init>(URI.java:578)
>      [java] 	at java.net.URI.create(URI.java:840)
>      [java] 	... 10 more
> [HUDSON] Archiving /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/itest/distribution/binding-ws-calculator/pom.xml to /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/modules/org.apache.tuscany.sca$itest-distribution-binding-ws-calculator/builds/2009-05-11_00-28-24/archive/org.apache.tuscany.sca/itest-distribution-binding-ws-calculator/2.0-SNAPSHOT/pom.xml
> [HUDSON] Archiving /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/itest/distribution/binding-ws-calculator/target/itest-distribution-binding-ws-calculator-2.0-SNAPSHOT.jar to /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/modules/org.apache.tuscany.sca$itest-distribution-binding-ws-calculator/builds/2009-05-11_00-28-24/archive/org.apache.tuscany.sca/itest-distribution-binding-ws-calculator/2.0-SNAPSHOT/itest-distribution-binding-ws-calculator-2.0-SNAPSHOT.jar
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] An Ant BuildException has occured: The following error occurred while executing this line:
> /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/itest/distribution/binding-ws-calculator/build.xml:36: The following error occurred while executing this line:
> /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/build.xml:58: Java returned: 1

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


[jira] Reopened: (TUSCANY-3015) 2.x Runtime can't handle contributions with spaces in the name

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

ant elder reopened TUSCANY-3015:
--------------------------------


Doesn't the build still fail in node-launcher-equinox and node-impl-osgi when it contains spaces due to the Equinox issue - well it does for me anyway, is it now working for others? 

> 2.x Runtime can't handle contributions with spaces in the name
> --------------------------------------------------------------
>
>                 Key: TUSCANY-3015
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3015
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core Runtime
>    Affects Versions:  Java-SCA-2.0-M2
>            Reporter: Luciano Resende
>            Assignee: Luciano Resende
>             Fix For: Java-SCA-2.0
>
>
> run:
> init:
>     [mkdir] Created dir: /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/target/classes
> compile:
>     [javac] Compiling 13 source files to /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/target/classes
>      [copy] Copying 2 files to /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/target/classes
>       [jar] Building jar: /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/target/sample-binding-ws-calculator.jar
> run:
>      [java] May 11, 2009 12:43:51 AM org.apache.tuscany.sca.node.impl.NodeImpl &lt;init>
>      [java] INFO: Creating node: default
>      [java] Exception in thread "main" java.lang.reflect.InvocationTargetException
>      [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>      [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>      [java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>      [java] 	at java.lang.reflect.Method.invoke(Method.java:597)
>      [java] 	at org.apache.tuscany.sca.launcher.LauncherMain.invokeMainMethod(LauncherMain.java:114)
>      [java] 	at org.apache.tuscany.sca.launcher.LauncherMain.main(LauncherMain.java:55)
>      [java] Caused by: org.oasisopen.sca.ServiceRuntimeException: java.lang.IllegalArgumentException
>      [java] 	at org.apache.tuscany.sca.node.impl.NodeImpl.&lt;init>(NodeImpl.java:191)
>      [java] 	at org.apache.tuscany.sca.node.impl.NodeFactoryImpl.createNode(NodeFactoryImpl.java:52)
>      [java] 	at sample.SampleClientImpl.main(SampleClientImpl.java:31)
>      [java] 	... 6 more
>      [java] Caused by: java.lang.IllegalArgumentException
>      [java] 	at java.net.URI.create(URI.java:842)
>      [java] 	at org.apache.tuscany.sca.node.impl.NodeImpl.configureNode(NodeImpl.java:510)
>      [java] 	at org.apache.tuscany.sca.node.impl.NodeImpl.&lt;init>(NodeImpl.java:188)
>      [java] 	... 8 more
>      [java] Caused by: java.net.URISyntaxException: Illegal character in path at index 56: file:/zonestorage/hudson/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/target/sample-binding-ws-calculator.jar
>      [java] 	at java.net.URI$Parser.fail(URI.java:2809)
>      [java] 	at java.net.URI$Parser.checkChars(URI.java:2982)
>      [java] 	at java.net.URI$Parser.parseHierarchical(URI.java:3066)
>      [java] 	at java.net.URI$Parser.parse(URI.java:3014)
>      [java] 	at java.net.URI.&lt;init>(URI.java:578)
>      [java] 	at java.net.URI.create(URI.java:840)
>      [java] 	... 10 more
> [HUDSON] Archiving /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/itest/distribution/binding-ws-calculator/pom.xml to /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/modules/org.apache.tuscany.sca$itest-distribution-binding-ws-calculator/builds/2009-05-11_00-28-24/archive/org.apache.tuscany.sca/itest-distribution-binding-ws-calculator/2.0-SNAPSHOT/pom.xml
> [HUDSON] Archiving /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/itest/distribution/binding-ws-calculator/target/itest-distribution-binding-ws-calculator-2.0-SNAPSHOT.jar to /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/modules/org.apache.tuscany.sca$itest-distribution-binding-ws-calculator/builds/2009-05-11_00-28-24/archive/org.apache.tuscany.sca/itest-distribution-binding-ws-calculator/2.0-SNAPSHOT/itest-distribution-binding-ws-calculator-2.0-SNAPSHOT.jar
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] An Ant BuildException has occured: The following error occurred while executing this line:
> /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/itest/distribution/binding-ws-calculator/build.xml:36: The following error occurred while executing this line:
> /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/build.xml:58: Java returned: 1

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


[jira] Commented: (TUSCANY-3015) 2.x Runtime can't handle contributions with spaces in the name

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

ant elder commented on TUSCANY-3015:
------------------------------------

Also the helloworld-bpel sample is failing again for me now. I've not debugged it to see whats wrong but from the console log it looks like its treating the %20 as an actual string part of the process file name location instead of an escaped space.


> 2.x Runtime can't handle contributions with spaces in the name
> --------------------------------------------------------------
>
>                 Key: TUSCANY-3015
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3015
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core Runtime
>    Affects Versions:  Java-SCA-2.0-M2
>            Reporter: Luciano Resende
>            Assignee: Luciano Resende
>             Fix For: Java-SCA-2.0
>
>
> run:
> init:
>     [mkdir] Created dir: /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/target/classes
> compile:
>     [javac] Compiling 13 source files to /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/target/classes
>      [copy] Copying 2 files to /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/target/classes
>       [jar] Building jar: /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/target/sample-binding-ws-calculator.jar
> run:
>      [java] May 11, 2009 12:43:51 AM org.apache.tuscany.sca.node.impl.NodeImpl &lt;init>
>      [java] INFO: Creating node: default
>      [java] Exception in thread "main" java.lang.reflect.InvocationTargetException
>      [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>      [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>      [java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>      [java] 	at java.lang.reflect.Method.invoke(Method.java:597)
>      [java] 	at org.apache.tuscany.sca.launcher.LauncherMain.invokeMainMethod(LauncherMain.java:114)
>      [java] 	at org.apache.tuscany.sca.launcher.LauncherMain.main(LauncherMain.java:55)
>      [java] Caused by: org.oasisopen.sca.ServiceRuntimeException: java.lang.IllegalArgumentException
>      [java] 	at org.apache.tuscany.sca.node.impl.NodeImpl.&lt;init>(NodeImpl.java:191)
>      [java] 	at org.apache.tuscany.sca.node.impl.NodeFactoryImpl.createNode(NodeFactoryImpl.java:52)
>      [java] 	at sample.SampleClientImpl.main(SampleClientImpl.java:31)
>      [java] 	... 6 more
>      [java] Caused by: java.lang.IllegalArgumentException
>      [java] 	at java.net.URI.create(URI.java:842)
>      [java] 	at org.apache.tuscany.sca.node.impl.NodeImpl.configureNode(NodeImpl.java:510)
>      [java] 	at org.apache.tuscany.sca.node.impl.NodeImpl.&lt;init>(NodeImpl.java:188)
>      [java] 	... 8 more
>      [java] Caused by: java.net.URISyntaxException: Illegal character in path at index 56: file:/zonestorage/hudson/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/target/sample-binding-ws-calculator.jar
>      [java] 	at java.net.URI$Parser.fail(URI.java:2809)
>      [java] 	at java.net.URI$Parser.checkChars(URI.java:2982)
>      [java] 	at java.net.URI$Parser.parseHierarchical(URI.java:3066)
>      [java] 	at java.net.URI$Parser.parse(URI.java:3014)
>      [java] 	at java.net.URI.&lt;init>(URI.java:578)
>      [java] 	at java.net.URI.create(URI.java:840)
>      [java] 	... 10 more
> [HUDSON] Archiving /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/itest/distribution/binding-ws-calculator/pom.xml to /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/modules/org.apache.tuscany.sca$itest-distribution-binding-ws-calculator/builds/2009-05-11_00-28-24/archive/org.apache.tuscany.sca/itest-distribution-binding-ws-calculator/2.0-SNAPSHOT/pom.xml
> [HUDSON] Archiving /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/itest/distribution/binding-ws-calculator/target/itest-distribution-binding-ws-calculator-2.0-SNAPSHOT.jar to /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/modules/org.apache.tuscany.sca$itest-distribution-binding-ws-calculator/builds/2009-05-11_00-28-24/archive/org.apache.tuscany.sca/itest-distribution-binding-ws-calculator/2.0-SNAPSHOT/itest-distribution-binding-ws-calculator-2.0-SNAPSHOT.jar
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] An Ant BuildException has occured: The following error occurred while executing this line:
> /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/itest/distribution/binding-ws-calculator/build.xml:36: The following error occurred while executing this line:
> /export/home/hudson/hudson/jobs/Tuscany Java SCA 2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/build.xml:58: Java returned: 1

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