hi there ...

im experiencing some problems testing against a weblogic 702 using
cactus ...


-- the ant task --
<cactus warfile="${build.dir}/pkg/web/${webapp.name}_test.war"
fork="yes">
                <test name="${test.class}" />

                <classpath>
                        <path refid="cactus.class.path"/>
                        <pathelement path="${wls.home}/server/lib/weblogic.jar" />
<pathelement path="${build.cls.dir}" />
                </classpath>
        <containerset>
                <weblogic7x
                        dir="e:/bea702/"
                        port="7001"
                        output="c:/temp/"
                        tmpdir="c:/temp/"/>
      </containerset>
      <formatter type="brief" usefile="false"/>
      <formatter type="xml"/>
    </cactus>

the windows box prompts me the following message:

junit-messaging-mail-manager-test:

cactus-test:
   [cactus]
-----------------------------------------------------------------
[cactus] Running tests against WebLogic 7.x
   [cactus]
-----------------------------------------------------------------
[cactus] Building jar: C:\temp\testdomain\applications\dtf_test.war
java.lang.NullPointerException
        at
org.apache.tools.ant.types.Environment$Variable.setFile(Environment.java:97)
        at
org.apache.cactus.integration.ant.container.AbstractJavaContainer.createSysProperty(AbstractJavaContainer.java:155)
        at
org.apache.cactus.integration.ant.container.weblogic.WebLogic7xContainer.startUp(WebLogic7xContainer.java:206)
        at
org.apache.cactus.integration.ant.container.ContainerRunner$1.run(ContainerRunner.java:185)
        at java.lang.Thread.run(Thread.java:536)

BUILD FAILED
file:E:/cvs/dating-001/bin/prj-dating.xml:1422: Failed to start the
container after more than [180000] ms.

i have had a look into the sources ... and i assume that my file-handler
does not exist ...
but i might be wrong ..

help is appreciated ...

thanks in advance




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

Reply via email to