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 Lynn Taylor <lt...@digitaloilfield.com> on 2001/12/04 23:19:46 UTC

Trouble running 1.2 Samples

I'm getting the following error when trying to run the samples:

===============================================================
Buildfile: build.xml

init:
     [echo] --------- Cactus Sample 1.2 ---------
     [echo]
     [echo] java.class.path =
/opt/dof/bea/jdk131/lib/tools.jar:/opt/dof/bea/wlserver6.1/lib/weblogic_sp.j
ar:/opt/dof/bea/wlserver6.1/lib/weblogic.jar:/usr/j2se/lib/tools.jar:/usr/j2
se/jre/lib/rt.jar:/opt/dof/bea/wlserver6.1/lib/weblogic_sp.jar:/opt/dof/bea/
wlserver6.1/lib/weblogic.jar:/export/home/ltaylor/dev/classes:.:/opt/dof/jav
ax/log4j.jar:/export/home/ltaylor/dev/bin/WEB-INF/classes
     [echo]
     [echo] java.home = /usr/j2se/jre
     [echo] user.home = /export/home/ltaylor
     [echo]
     [echo] basedir = /opt/dof/cactus/jakarta-cactus-23-1.2/sample
     [echo]
     [echo] cactus.jar = ../lib/cactus.jar
     [echo] cactus.ant.jar = ../lib/cactus-ant.jar
     [echo] servlet.jar = /opt/dof/bea/wlserver6.1/lib/weblogic.jar
     [echo] junit.jar = ../lib/junit.jar
     [echo] httpclient.jar = ../lib/httpclient.jar

prepare:

prepare-compile:

compile:

prepare-testwar-log4j:

prepare-testwar:

testwar:

check_tests_weblogic_61:

prepare_tests_weblogic_61:
     [echo] weblogic.home.61 = /opt/dof/bea/wlserver6.1

tests_weblogic_61:

BUILD FAILED

/opt/dof/cactus/jakarta-cactus-23-1.2/sample/build/build.xml:15: Could not
create task of type: runservertests due to java.lang.VerifyError: (class:
org/apache/cactus/ant/RunServerTestsTask, method: callTests signature: ()V)
Incompatible type for getting or setting field
--- Nested Exception ---
java.lang.VerifyError: (class: org/apache/cactus/ant/RunServerTestsTask,
method: callTests signature: ()V) Incompatible type for getting or setting
field
        at java.lang.Class.newInstance0(Native Method)
        at java.lang.Class.newInstance(Class.java:237)
        at org.apache.tools.ant.Project.createTask(Project.java:439)
        at
org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:83)
        at org.apache.tools.ant.Target.execute(Target.java:152)
        at org.apache.tools.ant.Project.runTarget(Project.java:898)
        at org.apache.tools.ant.Project.executeTarget(Project.java:536)
        at org.apache.tools.ant.Project.executeTargets(Project.java:510)
        at org.apache.tools.ant.Main.runBuild(Main.java:421)
        at org.apache.tools.ant.Main.main(Main.java:149)

Total time: 2 seconds

===============================================================


We're using WebLogic 6.1 and Ant 1.41.  I'm obviously missing something in
my configuration, but am struggling to figure out what!  Could anyone lend a
hand here....

Thanks much,
Lynn


Lynn Taylor
Digital Oilfield Inc.
Direct: (403) 303-1881
mailto:ltaylor@digitaloilfield.com


Re: Trouble running 1.2 Samples

Posted by Vincent Massol <vm...@octo.com>.
Hi Lynn,

