aspose file tools*
The moose likes Tomcat and the fly likes NoClassDefFoundError XmlUtil Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "NoClassDefFoundError XmlUtil" Watch "NoClassDefFoundError XmlUtil" New topic
Author

NoClassDefFoundError XmlUtil

Lorenzo Trabanelli
Greenhorn

Joined: Feb 06, 2013
Posts: 3
Hi all
I've a big problem with an installation.
We've several apps(war) that works perfectly (they works in other servers with no problems).

The same application works for some hours and after some time ALL the calls to web services are broken with this message:

Other applications in the same server are calling web services normally...the application that stop working is never the same.....

It seems that after some time the application is not able to load jaxws jar......but why???

Any idea???

K. Gil
Ranch Hand

Joined: Apr 29, 2011
Posts: 75

is that java 1.6? as far as I remember there has been known issues with 1.6 and com.sun.xml.ws.*
If it's 1.6 and you really need to host it with java 1.6 then try to upgrade to latest version, and / or move this one app to java 1.7 if possible.
Lorenzo Trabanelli
Greenhorn

Joined: Feb 06, 2013
Posts: 3
K. Gil wrote:is that java 1.6? as far as I remember there has been known issues with 1.6 and com.sun.xml.ws.*
If it's 1.6 and you really need to host it with java 1.6 then try to upgrade to latest version, and / or move this one app to java 1.7 if possible.


The jvm is 1.6 and all the projects are compiled with this version so we prefer to mantain 1.6

These are the options of the jvm:
-Xmn2g -Xmx6g -Xms6g -XX:PermSize=3g -XX:MaxPermSize=4g -XX:ParallelGCThreads=3
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16139
    
  21

Lorenzo Trabanelli wrote:
The jvm is 1.6 and all the projects are compiled with this version so we prefer to mantain 1.6


You may prefer it, but Oracle announced some time ago that Java 1.6 will be end-of-lifed sometime in the next 2-3 weeks. And considering the record number of security fixes recently, I'd recommend installing Java 7.

Customer surveys are for companies who didn't pay proper attention to begin with.
Lorenzo Trabanelli
Greenhorn

Joined: Feb 06, 2013
Posts: 3
Ok thank's for the tip....I'll suggest this....

For my problem .... I've found another little detail....
The first time the page stop to work the error is:

and then


My jsf apps are written in netbeans , and I use metro to call web services.... I never used xalan.....!!! Why xalan is called??? And why xalan is called after the web service call is used many times???
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: NoClassDefFoundError XmlUtil