Error when trying to access the datatabase

Hi,
I have a table with five fields and I use a composite priamry key.
I n the client code I get the record by specifyign the primary key.
when I try to update the table from the remote object returned by the findByPrimaryKey() I get the following error;
javax.transaction.TransactionRolledbackException: Exception while commiting Tx : Name=[EJB sampleEJB.ship.customer.Custo
merBean.setLname(java.lang.String)],Xid=BEA1-000D066EEF549A32D56C(14240),Status=Rolled back. [Reason=weblogic.utils.Nest
edRuntimeException: Error writing from beforeCompletion - with nested exception:
The client code:
     CustomerPK cpk=new CustomerPK();
     cpk.id=i;
     cpk.fname="Arvind";
     CustomerRemote remote=home.findByPrimaryKey(cpk);
     remote.setLname("Viswanathan");
     remote.setHas_good_credit(true);
can anybody help me

Try setting the transaction attribute to Required.

Similar Messages

  • Error when trying to access the RBAC User editor and Message tracking

    Hi,
    I am getting an error when trying to access the RBAC User editor and Message tracking on the Web Mgmt interface. I verified that the admin account trying to access is in the Organization Management group and has the correct Role Assignment Policy applied.
    I searched through this thread below and saw that matching the msExchRoleLink and msExchUserLink attributes fixed the issue. 
    https://social.technet.microsoft.com/Forums/exchange/en-US/fc568cc6-8691-4127-b70b-bcc82f9b1f7f/first-2010-cas-server-no-administrator-rights-emc-permissions-gone?forum=exchange2010
    However I have another environment where this is not the case and works just fine; the msExchUserLink attribute has a value of CN=Organization Management,OU=Microsoft Exchange Security Groups,DC=Domain,DC=Local which is different as per the issue outlined in
    the above thread so I am not convinced that this will work and also don’t want to blindly edit something in adsiedit without being sure.
    I then checked the event logs on the server and saw the below error logged;
    Current user: 'Domain/Server Services Accounts/administrator'
    Request for URL 'https://server.domain.com/ecp/default.aspx?p=AdminDeliveryReports&exsvurl=1' failed with the following error:
    System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.Exchange.Management.ControlPanel.UrlNotFoundOrNoAccessException: The page may not be available or you might not have permission to open the
    page. Please contact your administrator for the required credentials. For new credentials to take effect, you have to close this window and log on again.
       at Microsoft.Exchange.Management.ControlPanel._Default.CreateNavTree()
       at Microsoft.Exchange.Management.ControlPanel._Default.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       --- End of inner exception stack trace ---
       at System.Web.UI.Page.HandleError(Exception e)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       at System.Web.UI.Page.ProcessRequest()
       at System.Web.UI.Page.ProcessRequest(HttpContext context)
       at ASP.default_aspx.ProcessRequest(HttpContext context)
       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    Microsoft.Exchange.Management.ControlPanel.UrlNotFoundOrNoAccessException: The page may not be available or you might not have permission to open the page. Please contact your administrator for the required credentials. For new credentials to take effect, you
    have to close this window and log on again.
       at Microsoft.Exchange.Management.ControlPanel._Default.CreateNavTree()
       at Microsoft.Exchange.Management.ControlPanel._Default.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    I then had a look at the IIS permissions for ecp and owa. The account did not have permissions so I added them there but still got the same error. I’ve also tried all of the above with a newly-created account but still got the same issue.
    Any ideas as to what the above event log is specifically referring to?

    Hi,
    From your description, I would like to clarify the following thing:
    If you want to search message tracking logs, the account you use should be a member of the role groups below:
    Organization Management role group, Records Management role group, Recipient Management role group.
    Hope this can be helpful to you.
    Best regards,
    Amy Wang
    TechNet Community Support

  • Getting HTTP transport error: when trying to access the webservices

    Hi,
    I have created proxy in JDeveloper 10g. When trying to access the webservices, getting the following error:
    javax.xml.rpc.soap.SOAPFaultException: exception on JaxRpc invoke: HTTP transport error:
    javax.xml.soap.SOAPException: java.security.PrivilegedActionException:
    oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: text/html
         at oracle.j2ee.ws.client.StreamingSender._raiseFault(StreamingSender.java:578)
         at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:400)
         at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:113)
         at com.tenncare.payment.proxy.runtime.__soap_pipe_execute_ppt_Stub.execute(__soap_pipe_execute_ppt_Stub.java:76)
         at com.tenncare.payment.proxy.__soap_pipe_execute_pptClient.execute(__soap_pipe_execute_pptClient.java:69)
         at com.tenncare.payment.proxy.__soap_pipe_execute_pptClient.main(__soap_pipe_execute_pptClient.java:43)
    Process exited with exit code 0.
    Can anyone help me what might be the reason. If you need more information, I can post it in the next.

    Hi,
    Can you just check your end point URL, and try with appending user name and password at the end of it as parrameters like http://<end point URL>&UserName=admin&Password=admin.
    Other wise check the SOAP request which is going to server using any tool as SOAP UI.
    Regards,
    Vikram

  • SO I am getting a strange error when trying to access the FIM Management Agents

    Hi Everyone,
    So I am getting a really odd error when I go to FIM --> Management Agents -->MOSS-guid ID right click on that and choose porperties, then Configure Connection Information, then I click OK and I get this pop up error "the type of 'pictureurl' string
    is not compatible with the type of 'sps_mv_octelstring_pictureurl'. I got here by noticing that in the error log there was an error that said:
    The management agent "MOSS-guid ID" failed on run profile "MOSS_EXPORT_Guid ID" because the server encountered errors.
    when I searched on that error, it lead me to a ton of blogs that said to do the following:go to FIM --> Management Agents -->MOSS-guid ID right click on that and choose porperties, then Configure Connection Information at the bottom of the page there
    is a Connect To field and every blog I read said to change it to direct:{Domain}:{Port}. The thing is that my domain and port were fine, so that is when I clicked ok, and got that error message. Ever since this happened, my FIM has been broken, and I really
    can't figure out why???
    So I haven't done any updates to the server in at least a year, so nothing could be happening there.
    Any help at all with this would be taken with the greatest appreciation.
    Best regards, Mike

    What you're doing is unsupported. You need to manipulate the MAs via Central Admin -> Manage Service Applications, find your UPA SA and manage it. You can then Manage User Properties and make changes to the Picture property from here.
    Trevor Seward
    Follow or contact me at...
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Why compilation error--when trying to access the table from itcsi schema

    Hi,
    when querying the table from itcsi.app iam able to see the data but used in proc saying invalid table name. Whats the problem
    when declared p_app_i_old app.app_i%type----It is throwing pls-00201 error
    1 Create or replace procedure Test_insert(p_app_i_old integer,
    2 p_app_i_new integer,
    3 p_APP_ISAC_CPT_I varchar2)
    4 is
    5 cursor c1 is
    6 select distinct table_name,owner
    7 from all_tab_columns
    8 where owner = 'ITCSI' and column_name='APP_I';
    9 t_tablename varchar2(25);
    10 t_string varchar2(300);
    11 t_num number;
    12 Begin
    13 For c2 in c1 loop
    14 t_num := 0;
    15 t_string := 'SELECT count(*) FROM ' || c2.owner ||'.'||c2.table_name||' WHERE APP_I = '||p_
    16 execute immediate t_string into t_num;
    17 if t_num > 0 then
    18 -- dbms_output.put_line('The table name is '||c1_rec.table_name);
    19 if c2.Table_name = 'APP' Then
    20 INSERT INTO itcsi.App
    21 SELECT p_app_i_new,
    22 app_acrnym_c,
    23 app_x,
    24 app_desc_t,
    25 app_ipads_t,
    26 app_prdcn_stat_t,
    27 app_prdcn_stat_d,
    28 app_isd_tier_c,
    29 app_bus_cont_c,
    30 app_extnl_cstm_c,
    31 app-ecrpt_lvl_c,
    32 app_isac_cpt_i,
    33 dsw_gpn_i,
    34 ed_cntnt_srce_t,
    35 usr_upd_uunm_i,
    36 ed_upd_m
    37 FROM itcsi.APP
    38 WHERE app_i = p_app_i_old;
    39 elsif c2.Table_name = 'APP_CETRN' Then
    40 Insert into itcsi.APP_CETRN
    41 select p_app_i_new,
    42 app_cetrn_i,
    43 app-curr_cmplnc_t,
    44 app_rqr_cmplnc_t,
    45 dsw_gpn_i,
    46 ed_cntnt_srce_t,
    47 usr_upd_uunm_i,
    48 ed_upd_m
    49 FROM itcsi.APP_CETRN
    50 WHERE app_i = p_app_i_old;
    51 elsif c2.Table_name = 'APP_GPC' Then
    52 Insert into itcsi.APP_GPC
    53 select p_app_i_new,
    54 gpc_dpnt_x,
    55 gpc_elemy_x,
    56 pro_i,
    57 dsw_gpn_i,
    58 ed_cntnt_srce_t,
    59 usr_usr_upd_uunm
    60 FROM itcsi.APP_GPC
    61 WHERE app_i = p_app_i_old;
    62 End if;
    63 End if;
    64 End loop;
    65 --Commit;
    66* End;
    SQL> /
    Warning: Procedure created with compilation errors.
    SQL> show errors
    Errors for PROCEDURE TEST_INSERT:
    LINE/COL ERROR
    20/2 PL/SQL: SQL Statement ignored
    37/23 PL/SQL: ORA-00942: table or view does not exist
    40/2 PL/SQL: SQL Statement ignored
    Thanks

    how do i check the grant?
    if am in my own schema,how do i connect to itcsi
    schema?if you are using a schema other than the ITCSI schema, you need to login as ITCSI. or if you have dba user account you can grant a privilege of
      GRANT ALL on ITCSI.APPS to <other SCHEMA>;

  • An error occurred when trying to access the service

    I'm asking myself why I purchased a one year subscription to Adobe Reader to convert PDF files to Doc files, when it NEVER WORKS and no one seems to be able to help me!!! I am on a Mac Book Pro with Yosemite (don't upgrade it slows your Mac badly) and whenever I try to convert a pdf to a doc I get 'an error occurred when trying to access the service', can anybody help me please?

    Hi Cedric,
    The customer service number is 800833687
    The direct link for chat support is: http://adobe.ly/19llvMN
    You need to click on 'Still need help' to initiate the chat session.
    Are you getting this error: "an error occurred when trying to access the service" while trying to access the service via Reader.
    Try using the link: https://cloud.acrobat.com/exportpdf sign in with your Adobe ID and try to convert a pdf to doc and check if that works for you.
    Reards,
    Rave

  • When I click Convert to Word docx, I receive the error message -- "An error occured when trying to access the service." This has been happening for about a week.

    Export PDF will not convert a pdf to MS Word. This failure has been going on for about a week. The error message is "An error occurred when trying to access the service." What can I do to get this working again?

    Hi,
    It seems it was working fine earlier.
    Is this happening with all files?
    You can try using different browser.
    Regards,
    Florence

  • I am getting a 404 error when trying to access any search link using google, I can get to a website if I enter the url directly.  I have cleared my history, emptied the cache and reset safari.

    I keep getting a 404 error when trying to access any search link using google, I can get to a website by directly using the URL.  I have cleared history, empited the cache and reset safari.  Any suggestions.

    Right. If you are using delegated privs and sudo, make sure that sudo is configured to pass on the PERL5LIB and ORACLE_HOME environment variables at least.

  • TS3297 How is the following error corrected when trying to access the Itunes store - an unkown error occurred There was an error in the Itunes store. Please try later Ox80092013

    How can the following error incurred when trying to access the Itunes Store be corrected:  an unknown error occurred  There was an error in the store. Please try later 0x80092013

    Try here  >  http://support.apple.com/kb/TS3221
    And/or... see the  More Like This  section on the right.

  • Has anyone received an error code of -3212 when trying to access the Itunes Store?

    Has anyone received an error code of -3212 when trying to access the Itunes Store?

    Just in case, let's try the following document:
    Apple software on Windows: May see performance issues and blank iTunes Store
    (If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.)

  • TS1424 Why am I getting error 11222 when trying to access the store?

    Why am I getting error 11222 when trying to access the store?

    The 11222s can sometimes be associated with LSP issues.
    I'd try the following document:
    Apple software on Windows: May see performance issues and blank iTunes Store
    (If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.)

  • I am unable to covert a pdf to word. I get;"A error occured when trying to access the service

    I am unable to convert a pdf to a word doc.   I get, "An error occured when trying to access the service"

    This is the Reader forum, and your question seems to be related with ExportPDF. If it does, you should ask here:
    http://forums.adobe.com/community/exportpdf

  • HT4993 getting error message could not activate cellular data network when trying to access the internet without using wifi.  what do i need to do?  i have already restore the phone.

    getting error message could not activate cellular data network when trying to access the internet without using wifi.  what do i need to do?  i have already restore the phone.

    contact your phone carrier as they handle cellular network.

  • Error when trying to access to the catalogue

    Hello,
    When trying to use the ebp catalogue, iu2019m getting the following error when trying to access:
    Parameter error when calling up function module BBP_CUF_GET_DATA
    Any idea what this means?
    Thanks and regards

    Hi,
    I did some investigation and found that the Company Codes section in the Organisational Structure had been unassigned from the hierarchy for some reason.
    I have now restored the organisational structure to its previous state.
    issue is resolved

  • Error when trying to start the ToolsAndFrameworks to access Endeca workbenc

    Hi All,
    I am getting the below error when trying to start the ToolsAndFrameworks.
    Starting Workbench (background process)
    The BASEDIR environment variable is not defined correctly
    This environment variable is needed to run this program
    Regards
    SK

    Hi SK,
    This occurs in those cases where the Endeca environment variables are not set properly. Make sure all the Endeca environment variables are set before starting the Tools services.
    Executing the 'mdex_setup_ini' and 'installar_sh.ini' will setup the Endeca environment variables. Below are the commands for the same.
    source /local/endeca/MDEX/6.3.0/mdex_setup_sh.ini
    source /local/endeca/PlatformServices/workspace/setup/installer_sh.ini
    HTH,
    Mahesh

