Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[STRUTS]: MAPPING configuration error for request URI

7 views
Skip to first unread message

Templier

unread,
Feb 6, 2002, 6:15:28 AM2/6/02
to
Hello,

I use struts with a jboss / tomcat distribution ( jboss 2.4.4 & tomcat
4.0.1 ).
When forms are validated, I have this error but the application
continues to work and show me the good result...


[11:59:11,820,EmbeddedCatalinaServiceSX] action: Processing a GET for
/rechercherTables
[11:59:11,820,EmbeddedCatalinaServiceSX] action: Looking for
ActionForm bean under attribute 'rechercherTablesForm'
[11:59:11,820,EmbeddedCatalinaServiceSX] action: Creating new
ActionForm instance of class 'org.genealogie.web.RechercherTablesForm'
[11:59:11,820,EmbeddedCatalinaServiceSX] action: Storing instance
under attribute 'rechercherTablesForm' in scope 'request'
[11:59:11,820,EmbeddedCatalinaServiceSX] action: Populating bean
properties from this request
[11:59:11,880,EmbeddedCatalinaServiceSX] action: Validating input
form properties
[11:59:11,880,EmbeddedCatalinaServiceSX] action: No errors detected,
accepting input
[11:59:11,880,EmbeddedCatalinaServiceSX] action: Looking for Action
instance for class org.genealogie.web.RechercherTablesAction
[11:59:12,320,EmbeddedCatalinaServiceSX] StandardHost[localhost]:
MAPPING configuration error for request URI
[11:59:12,320,EmbeddedCatalinaServiceSX] HttpProcessor[80][4]
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)


I give my struts-config.xml:

<?xml version="1.0" encoding="ISO-8859-1" ?>

<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration
1.0//EN"
"http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd">

<struts-config>


<data-sources>
<data-source>
<set-property property="autoCommit" value="false"/>
<set-property property="description" value="Idb"/>
<set-property property="driverClass"
value="com.lutris.instantdb.jdbc.idbDriver"/>
<set-property property="maxCount" value="4"/>
<set-property property="minCount" value="2"/>
<set-property property="password" value=""/>
<set-property property="url"
value="jdbc:idb:../conf/instantdb.properties"/>
<set-property property="user" value=""/>
</data-source>
</data-sources>

<!-- ========== Form Bean Definitions
=================================== -->
<form-beans>

<form-bean name="rechercherTablesForm"
type="org.genealogie.web.RechercherTablesForm"/>

<form-bean name="rechercherPersonnesChronologiqueForm"
type="org.genealogie.web.RechercherPersonnesChronologiqueForm"/>

</form-beans>

<!-- ========== Global Forward Definitions
============================== -->
<global-forwards>
<forward name="exception" path="/exception.jsp"/>
</global-forwards>

<!-- ========== Action Mapping Definitions
============================== -->
<action-mappings>

<!-- Accueil -->
<action path="/accueil"
type="org.genealogie.web.AccueilAction">
<forward name="success" path="/accueil.jsp"/>
</action>

<!-- Recherche sur les tables -->
<action path="/rechercherTables"
type="org.genealogie.web.RechercherTablesAction"
name="rechercherTablesForm"
scope="request"
validate="true"
input="/rechercher_tables.jsp">
<forward name="failure"
path="/rechercher_tables.jsp"/>
<forward name="success" path="/liste_tables.jsp"/>
</action>


<!-- Recherche chronologique sur les personnes -->
<action path="/rechercherPersonnesChronologique"
type="org.genealogie.web.RechercherPersonnesChronologiqueAction"
name="rechercherPersonnesChronologiqueForm"
scope="request"
validate="true"
input="/rechercher_personne_chronologique.jsp">
<forward name="failure"
path="/rechercher_personne_chronologique.jsp"/>
<forward name="success"
path="/liste_personnes.jsp"/>
</action>


</action-mappings>

</struts-config>

Thanks for your help
Templ

0 new messages