For what its worth, I have similar problems when I try to run J2-M1 on
JBoss 4.0.1.
I wrote a description of what I did in my
blog(http://marcels-javanotes.blogspot.com/).

JBoss starts and spits out some log messages. After a short while, the
logging is taken over by jetspeed.
When fully started, I find the following error in the jetspeed.log:
[error] ResourceManager : unable to find resource
'/WEB-INF/VM_global_library.vm' in any resource loader.

When I browse to the portal page, I see the full page, but the
portlets show only the title bar, and the following errors show up in
the jetspeed.log:
ERROR org.apache.jetspeed.page.impl.CastorXmlPageManager -
expandAndProfileDocumentSet(): Navigation profile locator docset
unavailable for document set /top-pages.ds, ignored.
...
[error] ResourceManager : unable to find resource
'/WEB-INF/VM_global_library.vm' in any resource loader.
...
[error] VM #includeNestedLinksWithIconNavigation: error : too few
arguments to macro. Wanted 3 got 0
...
[error] RHS of #set statement is null. Context will not be modified.
/WEB-INF/decorations/layout/html/tigris/decorator-top.vm [line 1,
column 1]
[warn] org.apache.velocity.runtime.exception.ReferenceException:
reference : template =
/WEB-INF/decorations/layout/html/tigris/decorator-top.vm [line
32,column 38] : $Id is not a valid reference.
[error] RHS of #set statement is null. Context will not be modified.
/WEB-INF/decorations/layout/html/tigris/decorator-top.vm [line 40,
column 1]
[warn] Warning! The iterative  is an Iterator in the #foreach() loop
at [0,0] in template
/WEB-INF/decorations/layout/html/tigris/decorator-top.vm. Because it's
not resetable, if used in more than once, this may lead to unexpected
results.
[warn] Warning! The iterative  is an Iterator in the #foreach() loop
at [0,0] in template
/WEB-INF/decorations/layout/html/tigris/decorator-top.vm. Because it's
not resetable, if used in more than once, this may lead to unexpected
results.
[warn] Warning! The iterative  is an Iterator in the #foreach() loop
at [0,0] in template
/WEB-INF/decorations/layout/html/tigris/decorator-top.vm. Because it's
not resetable, if used in more than once, this may lead to unexpected
results.
[warn] Warning! The iterative  is an Iterator in the #foreach() loop
at [0,0] in template
/WEB-INF/decorations/layout/html/tigris/decorator-top.vm. Because it's
not resetable, if used in more than once, this may lead to unexpected
results.
[warn] Warning! The iterative  is an Iterator in the #foreach() loop
at [0,0] in template
/WEB-INF/decorations/layout/html/tigris/decorator-top.vm. Because it's
not resetable, if used in more than once, this may lead to unexpected
results.
[warn] Warning! The iterative  is an Iterator in the #foreach() loop
at [0,0] in template
/WEB-INF/decorations/layout/html/tigris/decorator-top.vm. Because it's
not resetable, if used in more than once, this may lead to unexpected
results.

After a bit of investigation, it came down to the VC macro
$!jetspeed.include($myF) on line 66 in
/WEB-INF/decorations/portlet/html/tigris/decorator.vm, which doesn't
result in any output.

Searching the file system for the file VM_global_library.vm in either
the JBoss or the tomcat file system gave no results.
Where does that file come from? Is it created on the fly, is it
packaged in one of the jarfiles?
Since the symptoms are similar, I think these issues are related, in
case you considere it a seperate issue, I'll be glad to open an issue
in jira about it.

Thanx,
Marcel

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to