Win a copy of Production-Ready Serverless (Operational Best Practices) this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Ron McLeod
  • Tim Moores
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Vijitha Kumara

Uncaught exception created in one of the service methods of the servlet  RSS feed

 
santosh batta
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

I'm having trouble deploying my web app on WAS 7.0.0.41. When I deploy on WAS 7.0.0.19 or WAS 8.5.5.10 on my laptop, the app is running just fine with no issues. However, when I deploy it on WAS 7.0.0.41 on remote server, the deployment shows successful. However, when I access the URL it throws below exception.



I check the struts jar files and found that there are 2 versions of struts.jars i.e. struts 1.0 and struts 1.3. In struts 1.0, the ResponseUtils class has the write method, however it is missing in the 1.3 version. There are quite some differences between these 2 versions. In spite of all these differences, it is working fine on local eclipse, but on remote server.. it is complaining the above error.

Please help me fix this.
 
Dave Tolls
Rancher
Posts: 3983
47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you have two versions of a jar file it can be hit and miss as to which one gets used in different environments.
You need to figure out which version you want to be using and remove the other one.
 
Tim Moores
Saloon Keeper
Posts: 5326
143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
... and, of course, you should get rid of Struts 1.x ASAP, as it's riddled with a whole bunch of serious unpatched security holes. Deploying a web app based on Struts 1 is irresponsible, and has been so for years, IMO.
 
The only cure for that is hours of television radiation. And this tiny ad:
global solutions you can do at home or in your backyard
https://www.kickstarter.com/projects/paulwheaton/better-world-boo
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!