StiDeserializationException
Добавлено: 18 июн 2013, 17:18
Коллеги, возникла проблема с отображением сохраненного отчета в Web Viewer'е.
Насколько я понимаю, проблема с чтением зашифрованного connection string'а из шаблона.
Лог JBoss:
Ошибка, отображаемая на JSP странице:
Шаблон отчета, сохраненный из дизайнера:
Код JSP страницы с viewer'ом:
Насколько я понимаю, проблема с чтением зашифрованного connection string'а из шаблона.
Лог JBoss:
Код: Выделить всё
19:09:28,945 INFO [stdout] (http--127.0.0.1-1080-3) =======================deserializeReport=======================
19:09:28,949 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/MMS_APP_SERVICES].[jsp]] (http--127.0.0.1-1080-3) Servlet.service() for servlet jsp threw exception: java.lang.NoClassDefFoundError: com/sun/org/apache/xerces/internal/impl/dv/util/Base64
at com.stimulsoft.report.dictionary.databases.StiEncryptionConnectionString.decrypt(StiEncryptionConnectionString.java:51) [stimulsoft.reports-report-2013.2.1609-trial.jar:]
at com.stimulsoft.report.dictionary.databases.StiJDBCDatabase.setConnectionStringEncrypted(StiJDBCDatabase.java:196) [stimulsoft.reports-report-2013.2.1609-trial.jar:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_21]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_21]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_21]
at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_21]
at com.stimulsoft.base.serializing.StiDeserializerReport.setPropertyInInstance(StiDeserializerReport.java:267) [stimulsoft.reports-base-2013.2.1609-trial.jar:]
at com.stimulsoft.base.serializing.StiDeserializerReport.deserializeChildren(StiDeserializerReport.java:82) [stimulsoft.reports-base-2013.2.1609-trial.jar:]
at com.stimulsoft.base.serializing.StiDeserializerReport.deserialize(StiDeserializerReport.java:53) [stimulsoft.reports-base-2013.2.1609-trial.jar:]
at com.stimulsoft.base.serializing.StiDeserializerControler.deserializeBranch(StiDeserializerControler.java:186) [stimulsoft.reports-base-2013.2.1609-trial.jar:]
at com.stimulsoft.base.serializing.StiDeserializerReport.deserializeObject(StiDeserializerReport.java:135) [stimulsoft.reports-base-2013.2.1609-trial.jar:]
at com.stimulsoft.base.serializing.StiDeserializerReport.deserializObjectInList(StiDeserializerReport.java:207) [stimulsoft.reports-base-2013.2.1609-trial.jar:]
at com.stimulsoft.base.serializing.StiDeserializerReport.listObject(StiDeserializerReport.java:192) [stimulsoft.reports-base-2013.2.1609-trial.jar:]
at com.stimulsoft.base.serializing.StiDeserializerReport.deserializeCollection(StiDeserializerReport.java:166) [stimulsoft.reports-base-2013.2.1609-trial.jar:]
at com.stimulsoft.base.serializing.StiDeserializerReport.deserializeChild(StiDeserializerReport.java:100) [stimulsoft.reports-base-2013.2.1609-trial.jar:]
at com.stimulsoft.base.serializing.StiDeserializerReport.deserializeChildren(StiDeserializerReport.java:81) [stimulsoft.reports-base-2013.2.1609-trial.jar:]
at com.stimulsoft.base.serializing.StiDeserializerReport.deserialize(StiDeserializerReport.java:53) [stimulsoft.reports-base-2013.2.1609-trial.jar:]
at com.stimulsoft.base.serializing.StiDeserializerControler.deserializeBranch(StiDeserializerControler.java:186) [stimulsoft.reports-base-2013.2.1609-trial.jar:]
at com.stimulsoft.base.serializing.StiDeserializerReport.deserializeObject(StiDeserializerReport.java:135) [stimulsoft.reports-base-2013.2.1609-trial.jar:]
at com.stimulsoft.base.serializing.StiDeserializerReport.deserializeObject(StiDeserializerReport.java:123) [stimulsoft.reports-base-2013.2.1609-trial.jar:]
at com.stimulsoft.base.serializing.StiDeserializerReport.deserializeChild(StiDeserializerReport.java:98) [stimulsoft.reports-base-2013.2.1609-trial.jar:]
at com.stimulsoft.base.serializing.StiDeserializerReport.deserializeChildren(StiDeserializerReport.java:81) [stimulsoft.reports-base-2013.2.1609-trial.jar:]
at com.stimulsoft.base.serializing.StiDeserializerReport.deserialize(StiDeserializerReport.java:53) [stimulsoft.reports-base-2013.2.1609-trial.jar:]
at com.stimulsoft.base.serializing.StiDeserializerControler.deserializeReportWithoutException(StiDeserializerControler.java:91) [stimulsoft.reports-base-2013.2.1609-trial.jar:]
at com.stimulsoft.base.serializing.StiDeserializerControler.deserializeReport(StiDeserializerControler.java:61) [stimulsoft.reports-base-2013.2.1609-trial.jar:]
at com.stimulsoft.report.StiSerializeManager.deserializeReport(StiSerializeManager.java:29) [stimulsoft.reports-report-2013.2.1609-trial.jar:]
at org.apache.jsp.viewer_jsp._jspService(viewer_jsp.java:137)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) [jbossweb-7.0.13.Final.jar:]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369) [jbossweb-7.0.13.Final.jar:]
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326) [jbossweb-7.0.13.Final.jar:]
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253) [jbossweb-7.0.13.Final.jar:]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]
at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_21]
Ошибка, отображаемая на JSP странице:
Код: Выделить всё
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: com.stimulsoft.base.serializing.StiDeserializationException: java.lang.RuntimeException:
Could not set value: '2lpniOgJw3ziW9WBYv1yJ9TSZ8lNFzGVQ3v5gGVg9W7G1HfCTUypgW9d0MDqKPZGw8T36GECy/Hg
QqiR5ljnEsJWzUDjS/v9zFHhjGUE4iPSVGHCRhap/epdpVhjTKB71XR/i2EWu4VqBqHg4XiiP9Tu
96PNS0nN4xu93GJcZZ4=' класс 'class java.lang.String'
метод 'public final void com.stimulsoft.report.dictionary.databases.StiJDBCDatabase.setConnectionStringEncrypted(java.lang.String) throws java.security.NoSuchAlgorithmException'
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:862)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)
org.apache.jsp.viewer_jsp._jspService(viewer_jsp.java:164)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
root cause
com.stimulsoft.base.serializing.StiDeserializationException: java.lang.RuntimeException:
Could not set value: '2lpniOgJw3ziW9WBYv1yJ9TSZ8lNFzGVQ3v5gGVg9W7G1HfCTUypgW9d0MDqKPZGw8T36GECy/Hg
QqiR5ljnEsJWzUDjS/v9zFHhjGUE4iPSVGHCRhap/epdpVhjTKB71XR/i2EWu4VqBqHg4XiiP9Tu
96PNS0nN4xu93GJcZZ4=' класс 'class java.lang.String'
метод 'public final void com.stimulsoft.report.dictionary.databases.StiJDBCDatabase.setConnectionStringEncrypted(java.lang.String) throws java.security.NoSuchAlgorithmException'
com.stimulsoft.base.serializing.StiDeserializerControler.deserializeReport(StiDeserializerControler.java:67)
com.stimulsoft.report.StiSerializeManager.deserializeReport(StiSerializeManager.java:29)
org.apache.jsp.viewer_jsp._jspService(viewer_jsp.java:137)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
root cause
java.lang.RuntimeException:
Could not set value: '2lpniOgJw3ziW9WBYv1yJ9TSZ8lNFzGVQ3v5gGVg9W7G1HfCTUypgW9d0MDqKPZGw8T36GECy/Hg
QqiR5ljnEsJWzUDjS/v9zFHhjGUE4iPSVGHCRhap/epdpVhjTKB71XR/i2EWu4VqBqHg4XiiP9Tu
96PNS0nN4xu93GJcZZ4=' класс 'class java.lang.String'
метод 'public final void com.stimulsoft.report.dictionary.databases.StiJDBCDatabase.setConnectionStringEncrypted(java.lang.String) throws java.security.NoSuchAlgorithmException'
com.stimulsoft.base.serializing.StiDeserializerReport.setPropertyInInstance(StiDeserializerReport.java:269)
com.stimulsoft.base.serializing.StiDeserializerReport.deserializeChildren(StiDeserializerReport.java:82)
com.stimulsoft.base.serializing.StiDeserializerReport.deserialize(StiDeserializerReport.java:53)
com.stimulsoft.base.serializing.StiDeserializerControler.deserializeBranch(StiDeserializerControler.java:186)
com.stimulsoft.base.serializing.StiDeserializerReport.deserializeObject(StiDeserializerReport.java:135)
com.stimulsoft.base.serializing.StiDeserializerReport.deserializObjectInList(StiDeserializerReport.java:207)
com.stimulsoft.base.serializing.StiDeserializerReport.listObject(StiDeserializerReport.java:192)
com.stimulsoft.base.serializing.StiDeserializerReport.deserializeCollection(StiDeserializerReport.java:166)
com.stimulsoft.base.serializing.StiDeserializerReport.deserializeChild(StiDeserializerReport.java:100)
com.stimulsoft.base.serializing.StiDeserializerReport.deserializeChildren(StiDeserializerReport.java:81)
com.stimulsoft.base.serializing.StiDeserializerReport.deserialize(StiDeserializerReport.java:53)
com.stimulsoft.base.serializing.StiDeserializerControler.deserializeBranch(StiDeserializerControler.java:186)
com.stimulsoft.base.serializing.StiDeserializerReport.deserializeObject(StiDeserializerReport.java:135)
com.stimulsoft.base.serializing.StiDeserializerReport.deserializeObject(StiDeserializerReport.java:123)
com.stimulsoft.base.serializing.StiDeserializerReport.deserializeChild(StiDeserializerReport.java:98)
com.stimulsoft.base.serializing.StiDeserializerReport.deserializeChildren(StiDeserializerReport.java:81)
com.stimulsoft.base.serializing.StiDeserializerReport.deserialize(StiDeserializerReport.java:53)
com.stimulsoft.base.serializing.StiDeserializerControler.deserializeReportWithoutException(StiDeserializerControler.java:91)
com.stimulsoft.base.serializing.StiDeserializerControler.deserializeReport(StiDeserializerControler.java:61)
com.stimulsoft.report.StiSerializeManager.deserializeReport(StiSerializeManager.java:29)
org.apache.jsp.viewer_jsp._jspService(viewer_jsp.java:137)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
root cause
java.lang.reflect.InvocationTargetException
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:601)
com.stimulsoft.base.serializing.StiDeserializerReport.setPropertyInInstance(StiDeserializerReport.java:267)
com.stimulsoft.base.serializing.StiDeserializerReport.deserializeChildren(StiDeserializerReport.java:82)
com.stimulsoft.base.serializing.StiDeserializerReport.deserialize(StiDeserializerReport.java:53)
com.stimulsoft.base.serializing.StiDeserializerControler.deserializeBranch(StiDeserializerControler.java:186)
com.stimulsoft.base.serializing.StiDeserializerReport.deserializeObject(StiDeserializerReport.java:135)
com.stimulsoft.base.serializing.StiDeserializerReport.deserializObjectInList(StiDeserializerReport.java:207)
com.stimulsoft.base.serializing.StiDeserializerReport.listObject(StiDeserializerReport.java:192)
com.stimulsoft.base.serializing.StiDeserializerReport.deserializeCollection(StiDeserializerReport.java:166)
com.stimulsoft.base.serializing.StiDeserializerReport.deserializeChild(StiDeserializerReport.java:100)
com.stimulsoft.base.serializing.StiDeserializerReport.deserializeChildren(StiDeserializerReport.java:81)
com.stimulsoft.base.serializing.StiDeserializerReport.deserialize(StiDeserializerReport.java:53)
com.stimulsoft.base.serializing.StiDeserializerControler.deserializeBranch(StiDeserializerControler.java:186)
com.stimulsoft.base.serializing.StiDeserializerReport.deserializeObject(StiDeserializerReport.java:135)
com.stimulsoft.base.serializing.StiDeserializerReport.deserializeObject(StiDeserializerReport.java:123)
com.stimulsoft.base.serializing.StiDeserializerReport.deserializeChild(StiDeserializerReport.java:98)
com.stimulsoft.base.serializing.StiDeserializerReport.deserializeChildren(StiDeserializerReport.java:81)
com.stimulsoft.base.serializing.StiDeserializerReport.deserialize(StiDeserializerReport.java:53)
com.stimulsoft.base.serializing.StiDeserializerControler.deserializeReportWithoutException(StiDeserializerControler.java:91)
com.stimulsoft.base.serializing.StiDeserializerControler.deserializeReport(StiDeserializerControler.java:61)
com.stimulsoft.report.StiSerializeManager.deserializeReport(StiSerializeManager.java:29)
org.apache.jsp.viewer_jsp._jspService(viewer_jsp.java:137)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
root cause
java.lang.NoClassDefFoundError: com/sun/org/apache/xerces/internal/impl/dv/util/Base64
com.stimulsoft.report.dictionary.databases.StiEncryptionConnectionString.decrypt(StiEncryptionConnectionString.java:51)
com.stimulsoft.report.dictionary.databases.StiJDBCDatabase.setConnectionStringEncrypted(StiJDBCDatabase.java:196)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:601)
com.stimulsoft.base.serializing.StiDeserializerReport.setPropertyInInstance(StiDeserializerReport.java:267)
com.stimulsoft.base.serializing.StiDeserializerReport.deserializeChildren(StiDeserializerReport.java:82)
com.stimulsoft.base.serializing.StiDeserializerReport.deserialize(StiDeserializerReport.java:53)
com.stimulsoft.base.serializing.StiDeserializerControler.deserializeBranch(StiDeserializerControler.java:186)
com.stimulsoft.base.serializing.StiDeserializerReport.deserializeObject(StiDeserializerReport.java:135)
com.stimulsoft.base.serializing.StiDeserializerReport.deserializObjectInList(StiDeserializerReport.java:207)
com.stimulsoft.base.serializing.StiDeserializerReport.listObject(StiDeserializerReport.java:192)
com.stimulsoft.base.serializing.StiDeserializerReport.deserializeCollection(StiDeserializerReport.java:166)
com.stimulsoft.base.serializing.StiDeserializerReport.deserializeChild(StiDeserializerReport.java:100)
com.stimulsoft.base.serializing.StiDeserializerReport.deserializeChildren(StiDeserializerReport.java:81)
com.stimulsoft.base.serializing.StiDeserializerReport.deserialize(StiDeserializerReport.java:53)
com.stimulsoft.base.serializing.StiDeserializerControler.deserializeBranch(StiDeserializerControler.java:186)
com.stimulsoft.base.serializing.StiDeserializerReport.deserializeObject(StiDeserializerReport.java:135)
com.stimulsoft.base.serializing.StiDeserializerReport.deserializeObject(StiDeserializerReport.java:123)
com.stimulsoft.base.serializing.StiDeserializerReport.deserializeChild(StiDeserializerReport.java:98)
com.stimulsoft.base.serializing.StiDeserializerReport.deserializeChildren(StiDeserializerReport.java:81)
com.stimulsoft.base.serializing.StiDeserializerReport.deserialize(StiDeserializerReport.java:53)
com.stimulsoft.base.serializing.StiDeserializerControler.deserializeReportWithoutException(StiDeserializerControler.java:91)
com.stimulsoft.base.serializing.StiDeserializerControler.deserializeReport(StiDeserializerControler.java:61)
com.stimulsoft.report.StiSerializeManager.deserializeReport(StiSerializeManager.java:29)
org.apache.jsp.viewer_jsp._jspService(viewer_jsp.java:137)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
note The full stack trace of the root cause is available in the JBoss Web/7.0.13.Final logs.
Шаблон отчета, сохраненный из дизайнера:
Код: Выделить всё
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<StiSerializer version="1.02" application="StiReport" type="Flex">
<Dictionary isKey="true" Ref="1" type="Dictionary">
<Databases count="1" isList="true">
<mysql isKey="true" Ref="2" type="Stimulsoft.Report.Dictionary.StiJdbcDatabase">
<Alias>mysql</Alias>
<ConnectionStringEncrypted>2lpniOgJw3ziW9WBYv1yJ9TSZ8lNFzGVQ3v5gGVg9W7G1HfCTUypgW9d0MDqKPZGw8T36GECy/Hg
QqiR5ljnEsJWzUDjS/v9zFHhjGUE4iPSVGHCRhap/epdpVhjTKB71XR/i2EWu4VqBqHg4XiiP9Tu
96PNS0nN4xu93GJcZZ4=</ConnectionStringEncrypted>
<Name>mysql</Name>
</mysql>
</Databases>
<DataSources count="1" isList="true">
<DataSource1 isKey="true" Ref="3" type="Stimulsoft.Report.Dictionary.StiJdbcSource">
<Alias>DataSource1</Alias>
<Columns count="1" isList="true">
<value>USE_NAME,System.String</value>
</Columns>
<CommandTimeout>30</CommandTimeout>
<Dictionary isRef="1"/>
<Name>DataSource1</Name>
<NameInSource>mysql</NameInSource>
<Parameters count="0" isList="true"/>
<SqlCommand>SELECT USE_NAME FROM ST_USER</SqlCommand>
</DataSource1>
</DataSources>
<Relations count="0" isList="true"/>
<Report isRef="0"/>
<Variables count="0" isList="true"/>
</Dictionary>
<EngineVersion>EngineV2</EngineVersion>
<GlobalizationStrings count="0" isList="true"/>
<MetaTags count="0" isList="true"/>
<Pages count="1" isList="true">
<Page1 isKey="true" Ref="4" type="Page">
<Border>None;Black;2;Solid;False;4;Black</Border>
<Brush>Transparent</Brush>
<Components count="1" isList="true">
<DataBand1 isKey="true" Ref="5" type="DataBand">
<Brush>Transparent</Brush>
<ClientRectangle>0,0.4,19,0.8</ClientRectangle>
<Components count="2" isList="true">
<Text1 isKey="true" Ref="6" type="Text">
<Brush>Transparent</Brush>
<CanBreak>True</CanBreak>
<ClientRectangle>3.8,0.2,8.2,0.6</ClientRectangle>
<Conditions count="0" isList="true"/>
<Font>Arial,10</Font>
<Margins>0,0,0,0</Margins>
<Name>Text1</Name>
<Page isRef="4"/>
<Parent isRef="5"/>
<Text>{DataSource1.USE_NAME}</Text>
<TextBrush>Black</TextBrush>
</Text1>
<Text2 isKey="true" Ref="7" type="Text">
<Brush>Transparent</Brush>
<CanBreak>True</CanBreak>
<ClientRectangle>1,0.2,2.8,0.6</ClientRectangle>
<Conditions count="0" isList="true"/>
<Font>Arial,10</Font>
<Margins>0,0,0,0</Margins>
<Name>Text2</Name>
<Page isRef="4"/>
<Parent isRef="5"/>
<Text>USE_NAME</Text>
<TextBrush>Black</TextBrush>
</Text2>
</Components>
<Conditions count="0" isList="true"/>
<DataSourceName>DataSource1</DataSourceName>
<Filters count="0" isList="true"/>
<Name>DataBand1</Name>
<Page isRef="4"/>
<Parent isRef="4"/>
<Sort count="0" isList="true"/>
</DataBand1>
</Components>
<Conditions count="0" isList="true"/>
<Guid>1cc0aaeb1eec8f2197fd571a8ccaec5d</Guid>
<Margins>1,1,1,1</Margins>
<Name>Page1</Name>
<PageHeight>29.7</PageHeight>
<PageWidth>21</PageWidth>
<Report isRef="0"/>
<Watermark isKey="true" Ref="8" type="Stimulsoft.Report.Components.StiWatermark">
<Font>Arial,100</Font>
<TextBrush>[50:0:0:0]</TextBrush>
</Watermark>
</Page1>
</Pages>
<PrinterSettings isKey="true" Ref="9" type="Stimulsoft.Report.Print.StiPrinterSettings"/>
<ReportAlias>Report</ReportAlias>
<ReportChanged>06/18/2013 06:34:07 PM</ReportChanged>
<ReportCreated>06/18/2013 05:45:25 PM</ReportCreated>
<ReportFile>Report.mrt</ReportFile>
<ReportGuid>d483cbe2404f1232550e574725cb832f</ReportGuid>
<ReportName>Report</ReportName>
<ReportUnit>Centimeters</ReportUnit>
<ReportVersion>2013.1.1600</ReportVersion>
<ScriptLanguage>CSharp</ScriptLanguage>
<Styles count="0" isList="true"/>
</StiSerializer>
Код: Выделить всё
<%
//render report from mrt file
StiReport report = StiSerializeManager.deserializeReport(new File("C:/reports/Report.mrt"));
report.Render(false);
pageContext.setAttribute("report", report);
%>
<stiwebviewer:webviewer
report="${report}" />