Forum Discussion

FICO's avatar
FICO
Community Manager
5 years ago

Invoke Service method failing after Blaze 7.7 upgrade

Hi, I am new to working with Blaze and I was tasked with upgrading a java weblogic application from Blaze 7.4 to 7.7. I completed the upgrade per documentation I was given, (swapped in new 7.7 jars and rebuilt the adv files on my weblogic domain). Now when I try to deploy the application I'm getting an error coming from and invokeService method on a class that extends NdStatelessEjbServerBean.

The invocation looks like this:

this.invokeService(serviceName, entryPointId, null, args);
//Note this extends NdStatelessEjbServerBean

With the serviceName and entrypointId variables both being non null string values. I then get this error upon deployment:

30-Jun-2021 09:51:35 [ERROR] Unable to load [removed]
java.rmi.RemoteException: EJB Exception: ; nested exception is:
javax.ejb.EJBException: com.blazesoft.server.deploy.ejb.NdWrappedEJBException: com.blazesoft.util.NdWrappedRuntimeException: Failed invoking service [BlazeRepoName] for client context ID null.
Server 'Uspecified server configuration.' on host [Laptop].
Attempt to access a server deployment before setting its key.
Failed invoking service [Service Name] for client context ID null.
Server 'Uspecified server configuration.' on host [Laptop].
Attempt to access a server deployment before setting its key.
  • The same code works on Blaze 7.4 and the old adv files, none of the service names or ids have been changed. I noticed that NdStatelessEjbServerBean is an older class and the documenation suggests replacing it with it NdStatelessEjbServerAppBean, however there is another call to a NdStatelessEjbServerBean's invoke service method somewhere else in the project for a different blaze rule project and that works fine. This may be too implementation specific but figured I would ask to see if there is a known fix for this type of issue.

2 Replies

  • FICO's avatar
    FICO
    Community Manager

    The error looks related to user configuration. Is the application deployed on Weblogic successfully and in a good running state?

  • FICO's avatar
    FICO
    Community Manager

    Sorry for the late response was away on a long weekend. I was given a weblogic domain with a working version of the application, the blaze projects were exported into adv files that were deployed on the application/domain. All of this was in blaze 7.4, and the application was completely working. Upon rebuilding the adv files in 7.7 and copy/pasting them into my weblogic domain, one of the blaze projects stops deployment and gives the above error when trying to deploy. Are there any other configuration steps I have to take other than replacing the adv files with new ones on a weblogic server. Also, do you know what key the error is referring to in when it says "Attempt to access a server deployment before setting its key", do I have to set this key as a part of my weblogic configuration or something? I have two blaze projects in this application, both deployed via adv files. One of them deploys correctly but the other will not and gives this error. I'm sure that other than the blaze projects there are no other major issues with this branch of the application.