Jump to content
We've recently updated our Privacy Statement, available here ×

Jasper server War file deploy in websphere server - Getting error while starting the server


Recommended Posts

Hi ,

Currently we are using JDK 1.7 with Jasperserver war with 5.x version. We have upgraded JDK 1.8 in our application, once after this upgrade, Jasper war 5.x not supported and getting errors. 

So we are installing Jasperreports-server-cp-7.8.0-bin (version to support JDK 1.8)  in web sphere server. We have followed all the pre-requisites and instructions and the build is successful. But while we are starting the server, getting below errors. Please find the attached logs and suggest. Thanks.

[6/7/23 12:38:39:326 EDT] 000001c7 webapp        I com.ibm.ws.webcontainer.webapp.WebApp log SRVE0292I: Servlet Message - [jasperserver_war#jasperserver.war]:.Initializing Spring FrameworkServlet 'jasperserver'
[6/7/23 12:38:39:329 EDT] 000001c7 SystemOut     O 2023-06-07T12:38:39,327 ERROR DispatcherServlet,WebContainer : 2:502 - Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'themeSource' defined in ServletContext resource [/WEB-INF/applicationContext-themes.xml]: Cannot resolve reference to bean 'themeCache' while setting bean property 'themeCache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'themeCache' defined in ServletContext resource [/WEB-INF/applicationContext-themes.xml]: Cannot resolve reference to bean 'unsecureRepositoryService' while setting bean property 'repositoryService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateRepositoryService' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot resolve reference to bean 'accessContext' while setting bean property 'accessContext'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'accessContext' defined in ServletContext resource [/WEB-INF/applicationContext-events-logging.xml]: Cannot resolve reference to bean 'loggingContextProvider' while setting bean property 'loggingContextProvider'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loggingContextProvider' defined in ServletContext resource [/WEB-INF/applicationContext-events-logging.xml]: Cannot resolve reference to bean 'loggingEventsService' while setting bean property 'loggingService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loggingEventsService': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'routingMapCe' defined in ServletContext resource [/WEB-INF/applicationContext-events-logging.xml]: Cannot resolve reference to bean 'accessService' while setting constructor argument with key [TypedStringValue: value [com.jaspersoft.jasperserver.api.logging.access.domain.AccessEvent], target type [class java.lang.Class]]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'accessService' defined in ServletContext resource [/WEB-INF/applicationContext-events-logging.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org.hibernate.cache.CacheDataDescription
 

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 weeks later...

Hi,

Thanks for the response. Actually our issue is, we are using Websphere version 8.5.5.  After checking all the posts, understood  Jasper 7.8.0 version is not supported, with this web sphere version. So we have started installing JasperServer 6.4.3 version. The installation is completed successfully and also able to see login page. 

But currently we are facing issues in encrypting login password. Could you please suggest how to get encrypted password value. Because when we try to login, it says "Invalid login credentials".

Thanks and please confirm 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...