Jump to content

How to set context param in *.bat file for jasperELT?

Go to solution Solved by kkumlien,

Recommended Posts

In my *.bat file the content is like below:

java -Xms256M -Xmx1024M -cp ../lib/systemRoutines.jar;../lib/userRoutines.jar;.;dailyreportalljob_0_1.jar;dailycnt_0_1.jar;dailynotpass_0_1.jar;../lib/advancedPersistentLookupLib-1.0.jar;../lib/commons-collections-3.2.jar;../lib/dom4j-1.6.1.jar;../lib/jboss-serialization.jar;../lib/log4j-1.2.15.jar;../lib/mysql-connector-java-5.1.30-bin.jar;../lib/trove.jar; dailyreport.dailyreportalljob_0_1.DailyReportAllJob --context=Default --context_param search_date=20151027 %* 

In default config search_date is 20150101, and I have used "--context_param search_date=20151027" to set search_date with 20151027.

The result is that search_date still got default config value.

Can you help me to give me any solutions? Thanks a lot.

Link to comment
Share on other sites

  • Replies 5
  • Created
  • Last Reply

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...