on 03-09-2010 1:08 PM
Hello Experts,
In my application, Whenever users try to log into application, he/she gets the run time error. Users give their username and password and click on submit button and application throws Run time error - Contact the administrator.
When i saw the default trace file i found out the below errors.
com.sap.isa.catalog.trex.TrexCatalogServerEngine#Invalid entry in configuration: section nameserver, key backupserverlist, value tcpip://<nameserverhost2>:<nameserverport2> is invalid (Errorcode 7213)
com.sap.isa.core.eai.BackendException: No entry for ZUserBO Business Object found
Any pointers would be helpful.
Thanks.
Ravi
Hi Ravi,
For your TREX problem you can do as Mark suggested.
But also you have mentioned
com.sap.isa.core.eai.BackendException: No entry for ZUserBO Business Object found
Let me know are you using any custom class to check any extra User setting. Your error description is saying that one of your custom Business Object class is not define in your bom-config.xml file.
Can you confirm that if your custom code is using any custom BO name zUserBO then you have to create an entry in bom-config.xml
Please check your bom-config.xml file and see whether it contains entry for ZUserBO business object.
eCommerce Developer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello eCommerce Developer,
Thanks much for the response. As you suggested I looked for the entry in bom-config.xml file but could not locate any entry however i have another file called "backendobject-config.xml" file. I could find below entry in that file:
<businessObject type="ZUserBO"
name="ZUserBO"
className="<my pacakage Name>.user.GetUserData"
connectionFactoryName="JCO"
defaultConnectionName="ISAStateful">
<params>
<param name="ISARoles" value="Z:BDI:ISA-CORP_CATALOGUE_VIEW,Z:BDI:ISA-REG_ORDER_CREATE,Z:BDI:ISA-REG_CATALOGUE_VIEW,Z:BDI:ISA-REG_ORDER_CHANGE,Z:BDI:ISA-REG_ORDER_CANCEL,Z:BDI:ISA-REG_ORD_CHANGE_ADDR,Z:BDI:ISA-REG_ORD_ADD_ARTICLE,Z:BDI:ISA-REG_ORD_CHANGE_QTY,Z:BDI:ISA-ESD_ORDER_CREATE,Z:BDI:ISA-ESD_CATALOGUE_VIEW,Z:BDI:ISA-RET_ORDER_CREATE,Z:BDI:ISA-RET_ORDER_CHANGE,Z:BDI:ISA-RET_ORDER_CANCEL,Z:BDI:ISA-RET_ORD_ADD_ARTICLE,Z:BDI:ISA-RET_ORD_CHANGE_QTY,Z:BDI:ISA-CORP_RET_ORD_CREATE,Z:BDI:ISA-CORP_RET_ORD_CHANGE,Z:BDI:ISA-CORP_RET_ORD_ADD_ART,Z:BDI:ISA-CORP_RET_ORD_CHG_QTY,Z:BDI:ISA-SEARCH_ORDER,Z:BDI:ISA-SEARCH_RETURN,Z:BDI:ISA-SEARCH_INVOICE,Z:BDI:ISA-SEARCH_CREDITMEMO,Z:BDI:ISA-SEARCH_PAYMENT,Z:BDI:ISA-RPT_AR_AGING,Z:BDI:ISA-RPT_DISCONTINUED_ART,Z:BDI:ISA-RPT_BACK_ORDER,Z:BDI:ISA-RPT_PRICE_LIST,Z:BDI:ISA-SEARCH,Z:BDI:ISA-ADMIN,Z:BDI:ISA-CONTACT"/>
</params>
</businessObject>
If it should be in *bom-config.xml" file then in which xml file the SAP define one or custom one.
Waiting for the response.
Thanks Much
Ravi
Hi Ravi,
If your ZUserBO contains code in which you are calling RFC module and use JCO connection then it should be in backend-config.xml file. By the name ZUserBO i thought that it is Business object and relevant Business Object Manager(BOM) entry is missing in bom-config.xml
I believe that your ZUserBO is backe end object and it uses JCO and call RFC and you have define it in proper area I mean you have to modify backeend-config.xml file in customer area by extending it.
Can you tell me under which area you have modified your XML file.
In your deployed folder under root you can see 2 folder Customer and SAP. You should make changes in XML files which is under Customer folder.
eCommerce Developer.
Hi Ravi,
If you have done your changes in customer area only and still it is not working then you can try to put your entry in file under SAP Area.
I know it is not a standard practice but just try it to check whether your application recognize your custom ZUserBO by putting it inside file under SAP Area.
Just try this and let me know.
eCommerce Developer.
Hello eCommerce Developer,
Sorry for the wrong answer, I gave you. Actually ZUserBO object entry is define under SAP. The path is WEB-INF/xcm/sap/modification/backendobject-config.xml. So I believe it is under SAP area.
I went under customer tab and opened backendobject-config.xml file. I saw that file, it includes the SAP define backendobject-config.xml file and then it extends one ID i.e. r3pidefault and then in business object it defines the connectionfactoryname and defaultconnectionname. Afterwards it include customer define config-data.xml file.
Point to be note here is, at the beginning of this file below note is mentioned.
customer changes in backendobject-config should be done here by extending/overwriting the base configuration *
Any pointer would be helpful. If anyone has encounter the same problem, please let me know what steps you have followed.
Thanks in advance.
Ravi
Hello,
I hope you have already defined a custom business object manager in the bom-config.xml and then added a method similar to below in that custom class
public synchronized ZUserBO createZUserBackendR3(){
userBo = new ZUserBO();
assignBackendObjectManager(userBo);
return (ZUserBO) createBusinessObject(ZUserBO.class);
}
Also on your BO class you need to have this method
public GetUserDataBackend getGetUserDataBackend() throws BackendException {
if (getUserDataBackend == null){
getUserDataBackend = (GetUserData )bem.createBackendBusinessObject("ZUserBO");
}
return getUserDataBackend ;
}
This is where it makes a compare with the backendobject-config.xml for the string ZUserBO
Pradeep
If you are not using any tutorial and if you are not using any custom User BO, then you don't need any active entry in the backendobject-config.xml for ZUserBO. If you are doing any one of the above, then you do... and then you require the actual custom BOM and the ZUserBO class and the whole nine yards....
Hello All,
Thanks for your answers, it seems that i have found out the error. I downloaded the backendobject-config.xml file from server and surprisingly it was different from NWDI. Now i do not understand why it is different from NWDI. I believe that D server and NWDI should be same.
I am assuming that we had apply some patches as suggested by SAP. does this has change the code?
Thanks.
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ravi,
This issue should be resolved by setting the nameserver on the J2EE. On the Visual Admin you should see a Trex service , here you need to set you trex nameserver name.
It should be in the format
tcpip://<nameserverhost>:<nameserverport
Once this has been set the error should not occur again.
Regards
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Mark,
Thank you very much for your reply. After viewing your post I again went to Visual Admin and checked the nameserver and as I expected. The nameserver was value already define.
I want to add more to it that our SAP standard application is working properly only the Custom application is throwing this error.
Thanks much.
Ravi
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.