-
1. Re: Load image from outside the web context in JBoss AS 7
lily can Mar 26, 2014 11:06 PM (in response to Humberto Ferreira da Luz Jr.)no idea whether we can load image like that in JBoss AS. but if it does support, then things would become more easier. any idea on this? thank you.
-
2. Re: Load image from outside the web context in JBoss AS 7
Tomaz Cerar Mar 27, 2014 9:39 AM (in response to Humberto Ferreira da Luz Jr.)Humberto Ferreira da Luz Jr. wrote:
Is there a similar way to do that in JBoss AS 7?
I would suggest you upgrade to WildFly 8 which provides this in undertow subsystem.
even default welcome content is served just like that.
for example
you would add:
<location name="/images" handler="images-handler">
under host <host>
and
<file name="images-handler" path="/some/where/on/your/drive" directory-listing="true|false"/>
under handlers
--
tomaz
-
3. Re: Load image from outside the web context in JBoss AS 7
Humberto Ferreira da Luz Jr. Mar 27, 2014 10:31 AM (in response to Tomaz Cerar)I'm still waiting Wildfly to get more stable, but it's nice to know that it already supports that feature.
-
4. Re: Load image from outside the web context in JBoss AS 7
Tomaz Cerar Mar 27, 2014 11:01 AM (in response to Humberto Ferreira da Luz Jr.)Humberto Ferreira da Luz Jr. wrote:
I'm still waiting Wildfly to get more stable, but it's nice to know that it already supports that feature.
And what would define that?
you have any special issue you should probably report it.
-
5. Re: Load image from outside the web context in JBoss AS 7
Humberto Ferreira da Luz Jr. Mar 27, 2014 12:45 PM (in response to Tomaz Cerar)Originally this: org.infinispan.commons.CacheException: java.lang.RuntimeException: Failure to marshal argument(s)
My last post describes the issue I faced after the CacheException was solved. Unfortunately I wasn't able to identify what exactly caused it in order to make a reproducer application.
I'm going to wait for the 8.0.1 release and then try again.