• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with File Being Written

 
Steve Dyke
Ranch Hand
Posts: 1644
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The following code works great on my local host server but will not work on the production server. I call the class from a JSF.

 
Paul Clapham
Sheriff
Posts: 21322
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And what are the symptoms of its not-workingness?
 
Steve Dyke
Ranch Hand
Posts: 1644
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The file never gets writen to the location specified when ran on the production server.
 
Rob Spoor
Sheriff
Pie
Posts: 20611
63
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the value of this.fileName?
 
Steve Dyke
Ranch Hand
Posts: 1644
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The value is:
\\gvsvr03\drawings\wgen\pre_pdf\sourcefiles\862000\862428-001B1.rtf
 
Paul Clapham
Sheriff
Posts: 21322
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And are there any error messages in your logs? That looks to me like a Windows UNC path, and it's possible that the server it refers to isn't configured to allow your production server to write to that directory.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic