Crystal Reports with Spring: problem

Ads
 

Crystal Reports with Spring: problem

Hi all, having successfully used the Crystal Reports' API - JRC version 11.8.4.1094 - in a Java environment with:

1)JBoss 4.2.3, 2)Oracle 11, 3)EJB 2, 4)Crystal Reports 2008 as reporting tool,

I would like to integrate Crystal Reports into my existing spring MVC and hibernate web app using:

1)new versione of Crystal Reports' API CRJ - version 12.2.209, 2)JBoss 5.1, 3)Oracle 11, 4)EJB 3, 5)Crystal Reports 2008 as reporting tool,

reusing code integration.

In one EJB, I produced a ByteArrayInputStream in which there are report's data. The error occurs when returning from EJB, into Delegate, and is the following:

13:14:51,031 ERROR [[dispatcher]] Servlet.service() for servlet dispatcher threw exception java.lang.InstantiationException: java.io.ByteArrayInputStream at java.lang.Class.newInstance0(Class.java:340) at java.lang.Class.newInstance(Class.java:308) at org.jboss.serial.classmetamodel.ClassMetaData.newInstance(ClassMetaData.java:334) at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:239) at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412) at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82) at org.jboss.serial.objectmetamodel.DataContainer$DataContainerInput.readObject(DataContainer.java:845) at org.jboss.serial.io.MarshalledObjectForLocalCalls.get(MarshalledObjectForLocalCalls.java:60) at org.jboss.ejb3.remoting.IsLocalInterceptor.invokeLocal(IsLocalInterceptor.java:101) at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:72) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.aspects.remoting.PojiProxy.invoke(PojiProxy.java:62) at $Proxy286.invoke(Unknown Source) at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:207) at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:164) at $Proxy284.getxxxxx(Unknown Source) at xxx.xxxx.xxxx.xxxx.manager.report.ReportManagerImpl.getxxxxx(ReportManagerImpl.java:38) at xxx.xxxx.xxx.xxx.WelcomeController.handleRequestInternal(WelcomeController.java:78) at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153) at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:662)

View Answers

Ads









Related Tutorials/Questions & Answers:
Crystal clear reports
Crystal clear reports  what is crystal clear and i-text reports in java? plz give me full information
Create Crystal reports with PHP
Create Crystal reports with PHP  I'm New to eclipse and php. I need to create a report using crystal report on php. is that possible. If it is, how could I install it to eclipse IDE. How to use
Advertisements
Create Crystal reports with PHP
Create Crystal reports with PHP  I'm New to eclipse and php. I need to create a report using crystal report on php. is that possible. If it is, how could I install it to eclipse IDE. How to use
Crystal Reports with Spring: problem
Crystal Reports with Spring: problem  Hi all, having successfully used the Crystal Reports' API - JRC version 11.8.4.1094 - in a Java environment with: 1)JBoss 4.2.3, 2)Oracle 11, 3)EJB 2, 4)Crystal Reports 2008 as reporting
crystal report plugin for eclipse
crystal report plugin for eclipse  Hi, I want to know whether unicode based crystal reports can be generated using jsp.?Also I need the crystal report plugin for eclipse . Thanks
reports
reports  hi i want to create reports in my projects . plz give me some idea how to create reports in jsp
ModuleNotFoundError: No module named 'crystal'
ModuleNotFoundError: No module named 'crystal'  Hi, My Python... 'crystal' How to remove the ModuleNotFoundError: No module named 'crystal... to install padas library. You can install crystal python with following command
J2ee Crystal report integration
J2ee Crystal report integration  Hai Sir, I am familiar with crystal report and vb6 and sql server 2005.Now i want to integrate crystal report with java web application.Right now i am using jsp to create reports.Developer cost
ModuleNotFoundError: No module named 'aiida-crystal'
ModuleNotFoundError: No module named 'aiida-crystal'  Hi, My... 'aiida-crystal' How to remove the ModuleNotFoundError: No module named 'aiida-crystal' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'crystal-ball'
ModuleNotFoundError: No module named 'crystal-ball'  Hi, My Python... 'crystal-ball' How to remove the ModuleNotFoundError: No module named 'crystal-ball' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'crystal-toolkit'
ModuleNotFoundError: No module named 'crystal-toolkit'  Hi, My... named 'crystal-toolkit' How to remove the ModuleNotFoundError: No module named 'crystal-toolkit' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'crystal-torture'
ModuleNotFoundError: No module named 'crystal-torture'  Hi, My... named 'crystal-torture' How to remove the ModuleNotFoundError: No module named 'crystal-torture' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'crystal-toolkit'
ModuleNotFoundError: No module named 'crystal-toolkit'  Hi, My... named 'crystal-toolkit' How to remove the ModuleNotFoundError: No module named 'crystal-toolkit' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'crystal-torture'
ModuleNotFoundError: No module named 'crystal-torture'  Hi, My... named 'crystal-torture' How to remove the ModuleNotFoundError: No module named 'crystal-torture' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'manage-crystal'
ModuleNotFoundError: No module named 'manage-crystal'  Hi, My... named 'manage-crystal' How to remove the ModuleNotFoundError: No module named 'manage-crystal' error? Thanks   Hi, In your python
Spring Framework with Crystal report
Spring Framework with Crystal report  here is my problem I have spring framework and I want to integrate Crystal report the problem is when Report...; <param-name>crystal_image_uri</param-name> <param-value>
ModuleNotFoundError: No module named 'aiida-crystal-dft'
ModuleNotFoundError: No module named 'aiida-crystal-dft'  Hi, My... named 'aiida-crystal-dft' How to remove the ModuleNotFoundError: No module named 'aiida-crystal-dft' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'django-crystal-big'
ModuleNotFoundError: No module named 'django-crystal-big'  Hi, My... named 'django-crystal-big' How to remove the ModuleNotFoundError: No module named 'django-crystal-big' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'django-crystal-big'
ModuleNotFoundError: No module named 'django-crystal-big'  Hi, My... named 'django-crystal-big' How to remove the ModuleNotFoundError: No module named 'django-crystal-big' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'django-crystal-small'
ModuleNotFoundError: No module named 'django-crystal-small'  Hi...: No module named 'django-crystal-small' How to remove the ModuleNotFoundError: No module named 'django-crystal-small' error? Thanks   Hi
reports creation
reports creation  hi................. how to create tabular format report in java swings?????????????   Please visit the following link: http://www.roseindia.net/java/example/java/swing
ModuleNotFoundError: No module named 'reports'
ModuleNotFoundError: No module named 'reports'  Hi, My Python... 'reports' How to remove the ModuleNotFoundError: No module named 'reports... to install padas library. You can install reports python with following command
creating reports in java
creating reports in java  how to create reports automatically in java and send it via mail by scheduling tine for weekly,monthly basis
Reports to pdf conversion
Reports to pdf conversion  I need to convert reports into pdf format using java.. Will i get any sample code
Version of com.stimulsoft>reports dependency
List of Version of com.stimulsoft>reports dependency
Reports in java - Swing AWT
How to create Reports in Java  How to create reports in java. The report should come from the access It should be displayed in the JTable and should be updated automatically when the user is saved a record in the JTable
how to create reports in swing java?
how to create reports in swing java?  how to create reports in swing java
Version of com.athaydes>spock-reports dependency
List of Version of com.athaydes>spock-reports dependency
ModuleNotFoundError: No module named 'admin_reports'
ModuleNotFoundError: No module named 'admin_reports'  Hi, My... 'admin_reports' How to remove the ModuleNotFoundError: No module named 'admin_reports' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'ambition-reports'
ModuleNotFoundError: No module named 'ambition-reports'  Hi, My... named 'ambition-reports' How to remove the ModuleNotFoundError: No module named 'ambition-reports' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'burp-reports'
ModuleNotFoundError: No module named 'burp-reports'  Hi, My Python... 'burp-reports' How to remove the ModuleNotFoundError: No module named 'burp-reports' error? Thanks   Hi, In your python

Ads