Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem updating code, having J2EE acknowledge it

tod murphey
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, hello again!
I was running J2EE, and wanted to make some minor modifications to the main servlet in my eap. First I "Undeployeed" the eap, made my changes to the servlet, then recompiled. I didn't change anything in the web component of the eap (still pointing to the same servlet, whose name was unchanged as well).
However, after I "Update" and "Save" the eap (it even acknowledges the changed servlet), then "Deploy", it's not picking up the changed servlet (it's using the previous version).
I checked all possible directories where the servlet.class is stored (2 places- the folder where I compiled it and the web root directory after deployment (in this case, C:\home\murphyt\J2EE\public_html\BonusRoot\WEB-INF\classes) to make sure the most recent class is being picked up, but it's still picking up the old version.
Do you have to do something else to "tweak" J2EE to pick up the new version? I'm at a loss here...
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic