Author Message
rahul.muk7
Joined: Jun 19, 2020
Messages: 5
Offline
Hi, I am using java 8_192 and tomcat 8. When I am deploying
ndm-core.war version 6.1.2 I am getting the below error.

2020-06-18 19:21:08,097 | | [localhost-startStop-2] | INFO |
FrontController | configuration
map={1.2=com.nuance.framework.vxml.configuration.ModelApplicationConfigurationManagerImpl@617cd07c}
2020-06-18 19:21:08,097 | | [localhost-startStop-2] | INFO |
FrontController | NDF version = NDF 6.1.2
2020-06-18 19:21:08,097 | | [localhost-startStop-2] | INFO |
FrontController | Application version = 1.2
2020-06-18 19:21:08,097 | | [localhost-startStop-2] | INFO |
FrontController | used configuration(version==1.2, name=NDM Core
Application,
configModel=com.nuance.framework.controller.configuration.StandaloneConfigurationModelImpl@6f9180d4)
2020-06-18 19:21:08,097 | | [localhost-startStop-2] | INFO |
FrontController | FrontController.destroy: no request processor
manager found
2020-06-18 19:23:49,382 | | [localhost-startStop-1] | INFO |
CacheFilter | CacheFilter.logExpirySettings:
[com.nuance.framework.filter.expiration] [86400]
2020-06-18 19:23:49,472 | | [localhost-startStop-1] | INFO |
ConfigurationModelFactory | Static
ConfigurationModelFactory.getConfigurationModel: Creating
ConfigurationModel with class
[com.nuance.framework.controller.configuration.StandaloneConfigurationModelImpl]
2020-06-18 19:23:49,496 | | [localhost-startStop-1] | INFO |
ConfigurationModelFactory | Static
ConfigurationModelFactory.getConfigurationModel: Class created
2020-06-18 19:23:49,497 | | [localhost-startStop-1] | INFO |
ConfigurationModelFactory | Static
ConfigurationModelFactory.getConfigurationModel: Class Constructor
found [public
com.nuance.framework.controller.configuration.StandaloneConfigurationModelImpl()]
2020-06-18 19:23:49,497 | | [localhost-startStop-1] | INFO |
ConfigurationModelFactory | Static
ConfigurationModelFactory.getConfigurationModel: Class instance
created
[com.nuance.framework.controller.configuration.StandaloneConfigurationModelImpl@70740837]
2020-06-18 19:23:49,497 | | [localhost-startStop-1] | INFO |
ConfigurationModelFactory | Static
ConfigurationModelFactory.getConfigurationModel: Class Instance
successfully cast into ConfigurationModel Interface
2020-06-18 19:23:51,615 | | [localhost-startStop-1] | INFO |
PlatformConfigurationLoader | There's no special browser configured,
nothing to load in addition
2020-06-18 19:23:51,615 | | [localhost-startStop-1] | INFO |
EnvironmentConfigurationLoader | Trying to obtain system property name
for environment configuration. Reading from system property
'com.nuance.application.topology.environment.systemproperty'.
2020-06-18 19:23:51,615 | | [localhost-startStop-1] | INFO |
EnvironmentConfigurationLoader | Search resulted in 'null'
2020-06-18 19:23:51,615 | | [localhost-startStop-1] | INFO |
EnvironmentConfigurationLoader | Falling back to default system
property 'com.nuance.application.topology.environment'.
2020-06-18 19:23:51,616 | | [localhost-startStop-1] | INFO |
EnvironmentConfigurationLoader | The value retrieved from system
property 'com.nuance.application.topology.environment' is 'null'.
2020-06-18 19:23:51,616 | | [localhost-startStop-1] | INFO |
EnvironmentConfigurationLoader | There's no environment string
configured, nothing to load in addition
2020-06-18 19:23:51,793 | | [localhost-startStop-1] | INFO |
Context |
com.nuance.framework.service.eventlog.impl.EventLogServiceProvider@5578880 requested service of type interface com.nuance.framework.controller.configuration.ConfigurationModel with descriptor null.
2020-06-18 19:23:51,793 | | [localhost-startStop-1] | INFO |
EventLogServiceProvider | Could not get logger config path from
configuration, using default
/configuration/application/logger-config.xml.
2020-06-18 19:23:52,132 | | [localhost-startStop-1] | INFO |
FrontController | application.version==1.2
2020-06-18 19:23:52,136 | | [localhost-startStop-1] | INFO |
ControllerConfigurationHelperFactory | Static
ControllerConfigurationHelperFactory.getControllerConfigurationHelper:
Creating ControllerConfigurationHelper with class
[com.nuance.framework.vxml.configuration.util.ApplicationControllerConfigurationHelperImpl]
2020-06-18 19:23:52,166 | | [localhost-startStop-1] | INFO |
ControllerConfigurationHelperFactory | Static
ControllerConfigurationHelperFactory.getControllerConfigurationHelper:
Class created
2020-06-18 19:23:52,166 | | [localhost-startStop-1] | INFO |
ControllerConfigurationHelperFactory | Static
ControllerConfigurationHelperFactory.getControllerConfigurationHelper:
Class Constructor found [public
com.nuance.framework.vxml.configuration.util.ApplicationControllerConfigurationHelperImpl()]
2020-06-18 19:23:52,166 | | [localhost-startStop-1] | INFO |
ControllerConfigurationHelperFactory | Static
ControllerConfigurationHelperFactory.getControllerConfigurationHelper:
Class instance created
[com.nuance.framework.vxml.configuration.util.ApplicationControllerConfigurationHelperImpl@2cb84d03]
2020-06-18 19:23:52,167 | | [localhost-startStop-1] | INFO |
ControllerConfigurationHelperFactory | Static
ControllerConfigurationHelperFactory.getControllerConfigurationHelper:
Class Instance successfully cast into ControllerConfigurationHelper
Interface
2020-06-18 19:23:52,467 | | [localhost-startStop-1] | INFO |
ConfigurationLoaderFactoryImpl | The loaders list for key 'ndm' was
either null or empty. No loader available.
2020-06-18 19:23:52,467 | | [localhost-startStop-1] | INFO |
ModelApplicationConfigurationManagerImpl | Could not obtain a
configuration loader for service name 'ndm'. Falling back to normal
xml map loading.
2020-06-18 19:23:58,955 | | [localhost-startStop-1] | ERROR |
NDMConfigServiceManagerImpl |
com.nuance.framework.dialogmodule.service.NDMConfigServiceManagerImpl.loadInstanceConfigurationMap: directory path does not exist or is null
2020-06-18 19:23:58,956 | | [localhost-startStop-1] | INFO |
ModelApplicationConfigurationManagerImpl |
ModelApplicationConfigurationManagerImpl.initConfiguration: This
service does not have a type! Using its name [ndm] as type. Please
provide a service type in the implementation.
2020-06-18 19:23:58,956 | | [localhost-startStop-1] | INFO |
PropertiesApplicationConfigurationManagerFactoryImpl |
PropertiesApplicationConfigurationManagerFactoryImpl.initConfiguration: add(version==1.2)
2020-06-18 19:23:58,956 | | [localhost-startStop-1] | INFO |
PropertiesApplicationConfigurationManagerFactoryImpl |
PropertiesApplicationConfigurationManagerFactoryImpl.initConfiguration: configuration map={1.2=com.nuance.framework.vxml.configuration.ModelApplicationConfigurationManagerImpl@69f404c2})
2020-06-18 19:23:58,968 | | [localhost-startStop-1] | INFO |
UriMapperFactory | Static UriMapperFactory.getUriMapper: Creating
UriMapper with class
[com.nuance.framework.controller.urimapper.UriMapperImpl]
2020-06-18 19:23:58,976 | | [localhost-startStop-1] | INFO |
UriMapperFactory | Static UriMapperFactory.getUriMapper: Class
created
2020-06-18 19:23:58,976 | | [localhost-startStop-1] | INFO |
UriMapperFactory | Static UriMapperFactory.getUriMapper: Class
Constructor found [public
com.nuance.framework.controller.urimapper.UriMapperImpl()]
2020-06-18 19:23:58,976 | | [localhost-startStop-1] | INFO |
UriMapperFactory | Static UriMapperFactory.getUriMapper: Class
instance created
[com.nuance.framework.controller.urimapper.UriMapperImpl@1251c36]
2020-06-18 19:23:58,976 | | [localhost-startStop-1] | INFO |
UriMapperFactory | Static UriMapperFactory.getUriMapper: Class
Instance successfully cast into UriMapper Interface
2020-06-18 19:23:58,976 | | [localhost-startStop-1] | INFO |
UriMapperImpl | UriMapperImpl.getConfig: URI Mapper config:
[/configuration/application/uri-map-config.xml]
2020-06-18 19:23:59,079 | | [localhost-startStop-1] | INFO |
UriMapperImpl | UriMapperImpl.getConfig: URI Mapper config file parsed
successfully
2020-06-18 19:23:59,087 | | [localhost-startStop-1] | INFO |
UriMapperImpl | UriMapperImpl.createMapElement: Creating URI Map
elementURI: [/sessionstart] URI Type: [Normal] Map:
[SessionStartProcessor] MapType: [RequestProcessor]
2020-06-18 19:23:59,094 | | [localhost-startStop-1] | INFO |
UriMapperImpl | UriMapperImpl.createMapElement: Creating URI Map
elementURI: [/log] URI Type: [Normal] Map: [LogProcessor] MapType:
[RequestProcessor]
2020-06-18 19:23:59,094 | | [localhost-startStop-1] | INFO |
UriMapperImpl | UriMapperImpl.createMapElement: Creating URI Map
elementURI: [/sessionend] URI Type: [Normal] Map:
[SessionEndProcessor] MapType: [RequestProcessor]
2020-06-18 19:23:59,094 | | [localhost-startStop-1] | INFO |
UriMapperImpl | UriMapperImpl.createMapElement: Creating URI Map
elementURI: [/ndm] URI Type: [Normal] Map: [DMRequestProcessor]
MapType: [RequestProcessor]
2020-06-18 19:23:59,094 | | [localhost-startStop-1] | INFO |
UriMapperImpl | UriMapperImpl.createMapElement: Creating URI Map
elementURI: [\/.*\.ndm] URI Type: [RegularExpression] Map:
[DMRequestProcessor] MapType: [RequestProcessor]
2020-06-18 19:23:59,094 | | [localhost-startStop-1] | INFO |
UriMapperImpl | UriMapperImpl.createMapElement: Creating URI Map
elementURI: [NdmView] URI Type: [Normal] Map:
[/dialogs/framework/ndm/osdm.jsp] MapType: [View]
2020-06-18 19:23:59,094 | | [localhost-startStop-1] | INFO |
UriMapperImpl | UriMapperImpl.createMapElement: Creating URI Map
elementURI: [NdmTemplate/(.*)] URI Type: [RegularExpression] Map:
[($1)] MapType: [Include]
2020-06-18 19:23:59,094 | | [localhost-startStop-1] | INFO |
UriMapperImpl | UriMapperImpl.createMapElement: Creating URI Map
elementURI: [/digits] URI Type: [Normal] Map: [DMRequestProcessor]
MapType: [RequestProcessor]
2020-06-18 19:23:59,094 | | [localhost-startStop-1] | INFO |
UriMapperImpl | UriMapperImpl.createMapElement: Creating URI Map
elementURI: [/customcontext] URI Type: [Normal] Map:
[DMRequestProcessor] MapType: [RequestProcessor]
2020-06-18 19:23:59,094 | | [localhost-startStop-1] | INFO |
UriMapperImpl | UriMapperImpl.createMapElement: Creating URI Map
elementURI: [/alphanum] URI Type: [Normal] Map: [DMRequestProcessor]
MapType: [RequestProcessor]
2020-06-18 19:23:59,094 | | [localhost-startStop-1] | INFO |
UriMapperImpl | UriMapperImpl.createMapElement: Creating URI Map
elementURI: [/ccexpdate] URI Type: [Normal] Map: [DMRequestProcessor]
MapType: [RequestProcessor]
2020-06-18 19:23:59,094 | | [localhost-startStop-1] | INFO |
UriMapperImpl | UriMapperImpl.createMapElement: Creating URI Map
elementURI: [/creditcard] URI Type: [Normal] Map: [DMRequestProcessor]
MapType: [RequestProcessor]
2020-06-18 19:23:59,094 | | [localhost-startStop-1] | INFO |
UriMapperImpl | UriMapperImpl.createMapElement: Creating URI Map
elementURI: [/currency] URI Type: [Normal] Map: [DMRequestProcessor]
MapType: [RequestProcessor]
2020-06-18 19:23:59,095 | | [localhost-startStop-1] | INFO |
UriMapperImpl | UriMapperImpl.createMapElement: Creating URI Map
elementURI: [/date] URI Type: [Normal] Map: [DMRequestProcessor]
MapType: [RequestProcessor]
2020-06-18 19:23:59,095 | | [localhost-startStop-1] | INFO |
UriMapperImpl | UriMapperImpl.createMapElement: Creating URI Map
elementURI: [/naturalnumbers] URI Type: [Normal] Map:
[DMRequestProcessor] MapType: [RequestProcessor]
2020-06-18 19:23:59,095 | | [localhost-startStop-1] | INFO |
UriMapperImpl | UriMapperImpl.createMapElement: Creating URI Map
elementURI: [/phone] URI Type: [Normal] Map: [DMRequestProcessor]
MapType: [RequestProcessor]
2020-06-18 19:23:59,095 | | [localhost-startStop-1] | INFO |
UriMapperImpl | UriMapperImpl.createMapElement: Creating URI Map
elementURI: [/record] URI Type: [Normal] Map: [DMRequestProcessor]
MapType: [RequestProcessor]
2020-06-18 19:23:59,095 | | [localhost-startStop-1] | INFO |
UriMapperImpl | UriMapperImpl.createMapElement: Creating URI Map
elementURI: [/secureansweralphanum] URI Type: [Normal] Map:
[DMRequestProcessor] MapType: [RequestProcessor]
2020-06-18 19:23:59,095 | | [localhost-startStop-1] | INFO |
UriMapperImpl | UriMapperImpl.createMapElement: Creating URI Map
elementURI: [/secureanswerdate] URI Type: [Normal] Map:
[DMRequestProcessor] MapType: [RequestProcessor]
2020-06-18 19:23:59,095 | | [localhost-startStop-1] | INFO |
UriMapperImpl | UriMapperImpl.createMapElement: Creating URI Map
elementURI: [/secureanswerdigits] URI Type: [Normal] Map:
[DMRequestProcessor] MapType: [RequestProcessor]
2020-06-18 19:23:59,095 | | [localhost-startStop-1] | INFO |
UriMapperImpl | UriMapperImpl.createMapElement: Creating URI Map
elementURI: [/secureanswerphone] URI Type: [Normal] Map:
[DMRequestProcessor] MapType: [RequestProcessor]
2020-06-18 19:23:59,095 | | [localhost-startStop-1] | INFO |
UriMapperImpl | UriMapperImpl.createMapElement: Creating URI Map
elementURI: [/secureanswerphrase] URI Type: [Normal] Map:
[DMRequestProcessor] MapType: [RequestProcessor]
2020-06-18 19:23:59,095 | | [localhost-startStop-1] | INFO |
UriMapperImpl | UriMapperImpl.createMapElement: Creating URI Map
elementURI: [/socialsecurity] URI Type: [Normal] Map:
[DMRequestProcessor] MapType: [RequestProcessor]
2020-06-18 19:23:59,095 | | [localhost-startStop-1] | INFO |
UriMapperImpl | UriMapperImpl.createMapElement: Creating URI Map
elementURI: [/time] URI Type: [Normal] Map: [DMRequestProcessor]
MapType: [RequestProcessor]
2020-06-18 19:23:59,095 | | [localhost-startStop-1] | INFO |
UriMapperImpl | UriMapperImpl.createMapElement: Creating URI Map
elementURI: [/yesno] URI Type: [Normal] Map: [DMRequestProcessor]
MapType: [RequestProcessor]
2020-06-18 19:23:59,096 | | [localhost-startStop-1] | INFO |
UriMapperImpl | UriMapperImpl.createMapElement: Creating URI Map
elementURI: [/zipcode] URI Type: [Normal] Map: [DMRequestProcessor]
MapType: [RequestProcessor]
2020-06-18 19:23:59,096 | | [localhost-startStop-1] | INFO |
UriMapperImpl | UriMapperImpl.createMapElement: Creating URI Map
elementURI: [CallLogResponse] URI Type: [Normal] Map:
[/dialogs/framework/generic/JSONVXMLResponse.jsp] MapType: [View]
2020-06-18 19:23:59,096 | | [localhost-startStop-1] | INFO |
UriMapperImpl | UriMapperImpl.validate: test for creating a dispatcher
not possible: URI Element URI: [\/.*\.ndm] Type: [RegularExpression]
Map Result: [URI Map ID: [DMRequestProcessor] Type:
[RequestProcessor]]
2020-06-18 19:23:59,096 | | [localhost-startStop-1] | INFO |
UriMapperImpl | UriMapperImpl.validate: dispatcher from URI:
/dialogs/framework/ndm/osdm.jsp successfully tested!
2020-06-18 19:23:59,096 | | [localhost-startStop-1] | INFO |
UriMapperImpl | UriMapperImpl.validate: test for creating a dispatcher
not possible: URI Element URI: [NdmTemplate/(.*)] Type:
[RegularExpression] Map Result: [URI Map ID: [($1)] Type: [Include]]
2020-06-18 19:23:59,096 | | [localhost-startStop-1] | INFO |
UriMapperImpl | UriMapperImpl.validate: dispatcher from URI:
/dialogs/framework/generic/JSONVXMLResponse.jsp successfully tested!
2020-06-18 19:23:59,097 | | [localhost-startStop-1] | INFO |
UriMapperImpl | UriMapperImpl.initialize: URI mapper configuration was
validated successfullly. Accepting URI Mapper configuration
2020-06-18 19:23:59,100 | | [localhost-startStop-1] | INFO |
RequestProcessorMgrFactory | Static
RequestProcessorMgrFactory.getRequestProcessorMgr: Creating
RequestProcessorMgr with class
[com.nuance.framework.controller.requestprocessor.RequestProcessorMgrImpl]
2020-06-18 19:23:59,103 | | [localhost-startStop-1] | INFO |
RequestProcessorMgrFactory | Static
RequestProcessorMgrFactory.getRequestProcessorMgr: Class created
2020-06-18 19:23:59,104 | | [localhost-startStop-1] | INFO |
RequestProcessorMgrFactory | Static
RequestProcessorMgrFactory.getRequestProcessorMgr: Class Constructor
found [public
com.nuance.framework.controller.requestprocessor.RequestProcessorMgrImpl()]
2020-06-18 19:23:59,104 | | [localhost-startStop-1] | INFO |
RequestProcessorMgrFactory | Static
RequestProcessorMgrFactory.getRequestProcessorMgr: Class instance
created
[com.nuance.framework.controller.requestprocessor.RequestProcessorMgrImpl@6fb42064]
2020-06-18 19:23:59,104 | | [localhost-startStop-1] | INFO |
RequestProcessorMgrFactory | Static
RequestProcessorMgrFactory.getRequestProcessorMgr: Class Instance
successfully cast into RequestProcessorMgr Interface
2020-06-18 19:23:59,170 | | [localhost-startStop-1] | INFO |
RequestProcessorFactory | Static
RequestProcessorFactory.createInstance: Creating RequestProcessor with
class [com.nuance.framework.dialogmodule.web.DMRequestProcessor]
2020-06-18 19:23:59,222 | | [localhost-startStop-1] | INFO |
RequestProcessorFactory | Static
RequestProcessorFactory.createInstance: Class created
2020-06-18 19:23:59,222 | | [localhost-startStop-1] | INFO |
RequestProcessorFactory | Static
RequestProcessorFactory.createInstance: Class Constructor found
[public com.nuance.framework.dialogmodule.web.DMRequestProcessor()]
2020-06-18 19:23:59,222 | | [localhost-startStop-1] | INFO |
RequestProcessorFactory | Static
RequestProcessorFactory.createInstance: Class instance created
[com.nuance.framework.dialogmodule.web.DMRequestProcessor@1d70c12e]
2020-06-18 19:23:59,222 | | [localhost-startStop-1] | INFO |
RequestProcessorFactory | Static
RequestProcessorFactory.createInstance: Class Instance successfully
cast into RequestProcessor Interface
2020-06-18 19:23:59,222 | | [localhost-startStop-1] | INFO |
RequestProcessorMgrImpl | RequestProcessorMgrImpl.initialize:
Initializing RequestProcessor: [DMRequestProcessor]
2020-06-18 19:24:00,181 | | [localhost-startStop-1] | ERROR |
DMRequestProcessor |
com.nuance.framework.dialogmodule.controller.DMRequestProcessor.initialize: Unable to initialize the DM Service.
java.lang.NullPointerException
at java.io.File.<init>(File.java:277)
at
com.nuance.framework.dialogmodule.util.RhinoUtil.loadScriptsFromDirectory(RhinoUtil.java:469)
at
com.nuance.framework.dialogmodule.controller.DMRequestProcessor.initialize(DMRequestProcessor.java:205)
at
com.nuance.framework.controller.requestprocessor.RequestProcessorMgrImpl.initialize(RequestProcessorMgrImpl.java:172)
at
com.nuance.framework.controller.FrontController.initRequestProcessors(FrontController.java:1061)
at
com.nuance.framework.controller.FrontController.reload(FrontController.java:371)
at
com.nuance.framework.controller.FrontController.init(FrontController.java:318)
at
org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1199)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1143)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1032)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5035)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5345)
at
com.ms.webeng.tomcat.MorganStanleyContext.startInternal(MorganStanleyContext.java:208)
at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
at
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:586)
at
org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1795)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2020-06-18 19:24:00,182 | | [localhost-startStop-1] | WARN |
RequestProcessorMgrImpl | RequestProcessorMgrImpl.initialize: Unable
to initialize RequestProcessor: [DMRequestProcessor]



