it may be a security issue, now when someone access a resource
it will be checked if it can or not.
try to put the followoing rule in the permissions :
.*:: with level READ
the problem is that the loader as not identity associed, so I don't know if it will
work.
Otherwise you can try to recompile the HtmlLoader so it use getResourceNoCheck instead
of getResource :
| public InputStream load(String name)
| {
| InputStream in = null;
| try
| {
| Resource res = (Resource)server.invoke(HtmlModule.OBJECT_NAME,
"getResourceNoCheck", new Object[]{name}, new String[]{String.class.getName()});
| if (res != null)
| {
| ByteArrayOutputStream baos = new ByteArrayOutputStream();
| res.writeTo(baos);
| in = new ByteArrayInputStream(baos.toByteArray());
| }
| }
| catch(Exception e)
| {
| log.error("Cannot load resource " + name + " from the html module", e);
| }
| return in;
| }
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3828120#3828120
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3828120
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development