IBM BPM – Logging in Debug Level

Marie 09.01.2015

To show output from the log.debug() used in Server Scripts in BPM, tracing has to be enabled on the application server.

Go to your admin console and select “Troubleshooting –> Logs and trace” from the left hand side. Then select your Application Server and click on “Change log details levels”.

Add “WLE.wle_javascript=all” to the trace string and save the configuration. After a server restart or if you changed the trace string on the Runtime tab, all messages printed with log.debug() will then be shown in the trace.log.

Lernen Sie mehr über:

WebSphere Application Server

WebSphere Portal Server

IBM DataPower

IBM BPM | Process Server



Serialization of a DataObject

Frank 24.09.2014

Imports import; import; import; import; import; import; import commonj.sdo.DataObject; import commonj.sdo.Type; Serialize a DataObject to a XML String, “DataObject bo” contains the BO: ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); String stringBo = null; Type type = bo.getType(); String rootElementName = type.getName(); String targetNamespace = type.getURI(); // entferne unnötige Zeichen // […]

Create DataObject

Frank 24.09.2014

Create a DataObject from namespace and ComplexTypeName. Imports import; import; import commonj.sdo.DataObject; Create DataObject BOFactory boFactory = (BOFactory) ServiceManager.INSTANCE .locateService(“com/ibm/websphere/bo/BOFactory”); DataObject myBo = boFactory.create(“myTargetNamespae”, “myComplexTypeName”); Change DataObject myBo.setString(“myAttribute in myBo”, “myValue”); myBo.setBoolean(…); … myBo.getString(“myAttribute in myBo”); …

Über Uns

Unsere Arbeit

Unsere Partner

Unser Blog

IBM Produkte

Software Engineering

IT Architecture