aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian DePradine (JIRA)" <j...@apache.org>
Subject [jira] Updated: (ARIES-133) Improve the information provided when services are unavailable
Date Mon, 01 Feb 2010 10:59:51 GMT

     [ https://issues.apache.org/jira/browse/ARIES-133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Brian DePradine updated ARIES-133:
----------------------------------

    Attachment: patch.txt

Here is a patch that attempts to address this problem. With this fix we get the following
messages:

[01/02/10 00:01:13:478 GMT] 00000011 BlueprintCont E org.apache.aries.blueprint.container.BlueprintContainerImpl$1
run Unable to start blueprint container for bundle com.ibm.ws.eba.example.onlineShop.persistence
due to unresolved dependencies [(&(osgi.unit.name=onlineShop)(objectClass=javax.persistence.EntityManager))]
                                 java.util.concurrent.TimeoutException
	at org.apache.aries.blueprint.container.BlueprintContainerImpl$1.run(BlueprintContainerImpl.java:271)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:453)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:315)
	at java.util.concurrent.FutureTask.run(FutureTask.java:150)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:736)

[01/02/10 00:01:13:510 GMT] 00000018 BlueprintCont E org.apache.aries.blueprint.container.BlueprintContainerImpl$1
run Unable to start blueprint container for bundle com.ibm.ws.eba.example.onlineShop.search
due to unresolved dependencies [(objectClass=com.ibm.ws.eba.example.onlineShop.persistence.spi.OnlineShopPersistenceService)]
                                 java.util.concurrent.TimeoutException
	at org.apache.aries.blueprint.container.BlueprintContainerImpl$1.run(BlueprintContainerImpl.java:271)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:453)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:315)
	at java.util.concurrent.FutureTask.run(FutureTask.java:150)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:736)

[01/02/10 00:01:13:619 GMT] 00000018 BlueprintCont E org.apache.aries.blueprint.container.BlueprintContainerImpl$1
run Unable to start blueprint container for bundle com.ibm.ws.eba.example.onlineShop.admin
due to unresolved dependencies [(objectClass=com.ibm.ws.eba.example.onlineShop.persistence.spi.OnlineShopPersistenceService)]
                                 java.util.concurrent.TimeoutException
	at org.apache.aries.blueprint.container.BlueprintContainerImpl$1.run(BlueprintContainerImpl.java:271)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:453)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:315)
	at java.util.concurrent.FutureTask.run(FutureTask.java:150)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:736)

[01/02/10 00:01:13:650 GMT] 00000018 BlueprintCont E org.apache.aries.blueprint.container.BlueprintContainerImpl$1
run Unable to start blueprint container for bundle com.ibm.ws.eba.example.onlineShop.warehouse
due to unresolved dependencies [(objectClass=com.ibm.ws.eba.example.onlineShop.persistence.spi.OnlineShopPersistenceService)]
                                 java.util.concurrent.TimeoutException
	at org.apache.aries.blueprint.container.BlueprintContainerImpl$1.run(BlueprintContainerImpl.java:271)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:453)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:315)
	at java.util.concurrent.FutureTask.run(FutureTask.java:150)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:736)


> Improve the information provided when services are unavailable
> --------------------------------------------------------------
>
>                 Key: ARIES-133
>                 URL: https://issues.apache.org/jira/browse/ARIES-133
>             Project: Aries
>          Issue Type: Improvement
>          Components: Blueprint
>    Affects Versions: Incubation
>            Reporter: Brian DePradine
>         Attachments: patch.txt
>
>
> When trying to use my application, I see errors similar to the following:
> [31/01/10 17:58:14:166 GMT] 00000011 BlueprintCont E org.apache.aries.blueprint.container.BlueprintContainerImpl$1
run Unable to start blueprint container for bundle com.ibm.ws.eba.example.onlineShop.persistence
>                                  java.util.concurrent.TimeoutException
> 	at org.apache.aries.blueprint.container.BlueprintContainerImpl$1.run(BlueprintContainerImpl.java:270)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:453)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:315)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:150)
> 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
> 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> 	at java.lang.Thread.run(Thread.java:736)
> [31/01/10 17:58:14:166 GMT] 00000012 BlueprintCont E org.apache.aries.blueprint.container.BlueprintContainerImpl$1
run Unable to start blueprint container for bundle com.ibm.ws.eba.example.onlineShop.warehouse
>                                  java.util.concurrent.TimeoutException
> 	at org.apache.aries.blueprint.container.BlueprintContainerImpl$1.run(BlueprintContainerImpl.java:270)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:453)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:315)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:150)
> 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
> 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> 	at java.lang.Thread.run(Thread.java:736)
> [31/01/10 17:58:14:166 GMT] 00000013 BlueprintCont E org.apache.aries.blueprint.container.BlueprintContainerImpl$1
run Unable to start blueprint container for bundle com.ibm.ws.eba.example.onlineShop.admin
>                                  java.util.concurrent.TimeoutException
> 	at org.apache.aries.blueprint.container.BlueprintContainerImpl$1.run(BlueprintContainerImpl.java:270)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:453)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:315)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:150)
> 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
> 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> 	at java.lang.Thread.run(Thread.java:736)
> [31/01/10 17:58:14:166 GMT] 00000011 BlueprintCont E org.apache.aries.blueprint.container.BlueprintContainerImpl$1
run Unable to start blueprint container for bundle com.ibm.ws.eba.example.onlineShop.search
>                                  java.util.concurrent.TimeoutException
> 	at org.apache.aries.blueprint.container.BlueprintContainerImpl$1.run(BlueprintContainerImpl.java:270)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:453)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:315)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:150)
> 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
> 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> 	at java.lang.Thread.run(Thread.java:736)
> Currently, in order to diagnose what has gone wrong it is necessary to turn trace on.
More information should be provided so that it is not necessary to turn trace on.

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


Mime
View raw message