look in your web.xml struts need this: /WEB-INF/struts-config.xml
<servlet> <servlet-name>action</servlet-name> <servlet-class>org.apache.struts.action.ActionServlet</servlet-class> <init-param> <param-name>config</param-name> <param-value>/WEB-INF/struts-config.xml</param-value> </init-param> ... > -----Original Message----- > From: Asim Ghosh [mailto:[EMAIL PROTECTED] > Sent: Monday, July 05, 2004 9:25 AM > To: [EMAIL PROTECTED] > Subject: exception when I run struts application on JBoss > > > hello everybody, > > i m running a code packed in .ear file. When i try to > copy the .ear file in $JBOSS_HOME/server/default/deploy > > in receive this expection : > > 11:23:03,125 INFO [Server] JBoss (MX MicroKernel) [3.2.4 > (build: CVSTag=JBoss_3 _2_4 date=200406040847)] Started in > 17s:485ms 11:23:03,125 INFO [Tomcat5] Saw > org.jboss.system.server.started notification, s tarting > connectors 11:23:03,187 INFO [Http11Protocol] Starting > Coyote HTTP/1.1 on http-0.0.0.0-808 0 11:23:03,328 INFO > [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8009 > 11:23:03,328 INFO [JkMain] Jk running ID=0 time=0/32 > config=null 12:20:23,093 INFO [EARDeployer] Init J2EE > application: file:/D:/jboss3.2.4/jbos > s-3.2.4/server/default/deploy/vim.ear > 12:20:36,375 WARN [DeploymentInfo] Only the root deployment > can set the loader repository, ingoring config=null > 12:20:38,062 WARN [DeploymentInfo] Only the root deployment > can set the loader repository, ingoring config=null > 12:20:38,109 INFO [TomcatDeployer] deploy, ctxPath=, > warUrl=file:/D:/jboss3.2.4 > /jboss-3.2.4/server/default/tmp/deploy/tmp49721vim.ear-content > s/iris.war/ > 12:20:38,312 INFO [PropertyMessageResources] Initializing, > config='org.apache.s truts.util.LocalStrings', > returnNull=true 12:20:38,312 INFO [PropertyMessageResources] > Initializing, config='org.apache.s > truts.action.ActionResources', returnNull=true 12:20:38,375 > ERROR [ActionServlet] Parsing error processing resource path > java.net.MalformedURLException: Path > WEB-INF\struts-config.xml does not start wi th a "/" character > at > org.apache.catalina.core.ApplicationContext.getResource(ApplicationCo > ntext.java:469) > at > org.apache.catalina.core.ApplicationContextFacade.getResource(Applica > tionContextFacade.java:176) > at > org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionSe > rvlet.java:1002) > > bye > Asim > > > > --------------------------------- > ALL-NEW Yahoo! Messenger - sooooo many all-new ways to > express yourself > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]