jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anil Agrawal" <a.agra...@popnet.co.in>
Subject runservertests
Date Sat, 19 Apr 2003 00:54:31 GMT
I am using runservertests  for weblogic7.0 SP2.
I AM USING runservertests task.
I don't want to use  
            startTarget="start.weblogic.70"
            stopTarget="stop.weblogic.70"

I don't want that my cactus test case start or stop the weblogic7.0

Pl. help me.


<target name="cactusrun"  description="Run tests on WebLogic 7.0">
        <runservertests 
 
testURL="http://aa:7001/ServletRedirector?Cactus_Service=RUN_TEST"
            startTarget="start.weblogic.70"
            stopTarget="stop.weblogic.70"
            testTarget="SyncHandler"/>
    </target>

   <target name="start.weblogic.70">

        <java classname="weblogic.Server" fork="yes"
            dir="d:\bea7.0\domains\WSCDomain">

            <classpath>
                <pathelement
location="d:/bea7.0/weblogic700/server/lib/weblogic.sp.jar"/>
                <pathelement
location="d:/bea7.0/weblogic700/server/lib/weblogic.jar"/>

            </classpath>

            <jvmarg value="-hotspot"/>
            <jvmarg value="-ms64m"/>
            <jvmarg value="-mx64m"/>
            <jvmarg
value="-Djava.library.path=${java.library.path};${weblogic.home.70}/webl
ogic700/server/bin"/>
            <jvmarg value="-Dweblogic.Name=testserver"/>
            <jvmarg value="-Dbea.home=${weblogic.home.70}"/>
            <jvmarg value="-Dweblogic.management.username=system"/>
            <jvmarg value="-Dweblogic.management.password=password"/>
            <jvmarg
value="-Djava.security.policy==./server/lib/weblogic.policy"/>

        </java>

    </target>

    <!--
 
========================================================================
         Stop WebLogic 7.0
 
========================================================================
    -->
    <target name="stop.weblogic.70">

        <java classname="weblogic.Admin" fork="yes">

            <classpath>
                <pathelement
location="d:/bea7.0/weblogic700/server/lib/weblogic.sp.jar"/>
                <pathelement
location="d:/bea7.0/weblogic700/server/lib/weblogic.jar"/>

            </classpath>

            <arg line="-url t3://aa:7001"/>
            <arg line="-username system"/>
            <arg line="-password popnetindia"/>
            <arg value="SHUTDOWN"/>

        </java>

    </target>
With regards
anil
	

-----Original Message-----
From: Xie, Jinpeng [mailto:JXie@admin.fsu.edu] 
Sent: Saturday, April 19, 2003 12:30 AM
To: 'Cactus Users List'
Subject: RE: SampleServlet in JBoss


The classpath prevent me from compiling java files. So I don't have
class files in war. Now I can run the samples with cactus distribution.
But I can not run it in eclipse debug mode.

Here is my description of my problem:
First I make a breakpoint, and click 'Debug as cactus test', the unit
test run to the end and it doesn't stop at breakpoint.

Do you have examples about ejb? I have a lot of servlets that invoke
session beans. I want to test the servlets to test ejb. Do you think I
can do it in the following way: 1. deploy ejb to jboss server 2. start
jboss server. 3. test servlets on eclipse.

Jim


-----Original Message-----
From: Julien Ruaux [mailto:jruaux@octo.com]
Sent: Friday, April 18, 2003 4:02 AM
To: 'Cactus Users List'
Subject: RE: SampleServlet in JBoss


Could you provide more information on your project, like its .classpath
file ?

Thanks,

Julien

-----Original Message-----
From: Xie, Jinpeng [mailto:JXie@admin.fsu.edu] 
Sent: Thursday, April 17, 2003 10:55 PM
To: 'Cactus Users List'
Subject: RE: SampleServlet in JBoss


I followed the instruction. But I got "Class not found
org.apache.cactus.sample.TestSampleServlet" exception when I 
start "Run as Cautus Test".

Jim

-----Original Message-----
From: Julien Ruaux [mailto:jruaux@octo.com]
Sent: Thursday, April 17, 2003 12:41 PM
To: 'Cactus Users List'
Subject: RE: SampleServlet in JBoss


Hi,

First install the 2 Eclipse plug-ins provided on the Cactus page (refer
to the documentation). Then you need a Java project in which you have
test classes and classes under test. Then follow each plug-in
configuration section
(http://jakarta.apache.org/cactus/integration/eclipse/index.html) to
configure them. If the documentation is not clear your feedback would be
very much appreciated.

Julien

-----Original Message-----
From: Xie, Jinpeng [mailto:JXie@admin.fsu.edu] 
Sent: Thursday, April 17, 2003 6:03 PM
To: 'Cactus Users List'
Subject: SampleServlet in JBoss


I want to test servlets running in JBoss from eclipse. Please instruct
me how to make TestSampleServlet to run in eclipse to test SampleServlet
in JBoss.

Jim

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



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

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



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

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


Mime
View raw message