This week's book giveaway is in the Java in General forum.
We're giving away four copies of Event Streams in Action and have Alexander Dean & Valentin Crettaz on-line!
See this thread for details.
Win a copy of Event Streams in Action this week in the Java in General 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
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

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

 
Ranch Hand
Posts: 80
  • 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.
 
Rancher
Posts: 4181
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: 5711
144
Android Mac OS X Firefox Browser VI Editor Tomcat Server Safari
  • 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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!