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

skolluri

Members
  • Posts

    36
  • Joined

  • Last visited

skolluri's Achievements

Explorer

Explorer (4/14)

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

Recent Badges

0

Reputation

  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
×
×
  • Create New...