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

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
 

Attachments: 
yogalakshmi.dakshinamurthy's picture
Joined: May 2 2023 - 12:47pm
Last seen: 3 months 3 days ago

Thank you for posting to the Jaspersoft Community. Our team of experts has read your question and we are working to get you an answer as quickly as we can. If you have a Jaspersoft Professional Subscription plan, please visit https://support.tibco.com/s/ for direct access to our technical support teams offering guaranteed response times.

arai_4 - 3 months 3 weeks ago

Hello, would you evaluate installing the Jasper Server latest community edition 8.2 which also supports JDK 1.8?
https://community.jaspersoft.com/project/jasperreports-server

ddonofr - 3 months 1 week ago

Dear User,

We are eagerly anticipating your response to the comment mentioned above. Please provide the requested information so that we can assist you in addressing your question effectively.

arai_4 - 3 months 1 week ago
show 1 more...

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 

yogalakshmi.dakshinamurthy - 3 months 1 week ago

0 Answers:

No answers yet
Feedback
randomness