RE: Facing Error while building Leyna - properties-build.xml:162: taskdef class com.thaiopensource.relaxng.util.JingTask cannot be found

"Kamde, Pravin" <[email protected]> Thu, 22 Jul 2010 17:36:19 +0530
Newsgroups gmane.comp.cms.lenya.user
Message-ID <39AB4480A68587408E879F617E11DA7537F572E412@IN-MUM-MAIL2.corp.capgemini.com>
Hi Sachin,

I have now deployed the leyna on Tomcat 5.5 ist taking comparatively less time (about 10 mins)  for deploying leyna.

INFO: Starting service Catalina
Jul 22, 2010 5:07:40 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.30
Jul 22, 2010 5:07:40 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Jul 22, 2010 5:18:42 PM org.apache.coyote.http11.Http11AprProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jul 22, 2010 5:18:42 PM org.apache.coyote.ajp.AjpAprProtocol start
INFO: Starting Coyote AJP/1.3 on ajp-8009
Jul 22, 2010 5:18:42 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Jul 22, 2010 5:18:42 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 662589 ms

But when I tring to access it from browser I am getting below ERROR:
Do I need to make any changes in lenya configuration?
Please suggest.

Initialization Problem
Message: null
Description: No details available.
Sender: org.apache.cocoon.servlet.CocoonServlet
Source: Cocoon Servlet
cause
Failure occured during job recovery.
request-uri
/lenya/


Thanks & Regards,
Pravin Kamde/ Capgemini India / Mumbai - Tekelec
Consultant | France BU | Mumbai
Cell: 91 9769541040/ 9096310609  VOIP : 2239194000 - Extension 2211818
www.in.capgemini.com<https://webmail.in.capgemini.com/exchweb/bin/redir.asp?URL=http://www.in.capgemini.com/>      email: [email protected]<mailto:[email protected]>
[cid:[email protected]][cid:[email protected]]Together. Free your energies
-----------------------------------------------------------------------------------------
I shut down my system before leaving; do u ? SAVE ENERGY
Join OYE! (Open Your Eyes)<http://intranet.in.capgemini.com/people/communities/open_your_eyes/> to reduce GLOBAL WARMING...
-----------------------------------------------------------------------------------------

From: Sachin [mailto:[email protected]]
Sent: Thursday, July 22, 2010 1:55 PM
To: [email protected]
Subject: Re: Facing Error while building Leyna - properties-build.xml:162: taskdef class com.thaiopensource.relaxng.util.JingTask cannot be found

Hi Pravin

I believe you are using tomcat 7.0. I have not tried lenya on tomcat 7.0 though. Right now lenya is tested to work on tomcat5.5 and is recommended:

http://lenya.apache.org/docu20/installation20/install20.html

I will try to look into your error and sort it though.

Regards
Sachin

On Thursday 22 July 2010 11:41 AM, Kamde, Pravin wrote:
Hi Sachin,

Leyna build is now successful.

But when I restart the tomcat its taking too long time to deploy the lenya application.

I am getting below logs and leyna is not deploying even after 1-2 hours..... :(

Does it normal or I need to change any tomcat setting?

Jul 22, 2010 11:36:22 AM org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.20.
Jul 22, 2010 11:36:22 AM org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], ra
ndom [true].
Jul 22, 2010 11:36:32 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 14690 ms
Jul 22, 2010 11:36:33 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jul 22, 2010 11:36:33 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.0
Jul 22, 2010 11:36:33 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
Jul 22, 2010 11:36:37 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
Jul 22, 2010 11:36:41 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory host-manager
Jul 22, 2010 11:36:41 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory lenya


Thanks & Regards,
Pravin Kamde/ Capgemini India / Mumbai - Tekelec
Consultant | France BU | Mumbai
Cell: 91 9769541040/ 9096310609  VOIP : 2239194000 - Extension 2211818
www.in.capgemini.com<https://webmail.in.capgemini.com/exchweb/bin/redir.asp?URL=http://www.in.capgemini.com/>      email: [email protected]<mailto:[email protected]>
[cid:[email protected]][cid:[email protected]]Together. Free your energies
-----------------------------------------------------------------------------------------
I shut down my system before leaving; do u ? SAVE ENERGY
Join OYE! (Open Your Eyes)<http://intranet.in.capgemini.com/people/communities/open_your_eyes/> to reduce GLOBAL WARMING...
-----------------------------------------------------------------------------------------

From: Richard Frovarp [mailto:[email protected]]
Sent: Wednesday, July 21, 2010 9:31 PM
To: [email protected]<mailto:[email protected]>
Subject: Re: Facing Error while building Leyna - properties-build.xml:162: taskdef class com.thaiopensource.relaxng.util.JingTask cannot be found

On 07/21/2010 04:58 AM, Sachin wrote:
Hi Pravin

It is not able to find out "org.apache.xpath.XPathAPI" class now. You have to add xalan.jar(externals/cocoon_2_1_x/endorsed) as well to your lib path and probably the next will be antcontrib(tools/lib).

You can take help of "findjar.com" to find out the jar you are missing.

HTH
Regards
Sachin

Thanks for the help Sachin. The release was missing a file to setup the classpath under Windows. Perhaps we should release 2.0.4 to fix the issue?

This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.

</PRE><p style="font-family:arial;color:grey" style="font-size:13px">This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.</p><PRE>
image001.gif (image/gif, 1.6 KB) - not displayed
image002.png (image/png, 173 B) - not displayed
image003.png (image/png, 173 B) - not displayed