Peter Johnson [
http://community.jboss.org/people/peterj] created the discussion
"Re: files on Jboss server"
To view the discussion, visit:
http://community.jboss.org/message/584126#584126
--------------------------------------------------------------
If you showed the code that you used to create the files, that would really help. And also
mentioned hwre that code appears (within a servlet or web app, within an EJB, etc) Without
that we are just guessing. Here are some fatcs that might help:
* If you create a file using a relative path, that file will usually show up in the
jboss/bin directory since that is the working directory.
* To access files within a web app from a servlet, use ServletContext.getContextPath()
* To access files in specific JBoss AS directories, use one of the jboss.server.* system
properties, such as jboss.server.data.dir. You can see all of the system properties in the
jmx-console via the jboss:type=Service,name=SystemProperties MBean
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/584126#584126]
Start a new discussion in Beginner's Corner at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]