Win a copy of Svelte and Sapper in Action this week in the JavaScript 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
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

website with jsp on a zipdisk ... classpath error

 
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 !!!
Cheers
Karen
 
Did you just should on me? You should read this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic