Re: j2 in tomcat 5.5

2005-01-12 Thread Marcel Dullaart
Thanx for the info Randy,

I noticed teh same message popping up when running J2 on Tomcat 5.0.28
later this afternoon.
I'll continue investigating why the portlet bodies are not properly
included tomorrow at the office.

Marcel

On Wed, 12 Jan 2005 10:11:03 -0700, Randy Watler <[EMAIL PROTECTED]> wrote:
> Marcel,
> 
> This is probably the only significant error:
> 
> Marcel Dullaart wrote:
> 
> >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.
> >
> >
> The rest of the messages are common with working J2 instances, but need
> to be cleaned up.
> 
> Sorry for the confusion there,
> 
> Randy
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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



Re: j2 in tomcat 5.5

2005-01-12 Thread Randy Watler
Marcel,
This is probably the only significant error:
Marcel Dullaart wrote:
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.
 

The rest of the messages are common with working J2 instances, but need 
to be cleaned up.

Sorry for the confusion there,
Randy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: j2 in tomcat 5.5

2005-01-12 Thread Marcel Dullaart
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]



Re: j2 in tomcat 5.5

2005-01-11 Thread David Sean Taylor
Palotai Zsolt wrote:
Thanks for the idea, but I tried that and i still have the following 
errors in tomcat stdout.log after it tries to deploy pam.war and rss.war:

I had a few brief minutes to test on Tomcat 5.5
Some portlets work, others don't.
For instance the JSF Demo portlets
VelocityViewServlet : Error processing the template
Invocation of method 'getRenderedContent' in class 
org.apache.jetspeed.om.page.psml.FragmentImpl threw exception class 
java.lang.IllegalStateException : You cannot invoke getRenderedContent() 
until the content has been set.

java.lang.IllegalStateException: You cannot invoke getRenderedContent() 
until the content has been set.

And the Login portlet logs:
 JetspeedRequestDispatcher failed to include servlet resources. 
(details below)
Exception: org.apache.jasper.JasperException
Message: Unable to read TLD "META-INF/fmt.tld" from JAR file 
"file:/C:/bluesunrise/apache/jakarta-tomcat-5.5.4/webapps/security/WEB-INF/lib/standard-1.0.4.jar": 
org.apache.jasper.JasperException: Failed to load or instantiate 
TagLibraryValidator class: org.apache.taglibs.standard.tlv.JstlFmtTLV

I'll create a JIRA issue and a WIKI page to start tracking issues with 
Tomcat 5.5. Shouldn't be too long to get it up and running when a 
committer has spare time 

http://issues.apache.org/jira/browse/JS2-187
http://wiki.apache.org/portals/Jetspeed2/Tomcat55HowTo
--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: j2 in tomcat 5.5

2005-01-11 Thread Palotai Zsolt
Thanks for the idea, but I tried that and i still have the following 
errors in tomcat stdout.log after it tries to deploy pam.war and rss.war:

Jan 11, 2005 11:05:34 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Jan 11, 2005 11:05:34 AM org.apache.catalina.core.StandardContext start
SEVERE: Context startup failed due to previous errors
Jan 11, 2005 11:05:34 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive rss.war
INFO: Loading portlet application from web archive 
C:\zsolt\JXTA_WS\Tomcat5.5\webapps\jetspeed\WEB-INF\deploy\jsf-demo.war
INFO: Portlet application "jsf-demo" already been registered.  Skipping 
initial deployment.
INFO: Adding 
file:/C:/zsolt/JXTA_WS/Tomcat5.5/webapps/jetspeed/../jsf-demo/WEB-INF/classes/ 
to class path.
INFO: Adding 
file:/C:/zsolt/JXTA_WS/Tomcat5.5/webapps/jetspeed/../jsf-demo/WEB-INF/lib/commons-beanutils-1.6.1.jar 
to class path.
INFO: Adding 
file:/C:/zsolt/JXTA_WS/Tomcat5.5/webapps/jetspeed/../jsf-demo/WEB-INF/lib/commons-codec-1.2.jar 
to class path.
INFO: Adding 
file:/C:/zsolt/JXTA_WS/Tomcat5.5/webapps/jetspeed/../jsf-demo/WEB-INF/lib/commons-collections-2.1.jar 
to class path.
INFO: Adding 
file:/C:/zsolt/JXTA_WS/Tomcat5.5/webapps/jetspeed/../jsf-demo/WEB-INF/lib/commons-digester-1.5.jar 
to class path.
INFO: Adding 
file:/C:/zsolt/JXTA_WS/Tomcat5.5/webapps/jetspeed/../jsf-demo/WEB-INF/lib/commons-el-1.0.jar 
to class path.
INFO: Adding 
file:/C:/zsolt/JXTA_WS/Tomcat5.5/webapps/jetspeed/../jsf-demo/WEB-INF/lib/commons-logging-1.0.3.jar 
to class path.
INFO: Adding 
file:/C:/zsolt/JXTA_WS/Tomcat5.5/webapps/jetspeed/../jsf-demo/WEB-INF/lib/jsp-api-2.0-20040521.jar 
to class path.
INFO: Adding 
file:/C:/zsolt/JXTA_WS/Tomcat5.5/webapps/jetspeed/../jsf-demo/WEB-INF/lib/log4j-1.2.8.jar 
to class path.
INFO: Adding 
file:/C:/zsolt/JXTA_WS/Tomcat5.5/webapps/jetspeed/../jsf-demo/WEB-INF/lib/myfaces-1.0.8-PATCHED.jar 
to class path.
INFO: Adding 
file:/C:/zsolt/JXTA_WS/Tomcat5.5/webapps/jetspeed/../jsf-demo/WEB-INF/lib/portals-bridges-myfaces-0.1.jar 
to class path.
Jan 11, 2005 11:05:39 AM 
org.springframework.beans.factory.xml.XmlBeanDefinitionReader 
loadBeanDefinitions
INFO: Loading XML bean definitions from resource for InputStream
Jan 11, 2005 11:05:39 AM org.apache.catalina.core.ApplicationContext log
INFO: Marking servlet velocity as unavailable
Jan 11, 2005 11:05:39 AM org.apache.catalina.core.ApplicationContext log
SEVERE: Servlet /rss threw load() exception
javax.servlet.ServletException: Error instantiating servlet class 
org.apache.portals.bridges.velocity.BridgesVelocityViewServlet
   at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1020)

