This content has been marked as final.
Show 1 reply
-
1. files on Jboss server
peterj Jan 30, 2011 1:34 PM (in response to kate88)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