Three consecutive request automatically fire by web containe
cjain75 Mar 3, 2006 1:01 PMEnvironment
1] jboss-4.0.3, jboss-4.0.3SP1, jboss-4.0.4RC1 [tried with all 3 versions of JBOSS]
2] Red hat Linux-32 bit
3] jrockit-jdk1.5.0_04
Framework.
1] Struts 1.2.8
2] Velocity-1.4-rc1
Hardware
Intel XEON Dual processor
On windows machine which developers use,when i run the application with Sun JVM 1.5.0 for each request by web user there is only 1 request at the JBOSS Server.
When i deploy the application on Red Hat Linux Staging Server within the LAN & JRockit as JVM there is only 1 request at JBOSS Server for each user request
When i run the application on production server which has Red Hat Linux & JRockit as JVM there are 3 requests at JBOSS Server for each web request. i am having the same problem even after bypassing Apache Server.
Following are the entries in server.log file
2006-03-03 10:53:08,143 INFO [org.jboss.system.server.Server] JBoss (MX MicroKernel) [4.0.3 (build: CVSTag=JBoss_4_0_3 date=200510042324)] Started in 26s:770ms
2006-03-03 10:53:12,365 INFO [STDOUT] In ActionFilter :http://www..com:9090//mainMenu.do
2006-03-03 10:53:12,375 INFO [org.apache.struts.tiles.TilesRequestProcessor] Tiles definition factory found for request processor ''.
2006-03-03 10:53:12,461 DEBUG [r4...webapp.action.BaseAction] Converters registered...
2006-03-03 10:53:13,276 DEBUG [org.hibernate.jdbc.ConnectionManager] running Session.finalize()
2006-03-03 10:53:15,430 DEBUG [net.sf.navigator.taglib.UseMenuDisplayerTag] setting config to: /layouts/_menu_level1.html
2006-03-03 10:53:15,461 DEBUG [net.sf.navigator.taglib.UseMenuDisplayerTag] Looking for repository named 'net.sf.navigator.menu.MENU_REPOSITORY'
2006-03-03 10:53:15,461 DEBUG [net.sf.navigator.taglib.UseMenuDisplayerTag] stuffing repository into pageContext...
2006-03-03 10:53:15,474 DEBUG [net.sf.navigator.taglib.DisplayMenuTag] setting name to: JobMenu
2006-03-03 10:53:15,491 DEBUG [net.sf.navigator.displayer.VelocityMenuDisplayer] using template: /layouts/_menu_level1.html
2006-03-03 10:53:15,559 DEBUG [net.sf.navigator.displayer.MessageResourcesMenuDisplayer] Looking up string 'menu.job' in ResourceBundle
2006-03-03 10:53:15,559 DEBUG [net.sf.navigator.displayer.MessageResourcesMenuDisplayer] Looking up string '//images//JobMenu.gif' in ResourceBundle
2006-03-03 10:53:15,562 DEBUG [net.sf.navigator.taglib.DisplayMenuTag] setting name to: BusinessCards
2006-03-03 10:53:15,562 DEBUG [net.sf.navigator.displayer.VelocityMenuDisplayer] using template: /layouts/_menu_level1.html
2006-03-03 10:53:15,563 DEBUG [net.sf.navigator.displayer.MessageResourcesMenuDisplayer] Looking up string 'menu.businessCards' in ResourceBundle
2006-03-03 10:53:15,563 DEBUG [net.sf.navigator.displayer.MessageResourcesMenuDisplayer] Looking up string '//images/bcards/BusinessCards.gif' in ResourceBundle
2006-03-03 10:53:15,564 DEBUG [net.sf.navigator.taglib.DisplayMenuTag] setting name to: Research4
2006-03-03 10:53:15,564 DEBUG [net.sf.navigator.displayer.VelocityMenuDisplayer] using template: /layouts/_menu_level1.html
2006-03-03 10:53:15,565 DEBUG [net.sf.navigator.displayer.MessageResourcesMenuDisplayer] Looking up string 'menu.research4' in ResourceBundle
2006-03-03 10:53:15,565 DEBUG [net.sf.navigator.displayer.MessageResourcesMenuDisplayer] Looking up string '//images/info/tab_info_flat.gif' in ResourceBundle
2006-03-03 10:53:15,566 DEBUG [net.sf.navigator.taglib.DisplayMenuTag] setting name to: Personals
2006-03-03 10:53:15,566 DEBUG [net.sf.navigator.displayer.VelocityMenuDisplayer] using template: /layouts/_menu_level1.html
2006-03-03 10:53:15,567 DEBUG [net.sf.navigator.displayer.MessageResourcesMenuDisplayer] Looking up string 'menu.personals' in ResourceBundle
2006-03-03 10:53:15,567 DEBUG [net.sf.navigator.displayer.MessageResourcesMenuDisplayer] Looking up string '//images/personals/perTab1.gif' in ResourceBundle
2006-03-03 10:53:20,831 INFO [STDOUT] In ActionFilter :http://www..com:9090//mainMenu.do
2006-03-03 10:53:21,985 INFO [STDOUT] In ActionFilter :http://www..com:9090//mainMenu.do
2006-03-03 10:53:22,379 DEBUG [net.sf.navigator.taglib.UseMenuDisplayerTag] release() called
2006-03-03 10:53:23,731 DEBUG [net.sf.navigator.taglib.UseMenuDisplayerTag] setting config to: /layouts/_menu_level1.html
2006-03-03 10:53:23,731 DEBUG [net.sf.navigator.taglib.UseMenuDisplayerTag] Looking for repository named 'net.sf.navigator.menu.MENU_REPOSITORY'
2006-03-03 10:53:23,731 DEBUG [net.sf.navigator.taglib.UseMenuDisplayerTag] stuffing repository into pageContext...
2006-03-03 10:53:23,733 DEBUG [net.sf.navigator.taglib.DisplayMenuTag] setting name to: Menu
2006-03-03 10:53:23,733 DEBUG [net.sf.navigator.displayer.VelocityMenuDisplayer] using template: /layouts/_menu_level1.html
I have googled to find an answer to this issue but no help. Not sure whether this is thr problem with JBoss or Apache or JVM or Hardware related issues.
Any help in this regard is acknowledged.
Regards,
Nilesh/Chetan