On Mon, Nov 17, 2008 at 10:14 AM, Ramkumar R <[EMAIL PROTECTED]> wrote:

> I noticed the same error reported from implementation-script module for the
> following testcases
>
> Tests in error:
>
> testCalculator(org.apache.tuscany.sca.implementation.script.itests.references.JRubyReferenceTestCase)
>
> testCalculator(org.apache.tuscany.sca.implementation.script.itests.helloworld.JRubyHelloWorldTestCase)
>
> But, the strange thing happening for me is that these testcases works fine
> in Eclipse environment.
>
> Is any one noticing the same kind of issue?
>
>
> On Mon, Nov 17, 2008 at 12:41 PM, Ramkumar R <[EMAIL PROTECTED]>wrote:
>
>> Branch: https://svn.apache.org/repos/asf/tuscany/branches/sca-java-1.x/
>> Revision: 718179
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Building Apache Tuscany SCA Calculator Sample using Scripting
>> Languages
>> [INFO]    task-segment: [clean, install]
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] [clean:clean]
>> [INFO] [resources:resources]
>> [INFO] Using default encoding to copy filtered resources.
>> [INFO] [compiler:compile]
>> [INFO] Compiling 7 source files to
>> C:\Tuscany\trunk\samples\calculator-script\target\classes
>> [INFO] [resources:testResources]
>> [INFO] Using default encoding to copy filtered resources.
>> [INFO] [compiler:testCompile]
>> [INFO] Compiling 1 source file to
>> C:\Tuscany\trunk\samples\calculator-script\target\test-classes
>> [INFO] [surefire:test]
>> [INFO] Surefire report directory:
>> C:\Tuscany\trunk\samples\calculator-script\target\surefire-reports
>>
>> -------------------------------------------------------
>>  T E S T S
>> -------------------------------------------------------
>> Running calculator.CalculatorTestCase
>> Nov 17, 2008 12:27:31 PM org.apache.tuscany.sca.node.impl.NodeImpl <init>
>> INFO: Creating node: Calculator.composite
>> Nov 17, 2008 12:27:32 PM org.apache.tuscany.sca.node.impl.NodeImpl
>> configureNode
>> INFO: Loading contribution:
>> file:/C:/Tuscany/trunk/samples/calculator-script/target/classes/
>> Nov 17, 2008 12:27:33 PM org.apache.tuscany.sca.node.impl.NodeImpl
>> configureNode
>> INFO: Loading composite:
>> file:/C:/Tuscany/trunk/samples/calculator-script/target/classes/Calculator.composite
>> Nov 17, 2008 12:27:33 PM org.apache.tuscany.sca.node.impl.NodeImpl start
>> INFO: Starting node: Calculator.composite
>> Nov 17, 2008 12:27:37 PM org.apache.tuscany.sca.node.impl.NodeImpl stop
>> INFO: Stopping node: Calculator.composite
>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.156 sec
>> <<< FAILURE!
>> testCalculator(calculator.CalculatorTestCase)  Time elapsed: 5.125 sec
>> <<< ERROR!
>> file:/C:/Documents and
>> Settings/Administrator/.m2/repository/org/jruby/jruby-complete/1.1.3/jruby-complete-1.1.3.jar!/builtin/javasupport.rb:48:in
>> `require': IO error -- builtin/java/regex (LoadError)
>>         from file:/C:/Documents and
>> Settings/Administrator/.m2/repository/org/jruby/jruby-complete/1.1.3/jruby-complete-1.1.3.jar!/builtin/javasupport.rb:48
>>         from file:/C:/Documents and
>> Settings/Administrator/.m2/repository/org/jruby/jruby-complete/1.1.3/jruby-complete-1.1.3.jar!/builtin/javasupport.rb:1
>>         ...internal jruby stack elided...
>>
>> Results :
>>
>> Tests in error:
>>   testCalculator(calculator.CalculatorTestCase)
>>
>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
>>
>> I have raised a JIRA TUSCANY-2674 for the same.
>>
>> --
>> Thanks & Regards,
>> Ramkumar Ramalingam
>>
>
>
>
> --
> Thanks & Regards,
> Ramkumar Ramalingam
>

Hi Ram

I'm seeing the same issue. It started a while back when there was an upgrade
to the ruby version we're using. I'm on the IBM JDK and I can only imagine
that this doesn't happen on the Sun JDK. I don't have a solution at the
moment.

Simon

Reply via email to