"Melvin Dave P. Vivas" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > If it's alright, could you show us how to do this? >
For the HSQL block, I'm attaching the container descriptor that I built according to the advice given in this thread by Steve. I'm using merlin's auto-assembly functionality, so the descriptor just contains the classloader and component definitions (including component configuration). I used the HSQL block that can be obtained from Paul Hammant's (et. al.) EOB project at http://www.enterpriseobjectbroker.org/downloads.html. I created a merlin repository called hsqldb, and dropped the hsqldb.jar, hsqldb-component.jar, and cornerstone.jar files from that project's SAR into this repository. I also dropped the versions of some excalibur jars that are needed by the HSQLDB block from the Phoenix 4.0.4 distro into the repository as well. I haven't yet tried to used the latest versions of excalibur and cornerstone that's in the merlin 3.0 distro, as I was more concerned with just seeing if I could get the component working instead of risking introducing possible backward compatibility issues. You'll see all that in the classloader section of the container descriptor. I mapped the component definition and configuration from the SAR's assembly.xml and config.xml files (sans the dependency definitions) into the container descriptor file that I've attached. That's was basically it. Simply executed "merlin hsql.xml" from the command line, and my merlin-hosted HSQL database server was up and running and waiting for JDBC connections. Luckily, the hsqldb-component didn't rely on the phoenix BlockContext. I wasn't so lucky with Howard Henson's jetty-phoenix block. That block, which I use our commercial application deployed in Phoenix, does reference BlockContext object. I modified the jetty-phoenix block code to remove the BlockContext reference and use the Avalon framework Context interface instead. After building a new jetty-phoenix jar, I pretty much did the same thing as above -- building a container descriptor file and dropping the required jars into a merlin repository. I'm not including the container descriptor for the jetty-phoenix block that I ported because I'll need to turn my code modifications around to Howard. Hopefully, he'll release a new version of the jetty-phoenix block over at mortbay's site soon. Once that jar is available, I'll re-post my port of it to merlin for everyone to here to check out. begin 666 hsql.xml M/"$M+0T*2'EP97)S;VYI8R!344P@<[EMAIL PROTECTED]&%I;F5R M(&YA;64](FAS<6PB/@T*#0H)/&-A=&5G;W)I97,^#0H)"3QC871E9V]R>2!N M86UE/2)C;&%S<VQO861E<B]S8V%N;F5R(B!P<FEO<FET>3TB15)23U(B+SX- M"B @(" \+V-A=&5G;W)I97,^#0H-"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/@T*"0D)/"]S97)V97(M<V]C:V5T<SX-"@T*"0D)/&-L M:65N="US;V-K971S/@T*"0D)"3QF86-T;W)Y(&YA;64](G!L86EN(B!C;&%S M<STB;W)G+F%P86-H92YA=F%L;VXN8V]R;F5R<W1O;F4N8FQO8VMS+G-O8VME M=',N1&5F875L=%-O8VME=$9A8W1O<GDB+SX-"@D)"3PO8VQI96YT+7-O8VME M=',^#0H)"3PO8V]N9FEG=7)A=&EO;CX-"@D\+V-O;7!O;F5N=#X-"@T*"3PA [EMAIL PROTECTED]&EM92!38VAE9'5L97(@+2T^#0H)/&-O;7!O;F5N="!N86UE/2)S8VAE M9'5L97(B(&-L87-S/2)O<F<N87!A8VAE+F%V86QO;BYC;W)N97)S=&]N92YB M;&]C:W,N<V-H961U;&5R+D1E9F%U;'14:6UE4V-H961U;&5R(B\^#0H-"@D\ M(2TM($1A=&%B87-E('-E<G9E<B M+3X-"@D\8V]M<&]N96YT(&YA;64](FAS M<6PM<V5R=F5R(B!C;&%S<STB;W)G+FAS<6QD8BYC;VUP;VYE;G0N1&5F875L M=$AS<6QD8D-O;7!O;F5N="(^#0H)"3QC;VYF:6=U<F%T:6]N/@T*"0D)/'!O M<G0^.3 P,3PO<&]R=#X-"@D)"3QB:6YD/C$R-RXP+C N,3PO8FEN9#X-"@D) M"3QD871A8F%S92!N86UE/2)H<W%L9&(B('1Y<&4](F-O;G1A:6YE9"(O/@T* M"0D\+V-O;F9I9W5R871I;VX^#0H)/"]C;VUP;VYE;G0^#0H-"CPO8V]N=&%I &;F5R/@T* ` end --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