I am also using Ant 1.4.1 (although I have not tried it with Cactus 1.2 as
I've been working on Cactus 1.3 for a while now) and I don't understand the
error you're getting. Are you using the prepackaged ant zip provided in the
cactus download area ? Or are you using your own Ant ? Could you try to use
the provided packaged version to see if it helps (I think it is version
1.4.0 for Cactus 1.2).

Alternatively, you could download the latest Cactus nightly build (v1.3dev)
as I'm sure it is fine with Ant 1.4.1. It also contains several bugfixed and
new things (check the changes page on the Cactus web site). You'll need an
additional jar in your client and server classpaths (aspectjrt.jar), which
is provided in the nightly build under lib/

Tell me how it goes. Thanks
-Vincent

----- Original Message -----
From: "Lynn Taylor" <lt...@digitaloilfield.com>
To: <ca...@jakarta.apache.org>
Sent: Tuesday, December 04, 2001 10:19 PM
Subject: Trouble running 1.2 Samples

[snip]

> I'm getting the following error when trying to run the samples:
>
> ===============================================================
> Buildfile: build.xml
>
> init:
>      [echo] --------- Cactus Sample 1.2 ---------
>      [echo]
>      [echo] java.class.path =
>
/opt/dof/bea/jdk131/lib/tools.jar:/opt/dof/bea/wlserver6.1/lib/weblogic_sp.j
>
ar:/opt/dof/bea/wlserver6.1/lib/weblogic.jar:/usr/j2se/lib/tools.jar:/usr/j2
>
se/jre/lib/rt.jar:/opt/dof/bea/wlserver6.1/lib/weblogic_sp.jar:/opt/dof/bea/
>
wlserver6.1/lib/weblogic.jar:/export/home/ltaylor/dev/classes:.:/opt/dof/jav
> ax/log4j.jar:/export/home/ltaylor/dev/bin/WEB-INF/classes
>      [echo]
>      [echo] java.home = /usr/j2se/jre
>      [echo] user.home = /export/home/ltaylor
>      [echo]
>      [echo] basedir = /opt/dof/cactus/jakarta-cactus-23-1.2/sample
>      [echo]
>      [echo] cactus.jar = ../lib/cactus.jar
>      [echo] cactus.ant.jar = ../lib/cactus-ant.jar
>      [echo] servlet.jar = /opt/dof/bea/wlserver6.1/lib/weblogic.jar
>      [echo] junit.jar = ../lib/junit.jar
>      [echo] httpclient.jar = ../lib/httpclient.jar
>
> prepare:
>
> prepare-compile:
>
> compile:
>
> prepare-testwar-log4j:
>
> prepare-testwar:
>
> testwar:
>
> check_tests_weblogic_61:
>
> prepare_tests_weblogic_61:
>      [echo] weblogic.home.61 = /opt/dof/bea/wlserver6.1
>
> tests_weblogic_61:
>
> BUILD FAILED
>
> /opt/dof/cactus/jakarta-cactus-23-1.2/sample/build/build.xml:15: Could not
> create task of type: runservertests due to java.lang.VerifyError: (class:
> org/apache/cactus/ant/RunServerTestsTask, method: callTests signature:
()V)
> Incompatible type for getting or setting field
> --- Nested Exception ---
> java.lang.VerifyError: (class: org/apache/cactus/ant/RunServerTestsTask,
> method: callTests signature: ()V) Incompatible type for getting or setting
> field
>         at java.lang.Class.newInstance0(Native Method)
>         at java.lang.Class.newInstance(Class.java:237)
>         at org.apache.tools.ant.Project.createTask(Project.java:439)
>         at
> org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:83)
>         at org.apache.tools.ant.Target.execute(Target.java:152)
>         at org.apache.tools.ant.Project.runTarget(Project.java:898)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:536)
>         at org.apache.tools.ant.Project.executeTargets(Project.java:510)
>         at org.apache.tools.ant.Main.runBuild(Main.java:421)
>         at org.apache.tools.ant.Main.main(Main.java:149)
>
> Total time: 2 seconds
>
> ===============================================================
>
>
> We're using WebLogic 6.1 and Ant 1.41.  I'm obviously missing something in
> my configuration, but am struggling to figure out what!  Could anyone lend
a
> hand here....
>
> Thanks much,
> Lynn
>
>
> Lynn Taylor
> Digital Oilfield Inc.
> Direct: (403) 303-1881
> mailto:ltaylor@digitaloilfield.com
>
>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>