- Revenera Community
- :
- FlexNet Operations
- :
- FlexNet Operations Knowledge Base
- :
- Trying to save Device from Create Device page redirecting back to same page without any visible erro...
- Mark as New
- Mark as Read
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Trying to save Device from Create Device page redirecting back to same page without any visible error in FNO UI
Trying to save Device from Create Device page redirecting back to same page without any visible error in FNO UI
Symptoms:
While trying to save a device from Device -> Create Device page in FlexNet Operations after giving all required details, it is redirecting to same page without any visible error and without the device being created.
Diagnosis:
In LFS logs it is writing an error related to "connection refused" as highlighted in following sample logs. This error means FNO is not able to connect to LFS module and hence giving error and page is redirecting back. This error may come if customer has installed the FNO on different port other than the default 8888 port.
2020-09-08 13:47:20,650 ERROR [com.flexnet.lfs.service.EMSService: default task-25] XXXX FAILED: getOwnerData(): java.net.ConnectException: Connection refused: connect [ADMN]
2020-09-08 13:47:20,650 DEBUG [com.flexnet.lfs.aop.LfsWebserviceAspect: default task-25] XXXX FAILED: HostDTO com.flexnet.lfs.service.HostService.createHost(HostClass,String,String,String,HostIdType,String,String,String,String,String,String,boolean,String,String,String) error: com.flexnet.lfs.exception.EMSException: EMS operation failed: ; nested exception is:
java.net.ConnectException: Connection refused: connect. [ADMN]
2020-09-08 13:47:20,650 DEBUG [com.flexnet.lfs.aop.LfsWebserviceAspect: default task-25] XXXX FAILED: CreateHostResponse com.flexnet.lfs.ws.fulfill.HostWebService.createHost(CreateHostRequest) error: com.flexnet.lfs.exception.EMSException: EMS operation failed: ; nested exception is:
java.net.ConnectException: Connection refused: connect. [ADMN]
2020-09-08 13:47:20,681 DEBUG [com.flexnet.lfs.aop.LfsWebserviceAspect: default task-25] XXXX FAILED: CreateHostResponse com.flexnet.lfs.ws.fulfill.soap.SoapEndpoint.createHost(CreateHostRequest) error: com.flexnet.lfs.exception.EMSException: EMS operation failed: ; nested exception is:
java.net.ConnectException: Connection refused: connect. [ADMN]
2020-09-08 13:47:20,681 ERROR [com.flexnet.lfs.aop.LfsWebserviceAspect: default task-25] EMS operation failed: ; nested exception is:
java.net.ConnectException: Connection refused: connect. [ADMN]
com.flexnet.lfs.exception.EMSException: EMS operation failed: ; nested exception is:
java.net.ConnectException: Connection refused: connect.
at com.flexnet.lfs.exception.EMSException.makeException(EMSException.java:38)
at com.flexnet.lfs.service.EMSService.getOwnerData(EMSService.java:134)
at com.flexnet.lfs.webservice.EmsServicesImpl.getEntitlementOwner(EmsServicesImpl.java:27)
at com.flexnet.lm.bot.service.HostService.setEnterpriseId(HostService.java:853)
at com.flexnet.lm.bot.service.HostService.updateHost(HostService.java:1297)
at com.flexnet.lm.bot.service.HostService.updateHost(HostService.java:1142)
at com.flexnet.lfs.service.HostServiceImpl.createHost(HostServiceImpl.java:453)
Solution:
To fix the problem make sure that, the LFS connection is proper. It may be needed to do similar port changes for LFS as well which was done for FNO. The changes can be done on the URL "http://localhost:<FNO-PORT>/lfs/jsp/config.jsp". Here "FNO-PORT" is the non-default port on which FNO was installed. This URL will be accessible once FNO is up and running.