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

skolluri

Members
  • Posts

    36
  • 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

Everything posted by skolluri

  1. hey Javi, This post might have the answer you are looking for. It tells you about how to change the landing page to be something else other than home. http://jasperforge.org/plugins/espforum/view.php?group_id=112&forumid=102&topicid=15545 Hope that helps! Good Luck! Sridevi
  2. Hi Rohini, Thanks for sharing your solution for this problem. That is a neat solution. I ended up writing a filter to do exactly the same thing as you are doing. I wrote a filter, and added it to a jar and put the jar file in ../jasperserver/WEB-INF/lib directory. This filter replaces the "RequestParameterAuthenticationFilter" that was JasperServer's filter, which basically takes the username and password from the query string and adds it to the Authentication object. I basically updated that code, to decrypt the username and password after taking it from the query string, but before adding it to the Authentication object - just like you did in the java script function. Thanks again for sharing your solution! Sridevi
  3. hi tkavanagh, Thanks sooo much for your reply!! The webapps directory in Resin is <Resin install>/webapps. I kinda did something similar to what you said on my own without using the deploy script - Looking at the ant target for deploy-webapp-ce, I found that the warSourceDir was coming out to be jasperserver3.1.6/buildomatic/install_resources/war/jasperserver. I did not have the same directory structure in my installation. There was no "war" folder inside install_resources. So I used the war file from the 3.5 installation (<unzipped directory - jasperserver3.1.6-bin>/jasperserver.war ). I deleted the existing war (for 3.0) from the webapps folder, and copied the war file from the 3.5 installation. Since the dataasource stuff is already in place in the resin.conf from the previous 3.0 installation, I didnt have to change anything. I restarted the server after copying the war file, and checked in the mysql database - JIUser table. The passwords were encrypted. They were not earlier in 3.0. Is this sufficient? Thanks, Sridevi
  4. Hi, Does anyone have an answer to my question of how to setup Resin server for upgrade to JasperServer 3.5? I really need to get this working, and I havent found a solution to it yet. Any of the JasperServer support team member? Smwoods, Lucian, AnandRaj? Can you please help? Thanks, Sridevi
  5. hey, I have been running JasperServer 3.0 on Resin for the past few months. I used the WAR file deploy method. It works great. The only problem I have is when i try to upgrade JS 3.0 to JS 3.5. The upgrade scripts dont take any other app server (except tomcat, jboss and glassfish) into consideration. So its failing at the last step , since it doesnt recognize Resin. Has anyone tried this? Or know how to resolve this? Thanks, Sridevi
  6. I guess I was elated too fast! The zip problem seems to have been fixed, but my original appServerType problem is back again. When I run the final ant command - js-ant deploy-webapp-ce, i get a BUILD FAILED with this message - BUILD FAILED /opt/downloads/jasperserver-3.5.0-bin/buildomatic/setup.xml:461: The following error occurred while executing this line: /opt/downloads/jasperserver-3.5.0-bin/buildomatic/setup.xml:449: Unknown value of appServerType resin Any idea how to set Resin in the setup.xml file? This is what I added for Resin - (in the CODE section below). I am not sure if resin.jar is the file to test for. Does anyone know what i need to do for Resin server? The setup.xml is only set up for Tomcat, JBoss and Glassfish currently. If anyone knows the answer, please let me know! Thanks, Sridevi Code:<if> <available file="${appServerDir}/lib/resin.jar"/> <then> <var name="appServerType" unset="true"/> <var name="appServerJdbcDir" unset="true"/> <var name="appServerWorkDir" unset="true"/> <property name="appServerType" value="resin"/> <property name="appServerJdbcDir" value="${appServerDir}/lib"/> <property name="appServerWorkDir" value="${appServerDir}/webapps"/> </then> </if>
  7. I seemed to have fixed it. I am not sure, but the ant command now runs fine without the error it was throwing before! When I exported the repo data from the JS 3.0 version earlier, I named the file - js-3.0-export.zip. But I suddenly got the idea that maybe the code is looking for a js-3.1-export.zip file, so I renamed the zip file to the 3,1 version. and it worked! Dont know how! i would think that it would look for a zip file and not particularly the name. But the command executed with a BUILD SUCCESSFUL result in the end! Thanks, Sridevi
  8. hey Ramnik, I seemed to have fixed it. I am not sure, but the ant command now runs fine without the error it was throwing before! When I exported the repo data from the JS 3.0 version earlier, I named the file - js-3.0-export.zip. But I suddenly got the idea that maybe the code is looking for a js-3.1-export.zip file, so I renamed the zip file to the 3,1 version. and it worked! Dont know how! i would think that it would look for a zip file and not particularly the name. But the command executed with a BUILD SUCCESSFUL result in the end! Thanks, Sridevi
  9. hey ramnik, thanks for your reply. No, I didnt manually zip the data. I followed the instruction from the Install guide for 3.5, under Section 7.3 Export Your 3.1 Repo data. I ran the command - js-export.sh --everything --output-zip js-3.0-export.zip, and it created the zip file for me. I already ran the ant command to drop database and recreate it. Wouldnt it be a little late to execute the js-ant import command again with the -D option? Thanks, Sridevi
  10. hey reportah, Can you tell me which directory the apach-ant files are in? Is it the buildomatic directory, where the js-ant script is? I was able to run the first 3 ant commands, just not the importupgrade-ce one. But hope this is the cause for the zip file notb eing opened! Thanks, Sridevi
  11. hey, I am having the same problem too when I run the js-ant import-upgrade-ce script - during the process of upgrading JS 3.0 to 3.5. This is the error I am getting - 13:53:36,937 ERROR ImporterImpl:109 - java.util.zip.ZipException: error in opening zip file [java] 13:53:36,957 ERROR BaseExportImportCommand:45 - com.jaspersoft.jasperserver.api.JSExceptionWrapper: error in opening zip file [java] com.jaspersoft.jasperserver.api.JSExceptionWrapper: java.util.zip.ZipException: error in opening zip file [java] at java.util.zip.ZipFile.open(Native Method) [java] at java.util.zip.ZipFile.<init>(ZipFile.java:114) [java] at com.jaspersoft.jasperserver.export.io.ZipFileInput.open(ZipFileInput.java:51) [java] at com.jaspersoft.jasperserver.export.ImporterImpl.performImport(ImporterImpl.java:92) [java] at com.jaspersoft.jasperserver.export.ImportCommandImpl.process(ImportCommandImpl.java:57) [java] at com.jaspersoft.jasperserver.export.BaseExportImportCommand.process(BaseExportImportCommand.java:87) [java] at com.jaspersoft.jasperserver.export.ImportCommand.main(ImportCommand.java:43) I see there is a ZipFileInput.java class in the source, but no idea where it is being set in the ImporterImpl.java. Any ideas? Please let me know if you know any resolution for this problem! Thanks, Sridevi
  12. hey jfields, thanks for your reply. I added another if element in setup.xml testing for the appserver - "resin". I dont know if it is right, or if the values i gave for the diffferent properties are right, but I was able to execute the drop, create, init , import database scripts successfully. Now, I am trying to execute the js-ant import-upgrade-ce script, and am getting this error - 13:53:36,937 ERROR ImporterImpl:109 - java.util.zip.ZipException: error in opening zip file [java] 13:53:36,957 ERROR BaseExportImportCommand:45 - com.jaspersoft.jasperserver.api.JSExceptionWrapper: error in opening zip file [java] com.jaspersoft.jasperserver.api.JSExceptionWrapper: java.util.zip.ZipException: error in opening zip file [java] at java.util.zip.ZipFile.open(Native Method) [java] at java.util.zip.ZipFile.<init>(ZipFile.java:114) [java] at com.jaspersoft.jasperserver.export.io.ZipFileInput.open(ZipFileInput.java:51) [java] at com.jaspersoft.jasperserver.export.ImporterImpl.performImport(ImporterImpl.java:92) [java] at com.jaspersoft.jasperserver.export.ImportCommandImpl.process(ImportCommandImpl.java:57) [java] at com.jaspersoft.jasperserver.export.BaseExportImportCommand.process(BaseExportImportCommand.java:87) [java] at com.jaspersoft.jasperserver.export.ImportCommand.main(ImportCommand.java:43) [java] Java Result: 255 It is not able to open the database import zip file. Anyone has any idea why? Is anyone from the JasperServer support team around? Can you please help me figure this out? Thanks, Sridevi
  13. hey Paul, Thanks for your reply! I thought it was going pretty good,till I came to section 7.6 - Upgrade to 3.5 section of the Install guide! First it said, it couldnt find the appServerType. I am using Resin server, not Tomcat or Jboss or glassfish. So, i checked the setup.xml, and found that if it is not one of the above, then it doesnt set the variable appServerType. So, I added another if element in setup.xml testing for the appserver - "resin". I dont know if it is right, or if the values i gave for the diffferent properties are right, but I was able to execute the drop, create, init , import database scripts successfully. Now, I am trying to execute the js-ant import-upgrade-ce script, and am getting this error - 13:53:36,937 ERROR ImporterImpl:109 - java.util.zip.ZipException: error in opening zip file [java] 13:53:36,957 ERROR BaseExportImportCommand:45 - com.jaspersoft.jasperserver.api.JSExceptionWrapper: error in opening zip file [java] com.jaspersoft.jasperserver.api.JSExceptionWrapper: java.util.zip.ZipException: error in opening zip file [java] at java.util.zip.ZipFile.open(Native Method) [java] at java.util.zip.ZipFile.<init>(ZipFile.java:114) [java] at com.jaspersoft.jasperserver.export.io.ZipFileInput.open(ZipFileInput.java:51) [java] at com.jaspersoft.jasperserver.export.ImporterImpl.performImport(ImporterImpl.java:92) [java] at com.jaspersoft.jasperserver.export.ImportCommandImpl.process(ImportCommandImpl.java:57) [java] at com.jaspersoft.jasperserver.export.BaseExportImportCommand.process(BaseExportImportCommand.java:87) [java] at com.jaspersoft.jasperserver.export.ImportCommand.main(ImportCommand.java:43) [java] Java Result: 255 It is not able to open the database import zip file. Anyone has any idea why? Is anyone from the JasperServer support team around? Can you please help me figure this out? Thanks, Sridevi
  14. hey jfields, thanks for your reply. I added another if element in setup.xml testing for the appserver - "resin". I dont know if it is right, or if the values i gave for the diffferent properties are right, but I was able to execute the drop, create, init , import database scripts successfully. Now, I am trying to execute the js-ant import-upgrade-ce script, and am getting this error - 13:53:36,937 ERROR ImporterImpl:109 - java.util.zip.ZipException: error in opening zip file [java] 13:53:36,957 ERROR BaseExportImportCommand:45 - com.jaspersoft.jasperserver.api.JSExceptionWrapper: error in opening zip file [java] com.jaspersoft.jasperserver.api.JSExceptionWrapper: java.util.zip.ZipException: error in opening zip file [java] at java.util.zip.ZipFile.open(Native Method) [java] at java.util.zip.ZipFile.<init>(ZipFile.java:114) [java] at com.jaspersoft.jasperserver.export.io.ZipFileInput.open(ZipFileInput.java:51) [java] at com.jaspersoft.jasperserver.export.ImporterImpl.performImport(ImporterImpl.java:92) [java] at com.jaspersoft.jasperserver.export.ImportCommandImpl.process(ImportCommandImpl.java:57) [java] at com.jaspersoft.jasperserver.export.BaseExportImportCommand.process(BaseExportImportCommand.java:87) [java] at com.jaspersoft.jasperserver.export.ImportCommand.main(ImportCommand.java:43) [java] Java Result: 255 It is not able to open the database import zip file. Anyone has any idea why? Is anyone from the JasperServer support team around? Can you please help me figure this out? Thanks, Sridevi
  15. Hi, I have another problem in the upgrade from 3.0 --> 3.5. Everything went well for the steps 7.1, 7.2,7.3,7.4,7.5 of the Install Guide. I just started the section 7.6 - the actual Upgrade to 3.5, and am getting errors in the ant scripts. I am running JasperServer on a Resin app server. Not using JBoss or Tomcat or Glassfish or any of the servers in the setup.xml file. When I run the first command - js-ant drop-js-db, I get this error - Buildfile: build.xml BUILD FAILED /opt/downloads/jasperserver-3.5.0-bin/buildomatic/build.xml:9: The following error occurred while executing this line: /opt/downloads/jasperserver-3.5.0-bin/buildomatic/setup.xml:289: Error: Unable to determine type of app server in directory /opt/resin! Total time: 1 second I checked the setup.xml file, line 289. In the if statement, it is checking if the appserver is Tomcat 5, Tomcat 6, JBoss 4,5 , Glassfish V2 UR2 and thats it. So, if appserverType is not set (which it wouldnt be if it is not one of the above servers), it is throwing the error. How can I set it to be Resin app server? If I were to create another if statement for Resin, what is the file I should check for? It is servlet-api-jar for Tomcat, sun-appserv-ant.jar for Glassfish etc. Can someone please help me? (I should probably start another thread for this, but I see Ramnik and Jfields are following this, so I was hoping to atleast get replies from them ;-) Thanks, Sridevi
  16. Yes, that did it!! Thanks so much for your prompt answer, Ramnik! I dont know how I missed that, having had the same problem on executing shell scripts before on Linux! But thanks for your answer! You are a lifesaver ;-) Sridevi
  17. Thanks ramnik and jfields for your replies! I did follow your tips. i downloaded the 3.5 version. and followed the instructions in the Install Guide. But when I come to the part of import-export, I am stuck again! The js-import.sh and js-export.sh dont seem to work. I checked the configuration according to the guide. its all good. I cant run the commands - js-import.sh --help or js-import.sh --help. or any other js-import ot js-export commands. It gives me a message - "-bash: js-import: command not found" (ans the same for export too). I made sure I am in the correct directory - where the js-import.sh exists - "<jasperserver-3.0-bin-unzipped directory>/scripts" I seemed to have followed all the directions correctly, but still have no luch executing these commands. It looks like the import-export utility is not configured correctly. I am kinda stuck here! Do you (or anyone else out there) have any tips on how to resolve this, pleeasse?!! Thanks, Sridevi
  18. hey jfields, We are also currently using JS 3.0, but would like to upgrade to 3.5 Community version. We have reports running on JS currently. Can you tell me if the upgrade process is simple, or would require me to delete everything in 3.0 and create new reports etc, in 3.5? Can I copy over a folder or something like that? Thanks, Sridevi
  19. hey sramana, We are also currently using JS 3.0, but would like to upgrade to 3.5 Community version. We have reports running on JS currently. Can you tell me if the upgrade process is simple, or would require me to delete everything in 3.0 and create new reports etc, in 3.5? Can I copy over a folder or something like that? Thanks, Sridevi
  20. Hi, How easy or difficult is it to upgrade to JasperServer 3.5 Community version from 3.0 Com version? We are running JasperServer 3.0, but would like to upgrade to 3.5 to take advantage of some of the advanced features - for eg. in security. Can you please let me know if that is even possible? we have reports currently defined in JS 3.0 on our linux server. Does 3.5 come without the NetBeans? Thanks, Sri
  21. Hi, I am trying to user Direct URL to access a JasperServer report from another web application. I got some good info on Direct URLs earlier on the forum and thanks to everyone who answered! I found some postings on the authentication mechanism as well,but I couldnt quite understand. So, here I am again...I hope someone can answer and explain to me this time (pleeaaseee!) I have reports running on JasperServer. I need to access these reports from an extrernal web application (which also uses Acegi for its security). I am currently using DIRECT URLs to access the JasperServer reports. It is working great - simple, no extra changes or configuration. Except that I have to pass the login credentials as parameters in the URL like - &j_acegi_security_check?&j_username=jasperadmin&j_password=jasperadmin I dont want to do this since I am exposing the login credentials in the URL and it is not very secure. We are using the community version of JasperServer(JS) 3.0 version currently. And web services is not an option either. Is there another way to achieve this? Can I use Basic Authentication instead - set the encrypted credentials in the headers, and update the JS configuration to accept Basic Auth. Since JS uses Acegi for its security as well, I am hoping it would be pretty straightforward. I am just learning Acegi, so i am a bit confused. Will that be a safe? We installed JasperServer using the war file. So, I am not sure if we can update/modify/add code, other than the config files. I really need this soon. Appreciate any comments or ideas from the JasperServer team?? Thanks, Sridevi
  22. hey, thanks for your reply! We are using the community version of JasperServer(JS) 3.0 version currently. And web services is not an option either. I wanted to test the authentication on JS using Basic Authentication instead - set the encrypted credentials in the headers, and update the JS configuration to accept Basic Auth. Since JS uses Acegi for its security as well, I am hoping it would be pretty straightforward. We installed JasperServer using the war file. So, I am not sure if we can update/modify/add code, other than the config files. Appreciate any comments or ideas from the JasperServer team?? Thanks, Sridevi
  23. Hi, I need to do something like this too. I have reports running on JasperServer. I need to access these reports from an extrernal web application (which also uses Acegi for its security). I am currently using DIRECT URLs to access the JasperServer reports. It is working great - simple, no extra changes or configuration. Except that I have to pass the login credentials as parameters in the URL like - &j_acegi_security_check?&j_username=jasperadmin&j_password=jasperadmin I dont want to do this since I am exposing the login credentials in the URL. Is there another way to achieve this? Thanks, Sridevi
  24. Lucian, Thanks for your reply! The "Always Prompt" was indeed checked for the report. I unchecked it, and it goes to the PDF directly when you call the report using the direct URL. Thanks! Sridevi
  25. Hi, I used Tony's suggestion to use the URL. It worked fine except that it opened the report in JasperServer UI again (not as a PDF that I had given as the output parameter value), and with the Input Control box open (with the parameters I gave in the URL selected). So, I have to click "enter" for it to open up the report. Even then, it opened it up in JasperServer, not as a PDF. Is this the expected behavior when you use direct URLs to access reports on JasperServer? I have to call the reports from another web application. I want to just give the URL, so it opens up the report in the format. Is there a way to achieve that? Anyone, please help? Thanks, Sridevi
×
×
  • Create New...