Dynamic error

part1
CREATE OR REPLACE
TYPE ALL_DEV.OBJECT_ROW_TYPE AS OBJECT (
CNT NUMBER
CREATE OR REPLACE
TYPE ALL_DEV.REF_TYPE AS TABLE OF object_row_type
CREATE OR REPLACE FUNCTION ALL_DEV.ref_return
RETURN ref_type AS
v_tab ref_type := ref_type();
BEGIN
FOR cur IN (SELECT SERVED_MSISDN,COUNT(*) CNT
FROM FCT_CUSTOMER_TRANSACTION
GROUP BY SERVED_MSISDN
LOOP
v_tab.extend;
v_tab(v_tab.last) := object_row_type(cur.CNT);
END LOOP;
RETURN v_tab;
END;
SELECT *
FROM TABLE(get_all_objects) a;
part2
CREATE OR REPLACE
TYPE ALL_DEV.OBJECT_ROW_TYPE AS OBJECT (
CNT NUMBER
CREATE OR REPLACE
TYPE ALL_DEV.REF_TYPE AS TABLE OF object_row_type
CREATE OR REPLACE FUNCTION ALL_DEV.ref_return(reference_type in varchar2)
RETURN ref_type AS
str varchar2(4000);
v_tab ref_type := ref_type();
BEGIN
str:=' FOR cur IN (SELECT ' ||' ,COUNT(*) CNT
FROM FCT_CUSTOMER_TRANSACTION
GROUP BY SERVED_MSISDN
LOOP
v_tab.extend;
v_tab(v_tab.last) := object_row_type(cur.CNT);
END LOOP;';
execute immediate str ;
RETURN v_tab;
END;
SELECT * FROM TABLE(ref_return('SERVED_MSISDN')) a;
my question is
part 1 is working fine
but part 2 it return
invalid sql statement
please let me know what is the error;
both are same
in part 2 i am want to use dynamic thing.please help me

What are you trying to do with the sql given below:
SELECT ' ||' ,COUNT(*) CNT FROM FCT_CUSTOMER_TRANSACTION GROUP BY SERVED_MSISDN
Regards
RK

Similar Messages

  • Dynamic Error Message from a Bundle Showed in a rich:fileUpload

    Hello.
    There is a way to show a dynamic error message from a bundle (i.e, There is a problem in the word {0} in line {1}.) in a rich:fileUpload after the Managed Bean method in fileUploadListener="#{MyManagedBean.myMethod}" attribute was performed? That's because the error message parameters are discovered only after the MyManagedBean.myMethod execution.
    As far I know, I'm able only to show a static message with transferErrorLabel="#{myBundle.myErrorMessage}" attribute.
    Here is my rich:fileUpload component code:
      <rich:fileUpload id="upload"   
         fileUploadListener="#{PlanilhaManagedBean.importar}"  
         maxFilesQuantity="100" 
         immediateUpload="true" listHeight="130" acceptedTypes="xls"  
         addControlLabel="#{bundle.geralProcurarArquivo}" 
         ontyperejected="alert('#{bundle.geralExtensaoInvalida}')"    
         cancelEntryControlLabel="#{bundle.geralCancelar}" 
         clearAllControlLabel="#{bundle.geralLimparTudo}"     
         clearControlLabel="#{bundle.geralLimpar}" 
         doneLabel="#{bundle.geralArquivoTransferidoComSucesso}"  
         progressLabel="#{bundle.geralTransferindoArquivo}" 
         stopControlLabel="#{bundle.geralParar}"  
         stopEntryControlLabel="#{bundle.geralParar}" 
         transferErrorLabel="#{bundle.geralErroNaTransferenciaDoArquivo}" /> Any idea?
    Thanks in advance.

    Hi, BalusC. Thanks for your reply.
    I already tried that. I put a navigation-rule in faces-config.xml to the same page of the rich:fileUpload, but the rich:fileUpload component doesn't starts a get or a post request. So the navigation-rule is ignored and the page wasn't rendered again.
    I also tried to put the <a4j:support ...> in the rich:fileUpload to re-render the <h:messages ...> component, but didn't work too. The <h:messages ...> wasn't re-render.
    Thanks in advance.
    Edited by: reolca on May 10, 2009 5:40 AM

  • Struts  ActionErrors  : I am out of ideas to show dynamic errors in my JSP

    I am not good at JSP/struts tags and I am having issues to show dynamic error message in my jsp
    Code
    In my business class I have
    ActionErrors errors = new ActionErrors();
    errors.add(ActionErrors.GLOBAL_ERROR, new ActionError(name.is.invalid"));
    In my jsp
         <c:if test="${not sess.parrot}">
    <td align="left" class="bgtblwhite" height="30"><font class="tabletitle2"><html:errors/></font></td>
    </c:if>
    This is existing code and works good .
    But I have a situation where the error message are generated dynamically and I am trying to reuse the existing code this way
    ActionErrors errors = new ActionErrors();
    //no key has been specified but the actual dynamic error message
    errors.add(ActionErrors.GLOBAL_ERROR, new ActionError("This is an invalid name ,age,sex"));
    Wondering if you can give me an idea as to how to show this in my jsp.
    Please help

    Try this:
    Make an entry in properties file like
    name = {0}Now use:
    errors.add(ActionErrors.GLOBAL_ERROR, new ActionError("name",val));where val contains the dynamic value like "This is an invalid name ,age,sex."
    Hope it helps.

  • AllinOne.js[dynamic] error while zooming and navigating to next page

    hi..
    i'm using crystal report 13 and vs2010 in 32 bit OS
    reports are working fine but when i click to next page
    or zoom or find a word then
    the allinOne.js[dynamic] file opens
    and shows the below error..
    Microsoft JScript runtime error: 'children.length' is null or not an object
    and the following is error in file
    A=G.children.length; it is showing A is undefined.
    what to do ..  i dont know i'm confused..

    I think we have the same or a similar problem. We converted
    our solution from Crystal Reports XI to Crystal Reports VS2010. To view the report
    we use the CrystalReportViewer on a web form (aspx file with code behind).
    Everything (except the known issue with the blank viewer on first use) is ok
    with IE9 but with IE7 and IE8 export and zoom are not working. When I click on
    zoom e.g. 125% the internet tools shows SCRIPT1032: Invalid Character, if I
    click on export it is not possible to select an export file format other than
    the selected one internet tools show errors SCRIPT13: Type Mismatch ‘return’
    and SCRIPT1032: Invalid Character.
    Problems with Zoom and Export
    Error on zoom
    Error on export
    We need at least IE8 support for Windows XP, our software only supports Internet Explorer, so other browsers are no alternative.
    Any help regarding these issues is really appreciated.

  • Getting Dynamic Error Text for Error Handling in BPM

    Hello,
    is there any way to get the error message or further details on an exception handler in BPM? I would like to pass the detailed error description of the error that has happened in BPM to an alert using a separate Alert container variable.
    Is this possible or do I need to hardcode potential errors?

    Hi Florian,
       Check Michal's reply in : catch the exception
    and Bhavesh's reply in Notify user about Exception in BPM
    Regards,
    ravi

  • Dynamic error in HRASR_DT

    Hello,
    When I try to create a process via HRASR_DT, the dump always appears.
    Working with form scenario is OK.
    Where can the problem be?
    Thanks.

    This problem existed because of standard error. Note 1075650 is the solution.

  • Anyone else seen this while loading a plugin: "Error #2044: Unhandled IOErrorEvent:"

    Hello All,
    I'm curious if anyone else has seen this error while loading an OSMF plugin dynamically:
    "Error #2044: Unhandled IOErrorEvent:. text=Error #2124: Loaded file is an unknown type."
    You will only see this with the debug version of the Flash Player. The plugin loads fine, but the RTE appears. I've submitted a bug for this (http://bugs.adobe.com/jira/browse/FM-1104) but apparently no one at Adobe can reproduce it while everyone on our team can easily reproduce it at will. Some use Windows, some use Macs.
    I've written a very simple player and a very simple plugin, you can simply refresh your browser to try to reproduce the error. You won't see anything on the page, just hit refresh a few times until you see it. You'll need the debug version of the Flash Player to see the RTE. One guy on our team (uses Windows) claims he sees it after he clears his browser cache. I can make it happen on Safari for Mac by simply hitting Cmd-R a few times.
    http://mediapm.edgesuite.net/chuck/osmf-test/OSMFPluginErrorTest.html
    I also see this on cnn.com. I've attached a screen shot.
    Go to cnn.com and watch any video. I get the RTE every time on the first try. We are seeing this repeatedly on OSMF built players that load OSMF plugins dynamically.
    Reply if you see the error. This will greatly help in determining that I've not completely lost my mind
    In the mean time, I'll be working locally on a work around and hopefully submit that to the OSMF trunk.
    Thanks,
    - charles

    Hi Charles,
    Re:  CNN.com > Yes I am seeing the error (with each video twice in fact, 1st on start of preroll, 2nd on start of main video)
    Re:  http://mediapm.edgesuite.net/chuck/osmf-test/OSMFPluginErrorTest.html
    This link is not loading.
    Both cases using both:
    Windows XP > IE 6.0.2900 > Flash Player 10,1,85,3 installed
    Windows XP > Firefox 2.0.0.18 > Flash Player 10,1,85,3 installed
    hth,
    g

  • Dynamic default bind variable

    Hi!
    I have a bind variable in a view object, where i want the default variable to be a text version of now (timestamp) in the format 'dd-mm-yyyy HH:mm'.
    I have tried to look at a solution using Groovy Expression, but I cannot figure out how to do it.
    Please HELP!!!! :-)
    /Casper

    Hi,
    You can create a method in your viewObject implementation class and retrieve the value from there, using groovy.
    I have used something similar to retrieve a dynamic parameter in an Entity validator.
    Have a look here: http://www.gabrielsideras.com/2010/10/03/groovy-display-dynamic-error-message-in-validator/
    and here: http://formattc.wordpress.com/2010/04/02/custom-java-bind-variable-in-a-where-clause-of-an-adf-view-object/
    Gabriel.

  • Display messages dynamically

    i want to show messages dynamically  i.e text and item no combindly
    please help me out.
    murali

    Hi Krishna murali.,
                    This is out of my experience that when a end user raises an order the partner function for the particular customer is PLIT,it is a store,When the partner function is copied to order,The user should get a Error message that ,Change the store,For that we have created dynamic error message in SE91 with the help of ABAPERs where it needs some coding
    REWARD if helpfull
    Thanks & Regards
    Narayana

  • Groovy expression for error message in validation

    hi...
    using groovy expression i want to display a dynamic error message...(ie.i have a date field the date cant be a past date..if i enter the past date like (02-04-2012 )the error message should display with this date)

    For a validation rule on an entity attribute, you can use a Groovy expression to decide whether
    an error or a warning message should be displayed using the following expression:
    adf.error.raise("THIS_IS_AN_ERROR_MESSAGE")
    adf.error.warn("THIS_IS_A_WARNING_MESSAGE")
    In your case, you can customize the message and access the date attribute in the message as source.HireDate(Assuming HireDate is the date attribute)
    Hope it helps.

  • Screen output without connection to user and other portal trouble

    I created filter. Saved it. If I tried edit it - it was allow. But after some time and after I used it in a query I trying edit the filter and can't do it! My rsplan portal page write to me:
    Screen output without connection to user., error key: RFC_ERROR_SYSTEM_FAILURE.
    ST22:
    Dynamic error:   DYNPRO_SEND_IN_BACKGROUND
    Short text:
         Screen output without connection to user.
    What happend?
         Error in the ABAP Application Program
         The current ABAP program "SAPLSTRD" had to be terminated because it has
         come across a statement that unfortunately cannot be executed.
    user, transaction...
        Client.............. 100
        User................ "PI_JCO_RFC"
        Language Key........ "E"
        Transaction......... " "
        Program............. "SAPLSTRD"
        Screen.............. "SAPLSTRD 0302"
        Screen Line......... 0
        Information on caller of Remote Function Call (RFC):
        System.............. "########"
        Database Release.... 645
        Kernel Release...... 645
        Connection Type..... "E" (2=R/2, 3=ABAP System, E=Ext., R=Reg. Ext.)
        Call Type........... "synchron and non-transactional (emode 0, imode 0)"
        Inbound TID.........." "
        Inbound Queue Name..." "
        Outbound TID........." "
        Outbound Queue Name.." "
    What happend? What I need to do? I try delete filter from query but it isn't make it editable.
    Another bug: I can delete this filter and can copy them into new filter. But when I delete it and try copy another filter to deleted technical name then system said that "element with same name already exist". How to delete the filter correctly?
    One more bug:
    I work with russian language. And on personalisation page of portal options I selected "Russian (Russia)" (There are variant simply "Russian" in list of langs but I tried it too with the same result) BUT I have only interface with russian lang and TEXTS of objects got for eng lang anymore (and in damp we can see that lang key = "E"). Where it must be corrected?
    And for last in this message: I can create an object or edit it but can see that object was last edited by PI_JCO_RFC. Is it right? So, how I will can see who change the object at last time?
    Help me please!

    >
    Deepti Maru wrote:
    > What object text you are talking about for which language is english but you want russian?
    I try describe it again.
    If I logon via SAPlogon with russian language in RSA1 I can see descriptions of objects for russian lang (and new objects which I will create will be with russian description if I enter it). In portal (rsplan) in personality I set russian language ang get the russian interface BUT it get descriptions for ENG and in this way I can't see any descriptions - only technical name because all objects was created with russian lang. So, what I need to do for get russian descriptions of objects in portal?
    And another trouble - when I create object (for example - aggregation level) in portal then I can't see descriptions of it in RSA1.
    And from this I have another question too. How I can (if it possible) use english interface and russian descriptions of objects in both portal and SAPLogon?

  • I can't import portal307 application into a new machine, why?

    i export application using the Navigator(Oracle9iAS102 Portal307 -> Navigator -> Applications tab -> Export next to APP_CRM), and then i save this sql file to app_crm.sql. After i have installed another machine with win2000server, oracle816, and oracle9ias102, i import this application as followings:
    appimp.cmd -s portal30 -p portal30 -t SCOTT -a APP_CRM -f app_crm.sql -c crmisp
    it works very well, and then i login to portal, but i can't see APP_CRM application(include in wwv_module$ table)!
    so i decided to use CREATE option as followings:
    appimp.cmd -s portal30 -p portal30 -t SCOTT -a APP_CRM -f app_crm.sql -c crmisp -m CREATE
    and then i get errors SP2-0642, it's over!!!
    pls hlp me.
    thanks.

    Im also having the same problem here. i run first the check mode, and its ok.. but when i try to run the create mode, it did import some components but not all. then it raises an error message
    ORA-03114: not connected to ORACLE
    ORA-24323: value not allowed
    Error accessing package DBMS_APPLICATION_INFO
    does anybody had the solution?
    here are my error messages...
    ...Importing component: ID = 1068646812 Name = OFIS Owner = OFIS Type = APP
    ...Importing component: ID = 10476692446 Name = CAL_BIL_EX Owner = OFIS Type = ADCALEND
    ...Importing component: ID = 10535946733 Name = CAL_HEARINGSKED Owner = OFIS Type = ADCALEND
    ...Importing component: ID = 10588671081 Name = CAL_HEARINGSKED1 Owner = OFIS Type = ADCALEND
    ...Importing component: ID = 10600763400 Name = CAL_HEARINGSKED12 Owner = OFIS Type = ADCALEND
    ...Importing component: ID = 10466606328 Name = CAL_HEARING_OFCR Owner = OFIS Type = ADCALEND
    ...Importing component: ID = 10273314196 Name = CAL_JIGS Owner = OFIS Type = ADCALEND
    ...Importing component: ID = 10233787934 Name = CAL_NOTAVAIL Owner = OFIS Type = ADCALEND
    ...Importing component: ID = 10899302919 Name = CAL_TEST Owner = OFIS Type = ADCALEND
    ...Importing component: ID = 10212728154 Name = CHART_0113042740 Owner = OFIS Type = CHART
    ...Importing component: ID = 10758388470 Name = CHART_ACCOUNTS_BYTYPE Owner = OFIS Type = ADCHART
    ...Importing component: ID = 10177654133 Name = CHART_DEN Owner = OFIS Type = CHART
    ...Importing component: ID = 10189327607 Name = CHART_TYPE_SERVICE Owner = OFIS Type = CHART
    ...Importing component: ID = 10750915078 Name = DYN_0122192821 Owner = OFIS Type = DYNAMIC
    ...Importing component: ID = 8522891306 Name = DYN_PIS Owner = OFIS Type = DYNAMIC
    ...Importing component: ID = 8755945310 Name = DYN_PUJ Owner = OFIS Type = DYNAMIC
    ERROR:
    ORA-03114: not connected to ORACLE
    ORA-24323: value not allowed
    Error accessing package DBMS_APPLICATION_INFO
    ERROR:
    ORA-03114: not connected to ORACLE

  • Where to put Validation Code?

    Up until now, Im still having second-thoughts of where to put validation code when setting attributes of an entity.
    Right now I have created lots of custom validators --(implement JbovalidatorInterface) that calls stored procedures to validate the value entered. But sometimes, i just use a ViewObject and query it on the setterAttribute method of the Entity and just manually throw a JboException of the value is invalid based on some business rule.
    Question is, what are the best practices where to put validation codes? do we have to be strict that we always put all validations on Validators or are we free to just throw JboExceptions anywhere on the BC classes' code.
    regards,
    Anton

    1. The reason I have a custom validator and I don't normally use the built in declarative validators is that the error message generated when the validation fails is fixed, only one message. I decided to have create a custom validator is that I need to test a one attribute for many cases in each case should produce a distinct error message. So if I use the built in validators, I would have to create lots of built in validators for that single attribute only. (and i have lots of entities and lots of attributes that needs business rule validation). So, I decided to create a custom validator, that calls the stored procedure, the stored procedure takes care of all test cases, for that attribute only, and I can return a dynamic error message depending on the test case that failed. What do you think about the approach?
    It's a little extra work to create a reusable validator class that will only be used once, but whether you do it that way or encapsulate the call in a helper class that your one-off method validator code delegates too, it seems similar to me. So it's more of a stylistic choice for you which you like better. Now, if your reusable validator were enable to encapsulate
    2. When I said anywhere; I meant inside the setterAttribute methods on the Entity and on the ViewRowImpl, orThe ViewImpl class or inside a method on an ApplicationModule?
    Rather than writing code in the setAttribute, I recommend using attribute-level method validators. This makes it more clear where all your validation code lives.
    I don't recommend performing validation in the view object level since entity objects are the component in the system that are tasked with handling validation. It would be easy to circumvent view level validation checks unless you make a lot of assumptions about exactly how your application is working.
    3. One other issue is that Validator methods are for validation purposes only. So its not a good idea to put in attribute setters to other attributes inside there. So you put the attribute setter logic outside of the validator usually inside the setAttribute() just after validator returns. But there are cases that is very straightfoward to put validation logic inside the setAttribute; meaning, inside the setAttribute() method, I test for a condition, if it fails, just throw a JboException, if its true, continue with the otherAttributes setter logic.
    Whether attribute setting of other attributes is performed in a setter method or in an attribute-level method validator, either way you will need conditional logic to avoid going into a validation "loop" (which eventually will throw an exception if after 10 attempts the object is still not valid at posting time.

  • Setting profile parameter icm/HTTP/error_templ_path

    Hi, I have a SAP Enterprsie Portal installation with only java stack (no abap stack),
    i want to set a profile parameter icm/HTTP/error_templ_path,
    please direct me how to set this parameter, 
    also, i need this parameter to be applicable for the SAP web dispatcher, i mean it should be effective for all java instances (i have 2 java instances),
    please help,.......................as there is no ABAP stack, i dont know where to set this parameter

    That parameter you mentioned describes of where the error templates can be found
    You can generate your own static or dynamic error pages for the ICM
    which are sent to the client if an error occurs. Use this parameter
    to specify the directory in which the ICM can find the pages.
    If this parameter is not set, the ICM returns its own static error
    page.
    For information about how to generate the error pages, see the
    documentation in the SAP Library or using the Help Portal.
    SAP Web Application Server -> Client/Server Technology ->
    Architecture of the SAP Web Application Server -> SAP Web
    Application Server Components -> Internet Communication Manager ->
    Error Handling Using the ICM.
    Eventhough u have only java stack u'll have an ICM.
    Since the value for the parameter is just a string mentioning the path of the folder which contains the customised web pages.
    Mention the same path in all the instance profiles (in your case 2 java instances).

  • AbstractPortalComponent and call RFC via Connectivity Service

    HI!
    Can You help me?
    public class start_RCW extends AbstractPortalComponent
         public void init(IPortalComponentInitContext arg0) throws PortalComponentException
              super.init(arg0);
         public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
              String KEY = "usb.bapi.utils.InitParams";
              String SAP_MANDANT_BS = "BS";
              String SAP_MANDANT_AM = "AM";
              String LOGGER_NAME = "logger_usb.bapi.utils.InitParams";
              // function name     
              String SAP_BAPI_NAME = "Z_EXT_SYSTEM_URL_GET";
              // param
              String SAP_BAPI_PARAM_EXT_SYSTEM = "EXT_SYSTEM";
              // result
              String SAP_BAPI_RESULT_ZEXT_SYSTEM_URL = "ZEXT_SYSTEM_URL";
              String SAP_BAPI_RESULT_FUNCTION = "FUNCTION";
              String SAP_BAPI_RESULT_URL_SYSTEM = "URL_SYSTEM";
              IPortalComponentRequest in_request = (IPortalComponentRequest) request;
              IUser user = in_request.getUser();
              String uid = user.getUniqueName();
              response.write(uid);
              String sapSystem = "BS";
              Hashtable result = new Hashtable();
              //final Logger my_logger = new Logger(LOGGER_NAME);
              try
                   ConnectionProperties prop = null;
                   IConnectorGatewayService cgService = null;
                   IConnection connection = null;
                   Object connectorservice = PortalRuntime.getRuntimeResources().getService(KEY); // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                   cgService = (IConnectorGatewayService) connectorservice;
                   prop = new ConnectionProperties(null, user);
                   if (sapSystem.equalsIgnoreCase("AM"))
                        connection = cgService.getConnection(SAP_MANDANT_AM, prop);
                   else if (sapSystem.equalsIgnoreCase("BS"))
                        connection = cgService.getConnection(SAP_MANDANT_BS, prop);
                   // get the interaction interface for executing the command
                   IInteraction ix = connection.createInteractionEx();
                   // get interaction spec and set the name of the command to run
                   IInteractionSpec ixspec = ix.getInteractionSpec();
                   // put function name into interaction properties.
                   ixspec.setPropertyValue("Name", SAP_BAPI_NAME);
                   // prepare query
                   RecordFactory rf = ix.getRecordFactory();
                   MappedRecord input = rf.createMappedRecord("input");
                   // put function input parameters
                   input.put(SAP_BAPI_PARAM_EXT_SYSTEM, "BS");
                   MappedRecord output = (MappedRecord) ix.execute(ixspec, input);
                   Object result_sap = output.get(SAP_BAPI_RESULT_ZEXT_SYSTEM_URL);
                   IRecordSet rs = (IRecordSet) result_sap;
                   while (rs.next())
                        result.put(rs.getString(SAP_BAPI_RESULT_FUNCTION), rs.getString(SAP_BAPI_RESULT_URL_SYSTEM));
                        response.write(rs.getString(SAP_BAPI_RESULT_FUNCTION));
                        response.write(rs.getString(SAP_BAPI_RESULT_URL_SYSTEM));
                   ix.close();
              catch (Exception e)
                   response.write(e.toString());
    When I "run"  component from Developer Studio I have "Portal dynamic error" and next record in log.
    #1.5 #00145E75F2AE00860000923E0012907C0004A93490BC046F#1311943138477#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#Guest#0##n/a##bac05f90b9df11e0869b00145e75f2ae#SAPEngine_Application_Thread[impl:3]_28##0#0#Error#1#/System/Server#Java###Exception ID:02:38_29/07/11_0020_5587351
    [EXCEPTION]
    {0}#1#com.sapportals.portal.prt.component.PortalComponentException: Error in init method
    Component : RCW_S.start_RCW
    at com.sapportals.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:251)
    at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refresh(PortalComponentContextItem.java:271)
    at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getContext(PortalComponentContextItem.java:316)
    at com.sapportals.portal.prt.component.PortalComponentRequest.getComponentContext(PortalComponentRequest.java:387)
    at com.sapportals.portal.prt.connection.PortalRequest.getRootContext(PortalRequest.java:488)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:607)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)
    at java.security.AccessController.doPrivileged(AccessController.java:246)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(AccessController.java:219)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Caused by: com.sapportals.portal.prt.core.broker.PortalComponentInstantiationException: Could not instantiate implementation class com.usb.rcw.start_RCW of Portal Component RCW_S.start_RCW because: Linkage error while loading implementation class
    at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getInstanceInternal(PortalComponentItemFacade.java:234)
    at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getComponentInstance(PortalComponentItemFacade.java:160)
    at com.sapportals.portal.prt.core.broker.PortalComponentItem.getComponentInstance(PortalComponentItem.java:732)
    at com.sapportals.portal.prt.component.PortalComponentContext.getComponent(PortalComponentContext.java:103)
    at com.sapportals.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:242)

    Hi,
    the error message tells that there is a linkage error at runtime. Therefore, I guess you need to add some private sharing references in the portal app xml of your file.
    This worked for me in a similar scenario.
        <property name="PrivateSharingReference" value="com.sap.portal.pcd.glservice, com.sap.portal.ivs.api_landscape, com.sap.portal.usermanagement, com.sap.portal.ivs.connectorservice"/>   
    I am not sure whether you will need all of them.
    Best regards,
    Martin

Maybe you are looking for