[
https://issues.apache.org/jira/browse/TUSCANY-2093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12579529#action_12579529
]
ant elder commented on TUSCANY-2093:
------------------------------------
When running in debug mode in eclipse it works fine! Thats with no break points
or anything, just running eg DSWiring1TestCase in debug mode it works fine, but
running not in debug mode it hangs.
The versions of the snapshot jars i have are:
org.apache.felix.bundlerepository-1.1.0-20071205.111236-2.jar
org.apache.felix.framework-1.1.0-20080227.151150-13.jar
org.apache.felix.main-1.1.0-20080227.151242-13.jar
org.apache.felix.shell-1.1.0-20070814.083500-2.jar
org.apache.felix.shell.tui-1.1.0-20071025.071721-1.jar
> Hangs in osgi itests
> --------------------
>
> Key: TUSCANY-2093
> URL: https://issues.apache.org/jira/browse/TUSCANY-2093
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Integration Tests
> Affects Versions: Java-SCA-Next
> Reporter: ant elder
> Fix For: Java-SCA-Next
>
>
> I get hangs running various of the osgi itests, the test run part way through
> then just appear to hang for ever, no IO or CPU activity on the process. Eg,
> the output on the console for some hangs are:
> Running org.apache.tuscany.sca.test.osgi.tuscany.OSGiSupplyChainTestCase
> -> Run tests from : ../../../samples/osgi-supplychain
> Loaded Tuscany, time taken = 31625 ms
> Running test null(supplychain.SupplyChainClientTestCase)
> Started OSGi bundle with activator OSGiCustomerImpl
> Started OSGi bundle with activator OSGiShipperImpl
> another:
> [INFO] Building Apache Tuscany OSGi Contribution tests
> [INFO] task-segment: [clean, install]
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] [clean:clean]
> [INFO] Deleting directory
> C:\Tuscany\SVN\LATEST\itest\osgi-contribution\contribution-test\target
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Compiling 1 source file to
> C:\Tuscany\SVN\LATEST\itest\osgi-contribution\contribution-test\target\classes
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] Compiling 4 source files to
> C:\Tuscany\SVN\LATEST\itest\osgi-contribution\contribution-test\target\test-classes
> [INFO] [surefire:test]
> [INFO] Surefire report directory:
> C:\Tuscany\SVN\LATEST\itest\osgi-contribution\contribution-test\target\surefire-reports
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running org.apache.tuscany.sca.contribution.osgi.test.OSGiResolverTestCase
> -> Created supplychain.customer.JavaCustomerComponentImpl using classloader
> 6.0
> Created supplychain.retailer.JavaRetailerComponentImpl using classloader 7.0
> Created supplychain.warehouse.JavaWarehouseComponentImpl using classloader 8.0
> Created supplychain.shipper.JavaShipperComponentImpl using classloader 9.0
> another:
> Running supplychain.wiring.DSWiring1TestCase
> -> Main thread Thread[main,5,main]
> Created OSGiCustomerComponentImpl [EMAIL PROTECTED]
> Activated OSGiCustomerComponentImpl bundle
> OSGiCustomerComponentImpl.purchaseBooks, retailer1 is [Proxy - [EMAIL
> PROTECTED]
> Activated OSGiRetailerComponentImpl bundle
> Activated OSGiRetailerComponentImpl bundle
> OSGiRetailerComponentImpl.submitOrder , warehouse is [Proxy - [EMAIL
> PROTECTED]
> JavaWarehouseComponentImpl.fulfillOrder : shipper is [Proxy - [EMAIL
> PROTECTED]
> Activated OSGiShipperComponentImpl bundle
> Activated OSGiShipperComponentImpl bundle
> OSGiShipperComponentImpl.processShipment, customer is [Proxy - [EMAIL
> PROTECTED]
> This is easily recreateable so i can help debug, just right now i'm not sure
> where to look.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]