Troubleshooting
Problem
Enable to execute a trigger using trigger.sh on Linux, an error occurs:
[cognos@lcgvcdd004 trigger]$ ./trigger.sh "[http://lcgvcdd006:9084/p2pd/servlet/dispatch[/code>]" "user admin" "password" ERPCC_LDAP labels
ARNING: Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.
AxisFault
faultCode: Client
faultSubcode:
faultString: CM-REQ-4342 An error occurred with the client.
faultActor:
faultNode:
faultDetail:
{"[
http://developer.cognos.com/schemas/bibus/3/
]"}exception:
Symptom
Only the trigger.sh does not work, the dispatcher URL and the same authentification works in a brower..
Cause
In this case, a problem with the space in the user name!
Environment
Linux with Cognos 10.2.1
Java version 1.6 or 1.7
Diagnosing The Problem
Add the command "set -x" in the file trigger.sh showed that there was one more parameter in the command java
java... Trigger "http://lcgvcdd006:9084/p2pd/servlet/dispatch" user1 admin password ERPCC_LDAP labels
Resolving The Problem
Modify the trigger.sh file
Replace this line
${JAVA_HOME}/bin/java -classpath ${CLASSPATH} Trigger ${1} ${2} ${3} ${4} ${5}
By
${JAVA_HOME}/bin/java -classpath ${CLASSPATH} Trigger "${1}" "${2}" "${3}" "${4}" "${5}"
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg21678366