erika.chinchio
-
Posts
28 -
Joined
-
Last visited
Content Type
Profiles
Forum
Events
Featured Visualizations
Knowledge Base
Documentation (PDF Downloads)
Blog
Documentation (Test Area)
Documentation
Dr. Jaspersoft Webinar Series
Downloads
Posts posted by erika.chinchio
-
-
this is an example,
with TEST.XML (having namespace) it return empty page in jasperserver 8.1 and 8.2 (in the previus version it works well)
with TEST2.XML (not having namespace) it returns correctly page with field printed in all versions
I assumed there was a behavior change with respect to reading namespaced fields
example: (attached xml to test)
--------------------------with namespace----------------------------
<?xml version="1.0" encoding="UTF-8"?>
<jasperReport ........>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="test"/>
<parameter name="XML_INPUT_STREAM" class="java.io.InputStream">
<defaultValueExpression><![CDATA[new java.io.FileInputStream($P{FilePath})]]></defaultValueExpression>
</parameter>
<parameter name="FilePath" class="java.lang.String">
<defaultValueExpression><![CDATA["C:\TEST.XML"]]></defaultValueExpression>
</parameter>
<queryString language="xPath">
<![CDATA[/REPORTDATA/GRID/line]]>
</queryString>
<field name="NUMBER" class="java.lang.String">
<fieldDescription><![CDATA[NUMBER]]></fieldDescription>
</field>
<field name="DESC" class="java.lang.String">
<fieldDescription><![CDATA[DESC]]></fieldDescription>
</field>
<field name="DATE" class="java.lang.String">
<fieldDescription><![CDATA[DATE]]></fieldDescription>
</field>
<background>
<band splitType="Stretch"/>
</background>
<detail>
<band height="37" splitType="Stretch">
<textField>
<reportElement x="40" y="7" width="482" height="30" uuid="f40d2e63-f14a-4f06-b65d-45ed08a0fbc5"/>
<textFieldExpression><![CDATA[$F{DESC}]]></textFieldExpression>
</textField>
</band>
</detail>
</jasperReport>------------------without namespace
<?xml version="1.0" encoding="UTF-8"?>
<jasperReport ........>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="test2"/>
<parameter name="XML_INPUT_STREAM" class="java.io.InputStream">
<defaultValueExpression><![CDATA[new java.io.FileInputStream($P{FilePath})]]></defaultValueExpression>
</parameter>
<parameter name="FilePath" class="java.lang.String">
<defaultValueExpression><![CDATA["C:\TEST2.XML"]]></defaultValueExpression>
</parameter>
<queryString language="xPath">
<![CDATA[/REPORTDATA/GRID/line]]>
</queryString>
<field name="NUMBER" class="java.lang.String">
<fieldDescription><![CDATA[NUMBER]]></fieldDescription>
</field>
<field name="DESC" class="java.lang.String">
<fieldDescription><![CDATA[DESC]]></fieldDescription>
</field>
<field name="DATE" class="java.lang.String">
<fieldDescription><![CDATA[DATE]]></fieldDescription>
</field>
<background>
<band splitType="Stretch"/>
</background>
<detail>
<band height="37" splitType="Stretch">
<textField>
<reportElement x="40" y="7" width="482" height="30" uuid="f40d2e63-f14a-4f06-b65d-45ed08a0fbc5"/>
<textFieldExpression><![CDATA[$F{DESC}]]></textFieldExpression>
</textField>
</band>
</detail>
</jasperReport>thks erika
-
this is an example,
with TEST.XML (having namespace) it return empty page in jasperserver 8.1 and 8.2 (in the previus version it works well
with TEST2.XML (not having namespace) it return page with field printed
<?xml version="1.0" encoding="UTF-8"?>
<jasperReport ........>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="test"/>
<parameter name="XML_INPUT_STREAM" class="java.io.InputStream">
<defaultValueExpression><![CDATA[new java.io.FileInputStream($P{FilePath})]]></defaultValueExpression>
</parameter>
<parameter name="FilePath" class="java.lang.String">
<defaultValueExpression><![CDATA["C:\TEST.XML"]]></defaultValueExpression>
</parameter>
<queryString language="xPath">
<![CDATA[/REPORTDATA/GRID/line]]>
</queryString>
<field name="NUMBER" class="java.lang.String">
<fieldDescription><![CDATA[NUMBER]]></fieldDescription>
</field>
<field name="DESC" class="java.lang.String">
<fieldDescription><![CDATA[DESC]]></fieldDescription>
</field>
<field name="DATE" class="java.lang.String">
<fieldDescription><![CDATA[DATE]]></fieldDescription>
</field>
<background>
<band splitType="Stretch"/>
</background>
<detail>
<band height="37" splitType="Stretch">
<textField>
<reportElement x="40" y="7" width="482" height="30" uuid="f40d2e63-f14a-4f06-b65d-45ed08a0fbc5"/>
<textFieldExpression><![CDATA[$F{DESC}]]></textFieldExpression>
</textField>
</band>
</detail>
</jasperReport> -
hi
thank you I finally understand my errors
if I install openjdk-20.0.1 I have a warning (see as attached image)
if I install openjdk--11.0.19 all works fine
thks erika
-
Hi
with AdoptOpenJDK works, Installation finished successfull
thks erika
-
hi
I try to install last version 8.2.0 jasper server but the installation on window fail, I install java JDK 11 and Installation finished successfully
I try to install openjdk instead JDK 11 but I have same error
It is mandatory install oracle JDK 11 ?
thanks
erika
-
hi
I install JDK 11 and the installation finally completes successfully
than I try to install openjdk instead JDK 11 but I have same error
It is mandatory install JDK 11?
thanks
erika
-
I try to install openjdk instead JDK 11 but I have same error
It is mandatory install JDK 11?
thanks
erika
-
Hi when I use jav.io.InputStream to pass xml in subreport in 8.1.1 it returns empty pdf,
I understand the problem is the presence of namespace in xml,
I query ignoring namespace using version 8.0.2 it works perfectly, (es
<queryString language="XPath">
<![CDATA[/xml/IHead/data/row]]>
</queryString>(xml is like <xml > <Head > <rs:data>.......</rs:data> </Head ></xml >)
Now the same value of XPath retuns no value
how do i refer to node with namespace?
thks erika
-
after installing java the installation finished successfully
-
I have the same error of
https://community.jaspersoft.com/questions/1213026/problem-running-post-install-step, and it happens only with new version 8.2
thanks
erika
-
I understand the problem is namespace of xml, I don't know how can I refer a node with namespace using new version of jasper
thks
-
I have the same problem,
i have disintall all 8.0.0 and try to install 8.0.2 but I didn't succeed,
-
hi
I try to install last version 8.2.0 jasper server but the installation on window fails in the last step and the folder C:Jaspersoftjasperreports-server-cp-8.2.0appsjasperserver in empty
the error is Error running C:Jaspersoftjasperreports-server-cp-8.2.0/buildomatic/js-ant.bat import-minimal-ce
-
thanks,I await your instructions to solve the problem
erika
-
hi
when I use java.io.InputStream to pass xml in subreport in 8.1.1 it returns empty pdf,
ex ( <dataSourceExpression><![CDATA[((net.sf.jasperreports.engine.data.JRXmlDataSource)$P{REPORT_DATA_SOURCE}).dataSource("/xml/node1/node2/node3/node14/row")]]></dataSourceExpression>)
when I use version 8.0.2 it works perfectly
the problem is the same if I use the last version of jasper studio Jaspersoft® Studio 6.20.1 (this behavior is not present in Jaspersoft® Studio 6.18.1 )
Thanks in advance
erika
-
when i run js-upgrade-samedb-ce.bat i have this error_
BUILD FAILED
C:Jaspersoftjasperreports-server-cp-8.0.0buildomaticbinvalidation.xml:508: The following error occurred while executing this line:
C:Jaspersoftjasperreports-server-cp-8.0.0buildomaticbinvalidation.xml:377: The following error occurred while executing this line:
C:Jaspersoftjasperreports-server-cp-8.0.0buildomaticconf_sourcedbpostgresqldb.xml:54: The following error occurred while executing this line:
C:Jaspersoftjasperreports-server-cp-8.0.0buildomaticbinapp-server.xml:42: Unable to create javax script engine for javascriptcan someone help me?
-
hi
when i run js-upgrade-samedb-ce.bat i have this error_
BUILD FAILED
C:Jaspersoftjasperreports-server-cp-8.0.0buildomaticbinvalidation.xml:508: The following error occurred while executing this line:
C:Jaspersoftjasperreports-server-cp-8.0.0buildomaticbinvalidation.xml:377: The following error occurred while executing this line:
C:Jaspersoftjasperreports-server-cp-8.0.0buildomaticconf_sourcedbpostgresqldb.xml:54: The following error occurred while executing this line:
C:Jaspersoftjasperreports-server-cp-8.0.0buildomaticbinapp-server.xml:42: Unable to create javax script engine for javascriptcan someone help me?
-
hi,
did you try to take a look to logs in particular jasperserver.log?
[/code]
-
hi
Where I can find the documentation to upgrade fro version 8.0.2 to JasperReports Server Community Edition (v8.1.1)
Thanks in advance
erika
-
thanks Now I understand. you were very kind and explained very well
erika
-
I have questions about subreports
When I publish the report, its subreports are also published.
Where can I see them in jasper server? I see only main report (I'm in the community edition for jasper server and jasperstudio)
Can I publish only subreport? wuthout his mainreport ancd other subreports
can refer to a subreport on the server with an absolute path c: .... subreport.jasper (in this case may i
replace only the subreport)
thanks in advance
erika
-
hi
you can see the correct path of the report by right clicking on the report in jasper server and selecting menu properties
-
hi
you can see the correct path of the report by right clicking on the report in jasper server and selecting menu properties[/code]
-
Hi
I can't find files of the new version (8.0.2) in download section.
https://community.jaspersoft.com/download
thks erika
xml source with namespace
in Products
Posted
thks for your replay
but I try to define namespace and marked "enable namespaces support" in adapter, but in jasperserver I see pdf empty,
in the previuos version of jasper the same example works well
thks erika