Re: [morph-user] Problem running a Morph-ed app in WebSphere AppServer
Brought to you by:
orangeherbert,
sgarlatm
|
From: Matt B. <gud...@ya...> - 2007-01-31 22:10:02
|
--- Matt Benson <gud...@ya...> wrote: > Sorry I forgot to respond to this earlier. First, I > assume you know you can just use a default SDT if > you > don't have your own Xformers to add, or you could > use > any of a few tricks to add your custom xformers to > the > default ones; however I believe the direct answer to > your question is that you need an identityConverter. Oh, also try the ImmutableTypesOnlyIdentityConverter with that if you like. -Matt > > HTH, > Matt > > > Thanks > > Alan > > > > > > -----Original Message----- > > From: mor...@li... > > [mailto:mor...@li...] > On > > Behalf Of Matt > > Benson > > Sent: Tuesday, 30 January 2007 7:56 AM > > To: For questions about Morph > > Subject: Re: [morph-user] Problem running a > Morph-ed > > app in WebSphere > > AppServer > > > > > > Yes, it sounds as though morph and the application > > trying to use it are getting String.class from > > different classloaders. Libraries that deal > > extensively with class equality, AFAIK, can either > > compare classes by name (ugh!) or use .equals() > > which, > > not being overridden in Class.class, is equivalent > > to > > ==. Your best bet is to do what you can to > > eliminate > > classloader weirdness in your application > deployment > > setup. > > > > Do you know if earlier versions of WAS suffer from > > the > > same problem? If you are using RAD, you may have > > additional test environments available to you for > > testing. > > > > FWIW/HTH, > > Matt > > > > --- Stewart Alan <ASt...@wo...> > wrote: > > > > > Hi, > > > We're using Morph to do 2-way transformations > > > between our domain objects > > > and data transfer objects. My application works > > > perfectly when deployed > > > to a Tomcat 5.5 or Jboss 4.0 server, but the > exact > > > same WAR deployed to > > > WebSphere 6.1.0.3 gives me an error when I try > to > > do > > > a transformation: > > > > > > Could not find a transformer that can transform > > > objects of (class > > > java.lang.String) to objects of (class > > > java.lang.String) > > > > > > Could this be a class-loading issue? > > > > > > Thanks > > > Alan > > > > > > > > > *********************************************************** > > > CAUTION: This email and files included in its > > > transmission > > > are solely intended for the use of the > > addressee(s) > > > and may > > > contain information that is confidential and > > > privileged. > > > If you receive this email in error, please > advise > > us > > > > > > immediately and delete it without copying the > > > contents > > > contained within. Woolworths Limited (including > > its > > > group > > > of companies) do not accept liability for the > > views > > > expressed within or the consequences of any > > computer > > > > > > viruses that may be transmitted with this email. > > The > > > > > > contents are also subject to copyright. No part > of > > > it > > > should be reproduced, adapted or transmitted > > without > > > the > > > written consent of the copyright owner. > > > > > > *********************************************************** > > > > > > > ------------------------------------------------------------------------ > > - > > > Take Surveys. Earn Cash. Influence the Future of > > IT > > > Join SourceForge.net's Techsay panel and you'll > > get > > > the chance to share your > > > opinions on IT & business topics through brief > > > surveys - and earn cash > > > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE > > V> > > _______________________________________________ > > > morph-user mailing list > > > mor...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/morph-user > > > > > > > > > > > > > > ________________________________________________________________________ > > ____________ > > Expecting? Get great news right away with email > > Auto-Check. > > Try the Yahoo! Mail Beta. > > > http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html > > > > > > > ------------------------------------------------------------------------ > > - > > Take Surveys. Earn Cash. Influence the Future of > IT > > Join SourceForge.net's Techsay panel and you'll > get > > the chance to share > > your > > opinions on IT & business topics through brief > > surveys - and earn cash > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE > > V > > _______________________________________________ > > morph-user mailing list > > mor...@li... > > > https://lists.sourceforge.net/lists/listinfo/morph-user > > > > > *********************************************************** > > CAUTION: This email and files included in its > > transmission > > are solely intended for the use of the > addressee(s) > > and may > > contain information that is confidential and > > privileged. > > If you receive this email in error, please advise > us > > > > immediately and delete it without copying the > > contents > > contained within. Woolworths Limited (including > its > > group > > of companies) do not accept liability for the > views > > expressed within or the consequences of any > computer > > > > viruses that may be transmitted with this email. > The > > > > contents are also subject to copyright. No part of > > it > > should be reproduced, adapted or transmitted > without > > the > > written consent of the copyright owner. > > > *********************************************************** > > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of > IT > > Join SourceForge.net's Techsay panel and you'll > get > > the chance to share your > > opinions on IT & business topics through brief > > surveys - and earn cash > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > morph-user mailing list > > mor...@li... > > > https://lists.sourceforge.net/lists/listinfo/morph-user > > > > > > > ____________________________________________________________________________________ > Do you Yahoo!? > Everyone is raving about the all-new Yahoo! Mail > beta. > http://new.mail.yahoo.com > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support > web services, security? > Get stuff done quickly with pre-integrated > technology to make your job easier. > Download IBM WebSphere Application Server v.1.0.1 > based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > morph-user mailing list > mor...@li... > https://lists.sourceforge.net/lists/listinfo/morph-user > ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com |