Gordon Augat 8 Years Ago Thanks for the post! Very helpful. Can Vaadin portlets be instanceable? If I put 2 of the same Vaaadin 7 portlets on the same page, 1 of them displays correctly and the other one throws an exception.Caused by: java.lang.IllegalMonitorStateException at java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(ReentrantLock.java:155) at java.util.concurrent.locks.AbstractQueuedSynchronizer.release(AbstractQueuedSynchronizer.java:1260) at java.util.concurrent.locks.ReentrantLock.unlock(ReentrantLock.java:460) at com.vaadin.server.VaadinSession.unlock(VaadinSession.java:1004) at com.vaadin.server.SynchronizedRequestHandler.handleRequest(SynchronizedRequestHandler.java:43) at com.vaadin.server.communication.PortletBootstrapHandler.handleRequest(PortletBootstrapHandler.java:48) at com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1409)I am using Liferay 6.2 and Vaadon 7.6. Please sign in to reply. Reply as... Cancel Ingrid Martinez Gordon Augat 5 Years Ago Hi, I have the same problem with adding more than one vaadin portlet in the same page. Did you fix the error? Please sign in to reply. Reply as... Cancel David H Nebinger Ingrid Martinez 5 Years Ago Since the stack points to an issue inside of the VaadinSession, you'd probably need to customize the class to work around the issue. This is a common issue for frameworks that are not "portal aware", they often never consider ramifications of having two of the same thing running inside of a single page. Please sign in to reply. Reply as... Cancel Gordon Augat Ingrid Martinez 5 Years Ago https://vaadin.com/forum/thread/12006293/instanceable-liferay-vaadin-portlet Please sign in to reply. Reply as... Cancel
Ingrid Martinez Gordon Augat 5 Years Ago Hi, I have the same problem with adding more than one vaadin portlet in the same page. Did you fix the error? Please sign in to reply. Reply as... Cancel David H Nebinger Ingrid Martinez 5 Years Ago Since the stack points to an issue inside of the VaadinSession, you'd probably need to customize the class to work around the issue. This is a common issue for frameworks that are not "portal aware", they often never consider ramifications of having two of the same thing running inside of a single page. Please sign in to reply. Reply as... Cancel Gordon Augat Ingrid Martinez 5 Years Ago https://vaadin.com/forum/thread/12006293/instanceable-liferay-vaadin-portlet Please sign in to reply. Reply as... Cancel
David H Nebinger Ingrid Martinez 5 Years Ago Since the stack points to an issue inside of the VaadinSession, you'd probably need to customize the class to work around the issue. This is a common issue for frameworks that are not "portal aware", they often never consider ramifications of having two of the same thing running inside of a single page. Please sign in to reply. Reply as... Cancel
Gordon Augat Ingrid Martinez 5 Years Ago https://vaadin.com/forum/thread/12006293/instanceable-liferay-vaadin-portlet Please sign in to reply. Reply as... Cancel
Swetha Harshini 7 Years Ago Thanks for the informative post. Since ajaxable has to be set to false for all vaadin portlets, is there a workaround to render a page before rendering the (vaadin) portlet? The vaadin portlet which I use for multiple functionalities takes longer to load hence the page too. Is there way I can render the page first and then the portlet.Thank you. Please sign in to reply. Reply as... Cancel