Return-Path: Delivered-To: apmail-jakarta-avalon-apps-dev-archive@apache.org Received: (qmail 63824 invoked from network); 22 Nov 2002 05:08:44 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 22 Nov 2002 05:08:44 -0000 Received: (qmail 19794 invoked by uid 97); 22 Nov 2002 05:09:54 -0000 Delivered-To: qmlist-jakarta-archive-avalon-apps-dev@jakarta.apache.org Received: (qmail 19766 invoked by uid 97); 22 Nov 2002 05:09:53 -0000 Mailing-List: contact avalon-apps-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Avalon Applications Developers List" Reply-To: "Avalon Applications Developers List" Delivered-To: mailing list avalon-apps-dev@jakarta.apache.org Received: (qmail 19744 invoked by uid 98); 22 Nov 2002 05:09:52 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Subject: Re: Sevak Catalina problems From: Richard Wallace To: Avalon Applications Developers List In-Reply-To: <054201c291e2$9b80c860$040d1b41@mvcdev> References: <1037928996.1718.15.camel@rich> <054201c291e2$9b80c860$040d1b41@mvcdev> Content-Type: text/plain Organization: AIM, Inc. Message-Id: <1037941726.1718.18.camel@rich> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 21 Nov 2002 22:08:46 -0700 Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I have some components that I can work on in the interim. For testing I can always just use a standalone tomcat server. I'm not looking at actaully deploying anything for some time, really. On Thu, 2002-11-21 at 21:49, Daniel Krieg wrote: > Richard, > > Actually, CatalinaSevakBootstrap was replaced with > o.a.a.a.sevak.blocks.catalina.startup.Bootstrap, > but as you have pointed out, this has been deleted (or never made it into > CVS). > > I was working on SevakCatalina a few months ago but job responsibilities > have pulled me away. > I returned to this project just this week to find for myself the same issues > you are encountering. > I unfortunately did not keep a local copy of my code, so I will need to > reimplement several things. > > Revisiting this project, I now have a better perspective regarding Tomcat > integration into > Phoenix. Given another go at it, I will be able to create a far better > solution. For example, > in October Peter Donald added the Excalibur Loader into the BlockContext to > provide > an implementation for ClassLoading and thus > org.apache.catalina.loader.StandardClassLoader > (which you is giving you ClassNotFoundException) is not needed. > > What is your timeline for needing SevakCatalina? I think I will be have a > little more time to > where I can put this together in a far better implementation. > > > Hey all, > > > > I've been trying to get Sevak Catalina implementation and demo to run in > > Phoenix. I haven't had any success so far. > > > > My first problem was that Phoenix didn't want to even try and create the > > blocks. It kept giving me the following message on the console: > > > > Unable to create BlockInfo as are unable to locate resource > > "org/apache/avalon/apps/sevak/blocks/catalina/startup/Bootstrap.xinfo". > > > > So, I did some looking and sure enough it looks as though the class > > o.a.a.a.sevak.blocks.catalina.startup.Bootstrap is no longer used (in > > fact, it's been deleted), but is still referenced from the > > src/demo/conf/catalina-assembly.xml file. > > > > I looked though the classes available in the blocks.catalina package and > > found the replacement CatalinaSevakBootstrap class. I changed the > > catalina-assembly.xml file to use this as instead of the old Bootstrap > > block. > > > > Things seem to be better now. Phoenix at least creates the blocks and > > starts going through their lifecycles. But, when it calls initiailze() > > on the CatalinaSevakBoostrap class, it fails with a > > ClassNotFoundException, saying it can't find > > org.apache.catalina.loader.StandardClassLoader. I noticed this was > > getting added to the sar in the common/lib directory, so I tried to put > > it in the SAR-INF/lib directory thinking that would make it available to > > the class loader when the block is being initialized. No luck. > > > > I've tried everything I can think to try for the moment, any one else > > have any ideas? > > > > Note: I've attached a diff of the changes I made to the > > catalina-assembly.xml file. While poking around I also noticed some > > oddities in the build.xml file where two jar were being created: > > sevak-catalina.jar, which was empty, and sevak-catalina-impl.jar which > > had the actual class and xinfo files in it. Oh, and it was generated > > from the jakarta-avalon-apps/sevak directory (didn't want any changes > > anywhere else to be included by accident). > > > > -- > > Richard Wallace > > AIM, Inc. > > > > > ---------------------------------------------------------------------------- > ---- > > > > -- > > To unsubscribe, e-mail: > > > For additional commands, e-mail: > > > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: -- Richard Wallace AIM, Inc. -- To unsubscribe, e-mail: For additional commands, e-mail: