You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-user@jakarta.apache.org by Carlos de Luna Saenz <cd...@yahoo.com.mx> on 2006/05/05 18:41:22 UTC

Help for a novice...

hi...
  i'm sorry for bothering you but i have a trouble getting maven and 
catus work for a weblogic 8x taglib... 
  the problem seems to be related with cargo, when i ran the maven on 
command line, but a set of properties are not found when i do it via the 
JUnit eclipse plugin.
  On the command line i got the followin exit:
  cactus:init:
[DEBUG] Adding reference: cactus.classpath ->
    [taskdef] [VERBOSE] Loading definitions from resource cactus.tasks
    [taskdef] [DEBUG] ResourceStream for cactus.tasks loaded from ant 
loader
    [taskdef] [DEBUG] Finding class 
org.apache.cactus.integration.ant.CactifyWar
Task
    [taskdef] [DEBUG] Class org.apache.tools.ant.taskdefs.War loaded 
from parent
 loader
    [taskdef] [DEBUG] Class 
org.apache.cactus.integration.ant.CactifyWarTask loa
ded from ant loader
    [taskdef] [DEBUG] Class java.lang.Object loaded from parent loader
    [taskdef] [DEBUG] Class java.lang.Throwable loaded from parent 
loader
    [taskdef] [DEBUG] Class 
javax.xml.parsers.ParserConfigurationException loade
d from parent loader
    [taskdef] [DEBUG] Class java.io.IOException loaded from parent 
loader
    [taskdef] [DEBUG] Class org.xml.sax.SAXException loaded from parent 
loader
    [taskdef] [DEBUG] Finding class 
org.codehaus.cargo.module.webapp.WarArchive
popping off org.apache.maven.jelly.MavenJellyContext@969c29 for 
org.apache.maven
.jelly.MavenJellyContext@1e67e6a in maven-pom-plugin:maven-pom-plugin
popping off org.apache.maven.jelly.MavenJellyContext@3b1f38 for 
org.apache.maven
.jelly.MavenJellyContext@17ec9f7 in maven-xdoc-plugin:maven-xdoc-plugin
popping off org.apache.maven.jelly.MavenJellyContext@199939 for 
org.apache.maven
.jelly.MavenJellyContext@9a9b65 in cactus-maven:cactus-maven
popping off org.apache.maven.jelly.MavenJellyContext@149105b for 
org.apache.mave
n.jelly.MavenJellyContext@1d0d45b in 
maven-artifact-plugin:maven-artifact-plugin
  popping off org.apache.maven.jelly.MavenJellyContext@691dee for 
org.apache.maven
.jelly.MavenJellyContext@12bf892 in maven-test-plugin:maven-test-plugin
Reinstalling:
 source = C:\Documents and 
Settings\sasa\.maven\cache\maven-checkstyle-plugin-2.
5\plugin.jelly
 project = null
 script = null
Caching Taglib Uri --> doc
Caching Taglib Uri --> doc
popping off org.apache.maven.jelly.MavenJellyContext@1a42792 for 
org.apache.mave
n.jelly.MavenJellyContext@2200d5 in 
infraestructura-paginacion:infraestructura-p
aginacion
  BUILD FAILED
File...... C:\Documents and 
Settings\sasa\.maven\cache\cactus-maven-1.6.1\plugin
.jelly
Element... ant:taskdef
Line...... 57
Column.... 75
taskdef class org.apache.cactus.integration.ant.CactifyWarTask cannot 
be found
com.werken.werkz.UnattainableGoalException: Unable to obtain goal 
[cactus:init]
-- C:\Documents and 
Settings\sasa\.maven\cache\cactus-maven-1.6.1\plugin.jelly:5
7:75: <ant:taskdef> taskdef class 
org.apache.cactus.integration.ant.CactifyWarTa
sk cannot be found
        at com.werken.werkz.Goal.fire(Goal.java:646)
        at com.werken.werkz.Goal.attain(Goal.java:575)
        at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
        at com.werken.werkz.Goal.attain(Goal.java:573)
        at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
        at com.werken.werkz.Goal.attain(Goal.java:573)
        at 
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
671)
        at 
org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
        at org.apache.maven.cli.App.doMain(App.java:488)
        at org.apache.maven.cli.App.main(App.java:1239)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)
org.apache.commons.jelly.JellyTagException: C:\Documents and 
Settings\sasa\.mave
n\cache\cactus-maven-1.6.1\plugin.jelly:57:75: <ant:taskdef> taskdef 
class org.a
pache.cactus.integration.ant.CactifyWarTask cannot be found
        at 
org.apache.commons.jelly.impl.TagScript.handleException(TagScript.jav
a:683)
        at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:288)
        at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa
g.java:79)
        at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
mAction(MavenGoalTag.java:110)
        at com.werken.werkz.Goal.fire(Goal.java:639)
        at com.werken.werkz.Goal.attain(Goal.java:575)
        at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
        at com.werken.werkz.Goal.attain(Goal.java:573)
        at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
        at com.werken.werkz.Goal.attain(Goal.java:573)
        at 
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
671)
        at 
org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
        at org.apache.maven.cli.App.doMain(App.java:488)
        at org.apache.maven.cli.App.main(App.java:1239)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)
Caused by: taskdef class 
org.apache.cactus.integration.ant.CactifyWarTask cannot
 be found
        at 
org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:240)
          at 
org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:208)
        at org.apache.tools.ant.Task.perform(Task.java:341)
        at 
org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:185)
        at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
        ... 19 more
Caused by: java.lang.NoClassDefFoundError: 
org/codehaus/cargo/module/webapp/WarA
rchive
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at 
java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
        at java.lang.Class.getDeclaredConstructors(Class.java:1177)
        at 
org.apache.tools.ant.AntClassLoader.initializeClass(AntClassLoader.ja
va:484)
        at 
org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:231)
          ... 23 more
Root cause
taskdef class org.apache.cactus.integration.ant.CactifyWarTask cannot 
be found
        at 
org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:240)
          at 
org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:208)
        at org.apache.tools.ant.Task.perform(Task.java:341)
        at 
org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:185)
        at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
        at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa
g.java:79)
        at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
mAction(MavenGoalTag.java:110)
        at com.werken.werkz.Goal.fire(Goal.java:639)
        at com.werken.werkz.Goal.attain(Goal.java:575)
        at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
        at com.werken.werkz.Goal.attain(Goal.java:573)
        at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
        at com.werken.werkz.Goal.attain(Goal.java:573)
        at 
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
671)
        at 
org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
        at org.apache.maven.cli.App.doMain(App.java:488)
        at org.apache.maven.cli.App.main(App.java:1239)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)
Caused by: java.lang.NoClassDefFoundError: 
org/codehaus/cargo/module/webapp/WarA
rchive
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at 
java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
        at java.lang.Class.getDeclaredConstructors(Class.java:1177)
        at 
org.apache.tools.ant.AntClassLoader.initializeClass(AntClassLoader.ja
va:484)
        at 
org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:231)
          ... 23 more
--- Nested Exception ---
java.lang.NoClassDefFoundError: 
org/codehaus/cargo/module/webapp/WarArchive
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at 
java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
        at java.lang.Class.getDeclaredConstructors(Class.java:1177)
        at 
org.apache.tools.ant.AntClassLoader.initializeClass(AntClassLoader.ja
va:484)
        at 
org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:231)
          at 
org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:208)
        at org.apache.tools.ant.Task.perform(Task.java:341)
        at 
org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:185)
        at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
        at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa
g.java:79)
        at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
mAction(MavenGoalTag.java:110)
        at com.werken.werkz.Goal.fire(Goal.java:639)
        at com.werken.werkz.Goal.attain(Goal.java:575)
        at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
        at com.werken.werkz.Goal.attain(Goal.java:573)
        at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
        at com.werken.werkz.Goal.attain(Goal.java:573)
        at 
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
671)
        at 
org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
        at org.apache.maven.cli.App.doMain(App.java:488)
        at org.apache.maven.cli.App.main(App.java:1239)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)
Root cause
taskdef class org.apache.cactus.integration.ant.CactifyWarTask cannot 
be found
        at 
org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:240)
          at 
org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:208)
        at org.apache.tools.ant.Task.perform(Task.java:341)
        at 
org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:185)
        at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
        at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa
g.java:79)
        at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
mAction(MavenGoalTag.java:110)
        at com.werken.werkz.Goal.fire(Goal.java:639)
        at com.werken.werkz.Goal.attain(Goal.java:575)
        at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
        at com.werken.werkz.Goal.attain(Goal.java:573)
        at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
        at com.werken.werkz.Goal.attain(Goal.java:573)
        at 
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
671)
        at 
org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
        at org.apache.maven.cli.App.doMain(App.java:488)
        at org.apache.maven.cli.App.main(App.java:1239)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)
Caused by: java.lang.NoClassDefFoundError: 
org/codehaus/cargo/module/webapp/WarA
rchive
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at 
java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
        at java.lang.Class.getDeclaredConstructors(Class.java:1177)
        at 
org.apache.tools.ant.AntClassLoader.initializeClass(AntClassLoader.ja
va:484)
        at 
org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:231)
          ... 23 more
--- Nested Exception ---
java.lang.NoClassDefFoundError: 
org/codehaus/cargo/module/webapp/WarArchive
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at 
java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
        at java.lang.Class.getDeclaredConstructors(Class.java:1177)
        at 
org.apache.tools.ant.AntClassLoader.initializeClass(AntClassLoader.ja
va:484)
        at 
org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:231)
          at 
org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:208)
        at org.apache.tools.ant.Task.perform(Task.java:341)
        at 
org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:185)
        at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
        at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa
g.java:79)
        at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
mAction(MavenGoalTag.java:110)
        at com.werken.werkz.Goal.fire(Goal.java:639)
        at com.werken.werkz.Goal.attain(Goal.java:575)
        at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
        at com.werken.werkz.Goal.attain(Goal.java:573)
        at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
        at com.werken.werkz.Goal.attain(Goal.java:573)
        at 
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
671)
        at 
org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
        at org.apache.maven.cli.App.doMain(App.java:488)
        at org.apache.maven.cli.App.main(App.java:1239)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)
Final Memory: 4M/7M
Total time: 3 seconds
Finished at: Fri May 05 10:46:07 CDT 2006
   
   
  On eclipse i got:
  printStackTrace
  org.apache.cactus.util.ChainedRuntimeException: Missing Cactus 
property [cactus.contextURL]
  at 
org.apache.cactus.internal.configuration.BaseConfiguration.getContextURL(BaseConfiguration.java:59)
  at 
org.apache.cactus.internal.configuration.AbstractWebConfiguration.getRedirectorURL_aroundBody0(AbstractWebConfiguration.java:46)
  at 
org.apache.cactus.internal.configuration.AbstractWebConfiguration.getRedirectorURL_aroundBody1$advice(AbstractWebConfiguration.java:288)
  at 
org.apache.cactus.internal.configuration.AbstractWebConfiguration.getRedirectorURL(AbstractWebConfiguration.java)
  at 
org.apache.cactus.internal.client.connector.http.DefaultHttpClient.callRunTest(DefaultHttpClient.java:159)
  at 
org.apache.cactus.internal.client.connector.http.DefaultHttpClient.doTest_aroundBody0(DefaultHttpClient.java:80)
  at 
org.apache.cactus.internal.client.connector.http.DefaultHttpClient.doTest_aroundBody1$advice(DefaultHttpClient.java:288)
  at 
org.apache.cactus.internal.client.connector.http.DefaultHttpClient.doTest(DefaultHttpClient.java)
  at 
org.apache.cactus.internal.client.connector.http.HttpProtocolHandler.runWebTest(HttpProtocolHandler.java:159)
  at 
org.apache.cactus.internal.client.connector.http.HttpProtocolHandler.runTest_aroundBody0(HttpProtocolHandler.java:80)
  at 
org.apache.cactus.internal.client.connector.http.HttpProtocolHandler.runTest_aroundBody1$advice(HttpProtocolHandler.java:288)
  at 
org.apache.cactus.internal.client.connector.http.HttpProtocolHandler.runTest(HttpProtocolHandler.java)
  at 
org.apache.cactus.internal.client.ClientTestCaseCaller.runTest(ClientTestCaseCaller.java:144)
  at 
org.apache.cactus.internal.AbstractCactusTestCase.runBareClient(AbstractCactusTestCase.java:215)
  at 
org.apache.cactus.internal.AbstractCactusTestCase.runBare(AbstractCactusTestCase.java:133)
  at junit.framework.TestResult$1.protect(TestResult.java:106)
  at junit.framework.TestResult.runProtected(TestResult.java:124)
  at junit.framework.TestResult.run(TestResult.java:109)
  at junit.framework.TestCase.run(TestCase.java:118)
  at junit.framework.TestSuite.runTest(TestSuite.java:208)
  at junit.framework.TestSuite.run(TestSuite.java:203)
  at junit.framework.TestSuite.runTest(TestSuite.java:208)
  at junit.framework.TestSuite.run(TestSuite.java:203)
  at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:436)
  at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:311)
  at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
  DEBUG - <printStackTrace([java.io.PrintWriter@1922221])
  DEBUG - >printStackTrace
   
  obviously i am doing something via eclipse that i'm not doing in the 
command line to get cactus init to work, but i can't find what it is...
  I hope you can help me.
  Thanks in advance.
  Carlos de Luna

__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.espanol.yahoo.com/ 

Re: Help for a novice...

Posted by Carlos de Luna Saenz <cd...@yahoo.com.mx>.
ok... cactus is now running.. 
  i had an "obsolete" maven plugin, so i had to update it to the 1.7.2 version and put all the dependencies on the repository server (then it finished downloaded on the repository directory) and i installed the 1.9 EAR plugin.
  the cactus plugin yell at me with the :
  Must have EAR plugin v1.6.1 or greater installed to use this version of the Cact
us plugin.
        Try: maven plugin:download -DgroupId=maven -DartifactId=maven-ear-plugin
 -Dversion=[version]
  so i installed the 1.6.1 version and it begun working...
  then i resolved the cactus.contextURL problem putting my file in the /src/java/test directory, that is inside my classpath for building,  i got error messages because the test didn't reach the server i put in my context path.
  after that i returned to work with the tests
  when i put the 
  cactus.war=C:\bea\user_projects\domains\mydomain\myserver\test.war
  line it start over with the cactus.contextURL error, what am i missing here?
  the cactus .properties can be read as:
  cactus.home.weblogic7x=C:\bea\weblogic81
  #cactus.war=C:\bea\user_projects\domains\mydomain\myserver\test.war
  cactus.weblogic7x.beahome=C:\bea
  cactus.contextURL=http://192.168.20.92:7001/test
  cactus.src.dir=src/test/java
  cactus.port=7001
  Greetings and thanks in advance

Carlos de Luna Saenz <cd...@yahoo.com.mx> escribió:
  hi...
i'm sorry for bothering you but i have a trouble getting maven and 
catus work for a weblogic 8x taglib... 
the problem seems to be related with cargo, when i ran the maven on 
command line, but a set of properties are not found when i do it via the 
JUnit eclipse plugin.
On the command line i got the followin exit:
cactus:init:
[DEBUG] Adding reference: cactus.classpath ->
[taskdef] [VERBOSE] Loading definitions from resource cactus.tasks
[taskdef] [DEBUG] ResourceStream for cactus.tasks loaded from ant 
loader
[taskdef] [DEBUG] Finding class 
org.apache.cactus.integration.ant.CactifyWar
Task
[taskdef] [DEBUG] Class org.apache.tools.ant.taskdefs.War loaded 
from parent
loader
[taskdef] [DEBUG] Class 
org.apache.cactus.integration.ant.CactifyWarTask loa
ded from ant loader
[taskdef] [DEBUG] Class java.lang.Object loaded from parent loader
[taskdef] [DEBUG] Class java.lang.Throwable loaded from parent 
loader
[taskdef] [DEBUG] Class 
javax.xml.parsers.ParserConfigurationException loade
d from parent loader
[taskdef] [DEBUG] Class java.io.IOException loaded from parent 
loader
[taskdef] [DEBUG] Class org.xml.sax.SAXException loaded from parent 
loader
[taskdef] [DEBUG] Finding class 
org.codehaus.cargo.module.webapp.WarArchive
popping off org.apache.maven.jelly.MavenJellyContext@969c29 for 
org.apache.maven
.jelly.MavenJellyContext@1e67e6a in maven-pom-plugin:maven-pom-plugin
popping off org.apache.maven.jelly.MavenJellyContext@3b1f38 for 
org.apache.maven
.jelly.MavenJellyContext@17ec9f7 in maven-xdoc-plugin:maven-xdoc-plugin
popping off org.apache.maven.jelly.MavenJellyContext@199939 for 
org.apache.maven
.jelly.MavenJellyContext@9a9b65 in cactus-maven:cactus-maven
popping off org.apache.maven.jelly.MavenJellyContext@149105b for 
org.apache.mave
n.jelly.MavenJellyContext@1d0d45b in 
maven-artifact-plugin:maven-artifact-plugin
popping off org.apache.maven.jelly.MavenJellyContext@691dee for 
org.apache.maven
.jelly.MavenJellyContext@12bf892 in maven-test-plugin:maven-test-plugin
Reinstalling:
source = C:\Documents and 
Settings\sasa\.maven\cache\maven-checkstyle-plugin-2.
5\plugin.jelly
project = null
script = null
Caching Taglib Uri --> doc
Caching Taglib Uri --> doc
popping off org.apache.maven.jelly.MavenJellyContext@1a42792 for 
org.apache.mave
n.jelly.MavenJellyContext@2200d5 in 
infraestructura-paginacion:infraestructura-p
aginacion
BUILD FAILED
File...... C:\Documents and 
Settings\sasa\.maven\cache\cactus-maven-1.6.1\plugin
.jelly
Element... ant:taskdef
Line...... 57
Column.... 75
taskdef class org.apache.cactus.integration.ant.CactifyWarTask cannot 
be found
com.werken.werkz.UnattainableGoalException: Unable to obtain goal 
[cactus:init]
-- C:\Documents and 
Settings\sasa\.maven\cache\cactus-maven-1.6.1\plugin.jelly:5
7:75: taskdef class 
org.apache.cactus.integration.ant.CactifyWarTa
sk cannot be found
at com.werken.werkz.Goal.fire(Goal.java:646)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at 
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
671)
at 
org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
at org.apache.maven.cli.App.doMain(App.java:488)
at org.apache.maven.cli.App.main(App.java:1239)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
org.apache.commons.jelly.JellyTagException: C:\Documents and 
Settings\sasa\.mave
n\cache\cactus-maven-1.6.1\plugin.jelly:57:75: taskdef 
class org.a
pache.cactus.integration.ant.CactifyWarTask cannot be found
at 
org.apache.commons.jelly.impl.TagScript.handleException(TagScript.jav
a:683)
at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:288)
at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa
g.java:79)
at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
mAction(MavenGoalTag.java:110)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at 
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
671)
at 
org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
at org.apache.maven.cli.App.doMain(App.java:488)
at org.apache.maven.cli.App.main(App.java:1239)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Caused by: taskdef class 
org.apache.cactus.integration.ant.CactifyWarTask cannot
be found
at 
org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:240)
at 
org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:208)
at org.apache.tools.ant.Task.perform(Task.java:341)
at 
org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:185)
at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
... 19 more
Caused by: java.lang.NoClassDefFoundError: 
org/codehaus/cargo/module/webapp/WarA
rchive
at java.lang.Class.getDeclaredConstructors0(Native Method)
at 
java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
at java.lang.Class.getDeclaredConstructors(Class.java:1177)
at 
org.apache.tools.ant.AntClassLoader.initializeClass(AntClassLoader.ja
va:484)
at 
org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:231)
... 23 more
Root cause
taskdef class org.apache.cactus.integration.ant.CactifyWarTask cannot 
be found
at 
org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:240)
at 
org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:208)
at org.apache.tools.ant.Task.perform(Task.java:341)
at 
org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:185)
at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa
g.java:79)
at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
mAction(MavenGoalTag.java:110)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at 
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
671)
at 
org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
at org.apache.maven.cli.App.doMain(App.java:488)
at org.apache.maven.cli.App.main(App.java:1239)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Caused by: java.lang.NoClassDefFoundError: 
org/codehaus/cargo/module/webapp/WarA
rchive
at java.lang.Class.getDeclaredConstructors0(Native Method)
at 
java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
at java.lang.Class.getDeclaredConstructors(Class.java:1177)
at 
org.apache.tools.ant.AntClassLoader.initializeClass(AntClassLoader.ja
va:484)
at 
org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:231)
... 23 more
--- Nested Exception ---
java.lang.NoClassDefFoundError: 
org/codehaus/cargo/module/webapp/WarArchive
at java.lang.Class.getDeclaredConstructors0(Native Method)
at 
java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
at java.lang.Class.getDeclaredConstructors(Class.java:1177)
at 
org.apache.tools.ant.AntClassLoader.initializeClass(AntClassLoader.ja
va:484)
at 
org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:231)
at 
org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:208)
at org.apache.tools.ant.Task.perform(Task.java:341)
at 
org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:185)
at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa
g.java:79)
at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
mAction(MavenGoalTag.java:110)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at 
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
671)
at 
org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
at org.apache.maven.cli.App.doMain(App.java:488)
at org.apache.maven.cli.App.main(App.java:1239)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Root cause
taskdef class org.apache.cactus.integration.ant.CactifyWarTask cannot 
be found
at 
org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:240)
at 
org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:208)
at org.apache.tools.ant.Task.perform(Task.java:341)
at 
org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:185)
at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa
g.java:79)
at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
mAction(MavenGoalTag.java:110)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at 
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
671)
at 
org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
at org.apache.maven.cli.App.doMain(App.java:488)
at org.apache.maven.cli.App.main(App.java:1239)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Caused by: java.lang.NoClassDefFoundError: 
org/codehaus/cargo/module/webapp/WarA
rchive
at java.lang.Class.getDeclaredConstructors0(Native Method)
at 
java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
at java.lang.Class.getDeclaredConstructors(Class.java:1177)
at 
org.apache.tools.ant.AntClassLoader.initializeClass(AntClassLoader.ja
va:484)
at 
org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:231)
... 23 more
--- Nested Exception ---
java.lang.NoClassDefFoundError: 
org/codehaus/cargo/module/webapp/WarArchive
at java.lang.Class.getDeclaredConstructors0(Native Method)
at 
java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
at java.lang.Class.getDeclaredConstructors(Class.java:1177)
at 
org.apache.tools.ant.AntClassLoader.initializeClass(AntClassLoader.ja
va:484)
at 
org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:231)
at 
org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:208)
at org.apache.tools.ant.Task.perform(Task.java:341)
at 
org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:185)
at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa
g.java:79)
at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
mAction(MavenGoalTag.java:110)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at 
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
671)
at 
org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
at org.apache.maven.cli.App.doMain(App.java:488)
at org.apache.maven.cli.App.main(App.java:1239)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Final Memory: 4M/7M
Total time: 3 seconds
Finished at: Fri May 05 10:46:07 CDT 2006


On eclipse i got:
printStackTrace
org.apache.cactus.util.ChainedRuntimeException: Missing Cactus 
property [cactus.contextURL]
at 
org.apache.cactus.internal.configuration.BaseConfiguration.getContextURL(BaseConfiguration.java:59)
at 
org.apache.cactus.internal.configuration.AbstractWebConfiguration.getRedirectorURL_aroundBody0(AbstractWebConfiguration.java:46)
at 
org.apache.cactus.internal.configuration.AbstractWebConfiguration.getRedirectorURL_aroundBody1$advice(AbstractWebConfiguration.java:288)
at 
org.apache.cactus.internal.configuration.AbstractWebConfiguration.getRedirectorURL(AbstractWebConfiguration.java)
at 
org.apache.cactus.internal.client.connector.http.DefaultHttpClient.callRunTest(DefaultHttpClient.java:159)
at 
org.apache.cactus.internal.client.connector.http.DefaultHttpClient.doTest_aroundBody0(DefaultHttpClient.java:80)
at 
org.apache.cactus.internal.client.connector.http.DefaultHttpClient.doTest_aroundBody1$advice(DefaultHttpClient.java:288)
at 
org.apache.cactus.internal.client.connector.http.DefaultHttpClient.doTest(DefaultHttpClient.java)
at 
org.apache.cactus.internal.client.connector.http.HttpProtocolHandler.runWebTest(HttpProtocolHandler.java:159)
at 
org.apache.cactus.internal.client.connector.http.HttpProtocolHandler.runTest_aroundBody0(HttpProtocolHandler.java:80)
at 
org.apache.cactus.internal.client.connector.http.HttpProtocolHandler.runTest_aroundBody1$advice(HttpProtocolHandler.java:288)
at 
org.apache.cactus.internal.client.connector.http.HttpProtocolHandler.runTest(HttpProtocolHandler.java)
at 
org.apache.cactus.internal.client.ClientTestCaseCaller.runTest(ClientTestCaseCaller.java:144)
at 
org.apache.cactus.internal.AbstractCactusTestCase.runBareClient(AbstractCactusTestCase.java:215)
at 
org.apache.cactus.internal.AbstractCactusTestCase.runBare(AbstractCactusTestCase.java:133)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:436)
at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:311)
at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
DEBUG - 
DEBUG - >printStackTrace

obviously i am doing something via eclipse that i'm not doing in the 
command line to get cactus init to work, but i can't find what it is...
I hope you can help me.
Thanks in advance.
Carlos de Luna

__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.espanol.yahoo.com/ 

__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.espanol.yahoo.com/ 
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.espanol.yahoo.com/