Return-Path: X-Original-To: apmail-incubator-clerezza-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-clerezza-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AB8FE905C for ; Mon, 19 Sep 2011 16:45:34 +0000 (UTC) Received: (qmail 91190 invoked by uid 500); 19 Sep 2011 16:45:34 -0000 Delivered-To: apmail-incubator-clerezza-dev-archive@incubator.apache.org Received: (qmail 91152 invoked by uid 500); 19 Sep 2011 16:45:34 -0000 Mailing-List: contact clerezza-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: clerezza-dev@incubator.apache.org Delivered-To: mailing list clerezza-dev@incubator.apache.org Received: (qmail 91144 invoked by uid 99); 19 Sep 2011 16:45:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Sep 2011 16:45:34 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Sep 2011 16:45:30 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 1CBADA2505 for ; Mon, 19 Sep 2011 16:45:09 +0000 (UTC) Date: Mon, 19 Sep 2011 16:45:09 +0000 (UTC) From: =?utf-8?Q?Reto_Bachmann-Gm=C3=BCr_=28JIRA=29?= To: clerezza-dev@incubator.apache.org Message-ID: <103575942.42788.1316450709114.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <299828642.7827.1311694389835.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CLEREZZA-617) Bug in org.apache.clerezza.platform.typerendering.WebRenderingService causes a refresh of all bundles MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CLEREZZA-617?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D13= 107961#comment-13107961 ]=20 Reto Bachmann-Gm=C3=BCr commented on CLEREZZA-617: --------------------------------------------- Maybe ssp could no longer access classes from packages the bundle doesn't i= mport. I'm curious on what effect changing the classloader will have. > Bug in org.apache.clerezza.platform.typerendering.WebRenderingService cau= ses a refresh of all bundles > -------------------------------------------------------------------------= ---------------------------- > > Key: CLEREZZA-617 > URL: https://issues.apache.org/jira/browse/CLEREZZA-617 > Project: Clerezza > Issue Type: Bug > Environment: Mac OSx 10.6.6 > java version "1.6.0_26" > Java(TM) SE Runtime Environment (build 1.6.0_26-b03-384-10M3425) > Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-384, mixed mode) > Reporter: Tsuyoshi Ito > Priority: Critical > Attachments: refreshes.png, renderingservice.zip > > > Updating a bundle which provides a WebrenderingService causes an update o= f all bundles (after refresh). Even thougth there are no dependencies betwe= en most of the bundles. > test bundles to reproduce the bug attached. > How to reproduce it: > parent version 0.3-incubating-SNAPSHOT is used in test bundles (probably = you need 0.2-incubating-SNAPSHOT). > attempt 1 > 1. Install and start bundle org.clerezza.app.webrenderingservice > 2. Install and start bundle org.clerezza.app.webrenderingserviceconsumer > 3. Go to http://localhost:8080/admin/renderingtest, The WebrenderingServi= ce produces the text "hello test". WebrenderingService is used in an ssp in= the webrenderingserviceconsumer bundle > 4. update org.clerezza.app.webrenderingservice,=20 > 5. enter ":f refresh", a refresh is necessary. all bundles are updated > Furthermore the following error occured, which makes Clerezza Console una= vailable. > org.apache.clerezza.shell.InterruptibleInputStream$$anon$1@2053076f: caug= ht java.io.IOException: Bad file descriptor > java.io.IOException: Bad file descriptor > =09at sun.nio.ch.FileDispatcher.read0(Native Method) > =09at sun.nio.ch.FileDispatcher.read(FileDispatcher.java:26) > =09at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:202) > =09at sun.nio.ch.IOUtil.read(IOUtil.java:175) > =09at sun.nio.ch.FileChannelImpl.read(FileChannelImpl.java:144) > =09at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:48) > =09at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:92) > =09at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:86) > =09at java.io.InputStream.read(InputStream.java:85) > =09at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:64) > =09at org.apache.clerezza.shell.InterruptibleInputStream$$anon$1$$anonfun= $act$1$$anonfun$apply$1.apply(InterruptibleInputStream.scala:40) > =09at org.apache.clerezza.shell.InterruptibleInputStream$$anon$1$$anonfun= $act$1$$anonfun$apply$1.apply(InterruptibleInputStream.scala:35) > =09at scala.actors.ReactorTask.run(ReactorTask.scala:34) > =09at scala.actors.Reactor$class.resumeReceiver(Reactor.scala:129) > =09at org.apache.clerezza.shell.InterruptibleInputStream$$anon$1.scala$ac= tors$ReplyReactor$$super$resumeReceiver(InterruptibleInputStream.scala:32) > =09at scala.actors.ReplyReactor$class.resumeReceiver(ReplyReactor.scala:6= 9) > =09at org.apache.clerezza.shell.InterruptibleInputStream$$anon$1.resumeRe= ceiver(InterruptibleInputStream.scala:32) > =09at scala.actors.Actor$class.searchMailbox(Actor.scala:478) > =09at org.apache.clerezza.shell.InterruptibleInputStream$$anon$1.searchMa= ilbox(InterruptibleInputStream.scala:32) > =09at scala.actors.Reactor$$anonfun$startSearch$1$$anonfun$apply$mcV$sp$1= .apply(Reactor.scala:114) > =09at scala.actors.Reactor$$anonfun$startSearch$1$$anonfun$apply$mcV$sp$1= .apply(Reactor.scala:114) > =09at scala.actors.ReactorTask.run(ReactorTask.scala:36) > =09at scala.concurrent.forkjoin.ForkJoinPool$AdaptedRunnable.exec(ForkJoi= nPool.java:611) > =09at scala.concurrent.forkjoin.ForkJoinTask.quietlyExec(ForkJoinTask.jav= a:422) > =09at scala.concurrent.forkjoin.ForkJoinWorkerThread.mainLoop(ForkJoinWor= kerThread.java:340) > =09at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerTh= read.java:325) > Because Clerezza Console is unavailable I have used http://localhost:8080= /system/console/shell=20 > attempt 2 > 1 .Update bundle org.clerezza.app.webrenderingservice again without visit= ing http://localhost:8080/admin/renderingtest first (not compiling the ssp) > 2. enter refresh =3D> no refresh necessary -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira