Database in use error

Hi,
I am working Kodo 2.5.2 with hsql.
Goal: Catching SQLException and try to gracefully recover.
I am able to cath this exception:
ERROR [ApplicationServerThread] (RegisterListener.java:59) -
com.solarmetric.kodo.runtime.FatalDataStoreException:
java.sql.SQLException: Try to insert null into a non-nullable column:
23000 Try to insert null into a non-nullable column in statement
However, once I caught the exception above, any attempt to access the
database will result in this error:
com.solarmetric.kodo.runtime.FatalDataStoreException:
java.sql.SQLException: The database is already in use by another process
[code=-1;state=08001]
Any ideas/comments would be greatly appreciated.
John

This turned out to be my own "user error". I needed to put "null-value"
attribute into my field.
John Dinh wrote:
Hi,
I am working Kodo 2.5.2 with hsql.
Goal: Catching SQLException and try to gracefully recover.
I am able to cath this exception:
ERROR [ApplicationServerThread] (RegisterListener.java:59) -
com.solarmetric.kodo.runtime.FatalDataStoreException:
java.sql.SQLException: Try to insert null into a non-nullable column:
23000 Try to insert null into a non-nullable column in statement
However, once I caught the exception above, any attempt to access the
database will result in this error:
com.solarmetric.kodo.runtime.FatalDataStoreException:
java.sql.SQLException: The database is already in use by another process
[code=-1;state=08001]
Any ideas/comments would be greatly appreciated.
John

Similar Messages

  • Manufacturing database in use or database in use error

    Hi,
    B1 was stable for a couple of weeks but Friday I received an email from our Accountant (Larrry) who wanted to run a report out of MRP/Materials Management. The error indicated “Manufacturing Database in Use”. I restarted the server on Saturday and the issue resolved.
    Today our Supply Chain Manager crashed out of the SAP three times while trying to run an inventory transaction. The error is simply “data in use”.
    In event viewer on the server I see a "Lockserver" and "MAINU1" error (see screen shots).
    Any idea why we are seeing the "database in use" messages?

    Hi,
    The above error indicated that, some of the operation is running in server.
    It will be better to check with server administrator.
    Not sure this link is related to your issue:
    SQL Server tells me database is in use but it isn't - Stack Overflow
    Thanks & Regards,
    Nagarajan

  • Error when executing database check using brconnect or in DB13.

    Dear Experts,
    I am facing problem in executing database check using brconnect or in DB13.
    I get the following error:-
    <b>I am giving the last few lines where the error comes</b>
    G:\oracle\MRP\sapbackup                            6      52228060      20440724      60.86             0             0
    G:\oracle\MRP\sapcheck                             6      52228060      20440724      60.86             0             0
    G:\oracle\MRP\sapreorg                             6      52228060      20440724      60.86             0             0
    BR0252E Function _stat() failed for 'G:\oracle\MRP\saptrace' at location BrDiskStatGet-1
    BR0253E errno 2: No such file or directory
    BR0277E Determination of disk volume status for G:\oracle\MRP\saptrace failed
    BR0806I End of BRCONNECT processing: cdvnwuiw.chk 2007-06-23 16.45.39
    BR0280I BRCONNECT time stamp: 2007-06-23 16.45.39
    BR0804I BRCONNECT terminated with error
    <b>This is the config path in my init<sid>.ora.</b>
    *._OPTIM_PEEK_USER_BINDS=FALSE
    *.background_dump_dest='F:\oracle\MRP\saptrace\background'
    *.compatible='10.2.0'
    *.control_file_record_keep_time=30
    *.control_files='G:\oracle\MRP\origlogA\cntrl\cntrlMRP.dbf','G:\oracle\MRP\origlogB\cntrl\cntrlMRP.dbf','G:\oracle\MRP\sapdata1\cntrl\cntrlMRP.dbf'
    *.core_dump_dest='F:\oracle\MRP\saptrace\background'
    *.db_block_size=8192
    *.db_cache_size=281699942
    *.db_files=254
    *.db_name='MRP'
    *.dml_locks=4000
    *.event='10191 trace name context forever, level 1'
    *.FILESYSTEMIO_OPTIONS='setall'
    *.job_queue_processes=1
    *.log_archive_dest='F:\oracle\MRP\oraarch\MRParch'
    *.log_buffer=1048576
    *.log_checkpoint_interval=0
    *.log_checkpoints_to_alert=true
    *.open_cursors=800
    *.optimizer_features_enable='10.2.0.1'
    *.pga_aggregate_target=375599923
    *.processes=80
    *.recyclebin='off'
    *.remote_login_passwordfile='exclusive'
    *.remote_os_authent=true
    *.sessions=96
    *.sga_max_size=563399884
    *.shared_pool_reserved_size=28169994
    *.shared_pool_size=281699942
    *.sort_area_retained_size=0
    *.sort_area_size=2097152
    *.statistics_level='typical'
    *.undo_management='AUTO'
    *.undo_retention=43200
    *.undo_tablespace='PSAPUNDO'
    *.user_dump_dest='F:\oracle\MRP\saptrace\usertrace'
    *.workarea_size_policy='AUTO'
    <b>The path in my system is same as mentioned in the init<sid>.ora</b>
    Please help me to find out cause of the error.
    Thanks

    Dear Mr. Yaroslav,
    Thanks,
    I have checked in <sid>adm user since we have looged in the same user Id.
    There was no entrie for the SAPTRACE in environmental variable.
    I have inserted and given the requried path"F:\oracle\MRP\saptrace".
    Thankyou....hope in my next restart of the server it will work....

  • Lync 2013 Error 31055 ,31059 LS Call Park Service, The database being used by Group Pickup is not the appropriate version and There was a problem communicating with the Group Pickup backend database.

    Hello
    I have Lync 2013 and 2010  , still i didn't finish my migration completely from 2010 to 2013 .this  is  coexistence environment that contains both Lync Server 2010 and Lync Server 2013 .
    There was no error's in my lync 2013 front end and back end server's and every thing was fine, yesterday I installed windows updated AND CU for my lync 2013  front end and backend server's .
    later on after restarting both the front end and the back end server's i start having hundred's of  these error's related to "LS Call Park Service".
    so any advice for these issue ? and what is the effect for these error .
    below is the error I got .
    The database being used by Group Pickup is not the appropriate version.
    The database is not the correct version:
    Connection: Data Source=HQ-LYNC2013-BE.aaaaaaaaaaaaaaaaaaaaaaaaaaa\rtc;Initial Catalog=cpsdyn;Integrated Security=True
    Expected... SchemaVersion: 1, SprocVersion: 1, UpgradeVersion: 2
    Actual...   SchemaVersion: 0, SprocVersion: 0, UpgradeVersion: 0
    Cause: The database has not been upgraded.
    Resolution:
    Upgrade the database to CU1.
    ==============================================================
    There was a problem communicating with the Group Pickup backend database.
    There were problems accessing SQL server:
    Connection: Data Source=HQ-LYNC2013-BE.aaaaaaaaaaaaaaaaaaaaaaaaaa\rtc;Initial Catalog=cpsdyn;Integrated Security=True
    Message: The EXECUTE permission was denied on the object 'DbpGetVersionSchema', database 'cpsdyn', schema 'dbo'.
    Error code: -2146232060
    Error number: 229
    Cause: This may be caused by connectivity issues with the backend database.
    Resolution:
    Check if SQL backend is running and accepts connections from Group Pickup.
    =============================================================================
    Kind Regards
    MK

    Hello
    thanks Holger for u r replay .
    due to the Microsoft article about the cu :
    I run only :
    Install-CsDatabase -ConfiguredDatabases -SqlServerFqdn FEBE.FQDN -Verbose
    Note In a coexistence environment that contains both Lync Server 2010 and Lync Server 2013 and in which the Central Management Service is located on a Lync Server 2010 pool, do not run the
    Install-CsDatabase -CentralManagementDatabase command. If you later move the Central Management Service to a Lync Server 2013 pool, you have to run the
    Install-CsDatabase -CentralManagementDatabase command to apply the changes.
    here is what I get on my power shell after i run the command : "WARNING: Warning: Failed to execute batch --"
    PS C:\Users\MK> Install-CsDatabase -ConfiguredDatabases -SqlServerFqdn HQ-LYNC2013-BE.MyDomain -Verbose
    VERBOSE: Creating new log file
    "C:\Users\MK\AppData\Local\Temp\2\Install-CsDatabase-82d6613c-f2e3-47e6-8fc4-8f75d2efe6e4.xml".
    VERBOSE: Install databases required by Lync Server role(s).
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.BlobStore'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\rtc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database rtcxds.
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.AbsDatabase'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\rtc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database rtcab.
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.RgsConfigDatabase'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\rtc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database rgsconfig.
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.RgsDynDatabase'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\rtc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database rgsdyn.
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.CpsDynDatabase'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\rtc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database cpsdyn.
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.ArchivingDatabase'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\arc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database LcsLog.
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.MonitoringDatabase'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\mon. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database LcsCDR.
    VERBOSE: Assigning "BackendStore:BlobStore:LogPath" to F:\CsData
    VERBOSE: Assigning "BackendStore:RtcSharedDatabase:LogPath" to F:\CsData
    VERBOSE: Assigning "ArchivingStore:ArchivingDatabase:LogPath" to F:\CsData
    VERBOSE: Assigning "MonitoringStore:MonitoringDatabase:LogPath" to F:\CsData
    VERBOSE: Assigning "MonitoringStore:QoEMetricsDatabase:LogPath" to F:\CsData
    VERBOSE: Assigning "ArchivingStore:ArchivingDatabase:DbPath" to F:\CsData
    VERBOSE: Assigning "MonitoringStore:MonitoringDatabase:DbPath" to F:\CsData
    VERBOSE: Assigning "MonitoringStore:QoEMetricsDatabase:DbPath" to F:\CsData
    VERBOSE: Assigning "ABSStore:AbsDatabase:LogPath" to F:\CsData
    VERBOSE: Assigning "ApplicationStore:RgsConfigDatabase:LogPath" to F:\CsData
    VERBOSE: Assigning "ApplicationStore:RgsDynDatabase:LogPath" to F:\CsData
    VERBOSE: Assigning "ApplicationStore:CpsDynDatabase:LogPath" to F:\CsData
    VERBOSE: Assigning "BackendStore:BlobStore:DbPath" to F:\CsData
    VERBOSE: Assigning "BackendStore:RtcSharedDatabase:DbPath" to F:\CsData
    VERBOSE: Assigning "ABSStore:AbsDatabase:DbPath" to F:\CsData
    VERBOSE: Assigning "ApplicationStore:RgsConfigDatabase:DbPath" to F:\CsData
    VERBOSE: Assigning "ApplicationStore:RgsDynDatabase:DbPath" to F:\CsData
    VERBOSE: Assigning "ApplicationStore:CpsDynDatabase:DbPath" to F:\CsData
    VERBOSE: Installing "BackendStore" on HQ-LYNC2013-BE.MyDomain\rtc, collocated: False
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.BlobStore'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\rtc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database rtcxds.
    Checking state for database rtcxds.
    State of database rtcxds is DbState_RequiresMinorUpgrade.
    Database rtcxds set to mode Restricted.
    Dropping all procedures, functions and views from database rtcxds.
    Executing RtcDb.sql...
    Adding master role...
    Setting owner for database rtcxds to sa.
    Creating login MyDomain\RTCHSUniversalServices.
    Creating user MyDomain\RTCHSUniversalServices.
    Creating Schema MyDomain\RTCHSUniversalServices.
    Creating login MyDomain\RTCUniversalReadOnlyAdmins.
    Creating user MyDomain\RTCUniversalReadOnlyAdmins.
    Creating Schema MyDomain\RTCUniversalReadOnlyAdmins.
    Creating login MyDomain\RTCUniversalServerAdmins.
    Creating user MyDomain\RTCUniversalServerAdmins.
    Creating Schema MyDomain\RTCUniversalServerAdmins.
    Adding account MyDomain\RTCHSUniversalServices to role ConsumerRole.
    Adding account MyDomain\RTCUniversalReadOnlyAdmins to role ConsumerRole.
    Adding account MyDomain\RTCHSUniversalServices to role ReplicatorRole.
    Adding account MyDomain\RTCHSUniversalServices to role PublisherRole.
    Adding account MyDomain\RTCUniversalServerAdmins to role PublisherRole.
    Setting database version: Schema Version 15, Sproc Version 13, Update Version 2.
    Setting the database rtcxds to multi user mode.
    Database rtcxds is set to multi user mode.
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.RtcSharedDatabase'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\rtc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database rtcshared.
    Database created by script "RtcSharedDatabase" already exists and is current.
    VERBOSE: Successfully installed the database. For details, see the following log:
    "C:\Users\MK\AppData\Local\Temp\2\Create-BackendStore-HQ-LYNC2013-BE.MyDomain_rtc-[2014_11_13][14_35_01].log"
    VERBOSE: Installing "ABSStore" on HQ-LYNC2013-BE.MyDomain\rtc, collocated: False
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.AbsDatabase'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\rtc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database rtcab.
    Checking state for database rtcab.
    State of database rtcab is DbState_RequiresMinorUpgrade.
    Database rtcab set to mode Restricted.
    Dropping all procedures, functions and views from database rtcab.
    Executing RtcAbTypes.sql...
    WARNING: Warning: Failed to execute batch --
    -- Copyright (c) Microsoft Corporation. All rights reserved.
    exec sp_addrole N'ServerRole'.
    Executing RtcAbDb.sql...
    Setting owner for database rtcab to sa.
    Creating login MyDomain\RTCComponentUniversalServices.
    Creating user MyDomain\RTCComponentUniversalServices.
    Creating Schema MyDomain\RTCComponentUniversalServices.
    Adding account MyDomain\RTCComponentUniversalServices to role ServerRole.
    Setting database version: Schema Version 62, Sproc Version 42, Update Version 3.
    Setting the database rtcab to multi user mode.
    Database rtcab is set to multi user mode.
    VERBOSE: Successfully installed the database. For details, see the following log:
    "C:\Users\MK\AppData\Local\Temp\2\Create-ABSStore-HQ-LYNC2013-BE.MyDomain_rtc-[2014_11_13][14_35_20].log"
    VERBOSE: Installing "ApplicationStore" on HQ-LYNC2013-BE.MyDomain\rtc, collocated: False
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.RgsConfigDatabase'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\rtc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database rgsconfig.
    Database created by script "RgsConfigDatabase" already exists and is current.
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.RgsDynDatabase'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\rtc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database rgsdyn.
    Database created by script "RgsDynDatabase" already exists and is current.
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.CpsDynDatabase'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\rtc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database cpsdyn.
    Checking state for database cpsdyn.
    State of database cpsdyn is DbState_RequiresMinorUpgrade.
    Database cpsdyn set to mode Restricted.
    Dropping all procedures, functions and views from database cpsdyn.
    Executing CpsDyn.sql...
    Setting owner for database cpsdyn to sa.
    Creating login MyDomain\RTCComponentUniversalServices.
    Creating user MyDomain\RTCComponentUniversalServices.
    Creating Schema MyDomain\RTCComponentUniversalServices.
    Creating login MyDomain\RTCUniversalReadOnlyAdmins.
    Creating user MyDomain\RTCUniversalReadOnlyAdmins.
    Creating Schema MyDomain\RTCUniversalReadOnlyAdmins.
    Creating login MyDomain\RTCUniversalServerAdmins.
    Creating user MyDomain\RTCUniversalServerAdmins.
    Creating Schema MyDomain\RTCUniversalServerAdmins.
    Adding account MyDomain\RTCComponentUniversalServices to role ReadWriteRole.
    Adding account MyDomain\RTCUniversalServerAdmins to role ReadWriteRole.
    Adding account MyDomain\RTCUniversalReadOnlyAdmins to role ReadOnlyRole.
    Setting database version: Schema Version 1, Sproc Version 1, Update Version 2.
    Setting the database cpsdyn to multi user mode.
    Database cpsdyn is set to multi user mode.
    VERBOSE: Successfully installed the database. For details, see the following log:
    "C:\Users\MK\AppData\Local\Temp\2\Create-ApplicationStore-HQ-LYNC2013-BE.MyDomain_rtc-[2014_11_13][14_35_37].log"
    VERBOSE: Installing "ArchivingStore" on HQ-LYNC2013-BE.MyDomain\arc, collocated: False
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.ArchivingDatabase'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\arc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database LcsLog.
    Database created by script "ArchivingDatabase" already exists and is current.
    VERBOSE: Successfully installed the database. For details, see the following log:
    "C:\Users\MK\AppData\Local\Temp\2\Create-ArchivingStore-HQ-LYNC2013-BE.MyDomain_arc-[2014_11_13][14_35_51].log"
    VERBOSE: Installing "MonitoringStore" on HQ-LYNC2013-BE.MyDomain\mon, collocated: False
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.MonitoringDatabase'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\mon. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database LcsCDR.
    Checking state for database LcsCDR.
    Checking state for database LcsCDR.
    State of database LcsCDR is DbState_RequiresMinorUpgrade.
    WARNING: The database LcsCDR being updated has data file path at
    \\HQ-LYNC2013-BE.MyDomain\C$\CsData\MonitoringStore\mon\DbPath\LcsCDR.mdf and supplied data file path is
    \\HQ-LYNC2013-BE.MyDomain\F$\CsData\MonitoringStore\mon\DbPath\LcsCDR.mdf. Supplied path will be ignored.
    WARNING: The database LcsCDR being updated has log file path at
    \\HQ-LYNC2013-BE.MyDomain\C$\CsData\MonitoringStore\mon\LogPath\LcsCDR.ldf and supplied data file path is
    \\HQ-LYNC2013-BE.MyDomain\F$\CsData\MonitoringStore\mon\LogPath\LcsCDR.ldf. Supplied path will be ignored.
    Database LcsCDR set to mode Restricted.
    Dropping all procedures, functions and views from database LcsCDR.
    Executing CdrDb.sql...
    Setting owner for database LcsCDR to sa.
    Creating login MyDomain\CSAdministrator.
    Creating user MyDomain\CSAdministrator.
    Creating Schema MyDomain\CSAdministrator.
    Creating login MyDomain\RTCComponentUniversalServices.
    Creating user MyDomain\RTCComponentUniversalServices.
    Creating Schema MyDomain\RTCComponentUniversalServices.
    Adding account MyDomain\RTCComponentUniversalServices to role ServerRole.
    Adding account MyDomain\RTCComponentUniversalServices to role ReportsReadOnlyRole.
    Adding account MyDomain\CSAdministrator to role ReportsReadOnlyRole.
    Setting database version: Schema Version 39, Sproc Version 82, Update Version 2.
    Setting the database LcsCDR to multi user mode.
    Database LcsCDR is set to multi user mode.
    SQL Server Agent is running and its start mode was detected as Auto.
    Executing CdrJobs.sql...
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.QoEMetricsDatabase'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\mon. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database QoEMetrics.
    Checking state for database QoEMetrics.
    Checking state for database QoEMetrics.
    State of database QoEMetrics is DbState_RequiresMinorUpgrade.
    WARNING: The database QoEMetrics being updated has data file path at
    \\HQ-LYNC2013-BE.MyDomain\C$\CsData\MonitoringStore\mon\DbPath\QoEMetrics.mdf and supplied data file path is
    \\HQ-LYNC2013-BE.MyDomain\F$\CsData\MonitoringStore\mon\DbPath\QoEMetrics.mdf. Supplied path will be ignored.
    WARNING: The database QoEMetrics being updated has log file path at
    \\HQ-LYNC2013-BE.MyDomain\C$\CsData\MonitoringStore\mon\LogPath\QoEMetrics.ldf and supplied data file path is
    \\HQ-LYNC2013-BE.MyDomain\F$\CsData\MonitoringStore\mon\LogPath\QoEMetrics.ldf. Supplied path will be ignored.
    Database QoEMetrics set to mode Restricted.
    Dropping all procedures, functions and views from database QoEMetrics.
    Executing QoEDb.sql...
    Setting owner for database QoEMetrics to sa.
    Creating login MyDomain\RTCComponentUniversalServices.
    Creating user MyDomain\RTCComponentUniversalServices.
    Creating Schema MyDomain\RTCComponentUniversalServices.
    Adding account MyDomain\RTCComponentUniversalServices to role ServerRole.
    Setting database version: Schema Version 62, Sproc Version 90, Update Version 1.
    Setting the database QoEMetrics to multi user mode.
    Database QoEMetrics is set to multi user mode.
    SQL Server Agent is running and its start mode was detected as Auto.
    Executing QoEJobs.sql...
    VERBOSE: Successfully installed the database. For details, see the following log:
    "C:\Users\MK\AppData\Local\Temp\2\Create-MonitoringStore-HQ-LYNC2013-BE.MyDomain_mon-[2014_11_13][14_35_51].log"
    VERBOSE: No changes were made to the Central Management Store.
    VERBOSE: Creating new log file
    "C:\Users\MK\AppData\Local\Temp\2\Install-CsDatabase-82d6613c-f2e3-47e6-8fc4-8f75d2efe6e4.html".
    WARNING: "Install-CsDatabase" processing has completed with warnings. "5" warnings were recorded during this run.
    WARNING: Detailed results can be found at
    "C:\Users\MK\AppData\Local\Temp\2\Install-CsDatabase-82d6613c-f2e3-47e6-8fc4-8f75d2efe6e4.html".
    PS C:\Users\MK>
    I hope some one can confirm no issue with what I did ??
    Kind Regards
    MK

  • Sintax error depending database link used

    Hi every one, I have a weird weird situation and I need some tips to deal with it.
    A code like that:
    declare
    all variables;
    begin
    select xxxx
    into vl_xxx
    from t1@db_L1 a
    , t2@db_L1 b
    , t3@db_L1 c
    where etc;
    some stuff;
    end;
    WHY this kind of code could faisl with sintax errors: dbe_jobs_pkg.pr_eje_alm:26-04-2010 09:22 --> ast_codigo = 47:ORA-06550: line 69, column 14:
    PL/SQL: ORA-00904: "A"."TABLESPACE_NAME": invalid identifier)
    depending of the database link used. Indeed, if I execute de query in a isolated way (sql*plus for example) it works fine using the database link whose plsql fail
    I garantee there is not grants problems...
    By the way, the code begun to fails suddendly, and I don't know what happened....
    All the databases are 9.2.0.5
    I need sugestions to track o investigate the posible causes
    Thanks a lot, kind regards
    Mauricio Fernández C.
    ADDENDUM:
    I've restarted the source database and the PL/SQl with sintax error now works fine....Still I need some tips to understand what's going on.....
    Edited by: maufer on 26-abr-2010 7:10

    Prashanth
    my guess is that you can create the database link, which simply points to the remote instance. however, the problem is on the remote instance.
    As the error message suggest, make sure that the listener is up and running on the remote machine. The link can be created, but if there is no listener on the other side, you will not get any response.

  • Failed to load database information. Error in File temp_

    Our environment:
    Windows Server 2012 R2 Data-center Edition 64 bit
    Visual Studio Pro 2013 Version 12.0.3.30110.00 Update 1
    .Net 4.5.51641
    Crystal Reports for VS 2013 V13.0.9.1312
    Oracle ODAC 11.2.0
    We created a winform application to generate a form letter report that runs fine within the IDE. When we build the the exe and copy it from the project folder to a folder on the C:\drive of this same pc and try to execute it we get these error messages (partial list);
    CrystalDecisions.CrystalReports.Engine.DataSourceException: Failed to load database information.
    Error in File temp_d55286fc-26ee-4216-9062-3e32380313ab {B640FD39-66AC-4B6E-995D-7218BB48A992}.rpt:
    Failed to load database information. ---> System.Runtime.InteropServices.COMException: Failed to load database information.
    Error in File temp_d55286fc-26ee-4216-9062-3e32380313ab {B640FD39-66AC-4B6E-995D-7218BB48A992}.rpt:
    Failed to load database information.
       at CrystalDecisions.ReportAppServer.Controllers.DatabaseControllerClass.ReplaceConnection(Object oldConnection, Object newConnection, Object parameterFields, Object crDBOptionUseDefault)
       at CrystalDecisions.CrystalReports.Engine.Table.SetDataSource(Object val, Type type)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDataSourceInternal(Object val, Type type)
       --- End of inner exception stack trace ---
       at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDataSourceInternal(Object val, Type type)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDataSource(DataSet dataSet)
       at cr3Test.Form1.Form1_Load(Object sender, EventArgs e)
    Here is the app:
    Imports System.Data.OleDb
    Imports System.Data
    Imports System
    Imports System.Windows.Forms
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Shared
    Public Class Form1
        Private Sub Form1_Load(sender As Object, e As EventArgs) Handles Me.Load
            Dim crReportDocument As New CrystalReport3()
            Dim DataSet1 As DataSet
            Dim adoOleDbConnection As OleDbConnection
            Dim adoOleDbDataAdapter As OleDbDataAdapter
            Dim connectionString As String = ""
            connectionString = "Provider=OraOLEDB.Oracle;"
            connectionString += "Data Source=ourdb;"
            connectionString += "User ID=ouruserid;Password=ourpsw"
            adoOleDbConnection = New OleDbConnection(connectionString)
            Dim sqlString As String = "select * from TEMP_FRI_LETTERS"
            adoOleDbDataAdapter = New OleDbDataAdapter(sqlString, adoOleDbConnection)
            DataSet1 = New DataSet()
            adoOleDbDataAdapter.Fill(DataSet1, "TEMP_FRI_LETTERS")
            'Dim xmlPath As String = "C:\Temp\test.xml" ' use these two statment s to verify dataset works
            'DataSet1.WriteXml(xmlPath, XmlWriteMode.WriteSchema)
            crReportDocument.SetDataSource(DataSet1)
            crReportDocument.PrintOptions.PrinterName = "HP_LaserJet_4350_PCL_5e_Info_Tech"
            crReportDocument.Refresh()
            crReportDocument.PrintToPrinter(1, False, 0, 0)
            DataSet1.Dispose()
            adoOleDbDataAdapter.Dispose()
            adoOleDbConnection.Close()
            adoOleDbConnection.Dispose()
            crReportDocument.Dispose()
            Me.Close()
        End Sub
    End Class
    Here is the app.config:
    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
        <startup useLegacyV2RuntimeActivationPolicy="true">
            <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
        </startup>
        <system.windows.forms jitDebugging="true" />
    </configuration>
    We have the CPU set to x86 as we are ultimately trying to generate a 32 bit app for XP and Win 7. We only installed the 32 bit run time on this pc because we have no intention of going to 64 bit apps on the clients. Are there additional dlls or something that has to be installed in the same folder as the exe on this development machine.
    Bruce

    Looking at the AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_myprograminfo led us to the last dll loaded being:
    LoadedModule[211]=C:\Program Files\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\crdb_adoplus_res_en.dll
    State[0].Key=Transport.DoneStage1
    State[0].Value=1
    FriendlyEventName=Stopped working
    Scanning the community for "crdb_adoplus_res_en.dll" we got a hot on this issue again:
    Failed to load database information. Error in File temp_
    From the above we found this:
    1. the app.exe.config is all in one package which cannot be separated with the EXE file.
    2. the supporting component such as dll files, app.exe.config etc CANNOT be combined into the EXE file
    Adding the cr3Test.exe.config to the same folder as the cr3Test.exe RESOLVED the problem on Win 7. It also RESOLVED the problem on Server 2012 R2.
    We still need to test on Server 2008 R2 but we are hopeful when that time comes.
    Thanks.
    Bruce

  • How to defined which logical database to use in a function module?

    Hey,
    I am trying to do logical database in a function module. I need to know where do i go to define which logical database to use? Becuase i get syntax error on my Get statement. The logical database i am trying to use is HR PNP .
    Any useful help will be appreciated,
    Thanks

    I think we can't assign logical database to FM or FG. Because there isn't any option to put the logical database in the FM or FG's attributes.
    You must have to create a executable report to have the LDB in use.
    Regards,
    Naimesh Patel

  • Database link using problem

    Hi all,
    I have created database link using following code.
    CREATE DATABASE LINK mydb
    CONNECT TO system IDENTIFIED BY o
    USING 'mydb'
    After created this database link, I tried to access the table 'emp' from 'mydb' database. so, I was given
    select * from emp@mydb; But its howing me an error message as 'ORA-12154: TNS:could not resolve service name'.
    But when I try to connect mydb,its connecting properly.
    then,why its showing this error message when I given select * from emp@mydb;
    Kindly provide me the solution.
    Thanks & Regards,
    Lakshmi.P.

    To be TNSNAMES.ora independent you would better create the DB link as
    create database link mydb
    connect to your_db_user
    identified by "your_passwd"
    using '(description=(address=(protocol=tcp)(host=your_host)(Port = your_port) )(connect_data=(sid=your_sid)))'
    /change all the your_* parameters accordingly to your environment.
    Note: Never use the sys- or system account for any application development ;)

  • How to create database connection using DB2Driver in JDeveloper 10.1.2.1.0?

    I am trying to create a JDeveloper/Data Connection using com.oracle.ias.jdbc.db2.DB2Driver. The driver is registered from a User Libraries: DataDirect JDBC. I have the following class path for the library:
    E:\DataDirect\3.4\lib\YMdb2.jar;E:\DataDirect\3.4\lib\YMbase.jar;E:\DataDirect\3.4\lib\YMutil.jar
    I have no trouble configuring the connection but when I test it and I got ‘No suitable driver Vendor code 0’. What’s wrong? I have successfully created several database connections using Oracle thin driver. This is first time I am using a third party driver. Has any one successfully create a database connection using the com.oracle.ias.jdbc.db2.DB2Driver?

    Hi
    Since the error points to the unavailability of the driver class,can you double check your library claspath entries again.
    I just tried a DB2 connection using the following properties and the connection went through fine:
    Driver class name: com.oracle.ias.jdbc.db2.DB2Driver
    URL: jdbc:merant:db2://<host_name>:50000;DatabaseName=SAMPLE
    Thanks
    Prasanth

  • Failed to load database information. Error in File ReportName {E420E88A-5947-4925-844E-75E6311D3EB3}.rpt: Failed to load database information.

    Hi All,
    We've been running CR for VS2010 for a number of years in our web app without any issues. Using the same code we recently upgraded our application to support x64 and we have run into this error on our QA servers:
    Failed to load database information. Error in File ReportName{Guid}.rpt. Failed to load database information.
    Here's are server setup:
    Windows Server 2012 Datacenter x64
    SAP Crystal Reports Runtime Engine for .Net Framework (64-bit)
    IIS 8
    Database Server
    Oracle 12c
    Interestingly, Crystal Reports works fine on our dev machines and it also works on our dev machines if I connect to the QA Database server directly. So I've ruled out any Oracle issues.
    I believe the permissions are set up correctly for CR to run, but I'd like to know what permission CR needs to run. I can't find a definite answer reading the forum posts or on the WIKI.
    I've used Process Monitor and there seems to be some permission issues with the uf12manager.DLL. See attached document.
    I'm really stuck here and any help is appreciated.
    Thanks!

    Nothing to do with UFL manager, that may be a missing dependency.
    Search on a kbase on how to enable crlogger, that may tell you what is failing.
    Typical Oracle issues on a 64 bit app is I believe you need to install the Oracle 64 bit Client and then 32 bit client.
    Do we support Oracle 12? No we don't...
    See this PAM for more info:
    SAP Crystal Reports 2011 Product Availability Matrix (PAM)
    Open the link for the Database connectivity....
    Don

  • Failed to load database information. Error in {GUID}.rpt

    Hi
    I have a C# windows service that load a rpt file and export it to PDF
    I am required to use XML as data source for the rpt file, and in the IDE of CR 2013 it always works fine via local XML file, and also I create a http/https pages which returns a XML stream, it still works,  preview fine.
    And then I debug into my unit test project, load the rpt file, set the necessary parameters, and at last call the ReportDocument.Export(), the PDF was generated successfully.
    But when I deploy the windows service in my local machine, it always throw out an exception with the error message of “Failed to load database information. Error in {GUID}.rpt” at ReportDocument.Export().
    Here is the environment of my local machine:
        Windows 7 (64 bit)
        NET framework 4.0 / VS2010 build with “Any CPU”
        CR2013 with the latest run-time packages for VS
        I also have crdb_xml.dll in both of the following paths:
    C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win64_x64
    C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86
    I doubt that I missed something in my environment, is there any suggestions? Thanks a lot!

    Thank you for your advice!
    I have deployed the crdb_xml driver as the steps mentioned in your links, it resolved previous error. Thanks a lot!
    But now I encountered another problem, ok, here is my work flow:
    1. I create two separate .net pages which return xml stream for my report file, one for main report and the other for the sub report. And these pages need to pass parameters.
    2. I create http/https URL xml data source for both the main report and sub report, also I added the parameters in the end of my creation by @prompt function.
    3. Then I preview my report, enter the necessary parameters in the pop-up window, and click “OK”, the xml data returned from my URL and displayed correctly in my report.
    4. Then I test into my windows service:
    1) Create an object of CrystalDecisions.CrystalReports.Engine.ReportDocument() named rptDoc to load my report file.
    2) Set parameters to rptDoc via the function of rptDoc.SetParameterValue()
    3) Apply my logonInfo and attributes information
    4) rptDoc.Export().
    Then I got my problem, the parameters did not send to my .net pages all the while, but it is worked fine if I previewed the report in CR 2013 design tool.
    Is it the problem that I missed some settings in my .net code or any way CrystalReport.Engine did not support to pass parameters to a report with http/https xml data source?
    I am blocked by this issue, any suggestion? Thanks!
    For your reference, here is the .net page which is trying to catch the parameters
    foreach (var item in Request.Params)
    paramsList.Add(item.ToString());
                    ExceptionManager.InsertException(new Exception(string.Join(",", paramsList)));
                    BrokerEntity broker = null;
                    string ifpPSID = Params.ReplaceNullWith(Request["@IFPPSID"], Null.NullString).ToString();
    When preview the report in CR 2013 design tool, we get following string for “Request.Params”
    “@IFPPSID,ASP.NET_SessionId,ALL_HTTP,ALL_RAW,APPL_MD_PATH,APPL_PHYSICAL_PATH,AUTH_TYPE,AUTH_USER,AUTH_PASSWORD,LOGON_USER,REMOTE_USER,CERT_COOKIE,CERT_FLAGS,CERT_ISSUER,CERT_KEYSIZE,CERT_SECRETKEYSIZE,CERT_SERIALNUMBER,CERT_SERVER_ISSUER,CERT_SERVER_SUBJECT,CERT_SUBJECT,CONTENT_LENGTH,CONTENT_TYPE,GATEWAY_INTERFACE,HTTPS,HTTPS_KEYSIZE,HTTPS_SECRETKEYSIZE,HTTPS_SERVER_ISSUER,HTTPS_SERVER_SUBJECT,INSTANCE_ID,INSTANCE_META_PATH,LOCAL_ADDR,PATH_INFO,PATH_TRANSLATED,QUERY_STRING,REMOTE_ADDR,REMOTE_HOST,REMOTE_PORT,REQUEST_METHOD,SCRIPT_NAME,SERVER_NAME,SERVER_PORT,SERVER_PORT_SECURE,SERVER_PROTOCOL,SERVER_SOFTWARE,URL,HTTP_CONNECTION,HTTP_ACCEPT,HTTP_HOST,HTTP_USER_AGENT,HTTP_FRONT_END_HTTPS”
    When run in windows service, we get following string without parameters “@IFPPSID”
    “ASP.NET_SessionId,ALL_HTTP,ALL_RAW,APPL_MD_PATH,APPL_PHYSICAL_PATH,AUTH_TYPE,AUTH_USER,AUTH_PASSWORD,LOGON_USER,REMOTE_USER,CERT_COOKIE,CERT_FLAGS,CERT_ISSUER,CERT_KEYSIZE,CERT_SECRETKEYSIZE,CERT_SERIALNUMBER,CERT_SERVER_ISSUER,CERT_SERVER_SUBJECT,CERT_SUBJECT,CONTENT_LENGTH,CONTENT_TYPE,GATEWAY_INTERFACE,HTTPS,HTTPS_KEYSIZE,HTTPS_SECRETKEYSIZE,HTTPS_SERVER_ISSUER,HTTPS_SERVER_SUBJECT,INSTANCE_ID,INSTANCE_META_PATH,LOCAL_ADDR,PATH_INFO,PATH_TRANSLATED,QUERY_STRING,REMOTE_ADDR,REMOTE_HOST,REMOTE_PORT,REQUEST_METHOD,SCRIPT_NAME,SERVER_NAME,SERVER_PORT,SERVER_PORT_SECURE,SERVER_PROTOCOL,SERVER_SOFTWARE,URL,HTTP_CONNECTION,HTTP_ACCEPT,HTTP_HOST,HTTP_USER_AGENT,HTTP_FRONT_END_HTTPS”

  • Order By Clause on Non-Database Column using Forms

    How to Sort by using Order by Clause on Non-Database Column using Forms6i

    Eugene,
    What is the error message/ number you are seeing? If you run "select name from tblperson order by name" do you still get an error?

  • Database type used in DMS

    Can somebody please tell me what Database is used in DMS? I understand that this is an appliance so please don't flame me. I have to answer this for a compliance issue with a hospital. Telling them that it is an appliance with a hardened database will not cut it. They must know the database name.

    [ There original post I made is incorrect.  The classes/shared libraries need only to be available to the server - they do not need to be available to ALDSP Studio, since the database is access via the server. Double check that the required classes/shared libraries for your jdbc driver are available to your server ]
    I searched our CR database for the stacktrace/error that you have and found serveral CR. Most of them indicate the problem was jar file(s) for the jdbc driver were not present in the client classpath. So - whatever you added to the server classpath (and PATH - if there were also shared object libraries) - we need to add those to the ALDSP Studio (eclipse) classpath (PATH).
    you can put the jar(s) in
    aldsp_3.0\eclipse-plugins\dsp\eclipse\plugins\com.bea.dsp.ide.external_3.0.0
    and modifying
    aldsp_3.0\eclipse-plugins\dsp\eclipse\plugins\com.bea.dsp.ide.external_3.0.0\META-INF/manifest.mf.
    There are two places in manifest.mf you will need to add the jar file - once under Bundle-Classpath and once under Export-Package.
    Edited by mreiche at 03/07/2008 10:48 AM

  • Database creation using ant/maven/liqubase

    Dear ALL:
    I am creating the database instance using the ant/maven scripts and following are the things I tried but some how it is not creating the database.
    I have installed the 64bit oracle 11gR2 on windows 7 and configured the default database (ORCL). after installation I opened up the command prompt and tried sqlplus and it get connected and I can see the tables. However when I tries to do it using the build script it fails. Following are few things I tried out.
    I plan to created 'orcl as the database with sid=orclusing the ant command 'ant -Denv=dev clean create-db -d' but it failed saying orcl is already running and you need to shut down it and I think it is expected because I am creating the database named orcl which is already created. Then I changed database name to dms and sid=dms then it throws error that you cant connect to the server with following error.
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Jan 12 16:17:11 2011
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    ERROR:
    ORA-12560: TNS:protocol adapter error
    SP2-0640: Not connected
    ORA-12560: TNS:protocol adapter error
    more information about listener: the output of - lsnrctl stat
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 12-JAN-2011 16:18:04
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
    Start Date 12-JAN-2011 16:16:51
    Uptime 0 days 0 hr. 1 min. 13 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File C:\oracle\santosh\product\11.2.0\dbhome_1\network\admin\listener.ora
    Listener Log File c:\oracle\santosh\diag\tnslsnr\unknown\listener\alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orcl" has 1 instance(s).
    Instance "orcl", status READY, has 2 handler(s) for this service...
    Service "qc_dms" has 1 instance(s).
    Instance "qcdms", status READY, has 1 handler(s) for this service...
    Service "qcdmsXDB" has 1 instance(s).
    Instance "qcdms", status READY, has 1 handler(s) for this service...
    The command completed successfully
    Can someone help me out ? how ever the same thing is working fine on the oracle virtual box running on ubuntu 10.04.
    thank,
    Santosh

    I didnt used ORADIM in the script. here is the script that I am using .
    <target name="create-db-oracle"     >
              <echo>creating database ([${database.name}])</echo>
              <exec dir="${target.script.dir}" executable="sqlplus" output="${target.log.dir}/create-db.log" failonerror="true">
                   <arg line="/nolog @create-db_${database.flavor}.sql" />
              </exec>
    </target>
    with following connection properties
    <properties>
              <db.version>1.0</db.version>
              <liquibase.remote.db.prompt>true</liquibase.remote.db.prompt>
              <db.migrate>all</db.migrate>
              <database.driver>oracle.jdbc.driver.OracleDriver</database.driver>
              <database.url>jdbc:oracle:thin:@${database.host}:${database.port}/${database.name}</database.url>
              <database.user>santosh</database.user>
              <database.schema.user>project</database.schema.user>
              <database.admin.user>system</database.admin.user>
              <database.flavor>oracle-11g</database.flavor>
              <database.name>dcm</database.name>
         </properties>
    <properties>
         <database.host>localhost</database.host>
    <database.port>1521</database.port>
         <database.password>A_Pass123</database.password>
         <database.schema.password>projectpassword</database.schema.password>
         <database.admin.password>oracle#</database.admin.password>
    </properties>
    Edited by: user548284 on Jan 12, 2011 5:56 PM

  • Database Exception Handling Error

    Hi
    Platform: BPEL/SOA Suite 10.1.3.3
    I created an async BPEL process that does a simple insert into a database, and added error handling to ensure that database errors are trapped and interested parties notified when errors occur. To test the exception handling, I created a dummy table with an id and value column, where the value is declared as varchar2(1). Then I invoked the BPEL process with a string value longer than 1 character.
    I expected to have the process catch the error, execute a java embedded System.out.println, assign the fault details to a fault variable string, and then terminate, with the terminated process displayed in the BPEL Console. Much to my surprise, as this executed perfectly in BPEL 10.1.2, this did not happen. Instead, the java embedded System.out.println executed, but then the following error was generated and the BPEL process was sent to the Manual Recovery area.
    2007-10-18 10:52:29,879> <ERROR> <default.collaxa.cube.ws> <Database Adapter::Outbound> <oracle.tip.adapter.db.DBInteraction executeOutboundWrite> unable to execute the outbound insert operation on: DBAccessDummyTable.TestDummy
    <2007-10-18 10:52:29,879> <ERROR> <default.collaxa.cube.ws> <AdapterFramework::Outbound> file:/E:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_Test_DummyTable_Async_1.5_709050a551839440870cf17aba79c0f7.tmp/DBAccess_DummyTable.wsdl [ DBAccess_DummyTable_ptt::insert(TestDummyCollection,TestDummyCollection) ] - Could not invoke operation 'insert' against the 'Database Adapter' due to:
    ORABPEL-11616
    DBWriteInteractionSpec Execute Failed Exception.
    insert failed. Descriptor name: [DBAccessDummyTable.TestDummy]. [Caused by: ORA-12899: value too large for column "ALE_ADAPTER"."TEST_DUMMY"."DUMMY_STRING_VALUE" (actual: 4, maximum: 1)
    Caused by Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.3.0) (Build 070608)): oracle.toplink.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: ORA-12899: value too large for column "ALE_ADAPTER"."TEST_DUMMY"."DUMMY_STRING_VALUE" (actual: 4, maximum: 1)
    Error Code: 12899
    Call:INSERT INTO TEST_DUMMY (DUMMY_ID, DUMMY_STRING_VALUE) VALUES (?, ?)
         bind => [280, long]
    Query:InsertObjectQuery(<TestDummy 280 />).
         at oracle.tip.adapter.db.exceptions.DBResourceException.createEISException(DBResourceException.java:469)
         at oracle.tip.adapter.db.exceptions.DBResourceException.outboundWriteException(DBResourceException.java:510)
         at oracle.tip.adapter.db.DBInteraction.executeOutboundWrite(DBInteraction.java:963)
         at oracle.tip.adapter.db.DBInteraction.execute(DBInteraction.java:225)
         at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:485)
         at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:435)
         at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:443)
         at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:251)
         at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:727)
    I decided to test this on my local SOA Suite, instead of deploying to the development server, and again to my surprise, the exception was caught and handled as expected, with no errors thrown. I then realized that I hadn’t set up the datasource, connection pool, and DbAdapter connection factory in Enterprise Manager for the database being used. I configured these appropriately, and once again the above error happened, this time on my local SOA Suite. I removed the connection from the DbAdapter connection factory, and the exception was once again caught and handled appropriately.
    Since our database passwords have to be changed periodically, we are required to configure the datasource etc on the server so password management can be done in one place. That being the case, I’m hoping someone can provide some ideas to help resolve this issue. I tried changing a few of the database settings in Enterprise Manager (using dataSourceName instead of xADataSourceName, setting usesBatchWriting to false instead of true) but none of these changes worked.
    Thanks

    You should look into Bridge [GOF:151] and Memento [GOF:273].
    Bridge allows you to decouple your mechanism from the implementation memento on how to propergate the decoupled exception information.

