Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • 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:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

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: 19731
92
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!