Javax.resource.ResourceException: Failed to start the connection

I have created the JMS bridge in Weblogic10.0 to connect with MQ server, I am getting error when startingup the weblogic server. Below the error
####<28-Mar-2009 10:56:25 o'clock GMT> <Info> <MessagingBridge> <clx25ao02> <aauat100-02> <[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1238237785804> <BEA-200042> <Bridge MQ_TO_JMS_1 failed to connect to the source destination and will try again in 20 seconds. This could be a temporary condition unless the messages repeat several times. (javax.resource.ResourceException: Failed to start the connection)>
I deployed the JMS adaptor also in weblogic10.0.
Could you please tell me the reason for the error?

A problem occurred with a Messaging Bridge between two JMS topics running in two Managed
Servers in the same domain, running on the same machine. As the Messaging Bridge was being
started during WebLogic Server startup, it threw the following warning message. Messages
could not be forwarded.
Analysis revealed that the bridge failed to create the message listener because it was
configured for durable topics and there was no JMS store available. The Bridge encountered an
internal error when trying to log the resource exception so the customer was not able to tell
why the bridge was failing.
The problem was resolved by a code change to allow the bridge to throw the correct resource
exception. Now, the correct exception is logged by the bridge.

Similar Messages

  • Error in resource adapter cleanup.. javax.resource.ResourceException: java.

    Hi,
    I am getting the following error in my Oracle AS 10g R3 on Solaris .
    Error in resource adapter cleanup.. javax.resource.ResourceException: java.sql.SQLException: Closed Connection
    in log file:apps/oracle/oc4j_home/j2ee/homeMYAPP/log/homeMYAPP_default_group_1/oc4j/log.xml
    (Click on the log file link to download the log or view it as plain text)
    Can any one explain why this error comes.
    Regards,
    Kumar

    Hi,
    I am getting the following error in my Oracle AS 10g R3 on Solaris .
    Error in resource adapter cleanup.. javax.resource.ResourceException: java.sql.SQLException: Closed Connection
    in log file:apps/oracle/oc4j_home/j2ee/homeMYAPP/log/homeMYAPP_default_group_1/oc4j/log.xml
    (Click on the log file link to download the log or view it as plain text)
    Can any one explain why this error comes.
    Regards,
    Kumar

  • Failed to start the SASL connection (every 10 minutes)

    I have been recently seeing the following console message at 10 minute intervals:
    8/23/12 8:46:44.368 AM Mail: [<_LibSasl2SASLClient: 0x7fd1cbe048f0> mechanism: PLAIN security layer: no] Failed to start the SASL connection
    SASL(-1): generic failure:
    I use Apple mail connected to a Verizon FIOS internet account using SSL for both incoming (port 995) and outgoing (port 465) per Verizon requirements. Mail does work fine in both directions, just the annoying log messages every 10 minutes.
    Any ideas?,  thanks in advance
    Larry

    I just began searching the same message. Mail has been taking a little while to quit. The message you referred to seemed to be triggered about the time Mail was quiting. Along with this one:
    9/2/12 9:03:15.900 PM Mail: [<_LibSasl2SASLClient: 0x7f8c02597300> mechanism: CRAM-MD5 security layer: no] Failed a step of SASL authentication
    SASL(-1): generic failure:

  • Rs-ora:resource group failed to start on chosen node; it may end up failing

    I have configured two node failover cluster environment using netra a/d 1000 storage. When I try to deploy oracle server application it throws the following error
    rs-ora: resource group failed to start on chosen node; it may end up failing over to other node(s)
    I created metaset and gave one raw did disk to that metaset.
    I created logical hostname resource, ha-storage plus resource. Later I brought the resource group to online using following command
    #clrg online –emM rg-ora
    Later I created oracle cluster resource using following command.
    #clrs create -g rg-ora -t SUNW.oracle_server -p ORACLE_HOME=/global/oracle/product/10.2.0/db_1 -p ORACLE_SID=infra -p Alert_log_file=/global/oracle/product/10.2.0/db_1/admin/infra/bdump/alert_infra.log -p Connect_string=sysdba/dbadmin1@infra -p Resource_dependencies=rs-ora-has rs-ora
    node1 - Validation failed. ORACLE_HOME /global/oracle/product/10.2.0/db_1 does not exist
    node1 - ALERT_LOG_FILE /global/oracle/product/10.2.0/db_1/admin/infra/bdump/alert_infra.log doesn't exist
    node1 - PARAMETER_FILE: /global/oracle/product/10.2.0/db_1/dbs/initinfra.ora nor server PARAMETER_FILE: /global/oracle/product/10.2.0/db_1/dbs/spfileinfra.ora exists
    node1 - This resource depends on a HAStoragePlus resouce that is not online on this node. Ignoring validation errors.
    rs-ora: resource group failed to start on chosen node; it may end up failing over to other node(s)
    The status of oracle resource shows as follows.
    Resource Name Node Name State Status Message
    rs-ora node1 Start failed Faulted
    I used solaris 10 update 6 patch level is Generic_137137-09, Oracle version 10.2.0, Sun clusters 3.2 update1. Following are the vfstab and /var/adm/messages of both nodes.
    Node1#grep ora /etc/vfstab
    /dev/md/oradg/dsk/d300 /dev/md/oradg/rdsk/d300 /global/oracle ufs 5 no logging
    Node2#grep ora /etc/vfstab
    /dev/md/oradg/dsk/d300 /dev/md/oradg/rdsk/d300 /global/oracle ufs 5 no logging
    Node1#more /var/adm/messages
    Oct 17 05:19:17 node1 Cluster.RGM.rgmd: [ID 224900 daemon.notice] launching method <hafoip_prenet_start> for resource <ha-
    host-1>, resource group <rg-ora>, node <node1>, timeout <300> seconds
    Oct 17 05:19:17 node1 Cluster.RGM.rgmd: [ID 751138 daemon.notice] 47 fe_rpc_command: cmd_type(enum):<1>:cmd=</usr/cluster/
    lib/rgm/rt/hafoip/hafoip_prenet_start>:tag=<rg-ora.ha-host-1.10>: Calling security_clnt_connect(..., host=<node1>, sec_typ
    e {0:WEAK, 1:STRONG, 2:DES} =<1>, ...)
    Oct 17 05:19:17 node1 Cluster.RGM.rgmd: [ID 515159 daemon.notice] method <hafoip_prenet_start> completed successfully for
    resource <ha-host-1>, resource group <rg-ora>, node <node1>, time used: 0% of timeout <300 seconds>
    Oct 17 05:19:17 node1 Cluster.RGM.rgmd: [ID 224900 daemon.notice] launching method <hastorageplus_prenet_start> for resour
    ce <rs-ora-has>, resource group <rg-ora>, node <node1>, timeout <1800> seconds
    Oct 17 05:19:17 node1 Cluster.RGM.rgmd: [ID 751138 daemon.notice] 47 fe_rpc_command: cmd_type(enum):<1>:cmd=</usr/cluster/
    lib/rgm/rt/hastorageplus/hastorageplus_prenet_start>:tag=<rg-ora.rs-ora-has.10>: Calling security_clnt_connect(..., host=<tes
    tlab5>, sec_type {0:WEAK, 1:STRONG, 2:DES} =<1>, ...)
    Oct 17 05:19:18 node1 Cluster.RGM.rgmd: [ID 375444 daemon.notice] 8 fe_rpc_command: cmd_type(enum):<2>:cmd=<null>:tag=<rg-
    ora.rs-ora-has.10>: Calling security_clnt_connect(..., host=<node1>, sec_type {0:WEAK, 1:STRONG, 2:DES} =<0>, ...)
    Oct 17 05:19:18 node1 Cluster.RGM.rgmd: [ID 316625 daemon.notice] Timeout monitoring on method tag <rg-ora.rs-ora-has.10>
    has been suspended.
    Oct 17 05:19:20 node1 Cluster.Framework: [ID 801593 daemon.notice] stdout: becoming primary for oradg
    Oct 17 05:19:21 node1 Cluster.RGM.rgmd: [ID 375444 daemon.notice] 8 fe_rpc_command: cmd_type(enum):<3>:cmd=<null>:tag=<rg-
    ora.rs-ora-has.10>: Calling security_clnt_connect(..., host=<node1>, sec_type {0:WEAK, 1:STRONG, 2:DES} =<0>, ...)
    Oct 17 05:19:21 node1 Cluster.RGM.rgmd: [ID 316625 daemon.notice] Timeout monitoring on method tag <rg-ora.rs-ora-has.10>
    has been resumed.
    Oct 17 05:19:25 node1 Cluster.RGM.rgmd: [ID 515159 daemon.notice] method <hastorageplus_prenet_start> completed successful
    ly for resource <rs-ora-has>, resource group <rg-ora>, node <node1>, time used: 0% of timeout <1800 seconds>
    Oct 17 05:19:25 node1 Cluster.RGM.rgmd: [ID 224900 daemon.notice] launching method <hafoip_start> for resource <ha-host-1>
    , resource group <rg-ora>, node <node1>, timeout <500> seconds
    Oct 17 05:19:25 node1 Cluster.RGM.rgmd: [ID 751138 daemon.notice] 47 fe_rpc_command: cmd_type(enum):<1>:cmd=</usr/cluster/
    lib/rgm/rt/hafoip/hafoip_start>:tag=<rg-ora.ha-host-1.0>: Calling security_clnt_connect(..., host=<node1>, sec_type {0:WEA
    K, 1:STRONG, 2:DES} =<1>, ...)
    Oct 17 05:19:25 node1 Cluster.RGM.rgmd: [ID 515159 daemon.notice] method <hafoip_start> completed successfully for resourc
    e <ha-host-1>, resource group <rg-ora>, node <node1>, time used: 0% of timeout <500 seconds>
    Oct 17 05:19:25 node1 Cluster.RGM.rgmd: [ID 224900 daemon.notice] launching method <hafoip_monitor_start> for resource <ha
    -host-1>, resource group <rg-ora>, node <node1>, timeout <300> seconds
    Oct 17 05:19:25 node1 Cluster.RGM.rgmd: [ID 224900 daemon.notice] launching method <hastorageplus_start> for resource <rs-
    ora-has>, resource group <rg-ora>, node <node1>, timeout <90> seconds
    Oct 17 05:19:25 node1 Cluster.RGM.rgmd: [ID 510020 daemon.notice] 46 fe_rpc_command: cmd_type(enum):<1>:cmd=</usr/cluster/
    lib/rgm/rt/hafoip/hafoip_monitor_start>:tag=<rg-ora.ha-host-1.7>: Calling security_clnt_connect(..., host=<node1>, sec_typ
    e {0:WEAK, 1:STRONG, 2:DES} =<1>, ...)
    Oct 17 05:19:25 node1 Cluster.RGM.rgmd: [ID 751138 daemon.notice] 47 fe_rpc_command: cmd_type(enum):<1>:cmd=</usr/cluster/
    lib/rgm/rt/hastorageplus/hastorageplus_start>:tag=<rg-ora.rs-ora-has.0>: Calling security_clnt_connect(..., host=<node1>,
    sec_type {0:WEAK, 1:STRONG, 2:DES} =<1>, ...)
    Oct 17 05:19:25 node1 Cluster.RGM.rgmd: [ID 515159 daemon.notice] method <hafoip_monitor_start> completed successfully for
    resource <ha-host-1>, resource group <rg-ora>, node <node1>, time used: 0% of timeout <300 seconds>
    Oct 17 05:19:25 node1 Cluster.RGM.rgmd: [ID 515159 daemon.notice] method <hastorageplus_start> completed successfully for
    resource <rs-ora-has>, resource group <rg-ora>, node <node1>, time used: 0% of timeout <90 seconds>
    Oct 17 05:19:25 node1 Cluster.RGM.rgmd: [ID 224900 daemon.notice] launching method <hastorageplus_monitor_start> for resou
    rce <rs-ora-has>, resource group <rg-ora>, node <node1>, timeout <90> seconds
    Oct 17 05:19:25 node1 Cluster.RGM.rgmd: [ID 751138 daemon.notice] 47 fe_rpc_command: cmd_type(enum):<1>:cmd=</usr/cluster/
    lib/rgm/rt/hastorageplus/hastorageplus_monitor_start>:tag=<rg-ora.rs-ora-has.7>: Calling security_clnt_connect(..., host=<tes
    tlab5>, sec_type {0:WEAK, 1:STRONG, 2:DES} =<1>, ...)
    Oct 17 05:19:25 node1 Cluster.RGM.rgmd: [ID 515159 daemon.notice] method <hastorageplus_monitor_start> completed successfu
    lly for resource <rs-ora-has>, resource group <rg-ora>, node <node1>, time used: 0% of timeout <90 seconds>
    Oct 17 05:19:38 node1 Cluster.RGM.rgmd: [ID 224900 daemon.notice] launching method <bin/oracle_server_validate> for resour
    ce <rs-ora>, resource group <rg-ora>, node <node1>, timeout <120> seconds

    Oct 17 05:19:38 node1 Cluster.RGM.rgmd: [ID 375444 daemon.notice] 8 fe_rpc_command: cmd_type(enum):<1>:cmd=</opt/SUNWscor/
    oracle_server/bin/oracle_server_validate>:tag=<rg-ora.rs-ora.2>: Calling security_clnt_connect(..., host=<node1>, sec_type
    {0:WEAK, 1:STRONG, 2:DES} =<1>, ...)
    Oct 17 05:19:38 node1 Cluster.RGM.rgmd: [ID 515159 daemon.notice] method <bin/oracle_server_validate> completed successful
    ly for resource <rs-ora>, resource group <rg-ora>, node <node1>, time used: 0% of timeout <120 seconds>
    Oct 17 05:19:38 node1 Cluster.RGM.rgmd: [ID 224900 daemon.notice] launching method <bin/oracle_server_init> for resource <
    rs-ora>, resource group <rg-ora>, node <node1>, timeout <30> seconds
    Oct 17 05:19:38 node1 Cluster.RGM.rgmd: [ID 751138 daemon.notice] 47 fe_rpc_command: cmd_type(enum):<1>:cmd=</opt/SUNWscor
    /oracle_server/bin/oracle_server_init>:tag=<rg-ora.rs-ora.4>: Calling security_clnt_connect(..., host=<node1>, sec_type {0
    :WEAK, 1:STRONG, 2:DES} =<1>, ...)
    Oct 17 05:19:38 node1 Cluster.RGM.rgmd: [ID 515159 daemon.notice] method <bin/oracle_server_init> completed successfully f
    or resource <rs-ora>, resource group <rg-ora>, node <node1>, time used: 0% of timeout <30 seconds>
    Oct 17 05:19:38 node1 Cluster.CCR: [ID 973933 daemon.notice] resource rs-ora added.
    Oct 17 05:19:39 node1 Cluster.RGM.rgmd: [ID 224900 daemon.notice] launching method <bin/oracle_server_start> for resource
    <rs-ora>, resource group <rg-ora>, node <node1>, timeout <600> seconds
    Oct 17 05:19:39 node1 Cluster.RGM.rgmd: [ID 751138 daemon.notice] 47 fe_rpc_command: cmd_type(enum):<1>:cmd=</opt/SUNWscor
    /oracle_server/bin/oracle_server_start>:tag=<rg-ora.rs-ora.0>: Calling security_clnt_connect(..., host=<node1>, sec_type {
    0:WEAK, 1:STRONG, 2:DES} =<1>, ...)
    Oct 17 05:19:48 node1 SC[SUNWscor.oracle_server.start]:rg-ora:rs-ora: [ID 876834 daemon.error] Could not start server
    Oct 17 05:19:48 node1 Cluster.RGM.rgmd: [ID 938318 daemon.error] Method <bin/oracle_server_start> failed on resource <rs-o
    ra> in resource group <rg-ora> [exit code <1>, time used: 1% of timeout <600 seconds>]
    Node2# more /var/adm/messages
    Oct 14 20:20:04 node2 Cluster.RGM.rgmd: [ID 529407 daemon.notice] resource group rg-ora state on node node2 change to RG_PENDIN
    G_OFFLINE
    Oct 14 20:20:04 node2 Cluster.RGM.rgmd: [ID 443746 daemon.notice] resource rs-ora-has state on node node2 change to R_MON_STOPP
    ING
    Oct 14 20:20:04 node2 Cluster.RGM.rgmd: [ID 443746 daemon.notice] resource ha-host-1 state on node node2 change to R_MON_STOPPI
    NG
    Oct 14 20:20:04 node2 Cluster.RGM.rgmd: [ID 224900 daemon.notice] launching method <hafoip_monitor_stop> for resource <ha-host
    -1>, resource group <rg-ora>, node <node2>, timeout <300> seconds
    Oct 14 20:20:04 node2 Cluster.RGM.rgmd: [ID 224900 daemon.notice] launching method <hastorageplus_monitor_stop> for resource <
    rs-ora-has>, resource group <rg-ora>, node <node2>, timeout <90> seconds
    Oct 14 20:20:04 node2 Cluster.RGM.rgmd: [ID 268902 daemon.notice] 45 fe_rpc_command: cmd_type(enum):<1>:cmd=</usr/cluster/lib/
    rgm/rt/hafoip/hafoip_monitor_stop>:tag=<rg-ora.ha-host-1.8>: Calling security_clnt_connect(..., host=<node2>, sec_type {0:WEAK
    , 1:STRONG, 2:DES} =<1>, ...)
    Oct 14 20:20:04 node2 Cluster.RGM.rgmd: [ID 510020 daemon.notice] 46 fe_rpc_command: cmd_type(enum):<1>:cmd=</usr/cluster/lib/
    rgm/rt/hastorageplus/hastorageplus_monitor_stop>:tag=<rg-ora.rs-ora-has.8>: Calling security_clnt_connect(..., host=<node2>, s
    ec_type {0:WEAK, 1:STRONG, 2:DES} =<1>, ...)
    Oct 14 20:20:05 node2 Cluster.RGM.rgmd: [ID 515159 daemon.notice] method <hastorageplus_monitor_stop> completed successfully f
    or resource <rs-ora-has>, resource group <rg-ora>, node <node2>, time used: 0% of timeout <90 seconds>
    Oct 14 20:20:05 node2 Cluster.RGM.rgmd: [ID 443746 daemon.notice] resource rs-ora-has state on node node2 change to R_ONLINE_UN
    MON
    Oct 14 20:20:05 node2 Cluster.RGM.rgmd: [ID 443746 daemon.notice] resource rs-ora-has state on node node2 change to R_STOPPING
    Oct 14 20:20:05 node2 Cluster.RGM.rgmd: [ID 784560 daemon.notice] resource rs-ora-has status on node node2 change to R_FM_UNKNO
    WN
    Oct 14 20:20:05 node2 Cluster.RGM.rgmd: [ID 922363 daemon.notice] resource rs-ora-has status msg on node node2 change to <Stopp
    ing>
    Oct 14 20:20:05 node2 Cluster.RGM.rgmd: [ID 224900 daemon.notice] launching method <hastorageplus_stop> for resource <rs-ora-h
    as>, resource group <rg-ora>, node <node2>, timeout <1800> seconds
    Oct 14 20:20:05 node2 Cluster.RGM.rgmd: [ID 510020 daemon.notice] 46 fe_rpc_command: cmd_type(enum):<1>:cmd=</usr/cluster/lib/
    rgm/rt/hastorageplus/hastorageplus_stop>:tag=<rg-ora.rs-ora-has.1>: Calling security_clnt_connect(..., host=<node2>, sec_type
    {0:WEAK, 1:STRONG, 2:DES} =<1>, ...)
    Oct 14 20:20:05 node2 Cluster.RGM.rgmd: [ID 515159 daemon.notice] method <hafoip_monitor_stop> completed successfully for reso
    urce <ha-host-1>, resource group <rg-ora>, node <node2>, time used: 0% of timeout <300 seconds>
    Oct 14 20:20:05 node2 Cluster.RGM.rgmd: [ID 443746 daemon.notice] resource ha-host-1 state on node node2 change to R_ONLINE_UNM
    ON
    Oct 14 20:20:05 node2 Cluster.RGM.rgmd: [ID 515159 daemon.notice] method <hastorageplus_stop> completed successfully for resou
    rce <rs-ora-has>, resource group <rg-ora>, node <node2>, time used: 0% of timeout <1800 seconds>
    Oct 14 20:20:05 node2 Cluster.RGM.rgmd: [ID 443746 daemon.notice] resource rs-ora-has state on node node2 change to R_STOPPED
    Oct 14 20:20:05 node2 Cluster.RGM.rgmd: [ID 443746 daemon.notice] resource ha-host-1 state on node node2 change to R_STOPPING
    Oct 14 20:20:05 node2 Cluster.RGM.rgmd: [ID 224900 daemon.notice] launching method <hafoip_stop> for resource <ha-host-1>, res
    ource group <rg-ora>, node <node2>, timeout <300> seconds
    Oct 14 20:20:05 node2 Cluster.RGM.rgmd: [ID 784560 daemon.notice] resource ha-host-1 status on node node2 change to R_FM_UNKNOW
    N
    Oct 14 20:20:05 node2 Cluster.RGM.rgmd: [ID 922363 daemon.notice] resource ha-host-1 status msg on node node2 change to <Stoppi
    ng>
    Oct 14 20:20:05 node2 Cluster.RGM.rgmd: [ID 510020 daemon.notice] 46 fe_rpc_command: cmd_type(enum):<1>:cmd=</usr/cluster/lib/
    rgm/rt/hafoip/hafoip_stop>:tag=<rg-ora.ha-host-1.1>: Calling security_clnt_connect(..., host=<node2>, sec_type {0:WEAK, 1:STRO
    NG, 2:DES} =<1>, ...)
    Oct 14 20:20:06 node2 ip: [ID 678092 kern.notice] TCP_IOC_ABORT_CONN: local = 192.168.032.244:0, remote = 000.000.000.000:0, s
    tart = -2, end = 6
    Oct 14 20:20:06 node2 ip: [ID 302654 kern.notice] TCP_IOC_ABORT_CONN: aborted 0 connection
    Oct 14 20:20:06 node2 Cluster.RGM.rgmd: [ID 784560 daemon.notice] resource ha-host-1 status on node node2 change to R_FM_OFFLIN
    E
    Oct 14 20:20:06 node2 Cluster.RGM.rgmd: [ID 922363 daemon.notice] resource ha-host-1 status msg on node node2 change to <Logica
    lHostname offline.>
    Oct 14 20:20:06 node2 Cluster.RGM.rgmd: [ID 515159 daemon.notice] method <hafoip_stop> completed successfully for resource <ha
    -host-1>, resource group <rg-ora>, node <node2>, time used: 0% of timeout <300 seconds>
    Oct 14 20:20:06 node2 Cluster.RGM.rgmd: [ID 443746 daemon.notice] resource ha-host-1 state on node node2 change to R_OFFLINE
    Oct 14 20:20:06 node2 Cluster.RGM.rgmd: [ID 443746 daemon.notice] resource rs-ora-has state on node node2 change to R_POSTNET_S
    TOPPING

  • ORA-12500   Tns listner failed to start the dedicated server process.

    Hi all,
    I am getting below error message when i am trying to connect to database through db console.
    OS-Windows sever
    Database-10GR1
    ORA-12500 Tns listner failed to start the dedicated server process.
    Kindly help me out..
    Thanks in advance
    Edited by: rajaryan on Sep 17, 2009 4:46 AM

    Hi all,
    I am getting below error message when i am trying to connect to database through db console.
    OS-Windows sever
    Database-10GR1
    ORA-12500 Tns listner failed to start the dedicated server process.
    Kindly help me out..
    Thanks in advance
    Edited by: rajaryan on Sep 17, 2009 4:46 AMYou are running short of resources. Check v$resource_limit. You may also use the orastack utility for minimizing the memory utilized by oracle.
    http://hrivera99.blogspot.com/2008/01/orastack.html
    Regards,
    S.K.

  • Failed to open the connection. Error in the Designer when copying ...

    I have two different systems I am developing an application on.
    I copy the entire directory from one system to the other. Both systems have the same environment:
    Visual Studio 2010
    Crystal Reports for Visual Studio 2010 (the production release, or I think it is the vesion is 13.0.2.0 is the version on the assemblies)
    SQL 2008 R2
    Today, I started adding Crystal reports to this VS solution. I have a reportdriver class that exports all the reports to an HTTP Stream, but we can sit that aside for now. The problem I am having is strictly with the integrated designer.
    I have a bunch of existing reports written for an old Sybase databse. I have ported them to SQL and the table structure matches. I simply add the report to my project, point it to the new datasource (using "Set Datasource Location" - OLE ADO SQL) and then preview the report to be sure it runs.
    I am just using "localhost" as my server name for the OLE connection so I...in theory... don't have to change the data source to view it on the other system. Both systems have SQL 2008 R2 installed locally. For my login credentials, I use SQL Security and use the same database login/password on both development machines andthe production server.
    Today, I copied my entire project to the other PC (as I do almost every day).. When I open any of the reports (in VS) and try to preview them I get:
    Failed to open the connection.
    Details: ADO Error Code: 0x80004005
    Source: Microsoft OLE DB Provide for SQL Server
    Description: [DBNETLIB][ConnectionOpen (Connect().]SQL Server does not exist or access denied.
    SQL State: 08001
    Native Error: 17 [Database Vendor Code: 17]
    I can only guess that I am using two different OLE ADO drivers on the two systems or there is something embedded in the rport or somewhere in my solution that "knows" I am not really on the same system that I initially set them up on and previewd them with.
    Am I on the right track? Any idea how I can fix this? Obviously, I don't want to have to setup the datasource for every report in my application (if I do that, the report works) when I copy it from the development to the production server.
    I am in a real bind here and under a fast aproaching deadline. Any help is much appreciated!!!
    Shayne

    Don't use localhost as your server name. It's a reserved name and should not be used in code.
    Try this also [Kbase |http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533353333333433363339%7D.do] SAP Note 1553469 - How to enable Database logging in Crystal Reports for Visual Studio 2010
    Edited by: Don Williams on Jan 30, 2011 6:02 AM

  • Infoviewer Error - Failed to open the connection.

    Hi,
    I get the below error when tring to view a report from infoviewer?
    Failed to open the connection. Products.rpt Details: [Database Vendor Code: 12154 ]
    Also where can i find the log files for CMC and infoviewer?
    Thanks in advance

    Hi! I'm getting a similar error.
    Re: 08004:oracleodbcoraora-12154: TNS: could not resolve the connect ....
    Posted: Aug 22, 2011 5:56 PM in response to: John Fleming
    Edit Reply
    I am receiving a similar error.
    Failed to open the connection.
    Details: 08004:OracleODBCOraORA-12154: TNS:could not resolve the connect identifier specified Database Vendor Code: 12154
    I've seen all sorts of discussion on the intertubes about possible fixes however, none stated are practical or they do not address my error specifically. I've exhausted resources on the net as well as those available to me.
    I'm currently running SAP Crystal Reports 2011 on WIN7 64bit and using Oracle in OraClient 10g_home1.
    Please let me know what insight you have. I cannot roll back to previous versions of Windows nor less encryption.
    Thank you for your time.
    Thank you, again, for your time.
    Jeff Embree.

  • Getting Error:Failed to open the connection while calling crystal report

    I am getting the below error while calling the crystal report from dot net app. I am using OLEDB to connect to database. It is working perfectly in our DEV environment but as soon as I move it to production information after changing the logon information in the report it start giving the below error.
    Failed to open the connection.C:\WINDOWS\TEMP{C2FD97D9-2ADE-41BB-88FF-23A4DF20BC6F}.rpt
    Details: [Database Vendor Code: 17 ]

    Are you able to connect to the database from the production machine using a UDL file?
    If you haven't tried this, here's how to do it. Take these steps on the machine that is hosting the application. Create a new text file on the desktop. Change the file extension to ".udl" (without the quotes). Double-click on this to bring up the OLEDB connection test: start on the Provider tab and select the appropriate provider. Click "Next" and on the following tab enter your connection information. Click the "Test Connection" button to test the connection. Does it connect  to the database successfully?
    If you click on "OK" to close the dialog and then open the UDL file with Notepad, you should see an OLEDB connection string. In this string should be the same property values for server, database, user id and password which you are providing through your application. If they are not the same, modify your application to use these values.
    If testing your connection information with the UDL file works but your application is still failing when using the same credentials, try profiling or tracing the database. Do you see connection attempts from the application? Are there any errors?
    If you're impersonating, have you set up windows authentication correctly for both the application and the database?

  • CR2008:Failed to open the connection. Failed to open the connection. Report

    Hi,
    I've just upgraded from Crystal XI R2 to Crystal 2008. All my reports open happily in Crystal 2008. I have also deployed the Crystal 2008 runtime to a Windows 2003 SP2 R2 server running ASP.NET 1 and ASP.NET 2. Before the Crystal 2008 runtime was installed on top of the already present Crystal XI R2 Runtime I could view RPT files via the .NET report viewer (version XI). Now that Crystal 2008 runtime is installed I receive an error message when I try to view the reports, again, via the .NET report viewer (version 12), although no code has changed apart from all references changed from XI to 2008.
    Code is:
    CrystalDecisions.CrystalReports.Engine.ReportDocument oReportDocument = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
                oReportDocument.Load(sReportFilename);
    Tables oTables = oReportDocument.Database.Tables;
                   foreach (CrystalDecisions.CrystalReports.Engine.Table oTable in oTables)
                        TableLogOnInfo crTableLogOnInfo = oTable.LogOnInfo;
                        crTableLogOnInfo.ConnectionInfo.IntegratedSecurity = true;
                        crTableLogOnInfo.ConnectionInfo.DatabaseName = "DB" ;
                        crTableLogOnInfo.ConnectionInfo.ServerName = "server" ;
                        oTable.ApplyLogOnInfo(crTableLogOnInfo);
    CrystalReportViewer1.ReportSource = oReportDocument;
                this.DataBind();
    Error message is: 'Failed to open the connection. Failed to open the connection'.
    Any help would be great.
    Regards
    Tony

    You are correct in that there are no database connectivity changes in CR 2008.
    If you do not have SP0 for CR 2008, download it from here:
    https://smpdl.sap-ag.de/~sapidp/012002523100007528552008E/cr2008_sp0.zip
    If that does not help, I'd like to check if the correct dlls are loading when using CR 2008. To do that, download the modules utility from here:
    https://smpdl.sap-ag.de/~sapidp/012002523100006252802008E/modules.zip
    Then do the following:
    1) unzip the download
    2) Run the app with the CR 2008 references
    3) get the error. leave the error on the screen
    4) Start modules
    5) Go to the File menu, select New List -> Memory Modules
    6) Expand "By process"
    7) Find the app exe (or the .NET dev env)
    8) Click on that
    9) Go to the View menu and select Details
    10) Look to see if there are any dlls loading form the CR XI r2 directory (c:\Program files\Business Objects\Common\3.5\bin)
    Ludek

  • Failed to open the connection. Details: [Database Vendor Code: 12154].

    I have installed Crystal reports server 2008 VI on a Windows 2008 64bit OS. I have added SQL server and Oracle reports through CMC. I then installed Oracle 10g client 32bit on the server and created and tested the required DSNs using ODBC 32bit. All the testings are successfull.
    Now when I try to run my Oracle report through CMC it prompts for the parameters and when I enter them and click ok, gives me the following error:
    Failed to open the connection. Details: [Database Vendor Code: 12154].
    I have the same exact setup on a different server which has a 32 bit windows 2008 server OS and could run the same reports through CMC.
    Is there away to fix this in the 64 bit OS?
    I did a yahoo search and someone had a similar problem with Crystal RAS and Oracle.
    And there is mentions that this is an issue with 32 bit ODBC drivers on 64bit wondows OS.The parentheses in the default file location, C:\Program Files (x86), causes problems with the ODBC driver and the workarouns in re-installing Crystal RAS on a different folder.
    Full description is at (http://www.tririga.info/)
    Is this the case with Crystal report server 2008 VI? I already got users using the InfoView to run SQL reports and doing this will have to put the application offline atlease for a say.
    Any help is greatly appreciated.

    Vasana,
    Resolution: Failed to Open the Connection.
    First:
    If the Crystal Report is using 32-bit version of Microsoft ODBC then the Window 2008 server must also have 32-bit version of Microsoft ODBC. The 32- bit version of Odbcad32.exe is located in the %systemdrive%\Windows\SysWoW64 folder.
    On the Windows 2008 server, execute Odbcad32.exe by clicking start and run and entering the following: C:\Window\SysWow64\ODBC32.exe.
    Then:
    The Windows 2008 server ODBC Data Source Administrator must have the same System Data Source Server and Database Names that is used to run the Crystal Report.
    e.g. Crystal Report points to server ABC and database EFG (ABC_efg); then the ODBC connections on the Windows 2008 Server must also point to the same server ABC and database EFG (abc_efg) listed.

  • Failed to open the connection. ... ~tmp.rpt

    Environment:
    MS-Windows Server 2003, Standard Edition, Service Pack 2
    BusinessObjects XI r2 - v11.5.8.826
    Crystal Reports Developer, Full - v11.0.0.2381
    I am currently experiencing a "Failed to open the connection. ... ~tmp.rpt" error when scheduling a specific report through CMC or InfoView.
    The report can be previewed successfully in CR, InfoView, and CMC. Only scheduling attempts cause this error.
    The environment currently hosts approximately 100 other reports that are functioning perfectly. These other reports can be scheduled and generated successfully.
    Data connection chain is as follows:
    Oracle 11g DB
    Oracle driver v10.02.00.01
    Oracle TNS Name (connection verified).
    MS-ODBC file DSN  (connection verified).
    BusinessObjects Data Connection (connection verified - dependent integrity checked).
    above BO-DC added to BusinessObjects Dynamic Data Connection (dependent integrity checked).
    Data Foundation for the report in question can be viewed using the BO-DC and the database verifies successfully.
    Business Elements and View for the report are in place and integrity verified.
    If anyone out there has fixed a similar situation, or may have some troubleshooting ideas, please let me know.
    Thanks in advance,
    Geoffrey.

    My next suggestion would be to 'peel' the report. Step by step remove a certain formula / functionality etc. to determine what can cause the issue. I once had a WebI report which would get corrupt once I added a certain feature to it. Without it I could save and open it perfectly. You can also try it in reverse and start with a blank (or previously saved) version and start building it, saving in between to verify.
    Hope this helps...
    Martijn van Foeken
    Focuzz BI Services
    http://www.focuzz.nl
    http://nl.linkedin.com/in/martijnvanfoeken
    http://twitter.com/mfoeken

  • Failed to open the connection after changing the connection in CMC

    Hi
    Below are our environment details:
    BOXI 3.1 SP3
    Solaris Sparc 10
    Crystal Reports 2008 Sp3
    Weblogic 11g
    Our team is facing the problem as described below:
    We have created Crystal Reports using JDBC connection and it works fine
    in an environment(SIT).
    When we migrate these reports to the another environment(UAT) we get
    the error "Failed to open the connection"
    After migrating we indeed change the connection to Custom Database
    Login Information in CMC.
    So to troubleshoot we installed Crystal Reports in UAT environment and
    had to perform Set DataLocation after which
    the reports starting working fine.
    Now when we are migrating reports to Production we have the same issue.
    We cannot install Crystal Reports on Production this time and hence we
    are stuck.
    Please let us know if any known workaround or solution for the same.
    Thanks
    Kamal
    Edited by: Kamalaksha Shetty on Nov 15, 2011 4:18 AM

    Hi Meenal,
    I am not 100% sure I understood the workaround of having Crystal Designer on the server. Can you connect from UAT designer to production and perform the same operation?
    Check this KBA that describes this problem and a solution:
    https://service.sap.com/sap/support/notes/1445067
    Regards,
    Julian

  • Problem: Failed to open the connection. Error Code 0x800002F4 (-2147482892)

    Problem: Failed to open the connection. Error Code 0x800002F4 (-2147482892)
    This is on two (2) separate machines. These are NEW INSTALLATION development work stations (laptops). One is Vista (Visual Studio 2008 / Crystal Reports 2008), and the other is Windows XP Pro (Visual Studio 2003 / Crystal Reports XI R1).
    I am using EXISTING CODE (established over several years), and EXISTING REPORTS (established over several years). Old development station was XP Pro, as above, and still exists, and still works fine.
    I can open the report in Crystal, and see the results just fine. Data for the report is obtained via ODBC.
    Can someone identity the actual error by the Error Code above, and advise. Thanks You in Advance.

    Ok, so let's start at step 1:
    SP 1 just released and I'd recommend applying that. The SO is available from here:
    https://smpdl.sap-ag.de/~sapidp/012002523100010503722008E/cr2008_sp1.exe
    For future reference, msm matching the above SP is here:
    https://smpdl.sap-ag.de/~sapidp/012002523100011715292008E/cr121_mm.zip
    and msi is here:
    https://smpdl.sap-ag.de/~sapidp/012002523100011722132008E/cr121_redist_install.zip
    Step 2: a few questions:
    a) I am not sure what CR SDK you are using; RDC, .NET? I suspect that you are using the CR assemblies for .NET, but do confirm.
    b) what is the database you are connecting to?
    c) is this a web or a win app?
    Step 3:  As the error can mean any number of things (to me it's just means something went wrong during the attempt to connect to the database...), the solution may vary, however the troubleshooting steps remain quite consistent:
    1) Do make sure the report is indeed working in the CR 2008 designer (e.g.; make sure "saved data" is not enabled.
    2) Try a simple new windows app with one of your reports. See if you have a report with no subreports and use it
    3) If that works, use a report with subreports
    4) If the above does not work in (1) above, create a new report to the same ODBC connection, do not code any database connection - let the report prompt for the logon parameter (PWD)
    5) Run the new report in your new app, enter the PWD when prompted
    6) If this works, add your database logon code
    7) If that works, add your original report (again, preferably with no subreports)
    8) If that fails, ensure that the subreport and main report use the same database connection type (ODBC)
    9) If it works, see if you can determine the difference between your old app and the new app.
    Ludek

  • Javax.resource.ResourceException

    Hi,
    I'm trying to import the class javax.resource.ResourceException in my program but when I compile the code I get the error "class javax.resource.ResourceException not found in import". What is the name of the jar file that contains this class and where can I download it from ?
    Many thanks
    Angela

    Oh that one!
    Thats from royalblue. You have missed one of the .jar files supplied with the API.
    Cheers

  • Code: 0xC0208452 Source: Data Flow Task ADO NET Destination [86] Description: ADO NET Destination has failed to acquire the connection {}. The connection may have been corrupted.

    Hi There!
    I have created one package (1) to import data from Flatfile(csv), (2)Clean It  then (3)send clean rows to SQL Database.
    This package was working fine before. Since I have decided to deploy this package to automate this process, I have no clue what went wrong but this doesn't run anymore. Flatfile and Database are on same windows box. We are running SQL 2008.I
    have attached some screenshot to make this conversation more concise.
    Your time and efforts will be appreciated!
    Thanks,
    DAP

    Hi Niraj!
    I recreated connection and I was able to remove that RED DOT next to those connections.
    Still package doesnt run well :(
    I have only one server. I use same server through out the process. I ran that process as job through SSMS and attached is output file(if this explains more)...
    Microsoft (R) SQL Server Execute Package Utility
    Version 10.0.4000.0 for 64-bit
    Copyright (C) Microsoft Corp 1984-2005. All rights reserved.
    Started:  11:34:38 AM
    Error: 2014-07-18 11:34:39.33
       Code: 0xC0208452
       Source: Data Flow Task ADO NET Destination [86]
       Description: ADO NET Destination has failed to acquire the connection {2430******}. The connection may have been corrupted.
    End Error
    Error: 2014-07-18 11:34:39.33
       Code: 0xC0047017
       Source: Data Flow Task SSIS.Pipeline
       Description: component "ADO NET Destination" (86) failed validation and returned error code 0xC0208452.
    End Error
    Error: 2014-07-18 11:34:39.33
       Code: 0xC004700C
       Source: Data Flow Task SSIS.Pipeline
       Description: One or more component failed validation.
    End Error
    Error: 2014-07-18 11:34:39.33
       Code: 0xC0024107
       Source: Data Flow Task 
       Description: There were errors during task validation.
    End Error
    DTExec: The package execution returned DTSER_SUCCESS (0).
    Started:  11:34:38 AM
    Finished: 11:34:39 AM
    Elapsed:  0.531 seconds
    Thanks for your time and efforts!
    DAP

Maybe you are looking for

  • Weird panel behavior in Develop

    I leave the left panel on auto to keep as large of a photo as possible while editing in develop. I may go back and forth between 2-3 shots using the film strip to compare exposure corrections between different shots to choose the best one. However, i

  • Mac mini mid 2011 and logic pro 9 in 64-bit?

    Hi, I have a mac mini mid 2011 with a 2.7HGz intel core i7 processor and 8 GB of RAM. I have been using Logic Pro 9 in 32-bit mode and tried switching to 64-bit mode. I unchecked the "open in 32-bit mode" in the "get inf" section, but logic still ope

  • Save as from Acrobat , all filenames read "PDF File"

    Acrobat Pro 9.4.4 has developed a new to me bug.  If I "save as" to a folder containing PDF files all the file names in the window read the file type "PDF FILE" (see the attachment)  however, when I move the cursor on to any file the file name field

  • My iPhone doesn't hold a Wi-Fi signal anymore, can I get it replaced?

    Hi, My iPhone 4S which I bought in April last year has recently and gradually stopped connecting to Wi-Fi. At first it would lose the signal for a few minutes then reconnect, then a few weeks later it began losing the signal after about 10 minutes of

  • Help! My MacBook Pro won't go online

    My MacBook Pro is connected to my home's wifi, but it doesn't go online. Every time i try to use safari it just stays blank, it won't go to any website. My family's PCs work just fine. I already tried from restarting my Mac to disconnecting my router