cancel
Showing results for 
Search instead for 
Did you mean: 

JCO - Get meta data - Grey status in JCO connections tab

emmanuel_turci
Advisor
Advisor
0 Kudos

Hi all,

I read many post on this topics within this forum but I didn't succeed to get meta data required and to set correctly my connection.

Let's start quickly to give you my conf

In the j2ee admin

-> Services > SLD Data Supplier > CIM Client Generation Settings

I set fields with : SLD7000 / 50000 and my logon info

Save and test -> result is ok !

In my web dynpro application, I am able to get correct BAPI from BCE system using my logon info. And I map my view to display data from the corresponding BAPI called.

So at this time, in my IDE, the connection to the SAP Backend system SAP works because I can get the list of BAPIs from the BCE SAP Backend System as well.

Build and deploy my application.

Now, let's go to webdynpro welcome page on my j2ee server : http://<host>:<port>/webdynpro/welcome

-> content administration

-> I select from the left tree browser my application, and open the "JCO Connections" Tab. I can see my connections previously I set in my webdynpro application. But I CAN'T use the button "Create" to configure new JCO connection. ??

Last thing:

in the BCE backend system

transaction : RZ70

I have, host = sldmain and service = sapgw47

Also, in the list of data collection programs, everything is checked as active except the program "_SLD_RFC"

I don't know if it is important....?

Finally, I give you from the exception I got in my browser only lines "Caused by"....

....

Caused by: com.sap.dictionary.runtime.DdException: TypeBroker failed to access SLD: Error while obtaining JCO connection.

....

Caused by: com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscapeException: Error while obtaining JCO connection.

....

Caused by: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to create J2EE cluster node in SLD for 'J2E.SystemHome.localhost': com.sap.lcr.api.cimclient.LcrException: CIM_ERR_NOT_FOUND: No such instance: SAP_J2EEEngineCluster.CreationClassName="SAP_J2EEEngineCluster",Name="J2E.SystemHome.localhost"

....

Thanks a lot for your support and help,

Best regards,

Emmanuel.

Accepted Solutions (0)

Answers (2)

Answers (2)

emmanuel_turci
Advisor
Advisor
0 Kudos

Hi all,

I close this thread because I found the solution.

In fact, as soon as I used a local SLD on my J2EE server I was able to create and configure my JCO connection.

In fact you need enough right to do this and using a remote SLD it is not enough, till you don't have installed and set your own SLD.

Best regards,

Emmanuel.

Former Member
0 Kudos

Hello Emmanuel:

I'm having the same problem that you had. I was wondering if you are so nice and kind to tell me how to resolve it.

I don't understand where and what you set up to enable those buttons.

Thanks a lot.

Former Member
0 Kudos

Hi R.S

You need to create a technical system in SLD for your back end system.

For this log on to sld and go to administration tab and choose server settings. In object server type the machine where your J2EE is running and set.

2. Click on administration tab and say start server.

3. click on import and import the 2 zip files in the location \usr\sap\J2E\SYS\global\sld\model.

(cimsap.zip,CR_Content.zip)

4. After the imports are successful create a technical system for your back end system.

Let me know if you require any thing else.

Kishore

Former Member
0 Kudos

Hello Nagakishore !!

Exactly!! that was what I imediatly try to do after posting my doubt, but unluckily when I push the button import it throws something that the directory isn't there ( which is completely wrong because I search it by my self, and the path is 100% OK).

Can you tell me what is wrong ?.

Thanks a lot for your help.

Former Member
0 Kudos

I'm importing the files !!!!!

My working directory was


IP\usr.......\model

instead

C:\......\model

My object server at SLD was wrong too.

Thanks a lot, I will continue with the rest.

At any case....I'll contact you.

Former Member
0 Kudos

Hi RS,

When you select the file from the network it may not recognise. Map the shared path to the network drive and try. Else you can copy the file to your local disk and select the file and try to import the file.

Regards,

Santhosh.C

Former Member
0 Kudos

I resolved the problem, thanks a lot.

The connection is almost done.

Somebody know if some settings must be done at the visual administrator to registering RFC o JCO Destinations ?.

Thanks for your time

Former Member
0 Kudos

Hi Emmanuel

You said

" I select from the left tree browser my application, and open the "JCO Connections" Tab. I can see my connections previously I set in my webdynpro application. But I CAN'T use the button "Create" to configure new JCO connection. ??"

What is their status ? Is it green on red? Usually create is greyed out if it is green. What about Edit?

Try creating a new Web Dynpro component with another destination name ,deploy and then check the Content administrator if these new destinations have Create enabled

After running RZ70 did you check the Technical System in SLD administration to see if the technical details have been propogated ?

Regards

Pran

emmanuel_turci
Advisor
Advisor
0 Kudos

Hi Pran,

Status is grey and all buttons are disabled.

One thing, I don't use a local SLD but a remote one. Is there a problem ? I mean, If I go into my SLD administration panel, and because I don't set a local SLD, of course the status is "Stopped". As I explained in my previous note, I added the corresponding SLD into my j2ee admin console.

For me I don't think it is a problem to use a remote SLD but I am wondering if I need to configure something else to be able to connect this SLD with the SAP backend system?

best regards,

Emmanuel.

Former Member
0 Kudos

Hi Emmanuel

I dont think remote sld should be a problem . Because you can connect your J2EE Engine to the remote sld using the SLD Data Supplier service via the Visual Administrator. And your sld should be running when you run RZ70 so that the technical system details are propogated .In addition to this you must maintain Server and Service details in the 'Data Supplier Bridge' accessible via SLD Administration.

Regards

Pran

Former Member
0 Kudos

Hi Emmanuel,

In your first message you mentioned

>>In the j2ee admin

>> and then Services >

How to get to the j2ee admin > Services ?

I used http://server:port/sld and also http://server:port/webdynpro/welcome, none of the links I saw Services.

Former Member
0 Kudos

The J2EE Admin Program is located in the directory of your J2EE Engine on the Server (e.g. "C:\usr\sap\J2E\JC00\j2ee\admin" if the instance is 00)

Greets