You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by "Kamde, Pravin" <pr...@capgemini.com> on 2010/07/21 07:57:14 UTC

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

 Hi All,
I am trying to build the lenya CMS on my PC but after configuration when I try to build leyna using build.bat file I am getting bellow error.
C:\src\apache-lenya-2.0.3-src>build.bat
ECHO is off.
Buildfile: build.xml
BUILD FAILED
C:\src\apache-lenya-2.0.3-src\src\targets\properties-build.xml:162: taskdef class com.thaiopensource.relaxng.util.JingTask cannot be found
Total time: 0 seconds
I have checked the existence of jingTask class file and it is there inside "jing-20030619.jar" file and this file is well included in classpath env variable.
Can someone have an idea how I can correct this error?
Thanks in advance for your help and suggestions.


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: pravin.kamde@capgemini.com<ma...@capgemini.com>
[cid:image002.gif@01CB28C6.CA52F0E0][cid:image003.png@01CB28C6.CA52F0E0]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...
-----------------------------------------------------------------------------------------


</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>

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

Posted by Rainer Schöpf <ra...@gmx.net>.
Hello Ankur,

sorry for not being able to reply earlier.

Steps for remote debugging lenya with eclipse.

1. Build lenya as usual

2. Start lenya with the servlet-debug parameter, so that remote debugging of the 
running application is enabled

3. Define a Remote Java application in Eclipse:

  Menu: Run -> Debug Configurations
  Select "Remote Java Application" in the left pane
  Click on the "New" button
  Choose a name and select your lenya project in the right hand pane
  Click on the Debug button

This will connect Eclipse to the running lenya. You can now set breakpoints etc. 
as usual.

 Rainer


On Sun, 18 Mar 2012 at 20:30 -0700, AnkurPSI wrote:

 > 
 > Hi Rainer, 
 > 
 > Can you please share the steps in brief like what you have done?
 > 
 > Thanks,
 > Ankur
 > 
 > Rainer Schöpf-5 wrote:
 > > 
 > > On Fri, 16 Mar 2012 at 03:19 -0700, AnkurPSI wrote:
 > > 
 > >  > I am able to build lenya from command prompt and then I imported the
 > > cocoon
 > >  > and lenya projects (build eclipse-project on the home dirs using
 > > command
 > >  > prompt) in Eclipse ide 
 > >  > 
 > >  > Cocoon Home : C:\apache\cocoon\branches\BRANCH_2_1_X
 > >  > Lenya Home : C:\apache\lenya\lenya_2.0.4
 > >  > 
 > >  > Now after importing I am facing few compilation errors in Ant Build
 > > files
 > >  > and I have no clue how to resolve these error:
 > > 
 > > I've never managed to do that from within Eclipse. Instead I build lenya
 > > as 
 > > usual (with the build script). Then I define a Remote Java Application
 > > within 
 > > Eclipse and run lenya as 
 > > 
 > >  lenya.sh servlet-debug 
 > > 
 > > (lenya.bat in your case, I believe).
 > > 
 > >   Rainer
 > > 
 > > ---------------------------------------------------------------------
 > > To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
 > > For additional commands, e-mail: user-help@lenya.apache.org
 > > 
 > > 
 > > 
 > 
 > -- 
 > View this message in context: http://old.nabble.com/Facing-Error-while-building-Leyna---properties-build.xml%3A162%3A-taskdef-class-com.thaiopensource.relaxng.util.JingTask-cannot-be-found-tp29222190p33529029.html
 > Sent from the Lenya - Users mailing list archive at Nabble.com.
 > 
 > 
 > ---------------------------------------------------------------------
 > To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
 > For additional commands, e-mail: user-help@lenya.apache.org
 > 

   Rainer Schöpf

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

Posted by AnkurPSI <an...@thepsi.com>.
Hi Rainer, 

Can you please share the steps in brief like what you have done?

Thanks,
Ankur

Rainer Schöpf-5 wrote:
> 
> On Fri, 16 Mar 2012 at 03:19 -0700, AnkurPSI wrote:
> 
>  > I am able to build lenya from command prompt and then I imported the
> cocoon
>  > and lenya projects (build eclipse-project on the home dirs using
> command
>  > prompt) in Eclipse ide 
>  > 
>  > Cocoon Home : C:\apache\cocoon\branches\BRANCH_2_1_X
>  > Lenya Home : C:\apache\lenya\lenya_2.0.4
>  > 
>  > Now after importing I am facing few compilation errors in Ant Build
> files
>  > and I have no clue how to resolve these error:
> 
> I've never managed to do that from within Eclipse. Instead I build lenya
> as 
> usual (with the build script). Then I define a Remote Java Application
> within 
> Eclipse and run lenya as 
> 
>  lenya.sh servlet-debug 
> 
> (lenya.bat in your case, I believe).
> 
>   Rainer
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Facing-Error-while-building-Leyna---properties-build.xml%3A162%3A-taskdef-class-com.thaiopensource.relaxng.util.JingTask-cannot-be-found-tp29222190p33529029.html
Sent from the Lenya - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


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

Posted by Rainer Schöpf <ra...@gmx.net>.
On Fri, 16 Mar 2012 at 03:19 -0700, AnkurPSI wrote:

 > I am able to build lenya from command prompt and then I imported the cocoon
 > and lenya projects (build eclipse-project on the home dirs using command
 > prompt) in Eclipse ide 
 > 
 > Cocoon Home : C:\apache\cocoon\branches\BRANCH_2_1_X
 > Lenya Home : C:\apache\lenya\lenya_2.0.4
 > 
 > Now after importing I am facing few compilation errors in Ant Build files
 > and I have no clue how to resolve these error:

I've never managed to do that from within Eclipse. Instead I build lenya as 
usual (with the build script). Then I define a Remote Java Application within 
Eclipse and run lenya as 

 lenya.sh servlet-debug 

(lenya.bat in your case, I believe).

  Rainer

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


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

Posted by AnkurPSI <an...@thepsi.com>.

Hi Guys, 

I am able to build lenya from command prompt and then I imported the cocoon
and lenya projects (build eclipse-project on the home dirs using command
prompt) in Eclipse ide 

Cocoon Home : C:\apache\cocoon\branches\BRANCH_2_1_X
Lenya Home : C:\apache\lenya\lenya_2.0.4

Now after importing I am facing few compilation errors in Ant Build files
and I have no clue how to resolve these error:
1. Target init-tasks does not exist in this project  in "init-build.xml".
2. Waring in build.xml 
code line : <project default="webapp" basedir="." name="lenya">
----------

  <!-- ==================  Apache Lenya targets  ========================
-->

  <!-- ===================================================================
-->
  <!-- Global properties  -->
	 <import file="src/targets/properties-build.xml" /> 
  <!-- Initialization targets  -->

Warning Description : 
     Multiple markers at this line
	- taskdef class com.thaiopensource.relaxng.util.JingTask cannot be found
	- Ant breakpoint [line: 40]

I have seen the discussion history in this thread I hope you guys might have
encountered with these issues and resolved too. So please share the
information in this context.

I want to set the development environment in eclipse for Lenya. Please
suggest tips for it too. 

Thanks, 
Ankur



Kamde, Pravin wrote:
> 
> 
>  Hi All,
> I am trying to build the lenya CMS on my PC but after configuration when I
> try to build leyna using build.bat file I am getting bellow error.
> C:\src\apache-lenya-2.0.3-src>build.bat
> ECHO is off.
> Buildfile: build.xml
> BUILD FAILED
> C:\src\apache-lenya-2.0.3-src\src\targets\properties-build.xml:162:
> taskdef class com.thaiopensource.relaxng.util.JingTask cannot be found
> Total time: 0 seconds
> I have checked the existence of jingTask class file and it is there inside
> "jing-20030619.jar" file and this file is well included in classpath env
> variable.
> Can someone have an idea how I can correct this error?
> Thanks in advance for your help and suggestions.
> 
> 
> 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: pravin.kamde@capgemini.com<ma...@capgemini.com>
> [cid:image002.gif@01CB28C6.CA52F0E0][cid:image003.png@01CB28C6.CA52F0E0]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...
> -----------------------------------------------------------------------------------------
> 
> 
> </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>
> 
>  
>  
>  
> 

-- 
View this message in context: http://old.nabble.com/Facing-Error-while-building-Leyna---properties-build.xml%3A162%3A-taskdef-class-com.thaiopensource.relaxng.util.JingTask-cannot-be-found-tp29222190p33516108.html
Sent from the Lenya - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


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

Posted by "Kamde, Pravin" <pr...@capgemini.com>.
Hi Sachin,
Thanks a lot for your help leyna is build successfully and I can access it from browser.
Thanks a lot for your help.


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: pravin.kamde@capgemini.com<ma...@capgemini.com>
[cid:image001.gif@01CB28F8.238154F0][cid:image002.png@01CB28F8.238154F0]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:sachin.sharma@techblue.co.uk]
Sent: Wednesday, July 21, 2010 3:28 PM
To: user@lenya.apache.org
Subject: Re: Facing Error while building Leyna - properties-build.xml:162: taskdef class com.thaiopensource.relaxng.util.JingTask cannot be found

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

On Wednesday 21 July 2010 03:10 PM, Kamde, Pravin wrote:
Hi Sachin,
Using -lib option I successes to correct the Error thanks for help.
But still build is not successful now I am getting below java exception. Any idea where its goes wrong?

C:\src\apache-lenya-2.0.3-src>call tools\bin\ant -Djava.endorsed.dirs=externals\cocoon_2_1_x\lib\endorsed -logger org.apache.tools.ant.NoBannerLogger -emacs -lib lib/jing-20030619.jar
Buildfile: build.xml
init:
------------------- Apache Lenya 2.0.3 [1999-2008] ----------------
Building with Apache Ant version 1.7.1 compiled on June 27 2008 and Java version
 1.6
Using build file C:\src\apache-lenya-2.0.3-src\build.xml
BUILD FAILED
java.lang.NoClassDefFoundError: org/apache/xpath/XPathAPI
        at XConfToolTask.patch(Unknown Source)
        at XConfToolTask.execute(Unknown Source)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:357)
        at org.apache.tools.ant.Target.performTasks(Target.java:385)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
        at org.apache.tools.ant.Main.runBuild(Main.java:758)
        at org.apache.tools.ant.Main.startAnt(Main.java:217)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Caused by: java.lang.ClassNotFoundException: org.apache.xpath.XPathAPI
        at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1400)
        at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1341)
        at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1088)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
        ... 18 more

Total time: 0 seconds


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: pravin.kamde@capgemini.com<ma...@capgemini.com>
[cid:image001.gif@01CB28F8.238154F0][cid:image003.png@01CB28F8.238154F0]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:sachin.sharma@techblue.co.uk]
Sent: Wednesday, July 21, 2010 1:10 PM
To: user@lenya.apache.org<ma...@lenya.apache.org>
Subject: Re: Facing Error while building Leyna - properties-build.xml:162: taskdef class com.thaiopensource.relaxng.util.JingTask cannot be found

Hi Pravin

You can use -lib option with build.bat to include libraries(jing etc) like:

build.bat -lib externals/cocoon_2_1_x/optional

Regards
Sachin

On Wednesday 21 July 2010 12:47 PM, Gaurav Kalia wrote:
Hi Pravin

Please make sure that the Jing Jar is in your build path. If you are using IDE like Eclipse then you can configure it from "External Tool Configuration".

HTH

Thanks

Gaurav

On Wednesday 21 July 2010 11:27 AM, Kamde, Pravin wrote:

 Hi All,
I am trying to build the lenya CMS on my PC but after configuration when I try to build leyna using build.bat file I am getting bellow error.
C:\src\apache-lenya-2.0.3-src>build.bat
ECHO is off.
Buildfile: build.xml
BUILD FAILED
C:\src\apache-lenya-2.0.3-src\src\targets\properties-build.xml:162: taskdef class com.thaiopensource.relaxng.util.JingTask cannot be found
Total time: 0 seconds
I have checked the existence of jingTask class file and it is there inside "jing-20030619.jar" file and this file is well included in classpath env variable.
Can someone have an idea how I can correct this error?
Thanks in advance for your help and suggestions.


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: pravin.kamde@capgemini.com<ma...@capgemini.com>
[cid:image001.gif@01CB28F8.238154F0][cid:image003.png@01CB28F8.238154F0]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...
-----------------------------------------------------------------------------------------



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.

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>

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

Posted by Sachin <sa...@techblue.co.uk>.
Hi Pravin

10 mins is too much time. Which java version are you using?

Have you tried clean-all and building lenya again?

And also your tomcat logs does not shows lenya deployed. Can you look 
out the whole log in catalina.out to find out if there is any error or 
exception during deployment?

Regards
Sachin

On Thursday 22 July 2010 05:36 PM, Kamde, Pravin wrote:
>
> 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/ **Cap**gemini **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: pravin.kamde@capgemini.com <ma...@capgemini.com>
>
> cid:image001.gif@01C9C1C2.CFD4B650cid:image001.gif@01C9C1C2.CFD4B650Together. 
> 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:sachin.sharma@techblue.co.uk]
> *Sent:* Thursday, July 22, 2010 1:55 PM
> *To:* user@lenya.apache.org
> *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..... L
>
> 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/ **Cap**gemini **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: pravin.kamde@capgemini.com <ma...@capgemini.com>
>
> cid:image001.gif@01C9C1C2.CFD4B650cid:image001.gif@01C9C1C2.CFD4B650Together. 
> 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:rfrovarp@apache.org]
> *Sent:* Wednesday, July 21, 2010 9:31 PM
> *To:* user@lenya.apache.org <ma...@lenya.apache.org>
> *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.
>
> 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.
>


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

Posted by "Kamde, Pravin" <pr...@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: pravin.kamde@capgemini.com<ma...@capgemini.com>
[cid:image001.gif@01CB29C4.64F137D0][cid:image002.png@01CB29C4.64F137D0]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:sachin.sharma@techblue.co.uk]
Sent: Thursday, July 22, 2010 1:55 PM
To: user@lenya.apache.org
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: pravin.kamde@capgemini.com<ma...@capgemini.com>
[cid:image001.gif@01CB29C4.64F137D0][cid:image003.png@01CB29C4.64F137D0]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:rfrovarp@apache.org]
Sent: Wednesday, July 21, 2010 9:31 PM
To: user@lenya.apache.org<ma...@lenya.apache.org>
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>

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

Posted by Sachin <sa...@techblue.co.uk>.
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..... L
>
> 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/ **Cap**gemini **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: pravin.kamde@capgemini.com <ma...@capgemini.com>
>
> cid:image001.gif@01C9C1C2.CFD4B650cid:image001.gif@01C9C1C2.CFD4B650Together. 
> 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:rfrovarp@apache.org]
> *Sent:* Wednesday, July 21, 2010 9:31 PM
> *To:* user@lenya.apache.org
> *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.
>


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

Posted by Florent André <fl...@apache.org>.
Hi,

Witch version of tomcat you use ?

Seems logs says tomcat/7.0.0.

Sure it's work on tomcat5.x (on linux, don't know on win) easily, and on 
T6 with some configurations. but no idea on T7.

++

On 22/07/2010 08:11, 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….. L
>
> 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/ **Cap**gemini **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: pravin.kamde@capgemini.com <ma...@capgemini.com>
>
> cid:image001.gif@01C9C1C2.CFD4B650cid:image001.gif@01C9C1C2.CFD4B650Together.
> 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:rfrovarp@apache.org]
> *Sent:* Wednesday, July 21, 2010 9:31 PM
> *To:* user@lenya.apache.org
> *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.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


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

Posted by "Kamde, Pravin" <pr...@capgemini.com>.
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: pravin.kamde@capgemini.com<ma...@capgemini.com>
[cid:image001.gif@01CB2992.D4A813A0][cid:image002.png@01CB2992.D4A813A0]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:rfrovarp@apache.org]
Sent: Wednesday, July 21, 2010 9:31 PM
To: user@lenya.apache.org
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?
</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>

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

Posted by Richard Frovarp <rf...@apache.org>.
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?

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

Posted by Sachin <sa...@techblue.co.uk>.
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

On Wednesday 21 July 2010 03:10 PM, Kamde, Pravin wrote:
>
> Hi Sachin,
>
> Using --lib option I successes to correct the Error thanks for help.
>
> But still build is not successful now I am getting below java 
> exception. Any idea where its goes wrong?
>
> C:\src\apache-lenya-2.0.3-src>call tools\bin\ant 
> -Djava.endorsed.dirs=externals\cocoon_2_1_x\lib\endorsed -logger 
> org.apache.tools.ant.NoBannerLogger -emacs -lib lib/jing-20030619.jar
>
> Buildfile: build.xml
>
> init:
>
> ------------------- Apache Lenya 2.0.3 [1999-2008] ----------------
>
> Building with Apache Ant version 1.7.1 compiled on June 27 2008 and 
> Java version
>
>  1.6
>
> Using build file C:\src\apache-lenya-2.0.3-src\build.xml
>
> BUILD FAILED
>
> java.lang.NoClassDefFoundError: org/apache/xpath/XPathAPI
>
>         at XConfToolTask.patch(Unknown Source)
>
>         at XConfToolTask.execute(Unknown Source)
>
>         at 
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
>
>         at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
>
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>
> sorImpl.java:25)
>
>         at java.lang.reflect.Method.invoke(Method.java:597)
>
>         at 
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
>
> a:106)
>
>         at org.apache.tools.ant.Task.perform(Task.java:348)
>
>         at org.apache.tools.ant.Target.execute(Target.java:357)
>
>         at org.apache.tools.ant.Target.performTasks(Target.java:385)
>
>         at 
> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
>
>         at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
>
>         at 
> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
>
>         at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
>
>         at org.apache.tools.ant.Main.runBuild(Main.java:758)
>
>         at org.apache.tools.ant.Main.startAnt(Main.java:217)
>
>         at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
>
>         at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
>
> Caused by: java.lang.ClassNotFoundException: org.apache.xpath.XPathAPI
>
>         at 
> org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1400)
>
>         at 
> org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1341)
>
>         at 
> org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1088)
>
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>
>         ... 18 more
>
> Total time: 0 seconds
>
> * *
>
> *Thanks & Regards,*
>
> *Pravin Kamde/ **Cap**gemini **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: pravin.kamde@capgemini.com <ma...@capgemini.com>
>
> cid:image001.gif@01C9C1C2.CFD4B650cid:image001.gif@01C9C1C2.CFD4B650Together. 
> 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:sachin.sharma@techblue.co.uk]
> *Sent:* Wednesday, July 21, 2010 1:10 PM
> *To:* user@lenya.apache.org
> *Subject:* Re: Facing Error while building Leyna - 
> properties-build.xml:162: taskdef class 
> com.thaiopensource.relaxng.util.JingTask cannot be found
>
> Hi Pravin
>
> You can use -lib option with build.bat to include libraries(jing etc) 
> like:
>
> build.bat -lib externals/cocoon_2_1_x/optional
>
> Regards
> Sachin
>
> On Wednesday 21 July 2010 12:47 PM, Gaurav Kalia wrote:
>
> Hi Pravin
>
> Please make sure that the Jing Jar is in your build path. If you are 
> using IDE like Eclipse then you can configure it from "External Tool 
> Configuration".
>
> HTH
>
> Thanks
>
> Gaurav
>
> On Wednesday 21 July 2010 11:27 AM, Kamde, Pravin wrote:
>
>  Hi All,
>
> I am trying to build the lenya CMS on my PC but after configuration 
> when I try to build leyna using build.bat file I am getting bellow error.
>
> C:\src\apache-lenya-2.0.3-src>build.bat
>
> ECHO is off.
>
> Buildfile: build.xml
>
> BUILD FAILED
>
> C:\src\apache-lenya-2.0.3-src\src\targets\properties-build.xml:162: 
> taskdef class com.thaiopensource.relaxng.util.JingTask cannot be found
>
> Total time: 0 seconds
>
> I have checked the existence of jingTask class file and it is there 
> inside "jing-20030619.jar" file and this file is well included in 
> classpath env variable.
>
> Can someone have an idea how I can correct this error?
>
> Thanks in advance for your help and suggestions.
>
> * *
>
> *Thanks & Regards,*
>
> *Pravin Kamde/ **Cap**gemini **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: pravin.kamde@capgemini.com <ma...@capgemini.com>
>
> cid:image001.gif@01C9C1C2.CFD4B650cid:image001.gif@01C9C1C2.CFD4B650Together. 
> 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**... *
>
> *-----------------------------------------------------------------------------------------*
>
> 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.
>
> 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.
>



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

Posted by "Kamde, Pravin" <pr...@capgemini.com>.
Hi Sachin,
Using -lib option I successes to correct the Error thanks for help.
But still build is not successful now I am getting below java exception. Any idea where its goes wrong?

C:\src\apache-lenya-2.0.3-src>call tools\bin\ant -Djava.endorsed.dirs=externals\cocoon_2_1_x\lib\endorsed -logger org.apache.tools.ant.NoBannerLogger -emacs -lib lib/jing-20030619.jar
Buildfile: build.xml
init:
------------------- Apache Lenya 2.0.3 [1999-2008] ----------------
Building with Apache Ant version 1.7.1 compiled on June 27 2008 and Java version
 1.6
Using build file C:\src\apache-lenya-2.0.3-src\build.xml
BUILD FAILED
java.lang.NoClassDefFoundError: org/apache/xpath/XPathAPI
        at XConfToolTask.patch(Unknown Source)
        at XConfToolTask.execute(Unknown Source)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:357)
        at org.apache.tools.ant.Target.performTasks(Target.java:385)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
        at org.apache.tools.ant.Main.runBuild(Main.java:758)
        at org.apache.tools.ant.Main.startAnt(Main.java:217)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Caused by: java.lang.ClassNotFoundException: org.apache.xpath.XPathAPI
        at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1400)
        at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1341)
        at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1088)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
        ... 18 more

Total time: 0 seconds


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: pravin.kamde@capgemini.com<ma...@capgemini.com>
[cid:image001.gif@01CB28E6.D5B502F0][cid:image002.png@01CB28E6.D5B502F0]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:sachin.sharma@techblue.co.uk]
Sent: Wednesday, July 21, 2010 1:10 PM
To: user@lenya.apache.org
Subject: Re: Facing Error while building Leyna - properties-build.xml:162: taskdef class com.thaiopensource.relaxng.util.JingTask cannot be found

Hi Pravin

You can use -lib option with build.bat to include libraries(jing etc) like:

build.bat -lib externals/cocoon_2_1_x/optional

Regards
Sachin

On Wednesday 21 July 2010 12:47 PM, Gaurav Kalia wrote:
Hi Pravin

Please make sure that the Jing Jar is in your build path. If you are using IDE like Eclipse then you can configure it from "External Tool Configuration".

HTH

Thanks

Gaurav

On Wednesday 21 July 2010 11:27 AM, Kamde, Pravin wrote:

 Hi All,
