search
top

Struts and JBoss

I found myself the other day in a strange position developing a project on JBoss.

The project was based on Struts and after deployment it didn’t worked. The symptoms were this: the landing page was not updated to the version of the deployed project. Instead the browser was showing to me a page from a previous Struts based project.

After I sniff around on the Internet I found no solution to my problem :( . So I did it the hard way.

I start searching for a pattern in the JBoss behavior and I found that it cached all the files that were common between the two projects. That was because the last project was from CVS and had all the sources older then the first project I was working with. So I modified the index.jsp and after loading it into the browser (and sow it was the correct one) I’ve start to search on my hard drive all the files not older than 10 minutes. And there it was :D , c:\tmp\project_name\index_jsp.java.

So after I’ve deleted c:\tmp\project_name directory everything gone back to normal.

Leave a Reply

top