Hi.
I'm not sure if this is a base Cactus issue or the StrutsTestCase
extension of Cactus but...
I started running some in-container tests against my struts application
but have noticed that after the tests complete (successfully) that I can
no longer use the application via its proper means (i.e. through a web
browser). When I try using the app after running the cactus tests (this
problem applies whether I run them via Ant cactus task or through the
browser ServletTestRunner) I keep getting an Internal Server 500 error
but so far cannot find any details about this error since nothing comes
up on the weblogic console or in any domain/server log files.
System details:
Weblogic 8.1 SP3
Cactus 1.7
StrutsTestCase 2.1.3
Steps to problem:
1. Start up weblogic server manually
2. Run cactus ant task, which is as follows:
<target name="cactus-tests" description="Runs Cactus Tests">
<cactus
earfile="${build.ears.dir}/${icis3.ear.name}.ear" fork="no"
printsummary="yes">
<classpath refid="all.class.path"/>
<containerset timeout="180000">
<generic name="Weblogic 8.1"
port="7001"/>
</containerset>
<batchtest>
<fileset dir="${src.java.dir}">
<include
name="**/TestI*Action.java"/>
</fileset>
<formatter type="xml"/>
</batchtest>
</cactus>
</target>
3. Login to application via browser - this step fails (alternatively I
could have logged in to the app prior to step 2 and at step 4 could have
just tried performing an action at the browser, e.g. clicking a link to
go to another jsp page, and that also fails with 500 error).
Has anyone experienced this problem? Apologies if this is not a base
Cactus issue.
This e-mail (and any attachments) may contain privileged and/or confidential
information. If you are not the intended
recipient please do not disclose, copy, distribute, disseminate or take any
action in reliance on it. If you have received
this message in error please reply and tell us and then delete it. Should you
wish to communicate with us by e-mail we
cannot guarantee the security of any data outside our own computer systems.
Any information contained in this message may be subject to applicable terms
and conditions and must not be
construed as giving investment advice within or outside the United Kingdom.
Telephone Conversations may be recorded for your protection and to ensure
quality of service
Legal & General Investment Management Limited, Legal & General Assurance
(Pensions Management) Limited and Legal & General Ventures Limited are
authorised and regulated by the Financial Services Authority.
Legal & General Property Limited is authorised and regulated by the Financial
Services Authority for insurance mediation activities.
Legal & General Group PLC, Temple Court, 11 Queen Victoria Street, London, EC4N
4TP.
Registered in England no: 166055
________________________________________________________________________
**** This email has come from the internet and has been scanned for all viruses
and potentially offensive content by Messagelabs on behalf of Legal & General
****