I have an issue with the PSOSmartPreview tool on two installation of Rhythmyx that have been upgraded to 7.3. The first had Smart Preview installed and working and appears initialises as normal in the logs
2014-07-30 08:42:47,799 INFO [com.percussion.servlets.PSDispatcherServlet] FrameworkServlet ‘PSOSmartPreviewServlet’: initialization completed in 228532 ms
However in the Content Explorer a 20006:java.lang.NullPointerException error is thrown
My second system was upgraded and then post upgrade I have deployed and configured Smart Preview. In this instance I get the “class not found” error when initialising:
2014-07-30 09:21:45,290 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/Rhythmyx]] Initializing Spring FrameworkServlet ‘PSOSmartPreviewServlet’
2014-07-30 09:21:45,507 ERROR [org.springframework.web.servlet.DispatcherServlet] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘configuredSiteLoader’ defined in BeanDefinition defined in ServletContext resource [/WEB-INF/addins/PSOSmartPreview/PSOSmartPreview-servlet.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.percussion.pso.preview.ConfigurableSiteLoaderImpl] for bean with name ‘scopedTarget.configuredSiteLoader’ defined in ServletContext resource [/WEB-INF/addins/PSOSmartPreview/PSOSmartPreview-servlet.xml]; nested exception is java.lang.ClassNotFoundException: com.percussion.pso.preview.ConfigurableSiteLoaderImpl
Can anyone suggest if this is a conflict with the build of Smart Preview and 7.3 or have I somehow deployed the code incorrectly?
In the first case of the null pointer exception I believe it is to do with the Action Menu XML generated
I have created the xml from
Smart Preview …/user/addins/psosmartpreview/default.html?sys_contentid=37859&sys_folderid=31968&sys_revision=58&launchesWindow=yes&target=aavariant
Standard Preview …/rxs_cxSupport/variantlist.html?sys_contentid=37859&sys_folderid=31968&sys_revision=58&sys_siteid=505&launchesWindow=yes&target=aavariant
[QUOTE=fosterd;21232]In the first case of the null pointer exception I believe it is to do with the Action Menu XML generated
I have created the xml from
Smart Preview …/user/addins/psosmartpreview/default.html?sys_contentid=37859&sys_folderid=31968&sys_revision=58&launchesWindow=yes&target=aavariant
Standard Preview …/rxs_cxSupport/variantlist.html?sys_contentid=37859&sys_folderid=31968&sys_revision=58&sys_siteid=505&launchesWindow=yes&target=aavariant[/QUOTE]
OK scrap that it seems the .jar files were not being copied over from the latest download so I read the deploy XML and figured out where they needed copying to and all appears to be working now!