Database - JSF Intergration Error

I am creating a simple web application that uses Oracle XPress 10g R2.
The application uses the Business Tier Model--ViewController and JSF:
The JSF page is called "StudentList.jsp"
The database has only one table "STUDENT_TBL" and I'd like to view the fields data using JSF.
Building this simple app is not a problem as I can see the "STUDENT_TBL" and its fields during the development.
The problem arises when I try to execute the .jsp file as the following error is returned:
JBO-30003: The application pool (com.polaris.model.AppModuleLocal) failed to checkout an application module due to the following exception:oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC
If I am able to connect to the database table during development I don't understand why an exception error is reported against JDBC?
regards
--John                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Usually this is a problem with the JDBC driver not
being deployed with the application. Not sure I understand when you say deployed with the application? When I create the database connection, there is an option to deploy the database access credentials which I do select.
If you see the problem when running against the internal OC4J from
JDev then try stopping the OC4J and starting again.Yes, the problem occurs when I run against the emcedded OC4J, although I have installed the standalone version as well. Also, the problem does not go away whenever I do a restart.
--John                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • 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

  • Database Guard enabled error in Logical standby database

    Hi All,
    In my logical standby db i have a schema REP which is not present in Primary database, but even then i am getting ora-16224 Database Guard enabled error when ever i try DDL and DML operation on REP schema objects in Logical standby db.
    even when i compile sys object i am getting the same error. when i set database data guard status to NONE, i don't get error, but my requirement is to keep database data guard status in STANDBY
    My database version is 11.2.0.3.0.
    Please help in resolving this error.
    Thanks,
    Mukesh

    >In my logical standby db i have a schema REP which is not present in Primary database,
    not possible

  • Database Connection Lost Error

    Hi,
    MyScenario is :
    We send a query to database A collect resultset in java mapping and transform it to three more Select queries and send them to Database B So two chanels are there:
    Sender JDBC channel, Receiver JDBC Channel.
    Now the Output of Database B is converted to IDOC and sent to R/3 System.
    This is working fine, but sometime it stuck at Database B saying error "connection Lost". And works fine afterwards.But in that case we miss the records which could not be processed.
    What can be the reason for this ? Please suggest the solution at teh earliest. Can overloading be the reason for losing connection. Please suggest...
    Thanks & Regards,
    Priyanka

    Hi Priyanka,
    You have to close the connection afte accessing the JDBC  "A".
    So that it could be accesed by others.
    Try to implement the suggetion given by sarvesh.
    If it still does not work then i would say you go for JDBC look ups.
    It will improve the performance as well.
    Thanks
    Sunil Singh

  • Unable to create the Mailbox Store. The database returned an error

    hi we have a new unity connection 10.51 install . trying to create a 2nd mailbax store and get the following error:
    Unable to create the Mailbox Store. The database returned an error.
    creates the store but i can't open it to mount it / enable it.

    Sadly, that did not resolve the problem. The app still terminated and generated an error. Any other suggestions?
    Here is the first portion of the error it generates:
    Process:         App Store [3200]
    Path:            /Applications/App Store.app/Contents/MacOS/App Store
    Identifier:      com.apple.appstore
    Version:         1.0.2 (63.1)
    Build Info:      Firenze-630100~1
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [239]
    Date/Time:       2011-08-17 21:43:21.942 -0700
    OS Version:      Mac OS X 10.6.8 (10K549)
    Report Version:  6
    Interval Since Last Report:          23825 sec
    Crashes Since Last Report:           10
    Per-App Interval Since Last Report:  21 sec
    Per-App Crashes Since Last Report:   6
    Anonymous UUID:                      4133601A-34FD-472F-98E6-73E4DE9BFC06
    Exception Type:  EXC_CRASH (SIGABRT)
    Exception Codes: 0x0000000000000000, 0x0000000000000000
    Crashed Thread:  0  Dispatch queue: com.apple.main-thread
    Application Specific Information:
    abort() called
    *** Terminating app due to uncaught exception 'NSImageCacheException', reason: 'Cannot lock focus on image <NSImage 0x10037c3c0 Size={0, 0} Reps=(
    )>, because it is size zero.'

  • The query against the database caused an error in https: site

    Hi
    I have created a new Data source and External content type in sharePoint 2013
    I have also given all the permission to this Content type (including "Users(Windows)")
    I also having edit permission in the Sql-database.
    I have tied almost all the possibilities given in the net for this error.
    still the error("the query against the database caused an error") is there.
    Is this because of "https:/ " in the url?
    Can any one give a suggestion / solution for this?
    Thanks
    S H A J A N

    Hi,
    Can you please check ULS Log as well as event viewer, to see if there's any related error reported?
    Thanks,
    Sohel Rana
    http://ranaictiu-technicalblog.blogspot.com

  • I am not able to create database manually.unexpected error incountered why?

    I am not able to create database manually.unexpected error incountered why?
    Same step is worked in another system
    SQL> startup nomount
    ORACLE instance started.
    Total System Global Area 97589952 bytes
    Fixed Size 453312 bytes
    Variable Size 46137344 bytes
    Database Buffers 50331648 bytes
    Redo Buffers 667648 bytes
    SQL> ed
    Wrote file afiedt.buf
    1 CREATE DATABASE icici
    2 LOGFILE GROUP 1 ('F:\oracle\oradata\icici\logfile\redo01.log') SIZE 10M,
    3 GROUP 2 ('F:\oracle\oradata\icici\logfile\redo02.log') SIZE 10M,
    4 GROUP 3 ('F:\oracle\oradata\icici\logfile\redo03.log') SIZE 10M
    5 MAXLOGFILES 5
    6 MAXLOGMEMBERS 5
    7 MAXLOGHISTORY 1
    8 MAXDATAFILES 10
    9 MAXINSTANCES 1
    10 CHARACTER SET US7ASCII
    11 NATIONAL CHARACTER SET AL16UTF16
    12 DATAFILE 'F:\oracle\oradata\icici\datafile\system01.dbf' SIZE 100M REUSE
    EXTENT MANAGEMENT LOCAL
    13 DEFAULT TEMPORARY TABLESPACE tempts1 TEMPFILE 'F:\oracle\oradata\icici\d
    atafile\temp01.dbf' SIZE 100M REUSE
    14 UNDO TABLESPACE undotbs DATAFILE 'F:\oracle\oradata\icici\datafile\undot
    bs01.dbf'SIZE 100M REUSE
    15* AUTOEXTEND ON NEXT 5120K MAXSIZE 300M
    SQL> /
    CREATE DATABASE icici
    ERROR at line 1:
    ORA-01092: ORACLE instance terminated. Disconnection forced
    SQL>

    Check the alert log. Paste the end of the file over here.
    Yoann.

  • 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”

  • Database logon failed error on IIS7

    I am getting a Database logon failed error on a report that is being called in ASP.NET form on IIS7. This error does not happen in my development environment but only on the webserver in IIS7. I can open the report and run it in Crystal Reports designer without any problem. Any help on this will be appreciated. The error message I get is below.
    Report File: LossRunByPolicyNoDates.rpt Report Path: C:\inetpub\wwwroot\adhoc_reports\LossRunByPolicyNoDates.rpt Export Path: C:\inetpub\wwwroot\adhoc_inbox\khogan\RSF500217-09.pdf CrystalDecisions.CrystalReports.Engine.LogOnException: Database logon failed. ---> System.Runtime.InteropServices.COMException (0x8004100F): Database logon failed. at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext) at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext) --- End of inner exception stack trace --- at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e) at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext) at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext) at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext) at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export() at CrystalDecisions.CrystalReports.Engine.ReportDocument.Export() at adhoc.WebForm1.btnRun_Click(Object sender, EventArgs e) in C:\inetpub\wwwroot\adhoc\WebForm1.aspx.vb:line 443

    In addition to the information that Bhushan requested;
    What database?
    How are you connecting to it (ODBC, OLE DB, etc.)?
    I'd also highly recommend having a read of the following:
    What do I need to do to get the fastest issue resolution?
    With he info you provided, you are asking us to guess, which typically proves to be a very inefficient way of troubleshooting any issue...
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • 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.

  • Database not found/Error: ORA-16621: database name for ADD DATABASE must be

    I am new to Data Guard and am trying to set up Data Guard Broker. I had created a configuration file with both my primary and standby databases and at one time I could show both databases. But now I can no longer show the standby database nor can I enable, disable or reinstate it. Here is what I have:
    Primary Database: orcl10g
    Standby Database: 10gSB
    DGMGRL> show configuration
    Configuration
    Name: orcl10g
    Enabled: YES
    Protection Mode: MaxPerformance
    Fast-Start Failover: DISABLED
    Databases:
    orcl10g - Primary database
    10gSB - Physical standby database
    Current status for "orcl10g":
    SUCCESS
    DGMGRL> show database verbose orcl10g
    Database
    Name: orcl10g
    Role: PRIMARY
    Enabled: YES
    Intended State: ONLINE
    Instance(s):
    orcl10g
    Properties:
    InitialConnectIdentifier = 'orcl10g'
    LogXptMode = 'ASYNC'
    Dependency = ''
    DelayMins = '0'
    Binding = 'OPTIONAL'
    MaxFailure = '0'
    MaxConnections = '1'
    ReopenSecs = '300'
    NetTimeout = '180'
    LogShipping = 'ON'
    PreferredApplyInstance = ''
    ApplyInstanceTimeout = '0'
    ApplyParallel = 'AUTO'
    StandbyFileManagement = 'AUTO'
    ArchiveLagTarget = '0'
    LogArchiveMaxProcesses = '30'
    LogArchiveMinSucceedDest = '1'
    DbFileNameConvert = '10gSB, orcl10g'
    LogFileNameConvert = '/oracle/oracle/product/10.2.0/oradata/orcl10g/redo01.log, /oracle/oracle/product/10.2.0/oradata/10gSB/redo01.log, /oracle/oracle/product/10.2.0/oradata/orcl10g/redo02.log, /oracle/oracle/product/10.2.0/oradata/10gSB/redo02.log, /oracle/oracle/product/10.2.0/oradata/orcl10g/redo03.log, /oracle/oracle/product/10.2.0/oradata/10gSB/redo03.log'
    FastStartFailoverTarget = ''
    StatusReport = '(monitor)'
    InconsistentProperties = '(monitor)'
    InconsistentLogXptProps = '(monitor)'
    SendQEntries = '(monitor)'
    LogXptStatus = '(monitor)'
    RecvQEntries = '(monitor)'
    HostName = 'remarkable.mammothnetworks.com'
    SidName = 'orcl10g'
    LocalListenerAddress = '(ADDRESS=(PROTOCOL=tcp)(HOST=remarkable.mammothnetworks.com)(PORT=1521))'
    StandbyArchiveLocation = '/oracle/flash_recovery_area/orcl10g/archivelog'
    AlternateLocation = ''
    LogArchiveTrace = '1024'
    LogArchiveFormat = '%t_%s_%r.arc'
    LatestLog = '(monitor)'
    TopWaitEvents = '(monitor)'
    Current status for "orcl10g":
    SUCCESS
    DGMGRL> show database verbose 10gSB
    Object "10gsb" was not found
    DGMGRL>
    DGMGRL> remove database 10gSB
    Object "10gsb" was not found
    DGMGRL>
    DGMGRL> reinstate database 10gSB
    Object "10gsb" was not found
    DGMGRL>
    DGMGRL> enable database 10gSB
    Object "10gsb" was not found
    DGMGRL>
    DGMGRL> add database '10gSB' as
    connect identifier is 10gSB
    maintained as physical;Error: ORA-16621: database name for ADD DATABASE must be unique
    Failed.
    How can I get Data Guard to see the standby database correctly again?

    Thank you for the constructive feedback. I have been able to make progress on this issue.
    I did check the Data Guard Log files as you suggested. I did not find anything when I checked them before but this time I found the following:
    DG 2011-06-16-17:23:18 0 2 0 RSM detected log transport problem: log transport for database '10gSB' has the following error.
    DG 2011-06-16-17:23:18 0 2 0 RSM0: HEALTH CHECK ERROR: ORA-16737: the redo transport service for standby database "10gSB" has an error
    DG 2011-06-16-17:23:18 0 2 0 NSV1: Failed to connect to remote database 10gSB. Error is ORA-12514
    DG 2011-06-16-17:23:18 0 2 0 RSM0: Failed to connect to remote database 10gSB. Error is ORA-12514
    DG 2011-06-16-17:23:18 0 2 753988034 Operation CTL_GET_STATUS cancelled during phase 2, error = ORA-16778
    DG 2011-06-16-17:23:18 0 2 753988034 Operation CTL_GET_STATUS cancelled during phase 2, error = ORA-16778
    I verified that I am able to connect to both the primary and standby databases via external connections:
    -bash-3.2$ lsnrctl status
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 17-JUN-2011 12:41:03
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date 17-JUN-2011 01:40:30
    Uptime 0 days 11 hr. 0 min. 32 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /oracle/oracle/product/10.2.0/db_1/network/admin/listener.ora
    Listener Log File /oracle/oracle/product/10.2.0/db_1/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=remarkable.mammothnetworks.com)(PORT=1521)))
    Services Summary...
    Service "10gSB" has 1 instance(s).
    Instance "10gSB", status READY, has 1 handler(s) for this service...
    Service "10gSB_DGB" has 1 instance(s).
    Instance "10gSB", status READY, has 1 handler(s) for this service...
    Service "10gSB_XPT" has 1 instance(s).
    Instance "10gSB", status READY, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orcl10g" has 1 instance(s).
    Instance "orcl10g", status READY, has 1 handler(s) for this service...
    Service "orcl10gXDB" has 1 instance(s).
    Instance "orcl10g", status READY, has 1 handler(s) for this service...
    Service "orcl10g_DGB" has 1 instance(s).
    Instance "orcl10g", status READY, has 1 handler(s) for this service...
    Service "orcl10g_XPT" has 1 instance(s).
    Instance "orcl10g", status READY, has 1 handler(s) for this service...
    The command completed successfully
    -bash-3.2$
    -bash-3.2$
    -bash-3.2$ sqlplus system/dbas4ever@orcl10g
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Jun 17 12:43:41 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL> quit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    -bash-3.2$ sqlplus system/dbas4ver@10gSB
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Jun 17 12:43:59 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-01033: ORACLE initialization or shutdown in progress <== I think this is normal since the database is in mount mode
    Enter user-name:
    I also checked the listener log file and did see and error associated with a known bug:
    WARNING: Subscription for node down event still pending
    So I added the following to the listener.ora file and bounced the listener:
    SUBSCRIBE_FOR_NODE_DOWN_EVENT_LISTENER=OFF
    That seems to have taken care of the error.
    The following is my listener.ora file:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /oracle/oracle/product/10.2.0/db_1)
    (PROGRAM = extproc)
    (SID_DESC = ( GLOBAL_DBNAME = 10gsb_DGMGRL.remarkable.mammothnetworks.com )
    ( SERVICE_NAME = 10gsb.remarkable.mammothnetworks.com )
    ( SID_NAME = 10gsb )
    ( ORACLE_HOME = /oracle/oracle/product/10.2.0/db_1 )
    (SID_DESC = ( GLOBAL_DBNAME = orcl10g_DGMGRL.remarkable.mammothnetworks.com )
    ( SERVICE_NAME = orcl10g.remarkable.mammothnetworks.com )
    ( SID_NAME = orcl10g )
    ( ORACLE_HOME = /oracle/oracle/product/10.2.0/db_1 )
    (SID_DESC = ( GLOBAL_DBNAME = orcl10g.remarkable.mammothnetworks.com )
    ( SERVICE_NAME = orcl10g.remarkable.mammothnetworks.com )
    ( SID_NAME = orcl10g )
    ( ORACLE_HOME = /oracle/oracle/product/10.2.0/db_1 )
    (SID_DESC = ( GLOBAL_DBNAME = 10gsb.remarkable.mammothnetworks.com )
    ( SERVICE_NAME = 10gsb.remarkable.mammothnetworks.com )
    ( SID_NAME = 10gsb )
    ( ORACLE_HOME = /oracle/oracle/product/10.2.0/db_1 )
    SUBSCRIBE_FOR_NODE_DOWN_EVENT_LISTENER=OFF
    I again tried connecting externally to the standby database:
    -bash-3.2$ sqlplus system/dbas4ever@10gSB
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Jun 17 13:09:00 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-01033: ORACLE initialization or shutdown in progress
    Enter user-name:
    and see this in the listener.log file:
    17-JUN-2011 13:10:22 * (CONNECT_DATA=(SERVICE_NAME=10gSB_XPT)(SERVER=dedicated)(CID=(PROGRAM=oracle)(HOST=remarkable.mammothnetworks.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=199.187.124.130)(PORT=11357)) * establish * 10gSB_XPT * 0
    17-JUN-2011 13:10:22 * (CONNECT_DATA=(SERVICE_NAME=10gSB_XPT)(SERVER=dedicated)(CID=(PROGRAM=oracle)(HOST=remarkable.mammothnetworks.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=199.187.124.130)(PORT=11358)) * establish * 10gSB_XPT * 0
    17-JUN-2011 13:10:24 * service_update * 10gSB * 0
    17-JUN-2011 13:10:30 * (CONNECT_DATA=(SID=orcl10g)(CID=(PROGRAM=perl)(HOST=remarkable.mammothnetworks.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=25119)) * establish * orcl10g * 0
    17-JUN-2011 13:10:30 * (CONNECT_DATA=(SID=orcl10g)(CID=(PROGRAM=perl)(HOST=remarkable.mammothnetworks.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=25120)) * establish * orcl10g * 0
    17-JUN-2011 13:10:30 * (CONNECT_DATA=(SID=orcl10g)(CID=(PROGRAM=emagent)(HOST=localhost.localdomain)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=25121)) * establish * orcl10g * 0
    17-JUN-2011 13:11:22 * (CONNECT_DATA=(SERVICE_NAME=10gSB_XPT)(SERVER=dedicated)(CID=(PROGRAM=oracle)(HOST=remarkable.mammothnetworks.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=199.187.124.130)(PORT=11420)) * establish * 10gSB_XPT * 0
    17-JUN-2011 13:11:22 * (CONNECT_DATA=(SERVICE_NAME=10gSB_XPT)(SERVER=dedicated)(CID=(PROGRAM=oracle)(HOST=remarkable.mammothnetworks.com)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=199.187.124.130)(PORT=11422)) * establish * 10gSB_XPT * 0
    17-JUN-2011 13:11:24 * service_update * 10gSB * 0
    I tried again to see the database in Data Guard Broker:
    DGMGRL> show database 10gSB
    Object "10gsb" was not found
    however, I then was able to add the database in Data Guard Broker:
    DGMGRL> add database 10gSB
    as connect identifier is 10gSB
    maintained as physical;Database "10gsb" added <== this is progress!!!
    However the configuration shows the following:
    DGMGRL> show database 10gSB
    Database
    Name: 10gsb
    Role: PHYSICAL STANDBY
    Enabled: NO
    Intended State: OFFLINE
    Instance(s):
    10gSB
    Current status for "10gsb":
    DISABLED <=====
    So I tried to enable the database:
    DGMGRL> enable database 10gSB
    Error: ORA-16626: failed to enable specified object
    Failed.
    and I tried to reinstate the database:
    DGMGRL> reinstate database 10gSB
    Reinstating database "10gsb", please wait...
    Error: ORA-16653: failed to reinstate database
    Failed.
    Reinstatement of database "10gsb" failed
    So I checked the configuration and now see two entries for the standby database but with case differences:
    DGMGRL> show configuration
    Configuration
    Name: orcl10g
    Enabled: YES
    Protection Mode: MaxPerformance
    Fast-Start Failover: DISABLED
    Databases:
    orcl10g - Primary database
    10gSB - Physical standby database
    10gsb - Physical standby database (disabled)
    Current status for "orcl10g":
    SUCCESS
    Question: How do I get rid of 10gSB and enable 10gsb?

  • Problem overriding default JSF conversion error messages

    Hello !
    I have a problem to override default JSF conversation error message. I have an inputText which is binded to BigDecimal attribute, so when I enter a character in that field I get this error message: "- Conversion failed."
    I think I need to register the message bundle in my faces config, and put the key of this error message to my properties file.. am I right ?
    Can somebody help me with this ? Which key I need to put into the properties file ?
    Miljan

    Get [Sun's Java EE tutorial |https://www.sun.com/offers/details/JavaEETutorial.xml?cid=20090723ZA_TACO_JVEE_0004] and read the relevant section so you don't have to guess what you need to do.

  • Database command execution error. (While mounting a repository)

    Hello,
    I am trying to mount 'Customer Master' repository in Console
    But it is giving me the following error.
    'Database command execution error. A SQL statement failed to execute. The actual error may have been written to a log file.'
    Can any1 throw some light as to how do i solve this problem.
    And where to check this log file?
    Also i am able to mount any other repository without this error.
    Regards,
    Roshani

    Hi Roshni,
    It could be that the repository tables were not correctly created in the Oracle Database.
    Try restarting the oracle services ,also check the Oracle listener configurations are correct.
    If you have an archieve of this repository then try mounting the archieve with a different name.
    Also try restarting the MDM server.
    Hope It Helped
    Thanks & Regards
    Simona Pinto

  • Database Daemon Fatal Error in Outlook 2011

    i am using macbook pro 15" purchased in 2011, runing lion and migrated from office for mac 2008 to 2011.  since then my outlook is experincing a Database Daemon fatal error when i start the applications and sometimes during its use.  i have tried rebulidn the identity but to no avail this is very frsutrating.  any additional solutions?

    Haven't seen that problem before - and I've a 15" late 2011 running Office for Mac 2011, version 14.2.5 (the latest version that I know of).
    Check for updates in Outlook (or any other Office app) - if there are no updates available, take your question to the Office for Mac 2011 forums - http://answers.microsoft.com/en-us/mac/forum?tm=1357128197958 - maybe someone there can help.
    Clinton

Maybe you are looking for

  • How to use a parameter field value as a substring in a "like" statement?

    Hi all, I'm trying to use a parameter field in a Record selection formula where the parameter field value would be a substring of the data stored in the field. My parameter field (SlctResearcher) is constructed as follows: Type: string List of Values

  • Need to replace HD + (possibly) battery

    Hi -- I've got a MBP 4,1 (Early 2008) -- and the hard drive is starting to make pretty loud noises.  It coincided (at least I *think* it did) with a repair that the Apple Store did on a the case or housing that includles the trackpad & surrounds the

  • Opening pdfs from Connect Stored Content flashes content and disappears???

    I've checked the existing threads and don't see this exact problem, so here goes - I hope someone can help!  I am using Adobe Connect and have pdfs stored on the server in my hosted account.  When I use Firefox, and I click on the link to bring up th

  • IPhone from USA vs. iPhone in Europe (A1586)

    Hi, Is there ANY difference between an iPhone 6 (or any older iPhone...) ("european" model A1586) bought in USA and an iPhone 6 evailable (later) in Poland? I have a friend that can buy one for me, but I'm still not 100% sure that it will be a safe s

  • Can't Debug in Eclipse - PS starts but Extension doesn't load

    Windows 7 Pro I can create my extension in Eclipse and Export it.  Then use Extension Manager to install it and PS sees it......but if I right click on the Project in Eclipse and use 'Debug As', PS starts but the extension doesn't appear in it's list