cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to launch XCM for custom ISA app

former_member201781
Participant
0 Kudos

Hello Experts,

We are in a process of upgrading CRM4.0 to CRM7.0. We have custom isa

useradm app and want it to work for CRM7.0. We have follow the

instructions as in ISA dev and extension guide 7.0 and also follow the

note 1070753 for modifying the xml files.

The custom app is successfuly deployed on the server. However, we are

unable to lauch the XCM; getting error:

Error [javax.servlet.ServletException: Initialization of Extended

Configuration Management failed.

Could not initialize XCM configuration in Database.

Check if you have deployed the Software Component 'SAP JAVA DATA

DICTIONARY 5.0'].

We have checked in the table CRM_XCM_APPCONF and we couldn't see our

custom app listed in the table.

The question, what do we need to do for the entries to appear in the

table? and be able to launch the XCM? or what are we missing?

We have verified that SC for Java Dictionary is there on our track.

Appreciate any inputs.

--Jamie.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello all,

Jamie, have you solve your pb concerning the empty XCM when you create a custom ISA application.

In my side I installed the NWDS SP22 and NWDI SP22, I have exactly the same pb when I modify the XML property

files of my custom application. With my standard b2b deployement everything work fine. But when I deploy my

custom b2b application in using the same guide as you, my b2b XCM is empty and a message error concerning

the Java dictionnary sca library is displayed. (The library exist in my local J2EE)

Thanks for your help.

Bruno

Former Member
0 Kudos

Hi Jaime,

As you have verified SC SAPCRMDICXXXXX.SCA has been included in the track but have you verified that whether it has been deployed on Server or not. If not deployed then please deployed it on the server on which you are running your custom application through SDM.

Once it is verified that it has been deployed on server then try to set up XCM of your Standard and Custom Application.

You can access XCM setting of standard B2B application by http://<server>:<port>/b2b/admin/xcm/init.do and for oyur custom application http://<server>:<port>/<customB2B>/b2b/admin/xcm/init.do

Open XCM and set your default application scenario. Restart your application and access your standard or custom application.

I hope this will help you to resolve your issue.

eCommerce Developer

former_member201781
Participant
0 Kudos

Hello,

Thank you for your answer. We are able to launch XCM for the standard app but not the custom app. That would mean the Dictionary has been deployed, correct? Regardless, I checked and we have dictionary deployed.

Any other ideas are appreciated.

Thanks,

--Jamie.

Former Member
0 Kudos

Have you set up XCM setting for your custom Application?

If not then go to your XCM admin page of Custom Application on URL http://<server>:<port>/<customApplication>/admin/xcm/init.do

Once you on your XCM page of Custom application then check whether you have create default Application Scenario for your Custom application.

eCommerce Developer

former_member201781
Participant
0 Kudos

Hi,

We are unable to launch the XCM for custom app. When trying to go to the URL you mentioned; we got the error:-

Error [javax.servlet.ServletException: Initialization of Extended

Configuration Management failed.

Could not initialize XCM configuration in Database.

Check if you have deployed the Software Component 'SAP JAVA DATA

DICTIONARY 5.0'].

Thanks,

--Jamie.

Former Member
0 Kudos

Is Deployment of your Custom Application successful? i.e. are you able to deploy your custom application successfully? Are you getting any error while deploying custom application?

eCommerce Developer

former_member201781
Participant
0 Kudos

Hello,

No we don't see any error logs while deploy. Everything looks fine.

Any other ideas?

Thanks,

--Jamie.

Former Member
0 Kudos

Hi,

Can you check dependency in NWDS?

Go to Development Configuration perspective expan your development config. check SC sap.com_SAP-CRMDIC is there?

Also expand SC sap.com_SAP-SHRWEB go to DC crm/isa/web/b2b expand it Go to DC MetaData>DC Definition>Used DCs Expand Used DCs check for /crm/tc/xcmadmin/ and /crm/tc/web/xcmadmin DCs.

Just some thoughts as after deployment of custom application you are getting XCM admin error.

eCommerce Developer

former_member201781
Participant
0 Kudos

Hi ECommerceDeveloper,

I have a question regarding the enhancement to the ISA app. Do we need custom project for that or we can modify/extend SAP deliver version in component SHRWEB? Which one is recommended?

I am quite confused with the approach as the SHRAPP is not to be deployed (per SAP doc). How does it get the update version from SHRWEB if SHRWEB has been modified (SHRAPP has used DC's of SHRWEB)?

Thanks,

--Jamie.

Former Member
0 Kudos

Hi Jaime,

If you are using NWDI and you have created Development track then when you download DEvelopment Configuration from NWDI in NWDS Development Configuration Perspective you will see sap.com_CUSTCRMPRJ SC in Inactive DCs tab and when you expand it you will see your Custom Application DC. e.g. "b2b_home". Right click on it and you will see Create Project options in popup menu click it. It will create JAva project on your local system. If you want to change any jsp file like header.jsp then open java project for b2b which you have created from SHRWEB SC and crm/isa/web/b2b/ DC. Iin Java Perspective go to web content folder and find header.jsp checkout and do your changes.

If you want to deploy those changes to test go to Development Configuration right click on "b2b_home" your custome application DC and select Build from popum menu. You will not see Create Project option now. Once Buid is finish right click again and select Deploy it will ask your SDM password provide it and it will deploy onec you get Finish message on deployment output window you can access your Custom application in Browser.

Let me know if have any question.

eCommerce Developer

former_member201781
Participant
0 Kudos

Hi ECommerceDeveloper,

Thank you for your reply. I understand the way to modify the JSP from SHRWEB and the creation of the project part. But the question really is 'Does the custom project required'? If we modified SHRWEB, wouldn't standard SAP app get the changes as well? since it uses the same used DC (war file from SHRWEB).

The other thing is that I don't do deploying from the NWDS, what I've been told to do is to check in and activate my activities and the NWDI to do deployment, is it correct?

Thanks,

--Jamie.

Former Member
0 Kudos

Hi Jamie,

For custom application you required Custom Project DC under CUSTMPRJ SC.

AS you have written that you are just check out file and modify it as per your requirement and check in again and then deploy it through NWDI on your Runtime System.

Your question wouldn't standard SAP app get the changes as well? since it uses the same used DC (war file from SHRWEB).

and you may get your answer in SAPNOTE.

SAPNOTE-971725-E-Commerce standard applications overwritten on runtime system

Please go through above SAPNOTE and you will understand why Custom Project is required and how to stop Standard B2B application to be over written.

Let me know if you have any question.

eCommerce Developer

former_member201781
Participant
0 Kudos

Hi ECommerceDeveloper,

Thank you for your answer. So is the custom project really required? what is the best practices here if we are just looking to changes some jsps (SHRWEB), add additional java classes (this would be in SHRWEB as well) and change some backend config xml? Can't we just uncheck the 'Exclude from deployment' and use the standard app instead of creating custom one?

I don't see the advantages of having a custom one since we have to do the code conflict anyways when doing SP Patches.

Appreciate your input.

--Jamie.

Former Member
0 Kudos

Hi Jamie,

Whether you want to change only 1 JSP file or want to add only 1 custom java class you required to deploy Custom Application. I never see any client who have done their custom changes in standard ISA application.

There is alwayes 2 application deploy 1 is vanila version and 2nd is Custom application. If something is not working in custom application you can compare it with standard vanila version.

If you change something in SAP Standard Application and if some standard functionality is not working due to your custom change and you contact SAP to resolve the issue they will not resolve it as you have changed Standard application and it is not allowd as per SAP term and condition.

I hope you understand why Custom Project is required and why custom application deployment is required though you want to change only SAP logo in the header.

Exper member can give you more input on this.

I hope this info will help you to understand requirement of custom project and custom application.

Regards.

eCommerce Developer

former_member201781
Participant
0 Kudos

Hi EcommerceDeveloper,

Thank you for your answer. Now I understand better on the approach of custom app for ISA.

I do still have problems with XCM where I can't launch due to the error I stated earilier in this message. SAP is helping me looking into this. Hopefully, we will be able to figure out what's wrong with it.

Any ideas are appreciated.

Thanks,

--Jamie.

Former Member
0 Kudos

Hi Jamie,

Have you got any solution from SAP for this problem as we are facing exactly the same error with our CRM 7.0 system.

We also changed the XML files as described by you.

Thanks

Subhabrata