• 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

BEA file io problem

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am migrating an existing web application from JBoss to BEA. There is code in the app that writes out a file to a location in the current deployment area -- for example: C:\Program Files\jboss-4.0.3SP1\server\default\.\deploy\EELSApp.ear\EELS.war\Report_Data_Sources\Result_92d5438b886f9f968a0b9976e399d552.xml.

This works just fine in JBoss but when I try to run it in BEA I get a file permission error. I've checked every conceivable permission and everything is read/write. Any ideas? Does BEA not allow you to create a file in the deployment area? If I change the code to write the file somewhere outside the deployment are it works just fine.

Thanks for the help.

- Ben
 
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Could you please post the stack trace for that exception?

Thanks

Lin
reply
    Bookmark Topic Watch Topic
  • New Topic