Forum Discussion
FICO
17 years agoCommunity Manager
.Net Blaze Webservice Exception
.Net Blaze Webservice Exception
Dear All,
I got the following Exception, While trying to run a .Net Blaze rules service which is deployed as webserice.
com.blazesoft.server.base.NdServiceException: Exception of type 'com.blazesoft.server.base.NdServiceException' was thrown. at com.blazesoft.server.local.NdLocalService.A(NdServiceClientContext A_0) at com.blazesoft.server.local.NdLocalService.createServiceSessionImpl(NdServiceClientContext clientCtx) at com.blazesoft.server.local.NdLocalService.createServiceSession(NdServiceClientContext clientCtx) at com.blazesoft.server.deploy.NdStatelessServer.A(NdService A_0, String A_1, NdClassLoadingContext A_2, Boolean A_3) at com.blazesoft.server.deploy.NdStatelessServer.A(NdService A_0, String A_1, String A_2, Object[] A_3, NdClassLoadingContext A_4) at com.blazesoft.server.deploy.NdStatelessServer.invokeService(NdService service, String entryPointId, String clientId, Object[] serviceArgs, NdClassLoadingContext classLoadingContext) at com.blazesoft.server.deploy.NdStatelessServer.invokeService(String serviceName, String entryPointId, String clientId, Object[] serviceArgs, NdClassLoadingContext classLoadingContext) at com.blazesoft.server.deploy.NdStatelessServerDeployment.invokeDeployment(String serviceName, String entryPointId, String clientId, Object[] serviceArgs, NdClassLoadingContext classLoadingContext) at com.blazesoft.server.deploy.NdStatelessServerDeployment.invokeDeployment(String serviceName, String entryPointId, String clientId, Object[] serviceArgs) at WebService.Service.invokeexecuteRuleset1() in e:\Blaze653NET\Advisor65NET\bin\applications\deployproject1\webServiceDir\App_Code\Service.asmx.cs:line 70 Its Urgent,Your help is greatly appreciated, Thanks Santosh Amand.3 Replies
- FICOCommunity Manager
Difficult to diagnose this without access to the code, but here are the things I would investigate:
It looks like it is failing in the process of creating an instance of the project to execute. Does the project compile in Blaze Advisor Builder? Are all the paths to the object models and repository correctly formed?
Is this failure happening with the generated code from the Quick Deployer? Were you able to use the deployment directions to get the runner code to work prior to encorporating the client code into your own architecture?
If you look at the code in "A", can you find where in the code it is throwing a NdServiceException in order to determine exactly where in the process it is failing? You can use debugging to step through the deployment code until it gets to the point of failure to narrow down the failing call and better determine what is not configured properly.
- FICOCommunity ManagerReplied to wrong post... Sorry. Message Edited by Jostein on 01-02-2009 10:16 PM
- FICOCommunity Manager
Hi,
Like ttravis said, it is difficult to diagnose without too much information, but I would verify that all necessary assemblies are loaded before the rule server is initialized.
If you are using custom components (anything developed in .Net and used/referenced by your rules project), this exception can occur if the dll is not loaded by the application server before the rule server is started.
If you are using/referencing .Net code in your rules project, try adding a static reference to a class in the referencd dll from your Globals.asax. For example something like
"""
_StaticRefsList.Add(typeof(Mycutomstuff.SomeClass));
"""
Regards,
Jostein