Maybe you are looking for

  • Can I activate the Cloud software on more than one computer? [was:Gerry]

    I purchased a single user PS CC license last year. During the interim the nature of my work has neccesitated that I have to work at two sepearte offices (one at home and one at my formal offices). Is it possible to "switch" the license to the differe

  • Business Preorder - Lack of Support

    I wanted to express my disappointment with the lack of support from Verizon. I decided to take part in the iPhone 6 preorder Friday Morning. I got my order in at 2:14am Central or 12:14 pacific. This was only 14 min into the preorder. I took screen c

  • Tecra M2 - Will not boot up, power light is on

    Hi, I wonder if someone out there could help me with a problem? I was using my M2 on Friday when my friend accidentally knocked a very small amount of soft drink onto the front of my M2, I immediately put it upright and got a hairdryer on it. After l

  • Regarding the no sound in ear speakers while calling or receiving

    My iPhone 5 is a 16GB white A1429 unit, which is Factory Unlocked from Apple canada.  It was working fine for 7 days then suddenly I started experiencing audio problems. I do not get audio through the ear speaker when trying to make or receive calls.

  • I must press QuickPlay to power on - HP dv6700

    If there is another post that answers this problem, please feel free to send me a link. I was unable to find a solution. I disassembled my dv6700 to replace the cooling fan. When I reassembled, the laptop would not power up when I pressed the power b