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

nicolas.veilleux

Members
  • Posts

    17
  • Joined

  • Last visited

nicolas.veilleux's Achievements

  1. Hello, i add (only) a map component in report. In preview it's okay, but in server i don't work. After research, i create an api key for google map. In my google account, i see my (unrestricted) api key. If i set this api key in map (API Key field) i have in preview of jasper studio a Byte data not found error. I set a version, an other api key, but i have always this error. Any ideas? thanks!
  2. You must add this limit in sql query to return only 15 rows. Search in ms sql the keywords for that (LIMIT, ROWNUN, ...).
  3. Ok, I use this code to encrypt password with bouncycastle 1.57: Security.insertProviderAt(new BouncyCastleProvider(), 1); RSAPublicKeySpec publicKeySpec = new RSAPublicKeySpec(new BigInteger(n, 16), new BigInteger(e, 16)); PublicKey publicKey = KeyFactory.getInstance("RSA").generatePublic(publicKeySpec); Cipher cipher = Cipher.getInstance("RSA/NONE/NoPadding", "BC"); cipher.init(Cipher.ENCRYPT_MODE, publicKey); byte[] cipherText = cipher.doFinal("joeuser".getBytes("UTF8")); return Base64.encodeBase64String(cipherText);[/code] After, i use this direct url and i have an error on login page :...standAlone=true&j_username=joeuser&j_password=gReYRml7YlMuEQ2... BUT, if i write the password in plain text, this url works : ...standAlone=true&j_username=joeuser&j_password=joeuser Encryption is enabled, so why the plain text version works, and not the encrypted version ? If i turn off encryption, the rest service returns Error: Key generation is off.Maybe i have to use somewhere the attribute 'maxdigits' to build public key ?
  4. Hello, i enable the login encryption in my jasper server, and i want use a dynamic key encryption ( http://community.jaspersoft.com/documentation/jasperreports-server-web-services-guide/v56/login-encryption). The rest service 'GetEncryptionKey' returns : { "maxdigits":"131", "e":"10001", "n":"9f8a2dc4baa260a5835fa33ef94c..."}[/code] But, how i build the public key with this ? I tried this code : byte[] publicBytes = Base64.decodeBase64(responseBody); X509EncodedKeySpec keySpec = new X509EncodedKeySpec(publicBytes); KeyFactory keyFactory = KeyFactory.getInstance("RSA"); PublicKey publicKey = keyFactory.generatePublic(keySpec);[/code] but i have a java.security.InvalidKeyException: invalid key format. What is the solution ? Thx!
  5. Hello, i am looking to add filters on table column headers in jaspersoft studio, as showed in this sample on jasper server : I don't find the source of this report. Any ideas ? Thx!
  6. Check in the apache tomcat directory : apache-tomcatwebappsjasperserverWEB-INFlogsjasperserver.log
  7. For example, you can pass a string (as parameter) who represents a date. After in your rapport, you can build a java.sql.util.Date with this string representation. You can import <import value="org.apache.commons.lang.time.*"/> to use DateUtils in expressions.
  8. Okay, i download the JasperStudio 6.3.1 and 'Ignore pagination' works (on the SAME report) in preview and the compiled report works too in server. So, it's a bug of 6.4.0.
  9. Just click on the report file in server. Your USER must have the right 'execute' on this report. See : http://community.jaspersoft.com/wiki/connect-jaspersoft-studio-jasperreports-server to correctly import report.
  10. Hello, in JasperStudio 6.4 i have a simple report with a title, a group and a detail band. I don't understand why i have a break page between my detail bands. If i check 'Ignore pagination', i have two blank page. In jasper server, it's the same thing. I tried to modify many options, change size, but i have always this page break. My report detail and preview :
  11. Hello, i search to add a cascading input control. I found this : http://community.jaspersoft.com/documentation/tibco-jasperreports-server-user-guide/v62/cascading-input-controls But, where is the report "16. Interactive Sales Report" ? Any ideas ? thanks !
×
×
  • Create New...