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 Michael Guyver <mi...@camelotinteractive.com> on 2003/05/06 15:12:49 UTC
RE: Antwort: RE: Please Help: Antwort: RE: Cactus 1.4.1 using Web
Sphere 5.0
> Even with specifying all the parameters I get a fine result (as I think)
> which is a empty browser screen (in IE 6.0).
Interestingly enough, if you run the test with CALL_TEST and then run it
with GET_RESULTS, view the source and you should have the test report there.
I can only reiterate that I had very similar problems which were due to the
properties in cactus.properties not being picked up, but I understand that
you've pursued this route to no avail.
Good luck!
Mike
-----Original Message-----
From: Anton_Grimm@mn.man.de [mailto:Anton_Grimm@mn.man.de]
Sent: 06 May 2003 14:00
To: Cactus Users List
Subject: Antwort: RE: Please Help: Antwort: RE: Cactus 1.4.1 using
WebSphere 5.0
Sorry for not being accurate enough.
No, I think this result is fine.
Even with specifying all the parameters I get a fine result (as I think)
which is a empty browser screen (in IE 6.0).
The Problem is I get a Error404 when running my tests from a JUnit-Task
against WebSphere 5.0 (exactly IBMHttpServer).
As I noticed there is no problem running the Task against a Remote Tomcat
4.1.18
environment and even no(!) problem directly against the WebSphere App.
Server using the
http-Transport Port (in my case 9081).
The problem araises when the requested goes to the IBMHTTPServer on Port
8080.
As Christopher Lenz mentioned it can be a virtual host problem. I have to
verify this.
So long - thanks for all your input.
Toni Grimm
---------------------------------------------------------------
Anton Grimm
MAN Nutzfahrzeuge AG
IDP - Software Produktionsumgebungen
Dachauerstr.667
D - 80995 München
Fon: +49-89-1580-1054
Fax: +49-89-1580-911054
mailto: Anton_Grimm@mn.man.de
Internet: http://www.man-trucks.com
---------------------------------------------------------------
Michael Guyver
<michael.guyver@camelotinter An: "'Cactus
Users List'" <ca...@jakarta.apache.org>
active.com> Kopie:
Thema: RE:
Please Help: Antwort: RE: Cactus 1.4.1 using WebSphere 5.0
05/06/2003 10:51 AM
Bitte antworten an "Cactus
Users List"
> I receive an error 500 (Error 500: Missing service name parameter
> [Cactus_Service] in HTTP request. Received query string is [null].)
> which should be fine.
Do you mean you think you should be getting a different error message? The
message above is correct for the URL: you need to include the
Cactus_Service, Cactus_TestMethod and Cactus_TestClass parameters to
perform
a manual 'ping' of the cactus framework.
-----Original Message-----
From: Anton_Grimm@mn.man.de [mailto:Anton_Grimm@mn.man.de]
Sent: 05 May 2003 16:06
To: Cactus Users List
Subject: Please Help: Antwort: RE: Cactus 1.4.1 using WebSphere 5.0
I did not know that it is no longer possible to simulate
HTTP-Requests to a HttpServer with version 1.1 of HTTP
like it was in 1.0 using Telnet (.
Sorry wasting your time ... but I can't solve this for almost three days
now.
Anyway the output of the cactus-log is different for running my tests
against websphere
in comparison with tomcat.
Again, I use the same Cactus client configuration for both Servlet-Engines,
the same application and the same build file. The important thing for the
WebSphere-Environment
is that the URL
http://localhost:8080/mandeploymantwebapp/ServletRedirector?Cactus_TestMetho
d=testExecuteDeploymantActionSuccess&
Cactus_TestClass=iutest.de.man.mn.pcm.deploymant.struts.action.DeploymantAct
ionTest&Cactus_AutomaticSession=true&Cactus_Service=CALL_TEST
which fails in the junit task succeeds using InternetExplorer 6.0.26 and
Netscape (empty screen).
If I request just the RedirectorServlet using the Netscape Browser on the
WebSPhere machine
http://localhost:8080/mandeploymantwebapp/ServletRedirector?
I receive an error 500 (Error 500: Missing service name parameter
[Cactus_Service] in HTTP request. Received query string is [null].)
which should be fine. The junit tasks fails with error 404. Please see the
logs below.
The Tomcat-Files:
(See attached file: log4j_cactus.log)
The WebSphere-Files:
(See attached file: log4j_cactus.log)(See attached file: build.log)
### junit-task ###
<junit
printsummary="yes"
haltonfailure="no" failureproperty="test-failed"
fork="yes"
>
<classpath>
<!-- The Servlet API jar -->
<pathelement location="
${global.was.extlib.dir}/JavaJ2ee_r1-3.jar"/>
<!-- all libraries needed by this project -->
<fileset dir="${global.src.dir}/${web-inf.dir}/lib">
<include name="*.jar"/>
<include name="*.zip"/>
</fileset>
<!-- all classes of this project -->
<pathelement location="${global.build.dir}"/>
</classpath>
<formatter type="xml" usefile="true"/>
<!-- test name="your.package.YourTestCaseClass1"/ -->
<jvmarg value="-Dlog4j.configuration=file:
${global.dev.dir}/log4j.properties"/>
<test
name="de.man.mn.sys.test.MANJUnitUnitTest"
haltonerror="no"
outfile="./doc/UnitTestReport"
/>
<test
name="de.man.mn.sys.test.MANJUnitIntegrationTest"
haltonerror="no"
outfile="./doc/IntegrationTestReport"
/>
</junit>
###
Thanks so much for any help.
A. Grimm
---------------------------------------------------------------
Anton Grimm
MAN Nutzfahrzeuge AG
IDP - Software Produktionsumgebungen
Dachauerstr.667
D - 80995 München
Fon: +49-89-1580-1054
Fax: +49-89-1580-911054
mailto: Anton_Grimm@mn.man.de
Internet: http://www.man-trucks.com
---------------------------------------------------------------
This message and any attachments are confidential and may be privileged or
otherwise protected from disclosure.
If you are not the intended recipient, please telephone or email the sender
and delete this message and any attachment
from your system. If you are not the intended recipient, you must not copy
this message or attachment or disclose the
contents to any other person.
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
**********************************************************************
The information contained in this e-mail may be confidential. It is
intended only for for the use
of the named recipient. If you are not the named recipient please delete
this e-mail. If you have
received this e-mail and are not the named recipient, any disclosure,
reproduction, distribution
or other dissemination or use of the information contained in this e-mail
is strictly prohibited.
E-mail transmission cannot be guaranteed to be secure or error free as
information could be
intercepted, corrupted, lost, destroyed, arrive late or incomplete, or
contain viruses.
The sender therefore does not accept liability for any errors or omissions
in the contents of this
message which arise as a result of e-mail transmission. If verification is
required please
request a hard copy version.
Registered Office:
Camelot Group plc
Tolpits Lane
Watford
WD18 9RN
Tel: 01923 425000
Registered in England and Wales
No. 2822203
**********************************************************************
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-user-help@jakarta.apache.org
This message and any attachments are confidential and may be privileged or
otherwise protected from disclosure.
If you are not the intended recipient, please telephone or email the sender
and delete this message and any attachment
from your system. If you are not the intended recipient, you must not copy
this message or attachment or disclose the
contents to any other person.
---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-user-help@jakarta.apache.org
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________