Jump to content
We've recently updated our Privacy Statement, available here ×

aamitt06

Members
  • Posts

    34
  • Joined

  • Last visited

aamitt06's Achievements

Contributor

Contributor (5/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Collaborator Rare

Recent Badges

0

Reputation

4

Community Answers

  1. I have gone through https://community.jaspersoft.com/documentation/jasperreports-server-user-guide/v55/setting-output-options but could not find suitable answer to connect to sftp port.
  2. when we schedule reports there is an output option in which output to ftp server option is there ,but my requirement is to transfer to sftp server
  3. Well I have resolved the issue initially what I was doing is using the command root@ubuntu:pg_dump --username=postgres --host=127.0.0.1 --port=5433 jasperserver > /home/user/JS_55_Backup.sql the problem with it was that there was another pg_dump on linux server which was of higher version and bundled postgresql of JasperServer uses 9.0.4 postgresql , to resolve this issue I gave the path of pg_dump inside jasperserver i.e root@ubuntu:~# /opt/jasperreports-server-cp-5.5.0/postgresql/bin/pg_dump --username=postgresql --host-127.0.0.1 --port=5433 jasperserver > /home/user/JS_55_Backup.sql
  4. According to me this is a version issue but dont know how to resolve this.
  5. Running command pg_dump --username=postgres --host=127.0.0.1 --port=5433 jasperserver > jasperdb.sql getting error pg_dump:column -1 out of range 0..21 pg_dumo:column -1 out of range 0..21 pg_dump: cannot duplicate null pointer. I have used bundled jasperserver database.
  6. For more detail visit http://amitptechnocrat.blogspot.in/2014/10/creating-user-using-jasperserver-rest.html
  7. http://amitptechnocrat.blogspot.in/2014/10/creating-user-using-jasperserver-rest.html
  8. I resolved the issue the mistake i was doing was that in String input = "{"username":"AgentUser22", ... instead of username it should be fullName and the correct fromat of descriptor should be String input = "{"fullName":"AgentUser22","password":"jasperadmi","emailAddress":"aamitt06@gmail.com","tenantid":"Ag","enabled":true, "externallyDefined":false,"roles":[{"name":"ROLE_USER"},{"name":"ROLE_VOUCHER"}]}"; JSONObject jObject = new JSONObject(input); Rest would be the same as above.
  9. After users when I am typing userid that already exists it gives me status 200 that is ok.
  10. I am trying to create user by following JasperServer rest api I am using JasperServer version 5.6.0 ,when I am passing put request with json data I am getting 400 Bad Request error Authenticator.setDefault(new Authenticator() { @Override protected PasswordAuthentication getPasswordAuthentication() { return new PasswordAuthentication("jasperadmin", "jasperadmin".toCharArray()); } }); String input = "{"username":"AgentUser22","password":"jasperadmi","fullname":"Agent User","emailAddress":"aamitt06@gmail.com","enabled":true,"externallyDefined":false,"roles":[{"name":"ROLE_AGENT"}]}"; JSONObject jObject = new JSONObject(input); ClientResponse response = service.path("rest_v2").path("users").path("AgentUser22").type("application/json") .put(ClientResponse.class,jObject);' System.out.println(jObject); if (response.getStatus() != 201) { throw new RuntimeException("Failed : HTTP error code : " + response.getStatus()); }
  11. But how jasper server will store users unique id ... Should there be a separate field in login page ?
  12. Please tell me if there is any method through which I can get the users unique id who logged into the Jasper Server, and that id could be used in the report to display only those records matching this id. Is there any parameter which can be referred or any other work around to obtain the logged in user name or any other way to deal with the issue. Thanks in Advance!!
  13. Thanks ernestoo I made changes in server.xml changed the ports and the issue was resolved.
×
×
  • Create New...