Will,

The only reason I can see is that your webapp is not under the context
the Cactus client part is trying to call (Cactus uses the URL defined in
cactus.properties to call the server side).

You would need to provide more information so that we can make a more
educated guess. Interesting files would be : cactus.properties, web.xml,
and possibly tomcat log (enabled by putting the following in server.xml,
below the Host tag :

<Logger className="org.apache.catalina.logger.FileLogger"
  directory="logs"  prefix="localhost_log." suffix=".txt"
  timestamp="true"/>

Remarks / questions :
* What version of Cactus are you using 1.2 or 1.3 from nightly builds ?
* If you're using 1.3, you don't need (and must not use) the trailing
slash in the ServletRedirector mapping (this is a change from 1.2 to
1.3)
* Have you tried running the default sample application, as provided in
the Cactus distribution (with no modification apart from editing
build.properties) ? It should run with no modifications at all.

Hope it helps a bit. Thanks
-Vincent

> -----Original Message-----
> From: Will Sargent [mailto:[EMAIL PROTECTED]]
> Sent: 06 January 2002 03:14
> To: Cactus-User
> Subject: MAPPING configuration error
> 
> Hi all,
> 
> I have very little understanding of Tomcat 4.0, and I don't understand
the
> error I'm getting.
> 
> The really wierd thing is that this happens when I run
tests_tomcat_40,
> but
> if I just start up the Tomcat server, I can go to
> http://localhost:8080/test/ServletRedirector/ and it sees it
perfectly.
> I'm
> trying to test out my servlet test cases so I can run my XML-RPC tests
> automatically, and it just doesn't want to co-operate.
> 
> I would RTFM, but I'm such a newbie I don't really understand where to
> look.
> 
> Will.
> 
>      [java] StandardHost[localhost]: MAPPING configuration error for
> request
> URI
>  ^M
>      [java] 1/5/02 5:13 PM  HttpProcessor[8080][4]  Error: Error from
> server: ht
> tp/1.1 500 no context configured to process this request^M
> ...
>      [java] java.io.IOException: The server responded with an error:
> http/1.1 50
> 0 no context configured to process this request^M
>      [java]     at
> marquee.xmlrpc.connections.SocketConnectionFactory$SocketConn
> ectionImpl.getInputStream(SocketConnectionFactory.java:200)^M
>      [java] 1/5/02 5:13 PM  HttpProcessor[8080][4]  Error: <h1>HTTP
Status
> ^M
>      [java]     at
> marquee.xmlrpc.XmlRpcClient.endCall(XmlRpcClient.java:278)^M
>      [java]     at
> marquee.xmlrpc.XmlRpcClient.invoke(XmlRpcClient.java:171)^M
>      [java] 1/5/02 5:13 PM  HttpProcessor[8080][4]  Error: 500 - No
> Context
> conf
> igured to process this request</h1>^M
>      [java] 1/5/02 5:13 PM  HttpProcessor[8080][4]  Error: </body>^M
>      [java] 1/5/02 5:13 PM  HttpProcessor[8080][4]  Error: </html>^M
>      [java]     at
> com.tersesystems.bookie.service.xmlrpc.TestBookieServlet.setU
> p(TestBookieServlet.java:64)^M
>      [java]     at
> org.apache.cactus.AbstractTestCase.runBareServerTest(Abstract
> TestCase.java:454)^M
>      [java]     at
> org.apache.cactus.server.AbstractTestCaller.doTest(AbstractTe



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

Reply via email to