cancel
Showing results for 
Search instead for 
Did you mean: 

Issue In Starting BPM Process

former_member182534
Active Participant
0 Kudos

Hi All,

I am trying to start the BPM from wsnavigator.

In the wsnavigator it says process started, but when i go to manage process I do not see the process started.

I checked the logs and found the following error message coming for it

Log 1:

Locale could not be read correctly. The locale string must be in the format <language> or <language>_<country>. Please reconfigure the BPM application again or contact your system administrator.


Log 2:

run(): exception occurred

[EXCEPTION]

com.sap.engine.interfaces.webservices.runtime.RuntimeProcessException: Technical difficulties were experienced during process execution.

at com.sap.glx.adapter.app.ucon.UnifiedConnectivityAdapter.invokeProvisionedMethod(UnifiedConnectivityAdapter.java:1045)

at com.sap.glx.adapter.app.ucon.wsprov.GalaxyImplementationContainer.invokeMethod(GalaxyImplementationContainer.java:83)

at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process0(RuntimeProcessingEnvironment.java:710)

at com.sap.engine.services.webservices.espbase.server.runtime.OnewayAsyncProcessor.run(OnewayAsyncProcessor.java:82)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:185)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:302)

Caused by: com.sap.glx.core.kernel.api.TransitionRollbackException: Exception during prepare, rolling back

at com.sap.glx.core.kernel.mmtx.AbstractTransactionBase.rollback(AbstractTransactionBase.java:702)

at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_prepare(AbstractTransaction.java:196)

at com.sap.glx.core.kernel.mmtx.AbstractTransaction.commit(AbstractTransaction.java:77)

at com.sap.glx.adapter.app.ucon.UnifiedConnectivityAdapter.populatePayloadAndCommitRequest(UnifiedConnectivityAdapter.java:1121)

at com.sap.glx.adapter.app.ucon.UnifiedConnectivityAdapter.invokeProvisionedMethod(UnifiedConnectivityAdapter.java:1008)

... 7 more

Caused by: com.sap.glx.core.kernel.api.KernelException: java.lang.RuntimeException: Locale could not be read correctly. The locale string must be in the format <language> or <language>_<country>. Please reconfigure the BPM application again or contact your system administrator.

at com.sap.glx.core.kernel.mmtx.PrimaryTransaction.inPrepare(PrimaryTransaction.java:238)

at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_prepare(AbstractTransaction.java:194)

... 10 more

Caused by: java.lang.RuntimeException: Locale could not be read correctly. The locale string must be in the format <language> or <language>_<country>. Please reconfigure the BPM application again or contact your system administrator.

at com.sap.bpem.base.config.FallbackValueHolder.getDefaultAppLocale(FallbackValueHolder.java:128)

at com.sap.glx.process.impl.ProcessManagerImpl.updateProcessInstanceTextVariables(ProcessManagerImpl.java:2040)

at com.sap.glx.process.connector.impl.ObjectContainerHandler.persist(ObjectContainerHandler.java:260)

at com.sap.glx.core.kernel.mmtx.PrimaryTransaction.inPrepare(PrimaryTransaction.java:227)

... 11 more

Can anyone point me in the right direction what i need to do?

I have also looked at the following link as well

Error : When web Service trigger BPM Process | SCN

Accepted Solutions (1)

Accepted Solutions (1)

former_member191044
Active Contributor
0 Kudos

Hi,

looks like if you have some global configuration error of the BPM engine. Please check "default.locale" property of "tc~bpem~base~ear" in NWA (Configuration-->Infrastructure-->Java-Systemproperties). If this looks fine you could consider to run the configuartion wizard of BPM again. I haven't re-run that wizard after it has been completed once, so i can't tell you what other side effects that operation may have.

Regards,

Tobi

former_member182534
Active Participant
0 Kudos

Hi Tobi,

Thanks for the reply

This is what you are talking about right

Well this has already English configured in it i did not configure it.

Any other place i need to look into?

Cheers

Piyas

Former Member
0 Kudos

It says in the short description 'lowercase two-letter ICO-code' You have uppercase 'EN'

former_member191044
Active Contributor
0 Kudos

Try to enter "en" instead of "EN" and it should work.

Regards,

Tobias

former_member182534
Active Participant
0 Kudos

Hi Tobi,

As mentioned i tried with lower case "en".

It still does not work. do need to get a system bounce for the changes to reflect?

Cheers

Piyas

Former Member
0 Kudos

Note that the parameter is NOT marked as 'Changeable' - this means the BPM runtime must be restarted for the change to take effect. Easiest to do that with a restart of the system.

former_member191044
Active Contributor
0 Kudos

Yes this should do the trick but anyway it is quite sad that you can kill the whole BPM runtime with a wrong value in default.local. SAP could implement a simple PropertyChangeListener to check entered values or autocorrect it to lower case .

Have a nice weekend.

Tobi

former_member182534
Active Participant
0 Kudos

Hi Tobi,

I also feel the same.

Thanks and a great week end too.

Cheers

Piyas

former_member182534
Active Participant
0 Kudos

Hi Nicholas & Tobi,

Guys I got the server restated but still the issue is persistence.

One more thing I rechecked, the "en" got changed to "EN" after the restart.

Guys any suggestion plz advice.

Cheers

Piyas

Former Member
0 Kudos

Hi Piyas,

It needs to be lowercase and will not change on its own. In my system (installed in Germany but using en locale)

These codes are defined by ISO standard. It isn't up to SAP to auto-correct user errors. The standard is well defined and well known, simply adhere to it.

List of ISO 639-1 codes - Wikipedia, the free encyclopedia

The help for BPM describes the initial configuration of the application and the first part of that configuration is setting the Locale and the Timezone of the system.

Wizard-Based Configuration for Business Process Management - Configuring Business Process Management...

Within the wizard you get a tool-tip explaining that the locale must be 2-letter lowercase ISO and the Timezone is of the format City/Country (I think Germany/Berlin is the example) as in the  IANA Time Zone Database.

regards, Nick

former_member191044
Active Contributor
0 Kudos

Hi Piyas,

try changing it something different like "de". Then do the restart and check if it works. After that try changing it to lowercase "en". Maybe the system does't get the change from "EN" to "en"?

Regards,

Tobi

Answers (0)