|
From: Jason v. Z. <ja...@ze...> - 2003-03-14 14:22:47
|
On Fri, 2003-03-14 at 02:39, Patrick Yee wrote: > Hi, > > What version of Hermes are you using? The latest source tree in CVS? I have > met that error messages once in the past, but I am not sure whether we are > hitting the same problem or not. I'm using CVS HEAD :-) > It happened when I tried to deploy an old version of Hermes to Weblogic. The > class loader of Weblogic is a bit too smart. We suspect msh.jar is loaded > before the SAAJ ones. And at that time, we have some initialization work > done in the static initializers, which will load the MessageFactory in SAAJ. > Somehow the static initializer is called before SAAJ is loaded and we > suspect that triggers the error and results in that error message. When we > removed the static initializers, the error gone. The latest source should > have the static initializers removed. So, that's why I ask the question in > the top of this mail. But at least, this can serve as an information for > further tracing. :-) Cool, thanks. It looks like hermes is definitely loading before the SAAJ jars. Everything works fine when I run the client and server in separate JVMs and that's what I've been doing while tesing to eliminate any classloading issues which always come as part of integration but the time has come to integrate them into the same JVM space. I'll read the thread Ronald pointed out as well and try to get you more information. Has anyone by chance completely isolated the set of classes the client uses from those in the WAR? That's what I was going to attempt next. Basically make a little world for the client to run in. > Regards, -Patrick > > ----- Original Message ----- > From: "Jason van Zyl" <ja...@ma...> > To: <ebx...@li...> > Sent: Friday, March 14, 2003 11:24 AM > Subject: [ebxmlms-develop] (no subject) > > > > Hi, > > > > I'm trying the route of embedded server that Patrick outlined here: > > > > > http://sourceforge.net/mailarchive/forum.php?thread_id=1535909&forum_id=1267 > 0 > > > > I'm getting an error and was wondering if there is a known cause for the > > problem below? All the JAR files are definitely present. I took a quick > > browse at the SAAJ sources and MessageFactory.newInstance() uses the > > context classloader and the context classloader contains the JAR with > > the MessageFactoryImpl within it. > > > > [error] > > tpi: org.zenplex.tambora.tpi.Tpi@13981b > > Info: using property file in > > > /home/jvanzyl/js/org.zenplex/tambora-3/target/runtime/conf/msh.properties.xm > l > > hk.hku.cecid.phoenix.message.handler.MessageServiceHandlerException: > > Default message factory cannot be instantiated. > > > > I'll keep hunting in the meantime. Thanks. > > > > > > -- > > jvz. > > > > Jason van Zyl > > ja...@ze... > > http://tambora.zenplex.org > > > > In short, man creates for himself a new religion of a rational > > and technical order to justify his work and to be justified in it. > > > > -- Jacques Ellul, The Technological Society > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by:Crypto Challenge is now open! > > Get cracking and register here for some mind boggling fun and > > the chance of winning an Apple iPod: > > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en > > _______________________________________________ > > ebxmlms-develop mailing list > > ebx...@li... > > https://lists.sourceforge.net/lists/listinfo/ebxmlms-develop > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by:Crypto Challenge is now open! > Get cracking and register here for some mind boggling fun and > the chance of winning an Apple iPod: > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en > _______________________________________________ > ebxmlms-develop mailing list > ebx...@li... > https://lists.sourceforge.net/lists/listinfo/ebxmlms-develop -- jvz. Jason van Zyl ja...@ze... http://tambora.zenplex.org In short, man creates for himself a new religion of a rational and technical order to justify his work and to be justified in it. -- Jacques Ellul, The Technological Society |