This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Hands On Software Engineering with Python and have Brian Allbey on-line!
See this thread for details.
Win a copy of Hands On Software Engineering with Python this week in the Jython/Python 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
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

partitioning HD to run another OS  RSS feed

 
Ranch Hand
Posts: 4702
9
Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know this is servlets forum but there is really no place to ask this. I was chatting with someone about the problem of my servlet not finding a file for no good reason(servlet worked fine for over a year now suddenly for no reason i get error) and he suggested partitioning my HD and getting a different OS. slackware(although he mentioned a couple others). he said it could run Apache for me.
 
Bartender
Posts: 20099
101
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Slackware's a flavor of Linux, so you might want to look over in the Linux forum.
It's probably not a bad idea, since any version of Windows you could still find on store shelves would just mash that poor P133 flat. I started with Slackware, but use Red Hat these days - I've heard rumors that Slackware's fading away.
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And just for another two cents... why would a different OS solve the problem?

I've used http://www.pcguide.com/cgi-bin/Ultimate.cgi for hardware/configuration stuff before.. perhaps it has some posts. You'll find the interface pleasingly familiar.
 
Randall Twede
Ranch Hand
Posts: 4702
9
Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mike,
thanks for the link. I cant figure out what is wrong. I dont know if it is windows or tomcat that is not working right. everything appears normal
http://www.javaranch.com/ubb/Forum7/HTML/005337.html
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You seem to think the problem is with the ".."

I can tell you that I coded a servlet which uses COS to do file upload and then does a whole bunch of renaming and moving the files around. I always use a fully qualified path name though.

So have you tried /usr/local/etc/etc/webapps/examples/login.txt
(or c:/apacheDIR/tomcatDIR/webapps/examples/login.txt for windows)
 
Randall Twede
Ranch Hand
Posts: 4702
9
Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mike,
no I have not tried rewriting the servlet. It worked fine for over a year. Maybe that is the only solution though.
 
Time is the best teacher, but unfortunately, it kills all of its students - Robin Williams. tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!