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

website with jsp on a zipdisk ... classpath error

Karen Gomes
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Friends,
I am trying to copy my website that uses jsp,servelts,mySQL on to a disc[could be zipdisk or CD]. My client needs a copy on a disc to show and market it to places that may not always be connected to the internet.
I am using the resin server and mysql database. I copied the entire resin server and my project folders, mysql along with my database onto a zipdisc. I choose a zipdisk since the resin server needs to continuously write to the log files...which is not possible on a CD.
On doing so, my html files work great, but when I run jsp pages...I get classpath not found error. In the exception it mentions that maybe I am using jre instead of jdk and I need to add the tools.jar to the classpath.
I tried adding tools.jar to the lib folder of resin and also set the classpath of the tools.jar but the problem still exists.
Also since I do not know which drive is the zipdrive for the user, I do not know how to add the classpath through a batch file???
Do I need to copy j2sdk also to the zipdisk? I do not want to do so...but will do so only if there is no other way out.
Also if you have any better approach let me know.
Any help will me most appreciated !!!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic