• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tomcat 5.5 - File/Folder creation problem

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have installed NetBeans IDE 5.5, which contains Bundled Tomcat 5.5.17 (runs at port 8084)And i have installed Tomcat 5.5 seperately on Port 8888.
I have an application which upload files on shared drive. (shared drive is from another system on which i have administrative rights like read/write/modify). When i run my application through NetBeans i am able to create the folder structure on shared drive by using File function,mkdirs().
But when i run the same application through Tomcat 5.5 which i have installed seperately it doesn't works. It's not able to create folder structure. why this is so? Please help me.

Second thing, the same application i can run through any system which we have in LAN in our company through NetBeans, but it doesn't run when i go by Tomcat 5.5 separately. Do i have to change firewall settings?? I did it almost, but -- my system ip is x.x.36.155 it works for all x.x.36.x but it doesn't work for x.x.40.x ?? why this is so?? please help me.

Thanks,
Manohar
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How are you running the non-Netbeans version of Tomcat; as a Windows service?
If so, you will want to change the user under which the service runs.

By default, Windows services run as the 'system' user which has no access networked machines.
 
manohar amrutkar
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I used the UNC path to the directory, to resolve issue of file writing on shared drive and it's working. But my application still not able to open from x.x.40.x system. My system ip is x.x.36.x, i have changed system user to my account(XP login account) which is under the company domain. Do i have to change any firewall settings?? Because i am able to run it through bundled tomcat with NetBeans.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic