Skip to Content
author's profile photo Former Member
Former Member

Exception in Java migration from BO 3.1 to 4.1

Hi All,

We are migrating our applications from BO 3.1 to 4.1.

There is a java application (IBM Websphere Application Server 8.5) already written which displays crystal reports hosted on BO server. Now due to migration, there are changes that needs to be done at java end as well.

This is what we have done at Java end. Please confirm if I am wrong or if something more needs to be done as I am facing issues in migration f Java application:

  1. Replaced all old jar files (cecore.jar, celib.jar, ceplugins.jar, cereports.jar, cesession.jar, rasapp.jar, rascore.jar, reportSourceFactory.jar, ReportTemplate.jar, webreporting.jar, WebReportWizaed.jar) with the jar files shipped with the BO 4.1 product present in java/lib and external folders.
  2. Restarted java server and found exception (same is attached) while logon into BO server.

Please help.

Untitled.jpg (276.3 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 16, 2015 at 08:58 AM

    Hi All,

    I have also removed some more old jars which are given below:

    activation.jar

    corbaidl.jar

    ebus405.jar

    and restarted the application server. The above error was resolved. But now i am facing new exception:

    [11/16/15 14:21:46:288 IST] 0000007e SystemErr R java.lang.NoSuchMethodError: com/crystaldecisions/xml/serialization/SaveOption.setSaveAsLegacyCR(Z)V

    [11/16/15 14:21:46:288 IST] 0000007e SystemErr R at com.crystaldecisions.sdk.occa.managedreports.ras.internal.CECORBACommunicationAdapter.<init>(CECORBACommunicationAdapter.java:132)

    [11/16/15 14:21:46:288 IST] 0000007e SystemErr R at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.getReportAppSession(RASReportAppFactory.java:673)

    [11/16/15 14:21:46:289 IST] 0000007e SystemErr R at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.openDocument(RASReportAppFactory.java:512)

    [11/16/15 14:21:46:289 IST] 0000007e SystemErr R at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.openDocument(RASReportAppFactory.java:373)

    [11/16/15 14:21:46:289 IST] 0000007e SystemErr R at com.stc.fabs.util.GetReportClientDocument.getReportClientDocument(GetReportClientDocument.java:37)

    [11/16/15 14:21:46:289 IST] 0000007e SystemErr R at com.ibm._jsp._ProfitAndLossCall._jspService(_ProfitAndLossCall.java:237)

    [11/16/15 14:21:46:289 IST] 0000007e SystemErr R at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:99)

    [11/16/15 14:21:46:290 IST] 0000007e SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)

    [11/16/15 14:21:46:290 IST] 0000007e SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1227)

    [11/16/15 14:21:46:290 IST] 0000007e SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:776)

    [11/16/15 14:21:46:290 IST] 0000007e SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:458)

    [11/16/15 14:21:46:291 IST] 0000007e SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)

    [11/16/15 14:21:46:291 IST] 0000007e SystemErr R at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)

    [11/16/15 14:21:46:291 IST] 0000007e SystemErr R at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:216)

    [11/16/15 14:21:46:291 IST] 0000007e SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)

    [11/16/15 14:21:46:291 IST] 0000007e SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:79)

    [11/16/15 14:21:46:292 IST] 0000007e SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:928)

    [11/16/15 14:21:46:292 IST] 0000007e SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1025)

    [11/16/15 14:21:46:292 IST] 0000007e SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:1385)

    [11/16/15 14:21:46:292 IST] 0000007e SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:194)

    [11/16/15 14:21:46:292 IST] 0000007e SystemErr R at com.stc.fabs.servlet.MainServlet.invokeCommand(MainServlet.java:119)

    [11/16/15 14:21:46:293 IST] 0000007e SystemErr R at com.stc.fabs.servlet.MainServlet.service(MainServlet.java:78)

    [11/16/15 14:21:46:293 IST] 0000007e SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)

    [11/16/15 14:21:46:293 IST] 0000007e SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1227)

    [11/16/15 14:21:46:293 IST] 0000007e SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:776)

    [11/16/15 14:21:46:293 IST] 0000007e SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:458)

    [11/16/15 14:21:46:294 IST] 0000007e SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)

    [11/16/15 14:21:46:294 IST] 0000007e SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)

    [11/16/15 14:21:46:294 IST] 0000007e SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)

    [11/16/15 14:21:46:294 IST] 0000007e SystemErr R at com.stc.fabs.servlet.SessionValidatorFilter.doFilter(SessionValidatorFilter.java:55)

    [11/16/15 14:21:46:294 IST] 0000007e SystemErr R at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)

    [11/16/15 14:21:46:295 IST] 0000007e SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)

    [11/16/15 14:21:46:295 IST] 0000007e SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:928)

    [11/16/15 14:21:46:295 IST] 0000007e SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1025)

    [11/16/15 14:21:46:295 IST] 0000007e SystemErr R at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)

    [11/16/15 14:21:46:296 IST] 0000007e SystemErr R at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:909)

    [11/16/15 14:21:46:296 IST] 0000007e SystemErr R at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)

    [11/16/15 14:21:46:296 IST] 0000007e SystemErr R at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)

    [11/16/15 14:21:46:296 IST] 0000007e SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:459)

    [11/16/15 14:21:46:296 IST] 0000007e SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:526)

    [11/16/15 14:21:46:297 IST] 0000007e SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:312)

    [11/16/15 14:21:46:297 IST] 0000007e SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:283)

    [11/16/15 14:21:46:297 IST] 0000007e SystemErr R at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)

    [11/16/15 14:21:46:297 IST] 0000007e SystemErr R at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)

    [11/16/15 14:21:46:297 IST] 0000007e SystemErr R at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)

    [11/16/15 14:21:46:297 IST] 0000007e SystemErr R at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)

    [11/16/15 14:21:46:298 IST] 0000007e SystemErr R at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)

    [11/16/15 14:21:46:298 IST] 0000007e SystemErr R at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)

    [11/16/15 14:21:46:298 IST] 0000007e SystemErr R at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)

    [11/16/15 14:21:46:298 IST] 0000007e SystemErr R at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)

    [11/16/15 14:21:46:299 IST] 0000007e SystemErr R at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)

    [11/16/15 14:21:46:299 IST] 0000007e SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1862)

    [11/16/15 14:21:46:287 IST] 0000007e SystemOut O ERROR [WebContainer : 1] (LogUtil.java:39) - [userId] [method] ErrorPage: java.lang.NoSuchMethodError: com/crystaldecisions/xml/serialization/SaveOption.setSaveAsLegacyCR(Z)V

    [11/16/15 14:22:29:167 IST] 00000063 FtpConsumer I org.apache.camel.component.file.remote.RemoteFileConsumer connectIfNecessary Connected and logged in to: ftp://webhub@10.20.120.221:21

    Please let me know if I am missing to replace any specific old jar from the classpath. Please help.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Prithviraj Shekhawat

      Hi Prithviraj,

      I had older version of Serialization.jar in the classpath.

      I removed it, however could not find latest serialization.jar in the shipped jars.

      After removing old jar, i simply restarted the application server and found it to be working.

      Thanks a lot.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.