Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NoClassDefFoundError XmlUtil

 
Lorenzo Trabanelli
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 75
Java Linux Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 18094
48
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Lorenzo Trabanelli
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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???
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic