Nilesh Thali [http://community.jboss.org/people/jo_atman] created the discussion
"reading application startup files in JBoss 4 vs 5" To view the discussion, visit: http://community.jboss.org/message/562510#562510 -------------------------------------------------------------- Hello, We have a slightly modified configuration for our app, that worked in JBoss 4.0.0, but doesn't in JBoss 5.1.0. We copied the "web" configuration (under JBoss5.1.0/server/web) to create our own setup. our war file contains a web.xml that specifies a servlet and a properties file that's a parameter for the servlet at startup. This properties file is at the top level of our JBoss instance. e.g. we have JBoss5.1.0/server/myConfiguration |-- myServer.properties |-- deploy |-- myWar.war myWar.war has a web.xml containing the following snippet: <servlet> <servlet-name>StartListener</servlet-name> <servlet-class>com.sabre.common.webservices.server.ServerStartupService</servlet-class> <init-param> <param-name>startupFile</param-name> <param-value>*myServer.properties*</param-value> </init-param> <load-on-startup>1</load-on-startup> </servlet> JBoss 4.0.0 had no problems finding the myServer.properties file located in myConfiguration, but JBoss 5.1.0.GA throws a "FileNotFoundException". Any ideas on what we need to change to get it to work? I guess the second question would be - what are other (better) ways of doing this? Thanks, Nilesh -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/562510#562510] Start a new discussion in Beginner's Corner at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