I am trying to build the lenya CMS on my PC but after configuration when I try to build leyna using build.bat file I am getting bellow error.
C:\src\apache-lenya-2.0.3-src>build.bat
ECHO is off.
Buildfile: build.xml
BUILD FAILED
C:\src\apache-lenya-2.0.3-src\src\targets\properties-build.xml:162: taskdef class com.thaiopensource.relaxng.util.JingTask cannot be found
Total time: 0 seconds
I have checked the existence of jingTask class file and it is there inside "jing-20030619.jar" file and this file is well included in classpath env variable.
Can someone have an idea how I can correct this error?
Thanks in advance for your help and suggestions.


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: pravin.kamde@capgemini.com<ma...@capgemini.com>
[cid:image001.gif@01CB28E6.D5B502F0][cid:image004.png@01CB28E6.D5B502F0]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...
-----------------------------------------------------------------------------------------



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>

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

Posted by Sachin <sa...@techblue.co.uk>.
Hi Pravin

You can use -lib option with build.bat to include libraries(jing etc) like:

build.bat -lib externals/cocoon_2_1_x/optional

Regards
Sachin

On Wednesday 21 July 2010 12:47 PM, Gaurav Kalia wrote:
> Hi Pravin
>
> Please make sure that the Jing Jar is in your build path. If you are 
> using IDE like Eclipse then you can configure it from "External Tool 
> Configuration".
>
> HTH
>
> Thanks
>
> Gaurav
>
> On Wednesday 21 July 2010 11:27 AM, Kamde, Pravin wrote:
>>
>>  Hi All,
>>
>> I am trying to build the lenya CMS on my PC but after configuration 
>> when I try to build leyna using build.bat file I am getting bellow error.
>>
>> C:\src\apache-lenya-2.0.3-src>build.bat
>>
>> ECHO is off.
>>
>> Buildfile: build.xml
>>
>> BUILD FAILED
>>
>> C:\src\apache-lenya-2.0.3-src\src\targets\properties-build.xml:162: 
>> taskdef class com.thaiopensource.relaxng.util.JingTask cannot be found
>>
>> Total time: 0 seconds
>>
>> I have checked the existence of jingTask class file and it is there 
>> inside "jing-20030619.jar" file and this file is well included in 
>> classpath env variable.
>>
>> Can someone have an idea how I can correct this error?
>>
>> Thanks in advance for your help and suggestions.
>>
>> * *
>>
>> *Thanks & Regards,*
>>
>> *Pravin Kamde/ **Cap**gemini **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: pravin.kamde@capgemini.com <ma...@capgemini.com>
>>
>> cid:image001.gif@01C9C1C2.CFD4B650cid:image001.gif@01C9C1C2.CFD4B650Together. 
>> 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**... *
>>
>> *-----------------------------------------------------------------------------------------*
>>
>> 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.
>>

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

Posted by Gaurav Kalia <ga...@techblue.co.uk>.
Hi Pravin

Please make sure that the Jing Jar is in your build path. If you are 
using IDE like Eclipse then you can configure it from "External Tool 
Configuration".

HTH

Thanks

Gaurav

On Wednesday 21 July 2010 11:27 AM, Kamde, Pravin wrote:
>
>  Hi All,
>
> I am trying to build the lenya CMS on my PC but after configuration 
> when I try to build leyna using build.bat file I am getting bellow error.
>
> C:\src\apache-lenya-2.0.3-src>build.bat
>
> ECHO is off.
>
> Buildfile: build.xml
>
> BUILD FAILED
>
> C:\src\apache-lenya-2.0.3-src\src\targets\properties-build.xml:162: 
> taskdef class com.thaiopensource.relaxng.util.JingTask cannot be found
>
> Total time: 0 seconds
>
> I have checked the existence of jingTask class file and it is there 
> inside "jing-20030619.jar" file and this file is well included in 
> classpath env variable.
>
> Can someone have an idea how I can correct this error?
>
> Thanks in advance for your help and suggestions.
>
> * *
>
> *Thanks & Regards,*
>
> *Pravin Kamde/ **Cap**gemini **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: pravin.kamde@capgemini.com <ma...@capgemini.com>
>
> cid:image001.gif@01C9C1C2.CFD4B650cid:image001.gif@01C9C1C2.CFD4B650Together. 
> 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**... *
>
> *-----------------------------------------------------------------------------------------*
>
> 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.
>