on 04-04-2006 11:54 AM
Hi there,
I am trying to deploy a XML-File which contains some configuration-values onto the WAS. The file is needed by several EJB-components. It should be possible to edit this file. So it can not be stored in a .jar-archive. In best case the file has to be placed in /usr/sap/J2E/JC00/j2ee/cluster/server0/apps/package/myApp/file.xml
Can anyone help me please?
Kind regards
Thomas
Thomas,
Even if you store the file on the absolute path specified, you wont be able to edit / change it as File I/O is not allowed as a valid operation from inside EJBs.
Regards,
Amol
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Amol,
I do not care if it is a valid operation of the EJB. I have got the requirements to read a config-file from the filesystem. The only problem is, how to get it on the server. I solved it by using an additional WebProject, but it is not the best and cleanest way. Because of that, I am searching for a solution to deploy it via EAR or EJB-Project.
Regards,
Thomas
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.