Im using Jboss4.2 in Eclipse3.3 for my development. When I try to refresh my page it doesnt refresh. Even after restarting the server and restarting the machine, there was the same old page thats appearing.
I get the same error message even after clearing the error.
The reason I thought is that , Eclipse is storing the old Ear file in some location after the first build and it is using the same forever without recreating the new one.
Please help me on this.
Thanks in advance.
A Moment's insight is sometimes worth a Life's experience.
Alas, I suspect that it will not help you much. You could check the settings for the JSPservlet to see if the "checkInterval" has been set to a to high value. Check the file (assuming your using the "default" server) JBOSS_HOME/server/default/deploy/jboss-web.deployer/META-INF/web.xml
Look at the comments there to find appropiate settings for your system. For production systems it is recommended to turn of JSP file checking as it will increase performance, but for development that would make the server useless. [ August 14, 2008: Message edited by: Sondre Kval� ]
Joined: Aug 03, 2005
Hi Thanks again.
I have the following parameters for my jsp servlet.
Theres no check interval param specified in the configuration, so I assume its '0' by default.
Please let me know if Im missing out anything.
Joined: Aug 14, 2008
You could try settting the "development" to true and "modificationTestInterval" to 0. Setting it to 0 means that the JSP will be recompiled every time it is being accessed.
Note: I have previously spent a lot of time figuring out why JBoss doesn't show changes to my JSP only to find out that I'm checking out the wrong URL.
You can also find set the "keepgenerated" attribute on the jsp servlet to true to check the be able to see the java classes generated by the JSP compiler. Check the Tomcat Jasper How-to for more information regarding configuring the Jasper/JSP servlet. [ August 14, 2008: Message edited by: Sondre Kval� ]