Terrence,

The error probably comes from the trailing "/" in your URL that you
specify in cactus.properties (yeah, I know, I was the one telling to add
one ... But it turned out not to be a good idea as it fails with some
application servers and anyway is not the correct way of doing it).
You'll need to modify your web.xml accordingly.

Thanks
-Vincent

P.S.: If you have some Ant script for starting/stopping HPAS in the same
way we do it for the other containers, that would really be real
appreciated :-)

> -----Original Message-----
> From: Terrence C. McDermond [mailto:[EMAIL PROTECTED]]
> Sent: 21 February 2002 07:04
> To: [EMAIL PROTECTED]
> Subject: HTTP 405 Error with cactus and HPAS
> 
> 
> I am trying to get cactus to work with Hewlett Packards HPAS
application
> server. The cactus test web application deployed in Tomcat 4.0 works
fine.
> When I deploy into HPAS a get the following stack trace on the client
side
> when it trys to connect to the ServletRedirector. Any suggestions?
> 
>     [junit]
>     [junit] Testcase: testDoGet took 1.532 sec
>     [junit]     Caused an ERROR
>     [junit] Server returned HTTP response code: 405 for URL:
> http://localhost:9090/meaone/ServletRedirector/
>     [junit] java.io.IOException: Server returned HTTP response code:
405
> for
> URL:http://localhost:9090/meaone/ServletRedirector/
>     [junit]     at
>
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnec
ti
> on
> .java:691)
>     [junit]     at
>
org.apache.cactus.client.AutoReadHttpURLConnection.getInputStream(AutoRe
ad
> Ht
> tpURLConnection.java:127)
>     [junit]     at
>
org.apache.cactus.client.AbstractHttpClient.doTest(AbstractHttpClient.ja
va
> :1
> 36)
>     [junit]     at
>
org.apache.cactus.AbstractTestCase.runGenericTest(AbstractTestCase.java:
42
> 2)
>     [junit]     at
> org.apache.cactus.ServletTestCase.runTest(ServletTestCase.java:130)
>     [junit]     at
> org.apache.cactus.AbstractTestCase.runBare(AbstractTestCase.java:371)
>     [junit]     at
> junit.framework.TestResult$1.protect(TestResult.java:106)
>     [junit]     at
> junit.framework.TestResult.runProtected(TestResult.java:124)
>     [junit]     at junit.framework.TestResult.run(TestResult.java:109)
>     [junit]     at junit.framework.TestCase.run(TestCase.java:131)
>     [junit]     at
junit.framework.TestSuite.runTest(TestSuite.java:173)
>     [junit]     at junit.framework.TestSuite.run(TestSuite.java:168)
>     [junit]     at
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.
> run(JUnitTestRunner.java:231)
> 
> TC McDermond
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:cactus-user-
> [EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:cactus-user-
> [EMAIL PROTECTED]>
> 



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

Reply via email to