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 Will Sargent <wi...@yahoo.com> on 2002/01/06 04:13:40 UTC

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

RE: MAPPING configuration error

Posted by Vincent Massol <vm...@octo.com>.
Oops ... Sorry Will, I had not seen your attachements ... just noticed
now ... will have a look now ... :-)

-Vincent

> -----Original Message-----
> From: Will Sargent [mailto:will_sargent@yahoo.com]
> 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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: MAPPING configuration error

Posted by Vincent Massol <vm...@octo.com>.
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:will_sargent@yahoo.com]
> 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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: MAPPING configuration error

Posted by Will Sargent <wi...@yahoo.com>.
With the pointer you provided, I discovered some old code making bogus
connections assuming that it was on the client side (but was being called
from the server).  This client/server stuff is confusing!

Thanks for the help,
Will.

> -----Original Message-----
> From: Vincent Massol [mailto:vmassol@octo.com]
> Sent: Sunday, January 06, 2002 3:58 AM
> To: 'Cactus Users List'
> Subject: RE: MAPPING configuration error
>
>
> After looking at the useful files you provided ...
>
> It seems it may be an application error, looking at the stack trace :
>
>      [java] marquee.xmlrpc.XmlRpcException: The server responded with an
> error: http/1.1 500 no context configured to process this request
>      [java] 	at
> marquee.xmlrpc.XmlRpcClient.endCall(XmlRpcClient.java:288)
>      [java] 	at
> marquee.xmlrpc.XmlRpcClient.invoke(XmlRpcClient.java:171)
>      [java] 	at
> com.tersesystems.bookie.service.xmlrpc.TestBookieServlet.setUp(TestBooki
> eServlet.java:64)
>
> all the messages above, which triggered the exception are application
> classes. What it seems to me is that your code is a servlet
> (TestBookieServlet), which uses an XmlRpc class to connect to another
> machine. The error is that the URL you're calling seem to be invalid and
> XmlRpc (not Tomcat) reports an XmlRpcException.
>
> Thanks
> -Vincent
>
> > -----Original Message-----
> > From: Will Sargent [mailto:will_sargent@yahoo.com]
> > 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:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: MAPPING configuration error

Posted by Vincent Massol <vm...@octo.com>.
After looking at the useful files you provided ... 

It seems it may be an application error, looking at the stack trace :

     [java] marquee.xmlrpc.XmlRpcException: The server responded with an
error: http/1.1 500 no context configured to process this request
     [java] 	at
marquee.xmlrpc.XmlRpcClient.endCall(XmlRpcClient.java:288)
     [java] 	at
marquee.xmlrpc.XmlRpcClient.invoke(XmlRpcClient.java:171)
     [java] 	at
com.tersesystems.bookie.service.xmlrpc.TestBookieServlet.setUp(TestBooki
eServlet.java:64)

all the messages above, which triggered the exception are application
classes. What it seems to me is that your code is a servlet
(TestBookieServlet), which uses an XmlRpc class to connect to another
machine. The error is that the URL you're calling seem to be invalid and
XmlRpc (not Tomcat) reports an XmlRpcException.

Thanks
-Vincent

> -----Original Message-----
> From: Will Sargent [mailto:will_sargent@yahoo.com]
> 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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>