From: Carlos C. <ca...@cu...> - 2004-09-30 20:32:21
|
Ok, I think I got it, It happens when no Use case name is specified on a final State (by the way I have the modelValidation to false.. but that is another story....), and the problem is within the Struts-config.xml, I think that before a default use case was specified... <action path="/AltaTipoNegocio/AltaTipoNegocio01Salir" type="com.hwsol.client.web.ramo.AltaTipoNegocio01Salir" name="altaTipoNegocioAltaTipoNegocio01SalirForm" scope="request" input="/com/hwsol/client/web/ramo/alta-tipo-negocio01.jsp" unknown="false" validate="false" > <exception key="alta.tipo.negocio.exception" type="java.lang.Exception" path="/com/hwsol/client/web/ramo/alta-tipo-negocio01.jsp" scope="request" /> <forward name="salir" path=".do" redirect="false" /> </action> regards Carlos Chad Brandon wrote: > Can you be a little more specific? At what point and how is the > application is being invoked? > > ----- Original Message ----- From: "Carlos Cuenca" > <ca...@cu...> > To: "Chad Brandon" <chd...@ya...>; "andromda-user" > <and...@li...> > Sent: Thursday, September 30, 2004 1:29 PM > Subject: Re: [Andromda-user] IllegalArgumentException > > >> upps.. sorry, it happens when the page is invoked, the application is >> deployed correctly. >> >> Chad Brandon wrote: >> >>> It happens on deploy? >>> >>> ----- Original Message ----- From: "Carlos Cuenca" >>> <ca...@cu...> >>> To: "andromda-user" <and...@li...> >>> Sent: Thursday, September 30, 2004 11:19 AM >>> Subject: [Andromda-user] IllegalArgumentException >>> >>> >>>> Hi, >>>> >>>> I had downloaded andromda today and compiled succesfully. When >>>> deploying and application that was running with a previous version, >>>> I get the following error with the Bpm4Struts cartridge: >>>> >>>> any ideas?? >>>> >>>> 19:13:56,276 ERROR [Engine] StandardWrapperValve[action]: >>>> Servlet.service() for servlet action threw exception >>>> java.lang.IllegalArgumentException: Path .do does not start with a >>>> "/" character >>>> at >>>> org.apache.catalina.core.ApplicationContext.getRequestDispatcher(ApplicationContext.java:378) >>>> >>>> at >>>> org.apache.catalina.core.ApplicationContextFacade.getRequestDispatcher(ApplicationContextFacade.java:196) >>>> >>>> at >>>> org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1049) >>>> >>>> at >>>> org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:261) >>>> >>>> at >>>> org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:388) >>>> >>>> at >>>> org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:316) >>>> >>>> at >>>> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231) >>>> >>>> at >>>> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1158) >>>> >>>> at >>>> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415) >>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) >>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) >>>> at >>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) >>>> >>>> at >>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) >>>> >>>> at >>>> org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:86) >>>> >>>> >>>> Thanks! >>>> >>>> Carlos >>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> This SF.net email is sponsored by: IT Product Guide on >>>> ITManagersJournal >>>> Use IT products in your business? Tell us what you think of them. >>>> Give us >>>> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find >>>> out more >>>> http://productguide.itmanagersjournal.com/guidepromo.tmpl >>>> _______________________________________________ >>>> Andromda-user mailing list >>>> And...@li... >>>> https://lists.sourceforge.net/lists/listinfo/andromda-user >>>> >>> >>> >>> >>> >> >> > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out > more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Andromda-user mailing list > And...@li... > https://lists.sourceforge.net/lists/listinfo/andromda-user > > |