my dog learned polymorphism*
The moose likes BEA/Weblogic and the fly likes NoClassDefFoundError on weblogic 10.3 managed server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "NoClassDefFoundError on weblogic 10.3 managed server" Watch "NoClassDefFoundError on weblogic 10.3 managed server" New topic
Author

NoClassDefFoundError on weblogic 10.3 managed server

Tony Yan
Ranch Hand

Joined: Apr 10, 2002
Posts: 170
Hi, All:

I have had this problem for three days or more, a major block in my app. I have an ear file with three war files. Two are webservices modules, and one regular web app module. The ear file works fine on weblogic Admin Server, both on Windows and Solaris. But, when I deploy it (the same ear) to a managed server or a single managed server in a cluster, it has following NoClassDefFoundError. Stacktrace shown here. We have a Duration type in our XSD, that's why we need this DurationImpl. Searching thru the net, it seems that the managed server and adminserver of Weblogic 10 are a bit different in terms of classpath. I have tried many options in weblogic.xml weblogic-application.xml etc. No luck. I feel the best method to solve this is first to find out what's the difference between managed and the admin server. Of course, any work around is certainly good.

Thanks.

-Tony



Tony Yan<br /> <br />IBM Certified Developer XML and Related Technology<br />Sun Certified Web Component Developer For J2EE Platform<br />Sun Certified Programmer For Java 2 Platform
Tony Yan
Ranch Hand

Joined: Apr 10, 2002
Posts: 170
Pretty much found this problem, semi-incidentally. We have Wily monitoring system on the server, it must have an older version of xerces in its classpath that doesn't have a util class in xerces that only exists after 2.8. We deployed to another managed server w/o Wily. Problem went away. End of 4 days of stupid tail spin.

<T/>
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: NoClassDefFoundError on weblogic 10.3 managed server
 
Similar Threads
Limiting File Size for Web Services that involve receiving files
When I unzip my war,I could find xercesImpl-2.7.1.jar.When I search for XMLGregorianCalendarImpl.Thi
XSD - CONVERTING XSD DATETIME TO JAVA.UTIL.DATE - java.lang.NoClassDefFoundError: org/apache/xerces/
NoClassDefFoundError
JAXB Unmarshalling fails after migrating from 8.1 to 10.3.3