Author Topic: trigger.bat  (Read 623 times)

Offline adam_mc

  • Statesman
  • ******
  • Join Date: Mar 2012
  • Posts: 302
  • Forum Citizenship: +15/-0
trigger.bat
« on: 14 Oct 2020 02:03:18 pm »
CA 11.0.13

We have a security standard such that we cannot have user credentials available in plain text on any of our servers including Cognos servers.
Therefore, I am facing a problem instigating a call to the trigger.bat file and passing a Cognos Administrator's User ID and Password.

Has anyone overcome this issue and, if so, how?

Any suggestions would be gratefully appreciated.
Thanks in advance,
Adam.

Offline dougp

  • Statesman
  • ******
  • Join Date: Jul 2014
  • Posts: 685
  • Forum Citizenship: +25/-1
Re: trigger.bat
« Reply #1 on: 14 Oct 2020 02:28:12 pm »
Trigger.bat is not the program.  It's the wrapper that sets the environment to allow Trigger.class to run.

Trigger.java is in the SDK samples found in
Code: [Select]
<install_location>\sdk\sdk\java\EventTrigger.  You'll need to modify that.