JSF Portlet forms failing to save on linux

Ehtisham Zahid, modified 7 Years ago. New Member Posts: 14 Join Date: 9/25/18 Recent Posts

Hi 
I am using Liferay 7.1 ga1 
I created JSF Project using primefaces 6.2.
The project is working fine and saving records in localhost.
I tried to shift application on test server on Linux using WinSCP and Putty.
The project is deployed successfully and displaying data from database. 
When i enter new record it doesn't save that and always go back to main page when i click Save Button.
Client side validations are also not displaying when i submit empty form. these all issues came when i put the project on live server.
I also attached a file having two picture one is captured on live server and another one is on localhost
picture of localhost showing age input as 2.7 that is calculated from bean on method call by selecting date.
but live server doesn't do the above thing. other picture show the input empty.
Kindly give some solution to this.
Thanks

 

thumbnail
Kyle Joseph Stiemann, modified 7 Years ago. Liferay Master Posts: 760 Join Date: 1/14/13 Recent Posts

Hi Ehtisham,
Without more information, we can only guess at what the problem is. That being said, this sounds like some kind of classpath issue where javax.validation.* API classes are not on the classpath and validation is failing silently because of it (for example: LPS-84428, LPS-85295, LPS-84579).

However, we need more information such as:

- Kyle

Ehtisham Zahid, modified 7 Years ago. New Member Posts: 14 Join Date: 9/25/18 Recent Posts
Thanks Alot my issues were resolved through these : LPS-84428LPS-85295LPS-84579
Thanks for your help
thumbnail
Kyle Joseph Stiemann, modified 7 Years ago. Liferay Master Posts: 760 Join Date: 1/14/13 Recent Posts
Glad it's working for you, Ehtisham! Thanks for using Liferay Faces!