Clarity

 View Only
  • 1.  Jaspersoft server failed with error http 404

    Posted Sep 08, 2020 04:46 AM
    ​Hi folks,
    we have installed our jaspersoft, the build was successful but we are facing an error when accessing the server. This is the error that we have :
    2020-09-08 10:37:32,658 ERROR ContextLoader,localhost-startStop-1:331 [] - Context initialization failed
    org.springframework.beans.factory.BeanInitializationException: Could not load properties; nested exception is java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/js.config.properties]
     at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:87)
     at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:703)
     at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:678)
     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)
     at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410)
     at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
     at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
     at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4699)
     at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5165)
     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:743)
     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:719)
     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714)
     at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1125)
     at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1859)
     at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
     at java.util.concurrent.FutureTask.run(Unknown Source)
     at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
     at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/js.config.properties]
     at org.springframework.web.context.support.ServletContextResource.getInputStream(ServletContextResource.java:140)
     at org.springframework.core.io.support.EncodedResource.getInputStream(EncodedResource.java:152)
     at org.springframework.core.io.support.PropertiesLoaderUtils.fillProperties(PropertiesLoaderUtils.java:98)
     at org.springframework.core.io.support.PropertiesLoaderSupport.loadProperties(PropertiesLoaderSupport.java:175)
     at org.springframework.core.io.support.PropertiesLoaderSupport.mergeProperties(PropertiesLoaderSupport.java:156)
     at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:78)
     ... 19 more

    Anyone can suggest us what we are missing ?
    Many thanks in advance.
    Regards,
    Karim


  • 2.  RE: Jaspersoft server failed with error http 404

    Broadcom Employee
    Posted Sep 08, 2020 06:37 AM
    The error is below 

    Could not load properties; nested exception is java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/js.config.properties]

    Did you installed using one user and trying to start using the other user. Is this installed on Linux or Windows?

    ------------------------------
    Thanks & Regards
    Suman Pramanik
    Sr. Principal Support Engineer | Customer Success & Support, Enterprise Software Division
    Broadcom
    ------------------------------



  • 3.  RE: Jaspersoft server failed with error http 404

    Posted Sep 08, 2020 08:56 AM
    ​Hello Suman,
    Thanks for your answer.
    I'm using the same user to access to the jaspersoft server. It is installed on Windows.
    Im having this error now :

    Invalid license. Enterprise Commercial license
    expired on 02.10.18 01:59.

    Please contact Jaspersoft Technical Support.

    About TIBCO JasperReports Server

    Copyright © 2005-2018 TIBCO Software Inc.




  • 4.  RE: Jaspersoft server failed with error http 404

    Broadcom Employee
    Posted Sep 08, 2020 10:02 AM
    What version of Jaspersoft you are installing, it looks like License has expired. Currently we support only 7.1.3

    ------------------------------
    Thanks & Regards
    Suman Pramanik
    Sr. Principal Support Engineer | Customer Success & Support, Enterprise Software Division
    Broadcom
    ------------------------------