Zsolt
[EMAIL PROTECTED] wrote:
Hi,
I have the same problem as you. Have you found any solution?
I can just tell you what I did to solve the rss probem:
1. Shut down Tomcat
2. Delete
   C:\Tomcat 5.5\webapps\rss
3. copy the rss.war files from C:\Tomcat
5.5\webapps\jetspeed\WEB-INF\deploy\
to C:\Tomcat 5.5\webapps\
4. Start Tomcat.
Like this you force the deploy.
Albert Valls Tosca
Norma Consulting Analyst
Tel: (+34) 93-363 77 00

_
Mensaje analizado y protegido, tecnologia antivirus www.trendmicro.es
 


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


j2 in tomcat 5.5

2005-01-07 Thread Palotai Zsolt
Hi all,
i'm trying to start jetspeed2 in tomcat 5.5. I successfully built 
jetspeed2 on java 1.5 compiler with -source 1.4 and deployed it with maven.
When i start tomcat, jetspeed initialize succesfully,  - in tomcat 
manager i see that pam is not started, the others are started according 
to the manager - ,
but after that i get the following error in tomcat's std.out
(jetspeed.log seems ok, velocity.log contains one error: 2005-01-07 
17:20:43,187 [Thread-1] ERROR velocity - ResourceManager : unable to 
find resource '/WEB-INF/VM_global_library.vm' in any resource loader. )
So i have this in tomcat's stdout.log:

INFO: Loading portlet application from web archive 
C:\zsolt\JXTA_WS\Tomcat5.5\webapps\jetspeed\WEB-INF\deploy\pam.war
INFO: Portlet application "pam" already been registered.  Skipping 
initial deployment.
INFO: Adding 
file:/C:/zsolt/JXTA_WS/Tomcat5.5/webapps/jetspeed/../pam/WEB-INF/classes/ 
to class path.
...
INFO: Adding 
file:/C:/zsolt/JXTA_WS/Tomcat5.5/webapps/jetspeed/../pam/WEB-INF/lib/velocity-tools-1.1.jar 
to class path.
log4j:WARN No appenders could be found for logger 
(org.apache.catalina.session.ManagerBase).
log4j:WARN Please initialize the log4j system properly.
Jan 7, 2005 5:21:07 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Jan 7, 2005 5:21:07 PM org.apache.catalina.core.StandardContext start
SEVERE: Context startup failed due to previous errors

And after that i got an other error at rss
INFO: Loading portlet application from web archive 
C:\zsolt\JXTA_WS\Tomcat5.5\webapps\jetspeed\WEB-INF\deploy\rss.war
INFO: Portlet application "rss" already been registered.  Skipping 
initial deployment.
...
INFO: Adding 
file:/C:/zsolt/JXTA_WS/Tomcat5.5/webapps/jetspeed/../rss/WEB-INF/lib/xml-apis-2.0.2.jar 
to class path.
Jan 7, 2005 5:21:14 PM 
org.springframework.beans.factory.xml.XmlBeanDefinitionReader 
loadBeanDefinitions
INFO: Loading XML bean definitions from resource for InputStream
Jan 7, 2005 5:21:14 PM org.apache.catalina.core.ApplicationContext log
INFO: Marking servlet velocity as unavailable
Jan 7, 2005 5:21:14 PM org.apache.catalina.core.ApplicationContext log
SEVERE: Servlet /rss threw load() exception
javax.servlet.ServletException: Error instantiating servlet class 
org.apache.portals.bridges.velocity.BridgesVelocityViewServlet
   at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1020)
   at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:886)
   at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3817)
   at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4079)
   at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:755)
   at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
   at 
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:886)
   at 
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:849)
   at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1079)
   at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
   at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1011)
   at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1003)
   at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:437)
   at 
org.apache.catalina.core.StandardService.start(StandardService.java:450)
   at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:2010)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)

Has anyone an idea about this problem?
Thanks
Zsolt
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]