Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Jsp Changes not getting reflected in liferay 6.2
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
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
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.
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.
Hello Christoph Rabel,Thanks For your responce but am using jboss server.
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
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
I have already tried this but not got the solution
Kishan Agrawal:
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.
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 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.
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™