Forum Discussion
FICO
5 years agoCommunity Manager
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 NdStatelessEjbServerBeanWith 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
- FICOCommunity Manager
The error looks related to user configuration. Is the application deployed on Weblogic successfully and in a good running state?
- FICOCommunity 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.
Related Content
Related Content
I am getting an error while upgrading from Xpress 8.13.0 to 9.2.0 - BCL.XPRBexception(xbslinit) Initialization failed (value:1)
Hi I am getting this error while upgradinng from Xpress 8.13.0 to 9.2.0. I am using .Net framework and when i try to call var newModel = new XPRBprob("newprob"); I received the below error: ...2 years agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum1 unread comment1 unread0Views0likes1CommentLicence connection failed
I recently found I could not run Xpress models in a sudden even though I have a paid license. It seems like a server connection issue as in the attached. I have installed Xpress IVE 8.9 and using Xpr...3 years agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum1 unread comment1 unread0Views0likes1Comment