Jump to content

Curing Slow Startup


jmurray

Recommended Posts

After installing iReport 1.2.7 the startup time was in the order of minutes. It turns out that iReport checks for updates on startup, so if you are sitting behind a proxy server or don't have access to the Internet then you'll suffer the delay.

 

To overcome the problem you can do one of two things:

 

1) Disable the update check

Once iReport starts up go to Options - Configure Plugins and select "Check for iReport Updates...". Uncheck the "Check for update on iReport startup" option and Save.

 

2) Set a proxy address

Open <iReport install dir>/bin/startup.sh or startup.bat. Edit the line at the end of the file that starts with "java" and add the following parameters before "it.businesslogic.ireport.gui.mainFrame"

 

proxySet=true

proxyHost=<address of your proxy host>

proxyPort=<your proxy's http port>

 

 

startup.bat example:

---------------------

java -cp "%IREPORT_CLASSPATH%" -Direport.home="%IREPORT_HOME%" -DproxySet=true -DproxyHost=vproxydet.cache.det.nsw.edu.au -Dproxyhost=80 -Djava.security.policy="%IREPORT_HOME%/policy.all" -Xms24m -Xmx512m it.businesslogic.ireport.gui.MainFrame %*

 

NOTE: The startbar shortcut for 1.2.7 points directly at iReport.exe by default, bypassing startup.bat. Edit the shortcut so that the target is iReport.bat instead.

 

 

startup.sh example:

---------------------

java -classpath "$IREPORT_CLASSPATH:$CLASSPATH" -Direport.home="${IREPORT_HOME}" -DproxySet=true -DproxyHost=vproxydet.cache.det.nsw.edu.au -Dproxyhost=80 -Djava.security.policy="${IREPORT_HOME}/policy.all" it.businesslogic.ireport.gui.MainFrame "$@"

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...