RE: Jsp Changes not getting reflected in liferay 6.2

Kishan Agrawal, modified 5 Years ago. New Member Posts: 24 Join Date: 1/8/18 Recent Posts
Hello Everybody,
am building a portlet in liferay 6.2
am unable to get changes after successful deployed in my jboss server
when i restart server then only those changes gets reflected
that is not right process i guess
pls help me out am new for liferay 6.2
thumbnail
Christoph Rabel, modified 5 Years ago. Liferay Legend Posts: 1555 Join Date: 9/24/09 Recent Posts
Did you enable the developer properties in Liferay?
https://portal.liferay.dev/docs/6-1/develop/-/knowledge_base/t/developer-mode
They disable a lot of caching and might help you. But if I recall correctly, we had a similar issue with JBoss and Liferay 6.2. We only had it on some machines and never found out, what caused it. We developed most of the stuff on tomcat and just tested it on JBoss at that time.
Kishan Agrawal, modified 5 Years ago. New Member Posts: 24 Join Date: 1/8/18 Recent Posts
Hello Christoph Rabel,Thanks For your responce but am using jboss server. 
thumbnail
Christoph Rabel, modified 5 Years ago. Liferay Legend Posts: 1555 Join Date: 9/24/09 Recent Posts
You can still enable the developer properties.
I am not sure if it helps though, I think, this is a JBoss "speciality". Maybe something like this helps:
https://stackoverflow.com/questions/26151933/jsp-changes-not-reflecting-when-server-is-run-jboss-maven-eclipse
Kishan Agrawal, modified 5 Years ago. New Member Posts: 24 Join Date: 1/8/18 Recent Posts
I have already tried this but not got the solution
thumbnail
Olaf Kock, modified 5 Years ago. Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts
Kishan Agrawal:

am building a portlet in liferay 6.2
am unable to get changes after successful deployed in my jboss server
when i restart server then only those changes gets reflected
I'm not that familiar with jboss, but I know that Tomcat can be configured to pay attention to updated JSPs or not. It's default to pay attention to updated JSPs, however, it's not recommended for production. Unfortunately overriding JSPs in Liferay 6.x physically copies them into the root webapplication (at least on Tomcat), so it relies on this dev-oriented feature.
I don't know how your JBoss server is configured, nor what the defaults are. But I'd look this way, rather than at Liferay. JSP compilation is the appserver's issue, so the probability that you find the solution there is a lot higher than within Liferay.