UnitOfWork is not committing in JBOSS

Hi All,
     I'm using Toplink in Jboss 4.0.5 and getting the JDBC connection as:
uow = session.acquireUnitOfWork();
DatabaseLogin login = session.getLogin();
conn = (java.sql.Connection)login.connectToDatasource(null);
After performing the transactions its not commiting to the database, instead it gets committed as soon as I stop Jboss server.
Please help me to fix this issue..
Thanks

You should first make sure your session.login is completed before starting to use the session. I am unsure why you are accessing the connection. The connection returned will not necessarily be the one used by TopLink. You should just use the UnitOfWork and then rely on TopLink to properly access the configured data source during the transactional write.
The real issues surrounding TopLink's UnitOfWork and integration with the container is the type of transaction control and the type of data source being used.
JTA: Ensure you have a managed data source where the container controls the transactions. Then ensure you configure TopLink to use external transaction control. The UnitOfwork will be registered with the active JTA transaction and will write its SQL during the JTA call-backs and not on UnitOfWork.commit()
RESOURCE_LOCAL (JDBC): Ensure the data source is not managed (i.e. no JTA). Here the UnitfWork.commit() will cause Toplink to begin the transaction and write your changes.
Doug

Similar Messages

  • RFC fetching data from table which is not commited

    Hi Experts,
                   I have a query regarding commit work.Below is the RFC that i have written
    FUNCTION ZBAPI_CREATE.
    *"*"Local Interface:
    *"  TABLES
    *"      IT_ZABAP_RFC STRUCTURE  ZBAPI_RFC_STR OPTIONAL
    *"      RETURN STRUCTURE  BAPIRET2 OPTIONAL
    CALL FUNCTION 'ZBO_BAPI_CREATE'
    TABLES
       IT_ZABAP_RFC       = IT_ZABAP_RFC
       RETURN             = return
    Break-point.
    DATA lt TYPE TABLE OF ZBAPI_RFC_STR_MAIN.
    CALL FUNCTION 'ZBAPI_SEARCH_RANGE'
    * EXPORTING
    *   IS_STR        =
    TABLES
       ET_TAB        = lt
    *   RETURN        =
    ENDFUNCTION.
    here in first RFC call i am creating a record in ZTABLE , and then at break-point
    i check the ZTABLE where it does not create any record because data is not commited into ZTABLE upto this point, but just after it i have written code for fetching data from ZTABLE but i am able to get this new record in lt.
    Can anybody please explain that from where this serach RFC is providing data because inside serach i am simply selecting data from ZTABLE.
    Regards,
    Abhishek Bajpai
    Edited by: ABHISHEK BAJPAI on Jan 28, 2009 1:12 PM

    Hi Thomas,
                     Thanks for reply , i checked in ZTABLE ,before search RFC call data is not there but if i commit explicitly only then it is showing data in ZTABLE. Actually my requirement is different -
    I have two RFCs 1. Create 2. Search , Now  from web dynpro user will call first Create RFCs but at this point it should not insert record in ZTABLE and just after it user will call another search RFC and in this search he should be able to get these newly created records.
    I want to have the functionality which a user gets when working with normal database front end like SQLPLus for Oracle. In these scenarios we see that whenever user does any insert or update the data sits in the table but still it is not committed. So there he fires Select query he sees the inserted data. But if he logs off from SQL PLUS and then logs in again, and fires Select query he does not see the data as it was not committed. I want a similiar functionalty in which if user inserts the data through Create RFC and fires the Select query through Search RFC then he can see the newly Created data also even though this data is not committed.
    Although if i call create RFC in update task it will not update ZTABLE but in this situation , if user will call search RFC he will not be able to get newly created records.
    So my requirement is that i should be able to get those records which are not commited in ZTABLE .If you have still any doubt regarding my question then please let me know.
    Regards,
    Abhishek

  • Why is my  CLEAR_BLOCK(no_validate) not committing to the database?

    What I need is when the alert button 1 is selected fo to the detail block(ADM) and just delete everything for the current master id. When I click on the button it deletes for a split second and all the data comes back.Quite confused..
    IF Id_Null(al_id) THEN
    Message('Alert does not exist');
    RAISE Form_Trigger_Failure;
    ELSE
    al_button := Show_Alert(al_id);
    IF al_button = ALERT_BUTTON1 THEN
         :global.cl_blk := 'Y';
         go_block('ADM');
         CLEAR_BLOCK(no_validate);
         synchronize;
         go_item('adm.dci_name');
         execute_query;
    else
              :global.cl_blk := 'N';
    GO_ITEM('AM.MAPPING_LEVEL');
    END IF;
    END IF;

    Why is my CLEAR_BLOCK(no_validate) not committing to the database?Better read the Clear_Block on-line help. I think you are mistaking the No_Validate parameter with the Do_Commit parameter.
    The No_Validate parameter "*+Form Builder flushes the current block without validating the changes, committing the changes, or prompting the end user.+*"
    With No_Validate, your changes are discarded, and NOT committed.

  • Trigger changes are not committing to the database

    I have 9iAS and 9i DB both on my laptop.
    I am having a problem in which a trigger run off a WHEN_BUTTON_PRESSED function is not committing the changes to the database. In the trigger I have:
    1 record insert into table A.
    1 record update to table B.
    1 record insert into table C.
    1 delete from table D.
    None of the data is related.
    I have tried various combinations of the below to get the changes to commit:
    POST;
    COMMIT_FORM;
    Exit_Form(NO_COMMIT, NO_ROLLBACK);
    MESSAGE('Got past COMMIT');
    COMMIT;
    CLEAR_FORM(NO_COMMIT);
    ENTER_QUERY;     
    I am getting varying amounts of "FRM: 40508 Oracle Error: Unable to INSERT record" statements. Even so, many times the form would act as if the changes had been properly applied. But when I did a separate DB verification, I would see that the changes are not being committed. Also, most of the time the changes would also be reflected in the calling form queries, but when I exit, all changes are rolled back no matter how many commit stmts are in the trigger.
    I have finally gotten the form to do what I want to do (the 4 steps noted above), but I had to add a FORMS_DDL('COMMIT'); stmt and I am still getting a FRM 40508, but at least the changes are appearing in the db.
    Any ideas on why so many troubles in getting the changes to commit??? I have spent a ton of hours trying "what ifs" to see what might work. Also, this trigger is the only real "code" in the forms.
    Kim

    Brett -
    You're probably right about the intention, but this is a place where people can come and share styles, ideas, and coding tricks, I don't understand why someone would say that. Additionally, I had a professor who was a complete momo that said that all the time (consequently, his lax attitude towards teaching crippled the IS program where I graduated and most likely will cause it to no longer be available). It's a personal peeve of mine, just to let you know where I was coming from.
    Secondly, the problem I'm having may have to do with what you said, however I can't be sure. To give a better description of my scenerio, I created a form that allows the user to load information about an employee by querying a SSN. Most of this information is for display only. Six fields are available to be updated and I wrote a DML UPDATE statement that I placed inside a WHEN-BUTTON-PRESSED trigger. However, these changes won't be written to the DB because Forms is attempting to write my entire datablock, instead of just following the specified DML statements. I'm at a loss as to why this would happen, but for simplicity's sake, I would listen to ideas of how to suppress this from happening so only my statements are used when updating the DB. If you can help, thank you, if not, then thank you for your time.
    Steve

  • Records Not Commiting - PLSQL Block

    Hi,
    Good Day to all..
    DECLARE
      v_annotation_id_1   VARCHAR2(200):='101';
      v_annotation_type_1 VARCHAR2(200):='OMG';
      v_j                 NUMBER;
      v_user_id_string    VARCHAR2(200);
      v_user_id           NUMBER;
    BEGIN
      FOR v_j IN 1..2
      LOOP
        SELECT MAX(TRUNC(NVL(user_id,0)))
        INTO v_user_id_string
        FROM TABLE_XXX;
        v_user_id:= to_number(trim(v_user_id_string))+1;
        dbms_output.put_line('v_user_id_string-->'||v_user_id_string);
        dbms_output.put_line('v_user_id-->'||v_user_id);
        INSERT
        INTO TABLE_XXX
            TTT_annotation_id,
            user_id,
            digital_package_id,
            annotation_id,
            time_code,
            annotation_type,
            created_date,
            created_by
          VALUES
            seq_TTT_annotation_id.nextval,
            v_user_id,
            1004,
            v_annotation_id_1,
            100,
            v_annotation_type_1,
            sysdate,
            'TTTService'
           dbms_output.put_line('v_user_id 1 -->'||v_user_id);
        INSERT
        INTO TABLE_XXX
            TTT_annotation_id,
            user_id,
            digital_package_id,
            annotation_id,
            time_code,
            annotation_type,
            created_date,
            created_by
          VALUES
            seq_TTT_annotation_id.nextval,
            v_user_id,
            1004,
            v_annotation_id_1,
            100,
            v_annotation_type_1,
            sysdate,
            'TTTService'
          dbms_output.put_line('v_user_id 2 -->'||v_user_id);
         COMMIT;
         DBMS_OUTPUT.PUT_LINE('SQL%ROWCOUNT -->'||SQL%ROWCOUNT);
      END LOOP;
      COMMIT;
    END;
    Sample Output
    v_user_id_string-->100002828932367
    v_user_id-->100002828932368
    v_user_id 1 -->100002828932368
    v_user_id 2 -->100002828932368
    SQL%ROWCOUNT -->0
    v_user_id_string-->100002828932368
    v_user_id-->100002828932369
    v_user_id 1 -->100002828932369
    v_user_id 2 -->100002828932369
    SQL%ROWCOUNT -->0
    TABLE_XXX --> Primary Key - TTT_annotation_id NOT NULL Datatype: NUMBER
    Data is not getting committed; when i checked the SQL%ROWCOUNT it shows "0".
    I have no idea why it is not commiting the data.
    All the sessions are either COMMITTED or ROLLBACK.
    Thanks for reply....

    You are over committing.
    SQL> create table t (n number);
    Table created.
    SQL> set serverout on
    SQL> begin
      2    insert into t values (1);
      3    dbms_output.put_line ('Rows inserted: '|| sql%rowcount);
      4  end;
      5  /
    Rows inserted: 1
    PL/SQL procedure successfully completed.
    SQL> edi
    Wrote file afiedt.buf
      1  begin
      2    insert into t values (1);
      3    commit;
      4    dbms_output.put_line ('Rows inserted: '|| sql%rowcount);
      5* end;
    SQL> /
    Rows inserted: 0
    PL/SQL procedure successfully completed.Commit ends the current transaction and will result in subsequent sql%rowcount being zero.

  • Delete operation not commited

    Hello,
    I have a Delete operation which is never commited. When I click on delete button, the view object's row is deleted. But when I click on Commit button (which is the Commit operation of the Root Application Module), the delete operation is not commited. Debugging, I see that doDML method is not called.
    Any idea on what happens?

    Yes the View is editable.
    I can't create a fresh page to test this, but I can test directly debugging the application module. And I have the same problem. If I update or create a row, I can commit. But if I delete a row, the Commit button is not enabled.
    With "Commit Button from Application Module Data Controls > Operations > Commit/Rollback", did you mean to execute Commit operation from bindings? If yes, it's same problem.
    Maybe it is because of some hacks I have done in VOImpl classes. I will see if I can test this without my hacks.

  • Transaction not committed

    Hi
    how can i find transaction not committed? I cannot find in v$lock, but i want find first transaction, which is not committed and block others.
    Any ideas?
    Thanks

    Use v$transaction view to check uncomiited transactions.
    See here it's already discussed:
    Re: How to query uncommited transactions
    Locked objects can find with this select:
    select
    c.owner,
    c.object_name,
    c.object_type,
    b.sid,
    b.serial#,
    b.status,
    b.osuser,
    b.machine
    from
    v$locked_object a ,
    v$session b,
    dba_objects c
    where
    b.sid = a.session_id
    and
    a.object_id = c.object_id;

  • TopLink cached object changed are not commited to the database

    Hello,
    I'm using TopLink 10 and I have a writing issue with a use case:
    1. I read an obect using TopLink that is in the IdentityMap
    2. Using JSF this object is edited throught a web form.
    3. I give the modified object to the data layer and try to modify inside a unit of work:
    UnitOfWork uow = session.acquireUnitOfWork();
    //laspEtapeDef comes from JSF and has been modfied previously
    LaspEtapeDef laspEtapeDefClone = uow.readObject( laspEtapeDef );
    //I update the clone field
    laspEtapeDefClone.setDescription(laspEtapeDef.getDescription());
    uow.commit();4. I use again the same object to display it once modified.
    The object is modified in the cache but the modified fields are never commited to the database. This code works only if I disable the cache.
    So, I've modified my JSF form to send the fields instead of modifying directly the object.
    My question: Is there a way to commit changes mades in an cached object?
    I've found the following section in the documentation, that explain the problem but doesn't gives the solution:
    http://docs.oracle.com/cd/E14571_01/web.1111/b32441/uowadv.htm#CACGDJJH
    Any idea?

    How are you reading in the object initially? The problem is likely that you are modifying an object from the session cache. When you then read in the object from the uow, it uses the object in the session cache as the back up. So there will not appear to be any changes to persist to the database.
    You will need to make a copy of the object for modification, or use the copy from the unitofwork to make the changes instead of working directly on the object in the session. Disabling the cache means there is no copy in the session cache to use as a back up, so the uow read has to build an object from the database.
    Best Regards,
    Chris

  • t:jscookmenu is not working in Jboss portlet.

    hi..
    i am facing a problem in <t:jscookmenu>, that is , i am using the JBoss portlet 2.4 and my aim is to provide a top menu in the default index page.i tried with <t:jscookmenu> , but it is throwing error(scroll down for error code), but <t:outputtext> are all working good.
    error code:
    ERROR [CommandFilter] Exception in command invocation
    org.apache.jasper.JasperException: org.jboss.portlet.JBossRenderRequest
         at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.execute(PortletRequestDispatcherImpl.java:87)
         at sun.reflect.GeneratedMethodAccessor304.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.portal.server.servlet.CommandFilter.doFilter(CommandFilter.java:65)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
         at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:108)
         at org.apache.myfaces.context.portlet.PortletExternalContextImpl.dispatch(PortletExternalContextImpl.java:164)
         at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:195)
         at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
         at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:323)
         at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:298)
         at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:380)
         at org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:266)
         at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:167)
         at javax.portlet.GenericPortlet.render(GenericPortlet.java:407)
         at org.jboss.portal.portlet.container.PortletContainer.invokeRender(PortletContainer.java:519)
         at org.jboss.portal.portlet.container.PortletContainer.dispatch(PortletContainer.java:440)
         at org.jboss.portal.portlet.container.PortletContainerInvoker$1.dispatch(PortletContainerInvoker.java:143)
         at org.jboss.portal.portlet.invocation.PortletInvocation.dispatch(PortletInvocation.java:242)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
         at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeNotSupported$aop(TransactionInterceptor.java:85)
         at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_4827075286966232824.invokeNext(TransactionInterceptor$invokeNotSupported_4827075286966232824.java)
         at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)
         at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:101)
         at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_4827075286966232824.invokeNext(TransactionInterceptor$invokeNotSupported_4827075286966232824.java)
         at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeNotSupported(TransactionInterceptor.java)
         at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:55)
         at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:49)
         at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.portlet.aspects.portlet.ProducerCacheInterceptor.invoke(ProducerCacheInterceptor.java:50)
         at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.portlet.aspects.portlet.ModesInterceptor.invoke(ModesInterceptor.java:59)
         at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:45)
         at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.portlet.aspects.portlet.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:55)
         at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.portlet.aspects.portlet.PortletSessionSynchronizationInterceptor.invoke(PortletSessionSynchronizationInterceptor.java:76)
         at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor$InvokeNextCommand.execute(ContextDispatcherInterceptor.java:124)
         at sun.reflect.GeneratedMethodAccessor295.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.portal.server.servlet.CommandServlet.doGet(CommandServlet.java:104)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:539)
         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
         at org.jboss.portal.portlet.impl.spi.AbstractRequestContext.include(AbstractRequestContext.java:193)
         at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor$1.include(ContextDispatcherInterceptor.java:68)
         at org.jboss.portal.server.servlet.CommandServlet.include(CommandServlet.java:84)
         at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:74)
         at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.portlet.aspects.portlet.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:50)
         at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.portlet.aspects.portlet.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:65)
         at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.portlet.aspects.portlet.ValveInterceptor.invoke(ValveInterceptor.java:61)
         at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
         at org.jboss.portal.portlet.container.PortletContainerInvoker.invoke(PortletContainerInvoker.java:114)
         at sun.reflect.GeneratedMethodAccessor294.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
         at $Proxy61.invoke(Unknown Source)
         at org.jboss.portal.portlet.state.producer.StatefulPortletInvoker.invoke(StatefulPortletInvoker.java:249)
         at sun.reflect.GeneratedMethodAccessor293.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
         at $Proxy63.invoke(Unknown Source)
         at org.jboss.portal.federation.impl.FederatedPortletInvokerService.invoke(FederatedPortletInvokerService.java:139)
         at org.jboss.portal.federation.impl.FederatingPortletInvokerService.invoke(FederatingPortletInvokerService.java:155)
         at sun.reflect.GeneratedMethodAccessor292.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
         at $Proxy65.invoke(Unknown Source)
         at org.jboss.portal.portlet.test.TestPortletInvoker$1.dispatch(TestPortletInvoker.java:63)
         at org.jboss.portal.portlet.invocation.PortletInvocation.dispatch(PortletInvocation.java:242)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
         at org.jboss.portal.portlet.aspects.portlet.PortalSessionSynchronizationInterceptor.invoke(PortalSessionSynchronizationInterceptor.java:85)
         at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.portlet.aspects.portlet.ConsumerCacheInterceptor.invoke(ConsumerCacheInterceptor.java:93)
         at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.core.model.instance.InstanceSecurityInterceptor.invoke(InstanceSecurityInterceptor.java:83)
         at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
         at org.jboss.portal.portlet.test.TestPortletInvoker.invoke(TestPortletInvoker.java:123)
         at sun.reflect.GeneratedMethodAccessor286.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
         at $Proxy47.invoke(Unknown Source)
         at org.jboss.portal.core.impl.model.instance.InstanceImpl.invoke(InstanceImpl.java:273)
         at org.jboss.portal.core.command.RenderWindowCommand.execute(RenderWindowCommand.java:108)
         at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:91)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
         at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:171)
         at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.core.aspects.controller.PageNavigationInterceptor.invoke(PageNavigationInterceptor.java:80)
         at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:79)
         at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:59)
         at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
         at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:102)
         at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:91)
         at org.jboss.portal.core.command.CommandContext.chain(CommandContext.java:148)
         at org.jboss.portal.core.command.MarkupCommand.renderPortletWindow(MarkupCommand.java:463)
         at org.jboss.portal.core.command.RenderPageCommand.renderFragments(RenderPageCommand.java:76)
         at org.jboss.portal.core.command.MarkupCommand.execute(MarkupCommand.java:340)
         at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:91)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
         at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:171)
         at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.core.aspects.controller.PageNavigationInterceptor.invoke(PageNavigationInterceptor.java:80)
         at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:79)
         at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:59)
         at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
         at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:102)
         at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:91)
         at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:78)
         at org.jboss.portal.core.CoreController.handle(CoreController.java:126)
         at sun.reflect.GeneratedMethodAccessor301.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:287)
         at $Proxy139.handle(Unknown Source)
         at org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:79)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
         at org.jboss.portal.server.aspects.server.NavigationInterceptor.invoke(NavigationInterceptor.java:64)
         at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:65)
         at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:74)
         at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:174)
         at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:92)
         at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.core.aspects.server.TransactionInterceptor.org$jboss$portal$core$aspects$server$TransactionInterceptor$invoke$aop(TransactionInterceptor.java:49)
         at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
         at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
         at org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:275)
         at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
         at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java)
         at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
         at org.jboss.portal.server.servlet.PortalServlet.process(PortalServlet.java:294)
         at org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:172)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
         at java.lang.Thread.run(Thread.java:595)
    16:44:16,476 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
    java.lang.ClassCastException: org.jboss.portlet.JBossRenderRequest
         at org.apache.myfaces.component.html.util.AddResource.addAdditionalHeaderInfoToRender(AddResource.java:376)
         at org.apache.myfaces.component.html.util.AddResource.addJavaScriptToHeader(AddResource.java:126)
         at org.apache.myfaces.component.html.util.AddResource.addJavaScriptToHeader(AddResource.java:116)
         at org.apache.myfaces.custom.navmenu.jscookmenu.HtmlJSCookMenuRenderer.addResourcesToHeader(HtmlJSCookMenuRenderer.java:309)
         at org.apache.myfaces.custom.navmenu.jscookmenu.HtmlJSCookMenuRenderer.encodeEnd(HtmlJSCookMenuRenderer.java:267)
         at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:712)
         at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:616)
         at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:539)
         at org.apache.jsp.WEB_002dINF.jsp.message_jsp._jspx_meth_t_jscookMenu_0(message_jsp.java:185)
         at org.apache.jsp.WEB_002dINF.jsp.message_jsp._jspx_meth_f_view_0(message_jsp.java:131)
         at org.apache.jsp.WEB_002dINF.jsp.message_jsp._jspService(message_jsp.java:97)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.execute(PortletRequestDispatcherImpl.java:87)
         at sun.reflect.GeneratedMethodAccessor304.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.portal.server.servlet.CommandFilter.doFilter(CommandFilter.java:65)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
         at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:108)
         at org.apache.myfaces.context.portlet.PortletExternalContextImpl.dispatch(PortletExternalContextImpl.java:164)
         at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:195)
         at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
         at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:323)
         at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:298)
         at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:380)
         at org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:266)
         at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:167)
         at javax.portlet.GenericPortlet.render(GenericPortlet.java:407)
         at org.jboss.portal.portlet.container.PortletContainer.invokeRender(PortletContainer.java:519)
         at org.jboss.portal.portlet.container.PortletContainer.dispatch(PortletContainer.java:440)
         at org.jboss.portal.portlet.container.PortletContainerInvoker$1.dispatch(PortletContainerInvoker.java:143)
         at org.jboss.portal.portlet.invocation.PortletInvocation.dispatch(PortletInvocation.java:242)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
         at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeNotSupported$aop(TransactionInterceptor.java:85)
         at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_4827075286966232824.invokeNext(TransactionInterceptor$invokeNotSupported_4827075286966232824.java)
         at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)
         at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:101)
         at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_4827075286966232824.invokeNext(TransactionInterceptor$invokeNotSupported_4827075286966232824.java)
         at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeNotSupported(TransactionInterceptor.java)
         at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:55)
         at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:49)
         at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.portlet.aspects.portlet.ProducerCacheInterceptor.invoke(ProducerCacheInterceptor.java:50)
         at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.portlet.aspects.portlet.ModesInterceptor.invoke(ModesInterceptor.java:59)
         at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:45)
         at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.portlet.aspects.portlet.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:55)
         at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.portlet.aspects.portlet.PortletSessionSynchronizationInterceptor.invoke(PortletSessionSynchronizationInterceptor.java:76)
         at or

    hi,
    We are calling  SBWP transaaction as a transaction Iview from EP. We are able to see the tasks in the Inbox and could able to work on the same. But it does not really do anything to the tasks at the R/3.(Ideally, the tasks should be completed).
    If you run in R/3 same transaction using logon pad, the tasks are getting completed.

  • EJB 3 CMP not working in JBoss

    hi,
    i created a simple CMP Entity Bean with mySQL and works fine with OC4J but when delpoy to JBoss 4.0.4RC1, it doesn't work.
    What I realised is that when a JDeveloper create a CMP Entity Bean from a Table it uses @Resource annotaion while I saw all the JBoss samples using @Persistance annotation.
    I changed my CMP to use @persistence annotation and created a persistence.xml file; for somereason it is not working neither in JBoss nor does it work in OC4J.
    Now, if i continue using @Resource annotation, where can I set the datasource so that the @Resource annotation uses my datasource when I deploy it to JBoss?
    or is there any other way to get it working?
    p/s: my datasource is working fine. i created a simple slsb and used
    DataSource ds =
    (DataSource)context.lookup(
    "java:jdbc/mysqlDS");
    and it works fine both in OC4J and JBoss
    any help is appreciated.
    thanks

    Ok, i got this working in JBoss.
    1) Replaced @Resource annotation with @Peristence annotation
    @PersistenceContext(unitName="mysql")
    2) Created persistence.xml in META-INF directory
    <persistence>
    <persistence-unit name="mysql">
    <jta-data-source>java:/jdbc/mysqlDS</jta-data-source>
    <!-- <properties>
    <property name="hibernate.hbm2ddl.auto"
    value="create-drop"/>
    </properties> -->
    </persistence-unit>
    </persistence>
    that is it.
    It means that whether we create EJB 3 on toplink EJB 3 or hibernate EJB 3, we should be able to run it on any of these as long as we stick with the standard annotations. JBoss Hibernate EJB has many additional annotations.
    Now, the only thing that is not working is my Firebird DataSource in JBoss. If anyone has done it please let me know .. thanks.

  • Cost center not committed on shopping cart,  for account assign cat "Asset"

    Hello,
    We are implementing extended classic scenario in SRM 5.0 with ECC 6.0 backend.
    While creating a shopping cart in SRM, in the cost assignment tab when we select an account assignment category as “Asset", and then try to enter a value in the cost center in the basic details of cost assignment, it is not getting committed to shopping cart screen. The cost center field value is lost when we move to the next screen for ordering the shopping cart. For the asset related purchases, we are using main account assignment category as "asset" and it also requires cost center, because while the asset master record is being created in R/3 for these items,it requires the cost center. We also using internal order. So for the account assignment category "Asset", the other account assignment fields that can be entered are cost center, internal order and one custom field called "project code".
    We have created this user-defined field in the cost assignment tab in the shopping cart, purchase order and confirmation documents in SRM in accordance with the OSS note 672960. We have implemented BBP_CUF_BADI_2 & BBP_DOC_CHANGE_BADI, BBP_DOC_CHECK_BADI for the shopping cart object.
    Can someone please help me with this issue?
    Thanks,
    Krupa

    thanks Ramakrishna and Yann for your prompt reply..
    Ramakrisha,
      I know that for assets, SC requires asset number and G/L is automatically derived from the corresponding asset class from the backend. In our case, we are putting dummy asset number in shopping cart and this asset number exists in R/3. But we are not generating asset creation during shopping cart creation but we are doing it during the PO creation in doc change badi. During this asset generation you also need cost center on the asset record. So we have added cost center field for Asset account assignment category and I can see it in the details of account assignment. But when I enter this cost center on shopping cart, it doesnot get committed, it disappears when I order the shopping cart.
    Does anybody have any clue why this might be happening?
    Thanks,
    Krupa

  • [HELP] [BPEL 11g] Customized BPEL worklist app could not work on JBoss

    Dear all,
    We are developing the customized Human Worklist app based on BPEL HW API 11g.
    The application (some jsp pages) works fine in JDeveloper 11g. However, after deploy to JBoss, it always prompt with "NoClassDefFoundError" exception, although we have already add following 7 jar files into Classpath:
    ${jdeveloper.home}\Middleware\wlserver_10.3\server\lib\weblogic.jar
    ${jdeveloper.home}\Middleware\jdeveloper\modules\oracle.jrf_11.1.1\jrf.jar
    ${jdeveloper.home}\Middleware\jdeveloper\modules\oracle.webservices_11.1.1\wsclient.jar
    ${bea.home}/AS11gR1SOA/soa/modules/oracle.soa.fabric_11.1.1/bpm-infra.jar
    ${bea.home}/AS11gR1SOA/soa/modules/oracle.soa.workflow_11.1.1/bpm-services.jar
    xml.jar
    xmlparserv2.jar
    Then we manually copy many other jars (nearly 100) under Weblogic server, but it still prompt lacking of some jar file with "NoClassDefFoundError" exception.
    So, does BPEL 11g support deploy HW app outside weblogic, like JBoss? If so, what we need to set at JBoss side to run our app?
    Thanks a lot.

    Not sure it is available yet as I have not seen any doc for 11g.
    here is the 10g instructions which may provide some pointers.
    http://download-east.oracle.com/docs/cd/B31017_01/web.1013/b25947/deployment_topics012.htm
    cheers
    James

  • Response not committed on Tomcat 4.1

    Hello, I have the following application architecture:
    A button on a JSP is clicked, which sends the request to the Controller servlet. This servlet gets a RequestDispatcher and forwards to another specified JSP. The problem is where I check to see that the response is committed, it goes through my finally block and executes, which is not expected behaviour. This works on Tomcat 4.0.
    The code fragment for that is as follows:
    public void doPost (HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException
        try {
          RequestDispatcher rd getServletContext().getRequestDispatcher(JSP);
          rd.forward(req,resp);
        catch (Exception e) {
          System.err.println(e.getMessage());
        finally {
          try {
            if (!(resp.isCommitted())) {
              RequestDispatcher rdFinal = getServletContext().getRequestDispatcher(JSPERROR);
              rdFinal.forward(req,resp);
          catch (Exception e) {
            System.err.println(e.getMessage());
          finally {
            try {
              if (!(resp.isCommitted())) {
                resp.setContentType("text/html");
                PrintWriter out = resp.getWriter();
                out.println("ERROR");
            catch (Exception e) {
              System.err.println(e.getMessage());
    } As you can see, I have plenty of error handling, but there are no exceptions being thrown, only my response not being committed.
    Isn't a response committed after a rd.forward()?
    Much thanks,
    Haig

    I had met the same problem, it seems tomcat's bug, if the size of jsp file which servlet dispactered to is smaller than 8k (the default jsp buffer size),the isCommitted status will not set on, so you try to increase your jsp file size(is the result html file size) upper 8k, the problem will be solved.
    and I try to find the other way to fix the bug, if you have, pl let me know

  • BPEL PM 10.1.0.2 not started on JBoss 4

    Try to get BPEL PM 10.1.0.2 working on JBoss 4 and everything is fine till deployment. But when I try to logon to BPELConsole, it doesn't give me the default domain to logon to. Then check the log file under $orabpel.home/system/log, the log file only shows build info and no ServerDescriptorManager::create got called. Anybody has any idea of what's going on? Thanks.

    I think your JDK findings are correct. Also, I don't think that there is a separate download for the BPEL PM. Rather, the whole suite is bundled so you would have to install everything whether you're going to use all of the components or not.
    Good luck.

  • Commit not committing

    All of the demo EJBs that use BMP won't commit their chainges. Even the transactional beans that use a UserTransaction actually never get commited to the database.
    What causes this? I not the examples but the database is causing this behavior to any BMP EJB, the CMP beans work as they should.
    any help would be greatly appreciated

    Hi,
    This might be due to STATUS_INITIALIZED status. After setting the attributes values from your code are you setting other values also from front end ?
    If you are not setting any other values, your row status will remain STATUS_INITIALIZED and thus it will not commit the data to DB.
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for

  • Is Nokia ready for high end market?

    It is the time of smartphones.  With the introduction of 3G, distance and speed are not a barrier at all.  Prediction is that, we will see a shift from laptop to smartphones, something we experienced a few years ago when laptop replaced desktops. So,

  • Can Quicktime 7.6 record internet audio?

    I need a software that can record any audio sound includes internet radio and stuff. and must capable of converting file directly into MP3 or AAC during or after recording. Can Quicktime pro do that? I'm just about to buy it, but I won't if it can't

  • Simple PHP form question

    I've made several php forms that work perfectly. I used the NateMail php script. For some reason this one http://bravocleaningmn.com/contact.html is not working. Any help would be greatly appreciated!

  • How to restore lost notes

    Any help on an iPhone Notes glitch that just erased valuable Notes?  It kept 3 old Notes and erased 4 new Notes. I was just getting used to this and now the rug is swept from under me :(

  • Can I purchase Cloud membership now, but give it later as a gift?

    Hi, I've just registered my daughter for the 30 day Cloud trial - if she likes it, I'd like to purchase her a 12 month subscription as a Christmas present. She's a student, and I can see here: http://www.adobe.com/products/creativecloud.edu.html that