After planting various debug out int my WebappLoader, I just discovered that when I
say ServletCcontext.getResource(String),
it's loaded via JNDI.
Here is java code fragment:
| for (int i=0; i < paths.length; i++)
| {
| try
| {
| System.err.println("checking path: " + paths);
|
| result = servletContext.getResourceAsStream(paths + name);
|
| /* exit the loop if we found the template */
| if (result != null)
| {
| System.err.println("found resource " + name +
" at: " + servletContext.getResource(paths + name));
| break;
| }
| }
| catch (Exception e)
| {
| /* only save the first one for later throwing */
| if (exception == null)
| {
| exception = e;
| }
| }
| }
|
And here is the result:
11:41:13,568 ERROR [STDERR] checking path: /
11:41:13,571 ERROR [STDERR] found resource index.vm at:
jndi:/localhost/unadmin/index.vm
>From both webapps identical...
Is this problem known? Any workarounds? 3.2.0 worked better...
<a
href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825656#3825656">View
the original post</a>
<a
href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825656>Reply
to the post</a>
-------------------------------------------------------
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-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user