What is the WildFly best practice to store/retrieve files in/from an external directory

52 views
Skip to first unread message

Osman Balci

unread,
Feb 5, 2021, 2:59:38 PM2/5/21
to WildFly
I am trying to convert my tutorials from GlassFish 4.1 to WildFly 21.

I set the following in glassfish-web.xml
<property name="alternatedocroot_1" value="from=/CloudStorage/* dir=/Users/Balci/DocRoot" />
to store/retrieve files in/from the external directory /Users/Balci/DocRoot.

What is the best practice, hopefully the easiest, for doing this in WildFly 21?

My web searches produced old confusing incomplete suggestions. I decided to consult with this group of WildFly experts.

Thanks for your help.

Prof. Osman Balci

James Perkins

unread,
Feb 8, 2021, 2:20:52 PM2/8/21
to WildFly

Osman Balci

unread,
Feb 9, 2021, 11:38:23 AM2/9/21
to WildFly
Thanks for confirming Undertow to be the best practice. I followed the instructions at http://middlewaremagic.com/jboss/?p=2718 and implemented Undertow. It works nicely.
Reply all
Reply to author
Forward
0 new messages