NoClassDefFoundError, Xerces package in Weblogic Managed Server
I have all in 4-5 days including as likely as not 10 hours this weekend to this tailspinning ungovernable. We have this ear queue deployed to WLS adminsevers w/o any poser. As happily as it is deployed to a managed server, we have this ClassDefNotFoundError each habits we do an unmarshall from an XML soap msg to an argue against. This Butt has a facts kind impl of Duration. To impute wish recital sententious, the xerces always complained about not able to anxiety this DurationImpl birth in xerces. I use the latest xerces 2.9.1 and the realm is indubitably in APP-INF/lib. When all said and done, we semi-as luck would have it found by deploying to another case in point of managed server. This worked on that exemplification. It turns out the doubted example has this WILY operation system in system classpath. So we reckon that must have some spoiler xerces packages which perhaps of 2.6 or earlier for xerces. It is almost preposterous to fix it by tuning CP config. in our ear classify (with all those prefered CP options in weblogic or weblogic-claim descriptors).
Not saying Wily is bad, but any incorporate (JMX etc) that in the systm classpath is potentially a CP lower world for us developers. WLS tends to list lots of glaring beginning packs or other 3rd function shove, all could be sources of wasting affected times of ours.
<T/>
I am hardly fed up with this refractory. It reappears today after active protocol to another plank. What I slash up fixing is by cheating. I got all the related xerces javasource and re-container them into my own src. And set system hallmark javax.xml.datatype.DatatypeFactory to the new carton/grade. This way, no more contamination with unlike versions of classes.
