| Author |
Problem with File Being Written
|
Steve Dyke
Ranch Hand
Joined: Nov 16, 2004
Posts: 1254
|
|
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
Bartender
Joined: Oct 14, 2005
Posts: 16482
|
|
|
And what are the symptoms of its not-workingness?
|
 |
Steve Dyke
Ranch Hand
Joined: Nov 16, 2004
Posts: 1254
|
|
|
The file never gets writen to the location specified when ran on the production server.
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19216
|
|
|
What is the value of this.fileName?
|
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
|
 |
Steve Dyke
Ranch Hand
Joined: Nov 16, 2004
Posts: 1254
|
|
The value is: \\gvsvr03\drawings\wgen\pre_pdf\sourcefiles\862000\862428-001B1.rtf
|
 |
Paul Clapham
Bartender
Joined: Oct 14, 2005
Posts: 16482
|
|
|
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.
|
 |
 |
|
|
subject: Problem with File Being Written
|
|
|