Maybe you are looking for

  • Adapter file receiver command line dynamic

    Hi everybody, In the adapter file receiver, I'd like to put the command line dynamically depending of informations of the payload of the message. Do you have ideas ? Thank you in advance for your collaboration. Regards

  • Similar to DatePicker Class

    I would like know if there is a class wich one is similar to DatePicker class, but with Hours, Minutes and Seconds instead of Days, Months and Years. In case this kind of class doesn't exist . How could I get a box , button or something similar which

  • Adobe AIR installation took away 10 gb of hard drive space. Why?

    Hello all, I recently downloaded the Mac app You Need a Budget (YNAB).  The app told me it needed to install Adobe AIR, which I allowed it to do.  Since installing Adobe AIR, the amount of empty hard drive space I have decreased from about 16 gb to 4

  • Problem with SAPSERVER.CMD during installation, nothing happens

    In the process of installing in our test environment but I seem to have problems with the Oracle 9i installation. When i double click the file sapserver.cmd nothing happens. I have tried the workaround with renaming "symcjit.dll" and changing paramet

  • Getting Already Purchased Music on a new computer?

    So my ipod was stolen and the computer that had my music is no longer working is there any way to get my Purchased music on my new computer or am i gonna have to rebuy it all. I have tried the Check for available Downloads option and it says everythi