Thursday, July 1, 2010

SCA Container is disabled because WPS profile is not set

I am using WID's process server to deploy a simple SCA module. Another portlet ( running on WAS 5.1.0.3 and Process Server 601 ) tries to initiate this process deployed in WID's runtime.

I get this error message when the processAction() attempts to populate the input DataObject.

ClientObjectWrapper inputMsgWrapper = businessProcess.createMessage(templateData.getID(), inputTypeName);

if(inputMsgWrapper.getObject() != null && (inpuMsgWrapper.getObject() instanceof DataObject)) {

The problem seem to be occurring at :

DataObject bdo = (DataObject)inputMsgWrapper.getObject();

Here's the exception that I get :

RVE0068E: Could not invoke the service() method on servlet My_Sample1_Portlet. Exception thrown : java.lang.ExceptionInInitializerError

·        

·        

·         Caused by


Caused by: com.ibm.websphere.sca.ServiceRuntimeException: caused by: com.ibm.websphere.sca.ServiceRuntimeException: SCA Container is disabled because WPS profile is not set

Solution:

1. Do not copy sca.jar to <any> ( like <Portal_root> / shared / app folder) location if you get a NoClassDefFoundError.
2. Copy the server-core.xml from server1 folder to WebSphere_Portal folder under <Profile_root> \ config\cells\<cellname> \ nodes\<nodename> \servers
3. Restart WebSphere_Portal and server1

Other related links:

http://www-01.ibm.com/support/docview.wss?uid=swg21308257

http://www-01.ibm.com/support/docview.wss?rs=688&uid=swg21322547



This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system.

Posted via email from shaker's posterous

0 comments: