Win a copy of Java Database Connections & Transactions (e-book only) this week in the JDBC 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
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

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

 
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.
 
Master Rancher
Posts: 4087
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.
 
Saloon Keeper
Posts: 5496
143
Android Firefox Browser Mac OS X Safari Tomcat Server VI Editor
  • 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.
 
Everybody's invited. Except this tiny ad:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!