It works if i use an exploded EAR and an exploded WAR. However I get an HTTP 404 error on all actions I try to call.
Has there been any change in actions handling between Struts 2.0 and Struts 2.1.8 ? -----Message d'origine----- De : Fernandes Celinio [mailto:cfernan...@sopragroup.com] Envoyé : lundi 9 novembre 2009 13:38 À : Struts Users Mailing List Objet : RE: [Struts 2.1.8] Filter init parameter "actionPackages" fails on JBoss5.1.0: workaround ? ---------------- web.xml full content :---------------- <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5"> <display-name>VenteEnLigneWebStruts2</display-name> <welcome-file-list> <welcome-file>index.html</welcome-file> <welcome-file>index.htm</welcome-file> <welcome-file>index.jsp</welcome-file> <welcome-file>default.html</welcome-file> <welcome-file>default.htm</welcome-file> <welcome-file>default.jsp</welcome-file> </welcome-file-list> <jsp-config> <taglib> <taglib-uri>/s</taglib-uri> <taglib-location>/WEB-INF/struts-tags.tld</taglib-location> </taglib> </jsp-config> <filter> <filter-name>struts2</filter-name> <filter-class> org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter </filter-class> <init-param> <param-name>actionPackages</param-name> <param-value>com.eni.dvtejb.clientStruts2.action</param-value> </init-param> </filter> <filter-mapping> <filter-name>struts2</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> <listener> <listener-class>org.apache.struts2.tiles.StrutsTilesListener</listener-class> </listener> </web-app> ---------------- struts.xml full content : ---------------- <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" "http://struts.apache.org/dtds/struts-2.0.dtd"> <struts> <include file="login.xml" /> <include file="accueil.xml" /> <include file="magasin.xml" /> <include file="inscription.xml" /> <constant name="struts.convention.action.packages" value="com.eni.dvtejb.clientStruts2.action" /> </struts> I do not have any jars in my WEB-INF/lib folder, everything points to the lib folder from the Struts 2.1.8 distribution, and I copied everything to K:\ENI\DeveloppementEJB3\jboss-5.1.0.GA.jdk6\server\default\lib I removed a few plugins. ---------------- Full content of K:\ENI\DeveloppementEJB3\jboss-5.1.0.GA.jdk6\server\default\lib : ---------------- 09/11/2009 13:36 <REP> . 09/11/2009 13:36 <REP> .. 26/12/2008 02:43 358ÿ273 antlr-2.7.2.jar 26/12/2008 02:32 4ÿ467 aopalliance-1.0.jar 26/12/2008 03:12 37ÿ854 classworlds-1.1.jar 26/12/2008 02:03 188ÿ671 commons-beanutils-1.7.0.jar 05/01/2009 16:27 91ÿ699 commons-chain-1.2.jar 26/12/2008 02:09 571ÿ259 commons-collections-3.2.jar 05/01/2009 19:36 148ÿ783 commons-digester-2.0.jar 26/12/2008 02:05 57ÿ779 commons-fileupload-1.2.1.jar 26/12/2008 02:05 87ÿ776 commons-io-1.3.2.jar 26/12/2008 03:00 245ÿ274 commons-lang-2.3.jar 26/12/2008 02:03 38ÿ015 commons-logging-1.0.4.jar 26/12/2008 02:39 44ÿ598 commons-logging-api-1.1.jar 26/12/2008 02:05 138ÿ956 commons-validator-1.3.1.jar 26/12/2008 02:36 184ÿ569 dwr-1.1.1.jar 26/12/2008 03:00 77ÿ826 ezmorph-1.0.3.jar 01/05/2008 21:33 863ÿ477 freemarker-2.3.12.jar 20/07/2009 16:23 879ÿ259 freemarker-2.3.15.jar 03/06/2008 08:32 302ÿ352 jsf-facelets.jar 26/12/2008 03:00 124ÿ932 json-lib-2.1.jar 22/05/2009 15:38 393ÿ290 mail.jar 01/05/2008 21:33 168ÿ081 ognl-2.6.11.jar 23/07/2009 17:52 239ÿ803 ognl-2.7.3.jar 07/12/2007 06:08 1ÿ545ÿ954 ojdbc14.jar 22/09/2009 17:36 135ÿ820 org.apache.felix.bundlerepository-1.2.1.jar 22/09/2009 17:36 361ÿ268 org.apache.felix.framework-1.4.1.jar 22/09/2009 17:36 369ÿ804 org.apache.felix.main-1.4.1.jar 22/09/2009 17:36 51ÿ390 org.apache.felix.shell-1.0.2.jar 22/09/2009 17:36 12ÿ237 org.apache.felix.shell.tui-1.0.2.jar 26/12/2008 02:03 65ÿ261 oro-2.0.8.jar 15/07/2009 17:20 289ÿ911 oval-1.31.jar 30/11/2003 18:45 106ÿ577 p6spy.jar 26/12/2008 03:12 219ÿ380 plexus-container-default-1.0-alpha-10.jar 26/12/2008 02:04 172ÿ956 plexus-utils-1.2.jar 01/07/2009 21:43 181ÿ259 sitemesh-2.4.2.jar 17/06/2009 21:25 488ÿ282 spring-beans-2.5.6.jar 17/06/2009 21:25 476ÿ940 spring-context-2.5.6.jar 17/06/2009 21:25 285ÿ491 spring-core-2.5.6.jar 26/12/2008 02:05 180ÿ924 spring-test-2.5.6.jar 09/06/2009 19:46 194ÿ577 spring-web-2.5.6.jar 26/12/2008 02:05 26ÿ215 sslext-1.2-0.jar 05/01/2009 16:27 329ÿ441 struts-core-1.3.10.jar 23/09/2009 01:04 29ÿ553 struts2-codebehind-plugin-2.1.8.jar 23/09/2009 01:02 39ÿ265 struts2-config-browser-plugin-2.1.8.jar 23/09/2009 01:07 61ÿ007 struts2-convention-plugin-2.1.8.jar 23/09/2009 00:49 756ÿ085 struts2-core-2.1.8.jar 23/09/2009 01:00 1ÿ728ÿ624 struts2-dojo-plugin-2.1.8.jar 23/09/2009 00:56 5ÿ820 struts2-dwr-plugin-2.1.8.jar 23/09/2009 01:17 540ÿ399 struts2-embeddedjsp-plugin-2.1.8.jar 23/09/2009 01:10 17ÿ070 struts2-jasperreports-plugin-2.1.8.jar 23/09/2009 01:09 45ÿ735 struts2-javatemplates-plugin-2.1.8.jar 23/09/2009 01:11 10ÿ454 struts2-jfreechart-plugin-2.1.8.jar 23/09/2009 01:01 28ÿ603 struts2-jsf-plugin-2.1.8.jar 23/09/2009 01:16 51ÿ609 struts2-json-plugin-2.1.8.jar 23/09/2009 00:53 8ÿ317 struts2-junit-plugin-2.1.8.jar 23/09/2009 01:19 93ÿ140 struts2-osgi-admin-bundle-2.1.8.jar 23/09/2009 01:15 22ÿ744 struts2-oval-plugin-2.1.8.jar 23/09/2009 01:11 10ÿ201 struts2-pell-multipart-plugin-2.1.8.jar 23/09/2009 01:06 29ÿ110 struts2-rest-plugin-2.1.8.jar 23/09/2009 01:13 37ÿ177 struts2-sitegraph-plugin-2.1.8.jar 23/09/2009 01:02 16ÿ889 struts2-sitemesh-plugin-2.1.8.jar 23/09/2009 00:59 27ÿ758 struts2-struts1-plugin-2.1.8.jarOLD 23/09/2009 01:14 4ÿ392 struts2-testng-plugin-2.1.8.jar 23/09/2009 01:03 16ÿ584 struts2-tiles-plugin-2.1.8.jar 26/12/2008 02:05 692ÿ205 testng-5.1.jar 26/12/2008 02:52 17ÿ026 tiles-api-2.0.6.jar 26/12/2008 02:52 128ÿ136 tiles-core-2.0.6.jar 26/12/2008 02:52 41ÿ587 tiles-jsp-2.0.6.jar 22/09/2009 17:36 392ÿ124 velocity-1.5.jar 22/09/2009 17:36 134ÿ881 velocity-tools-1.3.jar 26/12/2008 02:28 24ÿ677 xpp3_min-1.1.3.4.O.jar 26/12/2008 02:28 373ÿ194 xstream-1.2.2.jar 01/05/2008 21:33 521ÿ827 xwork-2.1.1.jarOLD 22/09/2009 17:36 1ÿ557ÿ320 xwork-core-2.1.6.jar Any idea ? Thanks -----Message d'origine----- De : Lukasz Lenart [mailto:lukasz.len...@googlemail.com] Envoyé : lundi 9 novembre 2009 13:29 À : Struts Users Mailing List Objet : Re: [Struts 2.1.8] Filter init parameter "actionPackages" fails on JBoss5.1.0: workaround ? 2009/11/9 Fernandes Celinio <cfernan...@sopragroup.com>: > It still does not work. It is still looking for that actionPackages > parameter. And if i add it, I get an error related to the path. Strange, you have something messed up with a configuration. Could you list what kind of jars do you have in WEB-INF/lib folder? Then could you show content of your configuration files? Regards -- Lukasz http://www.lenart.org.pl/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org