erez.raveh Posted April 14, 2016 Share Posted April 14, 2016 Hi All,I am using JDeploy (v.02.00.00) app to upload my report to jasper server 6.2.0 (cummunity version)i cannot deploy my report becuse i cant get all of my data sources on my server.List dsList = jserver.getWSClient().listDatasources();public java.util.List listDatasources() throws Exception {Request req = new Request();req.setOperationName(Request.OPERATION_LIST);req.setResourceDescriptor(null);req.setLocale(getServer().getLocale());req.getArguments().add(new Argument(Argument.LIST_DATASOURCES, Argument.VALUE_TRUE));StringWriter xmlStringWriter = new StringWriter();Marshaller.marshal(req, xmlStringWriter);return list(xmlStringWriter.toString());} this is the xml without the data sources. <?xml version="1.0" encoding="UTF-8"?><request operationName="list"><argument name="LIST_DATASOURCES"><![CDATA[true]]></argument></request> listDatasources() function throw this exeption: 1 - Unknown entity: com.jaspersoft.jasperserver.api.metadata.jasperreports.domain.impl.datasource.RepoReportDataSource; nested exception is org.hibernate.MappingException: Unknown entity: com.jaspersoft.jasperserver.api.metadata.jasperreports.domain.impl.datasource.RepoReportDataSource what is wrong with this implementation?how can i get list of all my data sources from jasper server? thanks,erez Link to comment Share on other sites More sharing options...
ives.stoddard Posted June 25, 2020 Share Posted June 25, 2020 Hello Erez. Were you ever able to find a solution for this? I'm trying to do something similar (update datasource credentials programmatically for password rotation. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now