cancel
Showing results for 
Search instead for 
Did you mean: 

Removing JCO

Former Member
0 Kudos

Hi friends

Over the time our DEV server has accumulated a large number of JCO, most of which are not used

anymore. I tried removing these by selecting 'remove'. But they just insist on populating our WAS.

I would be grateful for any advice on how to remove them.

regards

yuval

Accepted Solutions (1)

Accepted Solutions (1)

former_member182374
Active Contributor
0 Kudos

Hi Yuval,

You can delete the JCO destination in the following way:

Log to the sld: http:// <server>:<port>/sld

Go to: Administration -> Content Maintenance

Subset: Landscape Description

Class: JCO Message Server Destination

Delete the unwanted JCO destinations

Restart SLD/J2EE

Omri

Former Member
0 Kudos

Omri

You're the king!!! TOTACH!!!!

thanks !!

yala bye

yuval

Former Member
0 Kudos

Omri hi

I removed the Jco from the SLD and restarted the server but when I open WAS and go to Maintain JCO Destinations I stil see the deleted Jco (although greyed out).

Any idea how to remove this jco completely from the list??

Toda

Yuval

former_member182374
Active Contributor
0 Kudos

Hi Yuval,

What is the version of your J2EE version? I'm using 7.17 and it works for me.

Another thing (that I'm not sure of): if you have a Web Dynpro application that uses those JCO then when you start the engine (and the application is also started) the JCO could be created again (I'm not sure if it is created when deploying/starting or running for the first time) so try undeploying unused Web Dynpro applications and see if it helps...

Omri

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

If you are sure that there is no option do this, following is a work around to remove it using a bit of coding.


//use the following method to retreive all Available Jco names
	  WDSystemLandscape.getJCOClientConnectionNames(clusterName)
//To remove a single JCO
 String j2eeClusterName = WDSystemLandscape.getCurrentJ2EEClusterName();
	  try {
		WDSystemLandscape.removeJCOClientConnection("<Your JCo Name>", j2eeClusterName);
	} catch (WDSystemLandscapeException e) {
		// TODO Auto-generated catch block
		e.printStackTrace();
	}

Regards

Ayyapparaj

Former Member
0 Kudos

What is the "clusterName" ? (can you give an example)

Former Member
0 Kudos

Hi,

Example to remove a single connection is given above.

Regards

Ayyapparaj

Former Member
0 Kudos

My question was can you give an example to "clusterName" variable.

Former Member
0 Kudos

Hi,

That too was there

String j2eeClusterName = WDSystemLandscape.getCurrentJ2EEClusterName();

Regards

Ayyapparaj

Former Member
0 Kudos

Hi Yuval,

There is no such option at the current version.

I've opened an OSS message regarding this issue and the response I got was to open a "Developer Request" so it will be available in future versions.

Aviad