Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

network drive issues

Status
Not open for further replies.

adiMasher

Programmer
Aug 31, 2001
144
US
Good day to all!

I have a fairly simple issue. From inside apache Tomcat, I am running a java class through a portal engine.

I have some setup options to pull down config files off a local hard drive and everything works beautifully.

Now when I change the drive letter to a mapped network drive, I cannot connect to it

Code:
	try{
	   perfCubesFSO = new File(perfCubeLoc);
	   if(perfCubesFSO.isDirectory()){
	   ...
	   }else{
	      //error handling code
	   }
	}catch......

here's a snippet of how I'm testing the directory I'm trying to open. and it's got to be some problem between java and windows that won't let java access the network mapped drive.

Any thoughts on this, how to fix it or a work around?

Thanks,
Martin If the sky is blue and the Sun is yellow.... Why isn't the air Green?
 
It never fails... I think up an answer after I post to the forum

I had to adjust the service to use a networked account rather than a local system account.

problem solved. If the sky is blue and the Sun is yellow.... Why isn't the air Green?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top