EBI External Notifications API Linux Example
There are times we need to execute Business Process Scripts from outside of EBI, on a Linux based system. The information below is shipped and documented by EXTOL. This documentation is circa 2003 but is still relevant today.
Shipped EXTOL Items
- EXTOL Shipped EBI Notifications Zip File
- EBI External Notifications - Linux (2007183) - EXTOL Business Integrator
EbiNotificationAPI.sh
Below is the shipped EbiNotificationAPI.bat script. The bold items are to be updated.
#!/bin/bash HOME=$HOME:/home/ebiowner NOTIF=$NOTIF:$HOME:$HOME/ebi_notification/notification/conf:$HOME/ebi_notification/notification/lib:$HOME/ebi_notification/notification/lib/EBI.jar:$HOME/ebi_notification/notification/lib/dom4j.jar:$HOME/ebi_notification/notification/lib/log4j.jar:$HOME/ebi_notification/notification/lib/jbossall-client.jar:$HOME/ebi_notification/notification/lib/jboss-j2ee.jar clear export JAVA_HOME=/home/jdk1.6.0_02/bin export PATH=$PATH:$JAVA_HOME echo Running EBI Notification API java -cp $NOTIF SendEbiItmNotif "notification.api" " " 100 "Event Triggered" echo Finished running SendEbiItmNotif program
jndi.properties
Below is the shipped jndi.properties file. The bold item should be updated if the .bat does not reside on the same machine as the EXTOL Server.
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces java.naming.provider.url=jnp://localhost:1099
SendEbiItmNotif.java
Below is the java source code that is shipped with the EBI_Notifications_2.x.zip
By: Sean Hoppe on