Because of this all ndm-core calls are returning 500 error code. I would be great if you can provide some insight.
massimo__croci
Joined: Jan 31, 2020
Messages: 518
Offline
Hi, what is the exct error message? maybe "error.badfetch.http.500 URI: /ndm-core/alphanum"?

Error 500 typically is a null pointer or some other type of exception.

Additionally, what is the release of your AAOD and AAEP ?

Taking a look at the logs you attached, it seems a path is missing. Might you kindly check the ndm-service-config.xml ?


If you need additional info about using a Nuance NDM in an Orchestration Designer speech application, see here on page 78 for AAOD 7.2.3: https://www.devconnectprogram.com/fileMedia/download/9c0211d0-407a-4a36-9a59-c232693547ac
massimo__croci
Joined: Jan 31, 2020
Messages: 518
Offline
I forgot: What release of Nuance are you using as ASR/TTS ?
rahul.muk7
Joined: Jun 19, 2020
Messages: 5
Offline
We are using od 7.2.2.1004
AEP is 7.2.2

Below is he nuance details:
Nuance Recognizer 9.0.21
Nuance recognizer 9.0 English language pack
Nuance Speech Server Client 5.1.11
Nuance Speech Server 5.1.11

I will check the document. Thanks
rahul.muk7
Joined: Jun 19, 2020
Messages: 5
Offline
HI. We are able to deploy and run the IVR application successfully in windows based tomcat which is our lab. But in Linux base QA environment when the deployment is happening on tomcat I am getting the below exception:

2020-06-18 19:24:00,181 | | [localhost-startStop-1] | ERROR | DMRequestProcessor | com.nuance.framework.dialogmodule.controller.DMRequestProcessor.initialize: Unable to initialize the DM Service.
java.lang.NullPointerException
at java.io.File.<init>(File.java:277)
at com.nuance.framework.dialogmodule.util.RhinoUtil.loadScriptsFromDirectory(RhinoUtil.java:469)
at com.nuance.framework.dialogmodule.controller.DMRequestProcessor.initialize(DMRequestProcessor.java:205)
at com.nuance.framework.controller.requestprocessor.RequestProcessorMgrImpl.initialize(RequestProcessorMgrImpl.java:172)
at com.nuance.framework.controller.FrontController.initRequestProcessors(FrontController.java:1061)
at com.nuance.framework.controller.FrontController.reload(FrontController.java:371)
at com.nuance.framework.controller.FrontController.init(FrontController.java:318)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1199)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1143)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1032)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5035)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5345)
at com.ms.webeng.tomcat.MorganStanleyContext.startInternal(MorganStanleyContext.java:208)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:586)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1795)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)


Please let me know if you have any insights as there was no configuration mentioned in Avaya NDM integration document as well for Linux specific web application server.
massimo__croci
Joined: Jan 31, 2020
Messages: 518
Offline
Hi, so additional info about using a Nuance NDM in an Orchestration Designer speech application, see here on page 78 for AAOD 7.2.2:

https://www.devconnectprogram.com/fileMedia/download/5c5918bb-6e69-465f-bc6d-bcb4b673a1bc


Intergration with Nuance:

https://www.devconnectprogram.com/forums/posts/list/11297.page

https://www.devconnectprogram.com/site/global/products_resources/avaya_aura_orchestration_designer/educational_resources/sample_applications/using_nuance_openspeech_dialogmodules/index.gsp

If I get something else useful, I'll post here.


Concerning the error:

com.nuance.framework.dialogmodule.controller.DMRequestProcessor.initialize: Unable to initialize the DM Service.
java.lang.NullPointerException

it seems a code issue (NDM can't initialize cause a null pointer exception). I don't now how the NDM work, we just invoke as subdialogs. Anyway it's strange you have this problem on Linux trst environment only.

I suggest to involve who created the app for doublechecking and eventually Nuance support.
rahul.muk7
Joined: Jun 19, 2020
Messages: 5
Offline
The issue is that while deploying the war file in the tomcat itself, we are facing this initialization problem, and later on we are unable to invoke any sessionstart or customcontext subdialog.

I will check the resources mentioned. Thank you.
rahul.muk7
Joined: Jun 19, 2020
Messages: 5
Offline
This is running on windows server without any issue. However, in the Linux based environment we are getting the issue "Unable to
initialize DM service"
From the looks of the error it seems that RhinoUtil is trying to load some resource path, and there might some
dynamic value which is expected to form the path. Due to unavailability of that value we are getting null pointer exception
If possible, please help us resolve this ASAP, as we need to make this running

-----Reporting the reply of forum and tickets as well--------------------------------
WilsonYu
Joined: Nov 6, 2013
Messages: 3950
Offline
This is all in Nuance's code. You might need to contact Nuance.
Go to:   
Mobile view