• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

BEA file io problem

 
Ben Hagadorn
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • 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
 
Lin Feng
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you please post the stack trace for that exception?

Thanks

Lin
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic