Jump to content
Changes to the Jaspersoft community edition download ×
  • Install failure after upgrade


    Jim W

    2016-05-18 17:25:40,334 ERROR ContextLoader,localhost-startStop-1:307 - Context initialization failed java.lang.ClassCastException: com.jaspersoft.jasperserver.api.metadata.jasperreports.domain.client.CustomReportDataSourceImpl cannot be cast to com.jaspersoft.jasperserver.api.metadata.common.domain.ListOfValues at com.jaspersoft.jasperserver.api.common.properties.PropertiesManagementServiceImpl.loadProperties(PropertiesManagementServiceImpl.java:166) at com.jaspersoft.jasperserver.api.common.properties.PropertiesManagementServiceImpl.initialize(PropertiesManagementServiceImpl.java:115) at com.jaspersoft.jasperserver.api.common.properties.PropertiesManagementServiceImpl.onApplicationEvent(PropertiesManagementServiceImpl.java:286) at com.jaspersoft.jasperserver.api.common.properties.PropertiesManagementServiceImpl.onApplicationEvent(PropertiesManagementServiceImpl.java:80) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:324) at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:929) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:467) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:384) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1113) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1671) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)

    Resolution:

    There might be various reasons for getting this error.  One possibility is that there was an unknown anomaly in the process of upgrading.

    Use the following query to check and see if JIResourceFolder contains NULL for parent_folder.

       mysql> select * from JIResourceFolder where name = 'properties';
        +----+---------+-------------+--------+------------+-------------------+-------------------+---------------+---------------------+---------------------+
        | id | version | uri | hidden | name | label | description | parent_folder | creation_date | update_date |
        +----+---------+-------------+--------+------------+-------------------+-------------------+---------------+---------------------+---------------------+
        | 1 | 0 | /properties | | properties | System Properties | System Properties | NULL | 2016-04-27 03:22:25 | 2016-04-27 03:22:25 |
        +----+---------+-------------+--------+------------+-------------------+-------------------+---------------+---------------------+---------------------+

    This value should be 1 after v5x versions.  If the value is NULL [valid for v4x versions], something has gone wrong in the upgrade.  This may not be the only issue in the installation. You will probably need to redo the upgrade and make sure that there are no errors in the process.

     

     


    User Feedback

    Recommended Comments

    There are no comments to display.



    Guest
    This is now closed for further comments

×
×
  • Create New...