wood burning stoves
The moose likes BEA/Weblogic and the fly likes BEA file io problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "BEA file io problem" Watch "BEA file io problem" New topic

BEA file io problem

Ben Hagadorn

Joined: Mar 28, 2006
Posts: 25
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

Joined: Dec 11, 2002
Posts: 142
Could you please post the stack trace for that exception?


I agree. Here's the link: http://aspose.com/file-tools
subject: BEA file io problem
jQuery in Action, 3rd edition