MAPPING configuration error for request URI

2002-08-30 Thread Leonard Wolters

Hi,


Can someone help me with resolving this error ?


In my jsp, I have the following code:

img src='/displayPhotoServlet?imgId=%= izjnUser.getID() %'


In my web.xml, i have the following code:

 servlet
  servlet-nameDisplayPhotoServlet/servlet-name
  servlet-classcom.donreal.ikzagjenet.web.DisplayPhotoServlet/servlet-class
 /servlet

servlet-mapping
  servlet-namedisplayPhotoServlet/servlet-name
  url-pattern/displayPhotoServlet/url-pattern
 /servlet-mapping



Someone some suggestions ?


Re: [STRUTS]: MAPPING configuration error for request URI

2002-03-26 Thread Ted Husted

The best thing might be to register it with bugzilla, and include a copy
of the configuration elements that might be generating the event. 

http://jakarta.apache.org/site/bugs.html

-- Ted Husted, Husted dot Com, Fairport NY US
-- Developing Java Web Applications with Struts
-- Tel: +1 585 737-3463
-- Web: http://husted.com/about/services


Th Templ wrote:
 
 Hi,
 
 With struts 1.0.2 ( with jboss 2.2.4  tomcat 4.0.1), I have the following
 exception in the log of the server, but the action class work correctly (
 the datas are correctly shown! ). I don't see any errors in my struts-config
 file ( according to user guide and examples in distribution ).
 Has anyone already had this problem?
 Thanks for your help
 
 Extract of the server log:
 
 [18:12:55,261,EmbeddedCatalinaServiceSX] StandardHost[localhost]: MAPPING
 configuration error for request URI
 [18:12:55,271,EmbeddedCatalinaServiceSX] HttpProcessor[80][3] process.invoke
 java.lang.NullPointerException
 at
 org.apache.catalina.valves.ErrorDispatcherValve.status(ErrorDispatcherValve.java:280)
 at
 org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:180)
 at
 org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
 at
 org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
 at
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
 at
 org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
 at
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at
 org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
 at
 org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
 at java.lang.Thread.run(Thread.java:484)
 
 _
 MSN Photos is the easiest way to share and print your photos:
 http://photos.msn.com/support/worldwide.aspx
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]

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




[STRUTS]: MAPPING configuration error for request URI

2002-03-20 Thread Th Templ

Hi,

With struts 1.0.2 ( with jboss 2.2.4  tomcat 4.0.1), I have the following 
exception in the log of the server, but the action class work correctly ( 
the datas are correctly shown! ). I don't see any errors in my struts-config 
file ( according to user guide and examples in distribution ).
Has anyone already had this problem?
Thanks for your help

Extract of the server log:

[18:12:55,261,EmbeddedCatalinaServiceSX] StandardHost[localhost]: MAPPING 
configuration error for request URI
[18:12:55,271,EmbeddedCatalinaServiceSX] HttpProcessor[80][3] process.invoke
java.lang.NullPointerException
at 
org.apache.catalina.valves.ErrorDispatcherValve.status(ErrorDispatcherValve.java:280)
at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:180)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at 
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
at 
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
at java.lang.Thread.run(Thread.java:484)

_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


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




Error: MAPPING configuration error for request URI

2001-10-04 Thread Brett Porter
Title: Error: MAPPING configuration error for request URI





Hi,


I'm getting this error out of either struts or Tomcat. I'm a bit confused - the number of them (13) at a time, matches the number of action mappings I have, so it appears to be Struts related, but grepping the source doesn't reveal it. It isn't an exception - just a message like so:

2001-10-04 17:33:11 StandardHost[localhost]: MAPPING configuration error for request URI
x13


I only noticed after introducing Xerces as the parser instead of Crimson/JAXP - this is a requirement of Castor (just using Xerces in WEB-INF/lib causes some other problems).

It isn't critical - it doesn't actually cause anything to break as far as I can see, but I'd prefer to resolve it to make sure.

I've found nothing on either web or the mailing list archives for struts or tomcat to see what this might be caused by.


Cheers,
Brett