Description:
BWagent configured with the DBEMS option using Oracle and EMS. The deployment fails with an " Failed to configure application.." error in the bwagent log.
Symptoms:
The following error is seen in the bwagent log.
+++
2016-03-04 09:03:09.734 ERROR [pool-8-thread-19] c.t.b.t.m.t.e.s.BW6EMSRemoteInvocable - Failed to configure application xxx AppSpace:DEV-AS Domain:DEV-BW
java.lang.NullPointerException: null
at com.tibco.bw.thor.management.domain.utils.BW6DeploymentUtil.configureApplication(BW6DeploymentUtil.java:323) ~[com.tibco.bw.thor.management.domain_1.3.203.004.jar:na]
at com.tibco.bw.thor.management.domain.utils.BW6DeploymentUtil.configureApplication(BW6DeploymentUtil.java:166) ~[com.tibco.bw.thor.management.domain_1.3.203.004.jar:na]
at com.tibco.bw.thor.management.transport.ems.server.BW6EMSRemoteInvocable.configureApplication(BW6EMSRemoteInvocable.java:2587) ~[com.tibco.bw.thor.management.domain_1.3.203.004.jar:na]
at com.tibco.bw.thor.management.transport.ems.server.BW6EMSRemoteInvocable$DefaultDispatcher.run(BW6EMSRemoteInvocable.java:207) [com.tibco.bw.thor.management.domain_1.3.203.004.jar:na]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [na:1.7.0_85]
at java.util.concurrent.FutureTask.run(Unknown Source) [na:1.7.0_85]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.7.0_85]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.7.0_85]
at java.lang.Thread.run(Unknown Source) [na:1.7.0_85]
2016-03-04 09:03:09.780 INFO [qtp121447550-46] bw.audit - application operation [update] with arguments { appNodeName=DEV-AN1 description=null domainName=DEV-BW profileName=default.substvar i=[//xxx//test.http.port 8080] [//xxxy//xxx.api.consumerKey zApacyiYHAskGmorvL7z85] [//xxx//BW.APPSPACE.NAME null] [//xxx//javaKeyStore E:\tibco\tibcojre64\1.8.0\lib\security\cacerts.jks] [//xxx//BW.MODULE.VERSION null] [//xxx//BW.DEPLOYMENTUNIT.VERSION null] [//xxx//xxx.api.password #!fyeG7K693vssfxhN0k3MAmpdeJr8eq9PzEpqOOOWMS8=] [//xxx//BW.MODULE.NAME null] [//xxx//xxx.api.password.hostname www.xxxsolutions.com] [//xxx//BW.HOST.NAME localhost] [//xxx//xxx.api.consumerSecret KVIXyt9GE9uOYQoS81uJ9fUZI78mOPcA] [//xxx//xxx.api.username zzz@gmail.com] [//xxx//BW.DEPLOYMENTUNIT.TYPE null] [//xxx//BW.DOMAIN.NAME null] [//xxx//BW.DEPLOYMENTUNIT.NAME null] [//xxx//BW.APPNODE.NAME null] [//xxx//xxx.jks.password #!MNSk8BlM1/eB9WIMGhZYL/xpYs0IAg58KJw4a26a5dg=] } failed with [TIBCO-BW-ADMIN-500421: Configuration of Application [xxx.application] failed, <CausedBy> Failed to configure Application xxx.application AppSpace:DEV-AS Domain:DEV-BW null]
2016-03-04 09:03:09.780 WARN [qtp121447550-46] c.t.b.t.m.p.rdbms.BWRDBMSDataManager - handling error in operation [createCommandHistory]
2016-03-04 09:03:09.780 WARN [qtp121447550-46] c.t.b.t.m.p.rdbms.BWRDBMSDataManager -
SQLState : 72000
ErrorCode: 12899
Message : ORA-12899: value too large for column "BWPERSISTENCE"."COMMANDHISTORY"."COMMANDPARAMS" (actual: 1044, maximum: 1000)
++++
Cause:The COMMANDPARAMS column is set with 1000 characters but the data (deployment command arguments) being inserted exceeds the same(1044).