Handling of Connection error with database

hi, my application is using oracle 9i as database (connection via jdbc).
I understand that we can capture the exact connection errors to database, in event that the database is down or not available. This will allow a more meaningful errors message to be thrown, like "Database is not available" when the user try to login to the system. Is that a particular sql exception that i can catch for such connection errors? or if there is not, what is the best practise for handlng such situation?

Yes, java.sql.SQLException is designed for that. It has two methods, getSQLState and getErrorCode, that will help you get the state of the RDBMS if something goes wrong. - MOD

Similar Messages

  • ADF: Gracefully handling JDBC connection errors?  Part II

    Hi gang
    I while back I posted a forum post to find a solution to "display a specific web page when the JDBC connection drops out on our ADF application, specifically the following error: oracle.jbo.DMLException: JBO-26061: Error while opening JDBC connection"
    ...you can see the original post here:
    Re: ADF: Gracefully handling JDBC connection errors?
    For the life of me I can't get this to work now. It appears I can't redirect to another page during the call to reportException. I've had a play with different methods of redirecting, as seen in the following code sample:
    public class ErrorHandlerImpl extends DCErrorHandlerImpl {
      public ErrorHandlerImpl() {
        super(true);
      @Override
      public void reportException(DCBindingContainer dCBindingContainer, Exception exception) {
    //    try {
          String message = exception.getMessage();
          if (message.indexOf("JBO-26061") >= 0) {
            // Method 1
            FacesContext fc = FacesContext.getCurrentInstance();
            UIViewRoot viewRoot =
            fc.getApplication().getViewHandler().createView(fc, "faces/errorPage.jspx");
            fc.setViewRoot(viewRoot);
            fc.renderResponse();
            // Method 2              
            // FacesContext fc = FacesContext.getCurrentInstance();
            // fc.getApplication().getNavigationHandler().handleNavigation(fc, null, "goError");
            // fc.responseComplete();
            // Method 3 - required IOExcepition handler
            // FacesContext.getCurrentInstance().getExternalContext().redirect("faces/errorPage.jspx");
          } else
              super.reportException(dCBindingContainer, exception);
    //    } catch (IOException e) {
    }... with no success.
    Has anyobody any other solutions or advice on getting this to work?
    Your help appreciated.
    Thanks & regads,
    CM.
    PS. JDev 11gR1 ADF BC + ADF Faces RC

    Hi Frank
    Yep, I' tried redirect, that was method 3 (you can see all 3 methods I've attempted, last 2 are commented out).
    With the declarative ADFc exception handler, problem is it's a catch all, not specifically for JBO-26061. Can you think of a way I can tailor fit it for JBO-26061 with a custom message "Database down"?
    In addition the exception handler is not consistently called. As example, if you're moving between pages rather than operating on 1 page, the standard af:messages error dialog is shown if the db connection has been dropped, rather than navigating to the exception handler page. As such it seems the DCErrorHandlerImpl.reportExceptions is the better chokepoint to work from.
    Cheers,
    CM.

  • How to connect java with database without any dsn.

    is there any way to connect java with database with out creating any dsn..like we do in ado in vb by providing provider.

    Sure use a type 4 driver. No DSN.

  • OS X LION 10.8.2 connection error with AFP

    Ok the issue is that i tried to access my external harddrive over AFP with OS X LION and got a error message like this one above. I couldn’t login with a registered user .
    We had the same problem in a earlier update but somehow got around it follwing the terminal commands from: http://www.alexanderwilde.com/2011/04/os-x-lion-connection-error-with-afp-and-wo rkaround/
    But now after the update its back to be broken again...
    Please help!
    Thanks

    Exactly the same problem here for a satellite user working abroad.
    10.8.2 - cannot connect to the server over AFP. I've run the commands in the link posted, no dice.
    Users running 10.8.2 on the internal LAN have no issues however, just this one off-site user.

  • Database connection error with JSP

    I'm having problems connecting to a mysql database via a helper object in my jsp pages. I've researched this for the last two days and nothing I have tried is yet to make a difference.
    My java code is essentially the following (minus try/catch for readability):
         Connection con = null;
         String dsn = "jdbc:odbc:mwtech";
         String user = "root";
         String password = "";
         Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
         con = DriverManager.getConnection(dsn, user, password);When I run this via JBuilder, it connects to my database without a problem. But when I try to use this same object via a jsp I keep getting the error:
    java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified .
    I'm running Tomcat 4.1 as my web-server, my database is named mwtech and has a User DSN registered in the ODBC panel.
    I've made the following alterations to my server.xml and web.xml files:
    server.xml
    <Context path="" reloadable="true" docBase="ROOT" debug="0" >
         <ResourceParams name="jdbc/mwtech">
             <parameter>
                    <name>driverClassName</name>
                    <value>sun.jdbc.odbc.JdbcOdbcDriver</value>
             </parameter>
             <parameter>
                    <name>url</name>
                    <value>jdbc:odbc:mwtech</value>
             </parameter>
             <parameter>
                    <name>user</name>
                    <value>root</value>
             </parameter>
             <parameter>
                    <name>password</name>
                    <value></value>
             </parameter>
          </ResourceParams>
    </Context>
    WEB-INF\web.xml<resource-ref>
    <res-ref-name>jdbc/odbc</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    I have also tried configuring this to work with the mysql connector/J driver, but that didn't work either (in fact, it made things worse so it won't even run via JBuilder).
    Any help would be greatly appreciated.
    --Slowly going insane...                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    It's not working because you're failing to provide access to the drivers from the application.
    ODBC works in your IDE because your IDE is pathed for both J2EE and J2SE.
    ODBC does not work in the Servlet container because it is not core there.
    Connector/J doesn't work in either because Connector/J is not part of either core J2SE or J2EE. So....
    Once again download the Conenctor/J driver (this is the better way to go, trust me on this). Put the mysql-connector-java-xxxx.jar file in the <%WEB_ROOT%>/WEB-INF/lib directory of your application. (replace <%WEB_ROOT%> with your root context). This should now work, both in your IDE and your web-app.

  • Error to connection Jdeveloper with database

    Hello world ,
    i want to make a connection between jdeveloper and database but i got this error message when i do test
    Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=169869568)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
    i am working on client , and oracle developer is connected with database .
    regards

    SID is like what is use for developer , it is 100% correctThe error code you are getting (12505) indicates otherwise
    http://www.error-code.org.uk/view.asp?e=ORACLE-TNS-12505
    Perhaps you are pointing to the wrong host/IP address
    John

  • ADF: Gracefully handling JDBC connection errors?

    Hi gang
    We've a use case to display a specific web page when the JDBC connection drops out on our ADF application, specifically the following error:
    oracle.jbo.DMLException: JBO-26061: Error while opening JDBC connection.
    I've been researching solutions to this and came up with a near solution of placing the following entry in the application's web.xml file:
    <error-page>
      <exception-type>oracle.jbo.DMLException</exception-type>
      <location>/MyErrorPage.jsp</location>
    </error-page>This works okay but is a blunt mechanism as it captures all DMLExceptions which includes insert/update/delete failures, as well as the JDBC connection drop out.
    Has anybody come up with a better solution for handling JDBC connection drop outs?
    Thanks & regards,
    CM.
    PS. (JDev 11g build 5188, ADF BC + ADF Faces RC)

    Thanks John, that's the solution. For some reason I'd forgotten that DCErrorHandlerImpl exists in the controller layer, not the model layer, so it makes perfect sense to override it and do the redirect.
    Here's what I came up with:
    @Override
    public void reportException(DCBindingContainer dCBindingContainer,
                                Exception exception) {
        try {
            String message = exception.getMessage();
            if (message.indexOf("JBO-26061") >= 0) {
                FacesContext.getCurrentInstance().getExternalContext().redirect("faces/ErrorPageJDBCFailure.jspx");
            } else
                super.reportException(dCBindingContainer, exception);
        } catch (IOException e) {
    }The following OTN post shows some other methods to do the redirect: JSF forward Vs redirect
    Cheers!
    CM.

  • Connection error mysql database in Dreamweaver

    the error message is - HTTP error code 404 file not found. here are some possible reasons
    screen shot - http://netwizlk.site50.net/images/DW-error.jpg
    1)there is no testing server running on the server machine.
    2)the testing server specified for this site does not map to the http://localhost/_mmServerScripts/MMhTTPDB.php verify that the URL prefix maps to the root of the site.
    guy pls help me to solve this problem. I tried several times to connect my mysql database with dreamweaver but ended up having this error I reinstalled dreamweaver cs4 and XAMPP still the error is not rectified my both remote and local files are stored in XAMPP server location called in c:\xampp\htdocs\htdocs\myweb
    anybody who could give me a speedy solution for this issue will be highly appreciated thanks alot guys.

    c:\xampp\htdocs\htdocs\myweb
    MM serverscripts must be at the root level of the virtual server, that is directly in the htdocs folder.
    Mylenium

  • ODI topology connection error - oracle database

    Hi,
    I'm trying to connect to oracle database installed on a remote server through odi client installed on my windows machine. Oracle db is on RHEL 64 bit, I believe. I know the connection details such as hostname, sid etc but i'm not able to establish a connection using the oracle jdbc driver. I can perfectly connect to the db via sqldeveloper using tnsnames and also basic connection which rules out the possibility that i might be giving incorrect SID name in ODI connection since I'm using the same details for both
    Error which i received is:
    java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
         at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.doGetConnection(LoginTimeoutDatasourceAdapter.java:133)
         at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.getConnection(LoginTimeoutDatasourceAdapter.java:62)
         at com.sunopsis.sql.SnpsConnection.testConnection(SnpsConnection.java:1125)
         at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.getLocalConnect(SnpsDialogTestConnet.java:163)
         at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.access$4(SnpsDialogTestConnet.java:159)
         at com.sunopsis.graphical.dialog.SnpsDialogTestConnet$4.doInBackground(SnpsDialogTestConnet.java:519)
         at com.sunopsis.graphical.dialog.SnpsDialogTestConnet$4.doInBackground(SnpsDialogTestConnet.java:1)
         at oracle.odi.ui.framework.AbsUIRunnableTask.run(AbsUIRunnableTask.java:258)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
         at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.doGetConnection(LoginTimeoutDatasourceAdapter.java:133)
         at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.getConnection(LoginTimeoutDatasourceAdapter.java:62)
         at oracle.odi.core.datasource.dwgobject.support.OnConnectOnDisconnectDataSourceAdapter.getConnection(OnConnectOnDisconnectDataSourceAdapter.java:74)
         at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter$ConnectionProcessor.run(LoginTimeoutDatasourceAdapter.java:217)
         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
         ... 1 more
    Caused by: java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:482)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:678)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:238)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:567)
         at oracle.odi.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriver(DriverManagerDataSource.java:410)
         at oracle.odi.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriver(DriverManagerDataSource.java:386)
         at oracle.odi.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriver(DriverManagerDataSource.java:353)
         at oracle.odi.jdbc.datasource.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:332)
         ... 7 more
    Caused by: oracle.net.ns.NetException: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
         at oracle.net.ns.NSProtocol.connect(NSProtocol.java:411)
         at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1222)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:330)
         ... 15 more

    tnsping works fine. To solve the problem, I changed my JDBC connection string to another format which uses connect description with service name and that solved the problem. This is what I used.
    jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=on) (ADDRESS=(PROTOCOL=TCP)(HOST=) (PORT=1521)) (ADDRESS=(PROTOCOL=TCP)(HOST=) (PORT=1521)) (CONNECT_DATA=(SERVICE_NAME=)))

  • How to use JDBC to connect Tomcat with database server?(Urgent!)

    I try to deploy the tomcat and make it connect with databaser server.
    I am using mysql connector J 3.0. I added the CLASSPATH of mysql-connector-java-3.0.7-stable-bin.jar in the tomcat.sh .
    I also add the web application in server.xml.
    When I start tomcat, I can see using Classpath including mysql-connector-java-3.0.7-stable-bin.jar .
    But when i browse my jsp including the jdbc, wait for a while, I get a message as following: Timeout on server localhost. My web server and database server is same computer.
    Could you tell me what's wrong?

    Did you check to see that the MySQL database was indeed up and running, and accepting connections when you started Tomcat? Did you make sure that your firewall permits connections to the database?
    Timeout errors generally occur when you send a request to a server and the server does nothing with it - i.e., it doesn't respond to it in any way. Most firewalls are configured this way. If I telnet to your machine and I get "connection refused", I know your machine exists and I can try hacking into it. If I telnet and get nothing at all, then I will either assume either there's no actual machine at that address or it's unresponsive.

  • Unable to start SAP due to the connection error with Oracle

    Dear All,
    We have done distributed installation. CI, Oracle has been installed successfully.
    But when we tried to connect the DB from CI. we are getting the error
    R3trans -d is giving the return code 00012,  when we tried to start system from CI.
    Following is the trans.log error
    $ more trans.log
    4 ETW000 R3trans version 6.09 (release 640 - 26.10.04 - 15:45:42).
    4 ETW000 ===============================================
    4 ETW000
    4 ETW000 date&time   : 05.05.2009 - 18:03:30
    4 ETW000 control file: <no ctrlfile>
    4 ETW000 R3trans was called as follows: R3trans -d
    4 ETW000  trace at level 2 opened for a given file pointer
    4 ETW000  [dev trc     ,00000]  Tue May  5 18:03:30 2009                              48  0.000048
    4 ETW000  [dev trc     ,00000]  db_con_init called                                    11  0.000059
    4 ETW000  [dev trc     ,00000]  create_con (con_name=R/3)                             40  0.000099
    4 ETW000  [dev trc     ,00000]  Loading DB library '/usr/sap/BSW/SYS/exe/run/dboraslib.o' ...
    4 ETW000                                                                              37  0.000136
    4 ETW000  [dev trc     ,00000]  load shared library (/usr/sap/BSW/SYS/exe/run/dboraslib.o), hdl 0
    4 ETW000                                                                            3493  0.003629
    4 ETW000  [dev trc     ,00000]  Library '/usr/sap/BSW/SYS/exe/run/dboraslib.o' loaded
    4 ETW000                                                                              18  0.003647
    4 ETW000  [dev trc     ,00000]  function DbSlExpFuns loaded from library /usr/sap/BSW/SYS/exe/run/dboraslib.o
    4 ETW000                                                                              34  0.003681
    4 ETW000  [dev trc     ,00000]  Version of '/usr/sap/BSW/SYS/exe/run/dboraslib.o' is "640.00", patchlevel (0.32)
    4 ETW000                                                                             120  0.003801
    4 ETW000  [dev trc     ,00000]  function dsql_db_init loaded from library /usr/sap/BSW/SYS/exe/run/dboraslib.o
    4 ETW000                                                                              20  0.003821
    4 ETW000  [dev trc     ,00000]  function dbdd_exp_funs loaded from library /usr/sap/BSW/SYS/exe/run/dboraslib.o
    4 ETW000                                                                              42  0.003863
    4 ETW000  [dev trc     ,00000]  New connection 0 created                              20  0.003883
    4 ETW000  [dev trc     ,00000]  0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES, reco = NO , timeout = 00
    0, con_max = 255, con_opt = 255, occ = NO
    4 ETW000                                                                              23  0.003906
    4 ETW000  [dev trc     ,00000]  db_con_connect (con_name=R/3)                         25  0.003931
    4 ETW000  [dev trc     ,00000]  find_con_by_name found the following connection for reuse:
    4 ETW000                                                                              18  0.003949
    4 ETW000  [dev trc     ,00000]  0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000
    , con_max = 255, con_opt = 255, occ = NO
    4 ETW000                                                                              20  0.003969
    4 ETW000  [dev trc     ,00000]  Got ORACLE_HOME=/oracle/BSW/920_64 from environment
    4 ETW000                                                                             300  0.004269
    4 ETW000  [dev trc     ,00000]  -->oci_initialize                                     20  0.004289
    4 ETW000  [dev trc     ,00000]  Client NLS settings: AMERICAN_AMERICA.WE8DEC        4762  0.009051
    4 ETW000  [dev trc     ,00000]  Logon as OPS$-user to get SAPR3's password            29  0.009080
    4 ETW000  [dev trc     ,00000]  Connecting as /@BSW on connection 0 ...               22  0.009102
    4 ETW000  [dev trc     ,00000]  Allocating service context handle                     22  0.009124
    4 ETW000  [dev trc     ,00000]  Allocating server context handle                      13  0.009137
    4 ETW000  [dev trc     ,00000]  Attaching to DB Server BSW (con_hdl=0,svchp=110791c98,svrhp=1107942f8)
    4 ETW000                                                                              67  0.009204
    4 ETW000  [dev trc     ,00000]  Assigning server context 1107942f8 to service context 110791c98
    4 ETW000                                                                           39616  0.048820
    4 ETW000  [dev trc     ,00000]  Allocating user session handle                        29  0.048849
    4 ETW000  [dev trc     ,00000]  Starting user session (con_hdl=0,svchp=110791c98,srvhp=1107942f8,usrhp=11079cd38)
    4 ETW000                                                                              24  0.048873
    4 ETW000  [dboci.c     ,00000]  *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1034
    4 ETW000                                                                            2415  0.051288
    4 ETW000  [dev trc     ,00000]  server_detach(con_hdl=0,stale=1,svrhp=1107942f8)
    4 ETW000                                                                              28  0.051316
    4 ETW000  [dev trc     ,00000]  Detaching from DB Server (con_hdl=0,svchp=110791c98,srvhp=1107942f8)
    4 ETW000                                                                              18  0.051334
    4 ETW000  [dev trc     ,00000]  Deallocating server context handle 1107942f8         142  0.051476
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => CONNECT failed with sql error '1034'
    4 ETW000                                                                              25  0.051501
    4 ETW000  [dev trc     ,00000]  Try to connect with default password                  20  0.051521
    4 ETW000  [dev trc     ,00000]  Connecting as SAPR3/<pwd>@BSW on connection 0 ...
    4 ETW000                                                                              19  0.051540
    4 ETW000  [dev trc     ,00000]  Allocating server context handle                      11  0.051551
    4 ETW000  [dev trc     ,00000]  Attaching to DB Server BSW (con_hdl=0,svchp=110791c98,svrhp=1107942f8)
    4 ETW000                                                                              27  0.051578
    4 ETW000  [dev trc     ,00000]  Assigning server context 1107942f8 to service context 110791c98
    4 ETW000                                                                           33038  0.084616
    4 ETW000  [dev trc     ,00000]  Assigning username to user session 11079cd38          15  0.084631
    4 ETW000  [dev trc     ,00000]  Assigning password to user session 11079cd38          13  0.084644
    4 ETW000  [dev trc     ,00000]  Starting user session (con_hdl=0,svchp=110791c98,srvhp=1107942f8,usrhp=11079cd38)
    4 ETW000                                                                              22  0.084666
    4 ETW000  [dboci.c     ,00000]  *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1034
    4 ETW000                                                                            1858  0.086524
    4 ETW000  [dev trc     ,00000]  server_detach(con_hdl=0,stale=1,svrhp=1107942f8)
    4 ETW000                                                                              18  0.086542
    4 ETW000  [dev trc     ,00000]  Detaching from DB Server (con_hdl=0,svchp=110791c98,srvhp=1107942f8)
    4 ETW000                                                                              19  0.086561
    4 ETW000  [dev trc     ,00000]  Deallocating server context handle 1107942f8         123  0.086684
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => CONNECT failed with sql error '1034'
    4 ETW000                                                                              24  0.086708
    4 ETW000  [dblink      ,00419]  ***LOG BY2=>sql error 1034   performing CON [dblink#1 @ 419]
    4 ETW000                                                                              57  0.086765
    4 ETW000  [dblink      ,00419]  ***LOG BY0=>ORA-01034: ORACLE not available           18  0.086783
    4 ETW000                        ORA-27101: shared memory realm does not exist
    4 ETW000                        IBM AIX RISC System/6000 Error: 2: No such file or directory [dblink#1 @ 419]
    2EETW169 no connect possible: "DBMS = ORACLE                           --- dbs_ora_tnsname = 'BSW'"
    Could you please provide us the relavant solution.

    hi
    > 4 ETW000  [dblink      ,00419]  ***LOG BY0=>ORA-01034: ORACLE not available           18  0.086783
    Check for your ORACLE_HOME and ORACLE_SID
    ORA-01034 is thrown during you attempt to upgrade because there is an invalid entry in one of the following files:
    /etc/oratab
    /var/opt/oracle/oratab
    Regards,
    Nitin Salunkhe

  • DB Connection error with Placeholder Datacontrol

    Hi,
    I have mocked up a few screens using place holder datacontrols. So far so good, everything acts as intended.
    The moment, I try pushing in an external task flow call as a dialog then I get weird database connection errors.
    Following is the stack:
    JBO-28001: Cannot connect to database
    <RegistrationConfigurator><handleError> Server Exception during PPR, #1
    oracle.jbo.PCollException: JBO-28001: Cannot connect to database
         at oracle.jbo.PCollException.throwException(PCollException.java:36)
         at oracle.jbo.pcoll.PCollManager.ensureConnection(PCollManager.java:512)
         at oracle.jbo.pcoll.OraclePersistManager.getConnection(OraclePersistManager.java:146)
         at oracle.jbo.pcoll.OraclePersistManager.persistentObjectsExist(OraclePersistManager.java:681)
         at oracle.jbo.pcoll.OraclePersistManager.createTable(OraclePersistManager.java:763)
         at oracle.jbo.pcoll.OraclePersistManager.queryNextCollectionId(OraclePersistManager.java:1444)
         at oracle.jbo.pcoll.PCollManager.register(PCollManager.java:562)
         at oracle.jbo.pcoll.PCollection.<init>(PCollection.java:99)
         at oracle.jbo.pcoll.PCollManager.createCollection(PCollManager.java:461)
         at oracle.jbo.server.DBSerializer.setup(DBSerializer.java:150)
         at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:283)
         at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:264)
         at oracle.jbo.server.ApplicationModuleImpl.passivateStateInternal(ApplicationModuleImpl.java:5672)
         at oracle.jbo.server.ApplicationModuleImpl.passivateState(ApplicationModuleImpl.java:5533)
         at oracle.adf.model.bc4j.DCJboDataControl.createSnapshot(DCJboDataControl.java:3100)
         at oracle.adf.model.dcframe.DataControlFrameImpl.createSnapshot(DataControlFrameImpl.java:606)
         at oracle.adfinternal.controller.util.model.DCFrameImpl.createSnapshot(DCFrameImpl.java:60)
         at oracle.adfinternal.controller.state.ViewPortContextImpl.extractModelState(ViewPortContextImpl.java:1262)
         at oracle.adfinternal.controller.state.RootViewPortContextImpl.createInMemorySavePoint(RootViewPortContextImpl.java:178)
         at oracle.adfinternal.controller.activity.TaskFlowCallActivityLogic.execute(TaskFlowCallActivityLogic.java:118)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.executeActivity(ControlFlowEngine.java:989)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:878)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:777)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.routeFromActivity(ControlFlowEngine.java:551)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.performControlFlow(ControlFlowEngine.java:147)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleAdfcNavigation(NavigationHandlerImpl.java:109)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:78)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:812)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:292)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.IllegalStateException
         at oracle.jbo.server.DBTransactionImpl.getDatabaseProductName(DBTransactionImpl.java:1196)
         at oracle.jbo.server.DBTransactionImpl.getInternalConnection(DBTransactionImpl.java:1320)
         at oracle.jbo.server.DBTransactionImpl.getPersistManagerConnection(DBTransactionImpl.java:1247)
         at oracle.jbo.pcoll.PCollManager.ensureConnection(PCollManager.java:486)
         ... 62 more
    ## Detail 0 ##
    java.lang.IllegalStateException
         at oracle.jbo.server.DBTransactionImpl.getDatabaseProductName(DBTransactionImpl.java:1196)
         at oracle.jbo.server.DBTransactionImpl.getInternalConnection(DBTransactionImpl.java:1320)
         at oracle.jbo.server.DBTransactionImpl.getPersistManagerConnection(DBTransactionImpl.java:1247)
         at oracle.jbo.pcoll.PCollManager.ensureConnection(PCollManager.java:486)
         at oracle.jbo.pcoll.OraclePersistManager.getConnection(OraclePersistManager.java:146)
         at oracle.jbo.pcoll.OraclePersistManager.persistentObjectsExist(OraclePersistManager.java:681)
         at oracle.jbo.pcoll.OraclePersistManager.createTable(OraclePersistManager.java:763)
         at oracle.jbo.pcoll.OraclePersistManager.queryNextCollectionId(OraclePersistManager.java:1444)
         at oracle.jbo.pcoll.PCollManager.register(PCollManager.java:562)
         at oracle.jbo.pcoll.PCollection.<init>(PCollection.java:99)
         at oracle.jbo.pcoll.PCollManager.createCollection(PCollManager.java:461)
         at oracle.jbo.server.DBSerializer.setup(DBSerializer.java:150)
         at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:283)
         at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:264)
         at oracle.jbo.server.ApplicationModuleImpl.passivateStateInternal(ApplicationModuleImpl.java:5672)
         at oracle.jbo.server.ApplicationModuleImpl.passivateState(ApplicationModuleImpl.java:5533)
         at oracle.adf.model.bc4j.DCJboDataControl.createSnapshot(DCJboDataControl.java:3100)
         at oracle.adf.model.dcframe.DataControlFrameImpl.createSnapshot(DataControlFrameImpl.java:606)
         at oracle.adfinternal.controller.util.model.DCFrameImpl.createSnapshot(DCFrameImpl.java:60)
         at oracle.adfinternal.controller.state.ViewPortContextImpl.extractModelState(ViewPortContextImpl.java:1262)
         at oracle.adfinternal.controller.state.RootViewPortContextImpl.createInMemorySavePoint(RootViewPortContextImpl.java:178)
         at oracle.adfinternal.controller.activity.TaskFlowCallActivityLogic.execute(TaskFlowCallActivityLogic.java:118)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.executeActivity(ControlFlowEngine.java:989)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:878)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:777)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.routeFromActivity(ControlFlowEngine.java:551)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.performControlFlow(ControlFlowEngine.java:147)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleAdfcNavigation(NavigationHandlerImpl.java:109)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:78)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:812)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:292)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    Hi,
    can you elaborate a bit more on this: +"I try pushing in an external task flow call as a dialog then I get weird database connection errors."+
    There is a known issue with passivation when a database bound application calls an unbound task flow (or vice versa - don't have the bug report open). This reported bug got fixed for JDeveloper 11g. However, if your application does not use ADF BC at all (just the mockup) then this might be something different. Dependent on the pain it causes on your side you can send me a reproducible testcase (which is indication low pain on your side) or contact customer support (if this hinders you from proceeding with your task). My mail address is in my OTN profile. Make sure the attachement is in a ZIP where you rename ".zip" to ".unzip". I would then try and run it against 11.1.14 and if it still reproduces file a bug
    Frank

  • Connection Error with iPod mini to Bose Home Theater System

    When connecting my iPod mini to my Bose Home Theater system, it recognizes that iPod has been connected, but after the "Acquiring Signal" process, it gives me an "iPod connection error. Please re-insert iPod into docking station." I tried several times, but the result is the same.
    My iPod mini has been updated with the latest software, and I did a system restore to return everything to factory defaults, but still no luck.
    Any suggestions.

    Hi. What you need to do is Launch DVD Player. Go to Preferences. Select Disc Setup tab. In Audio Output under Audio in the second part of the menu, select Digital Out-Built-in-Output. Then click OK. See if this works, 'cause mine does.

  • IPhone 3G 2.1 connection error with iTunes 8 on Windows Vista Enterprise

    I was previously able to connect my iphone with my work computer (Windows Vista Enterprise) and it would recognize my phone. However, since I updated my iphone to version 2.1, it will not recognize the phone and gives me the following error message:
    "iTunes could not connect to the iphone because an unknown error occured (0xE8000024)."
    I am able to connect my phone with version 2.1 to my home computer running Windows XP SP2.
    Any idea what may be causing the connection error in Windows Vista?

    Hey TranceCadet,
    This could be caused by a USB connection issue.
    Make sure the iPhone is directly connected to a high speed USB port on the PC and not plugged into a hub, monitor, or keyboard. Disconnect any other USB devices, other than the keyboard and mouse.
    This article has some general USB troubleshooting tips: http://support.apple.com/kb/TS1286
    You may also want to disable or reconfigure any security software. This article will walk you through putting the PC in a selective startup mode, which will bypass most application conflicts.
    http://support.apple.com/kb/HT2292
    Jason

  • How to handle network connection error to bussiness service on OSB

    Hello everyone.
    Thank for your attentions. I need some help for error handling in OSB 11g. I have a proxy service that route to a business service to check profile status. I'm using java client to consume proxy service and return result to customers. The problem that I'm face to is the handling network connection fail.
    I want to get some message (or any useful information) from proxy service to report that connection to Business service is unavailable when that connection fail. I tried to add Error Handling but I cannot found that action from option list.
    Can you review my proxy service and tell me some resolutions?
    Any suggestion is appreciated.
    Thank in advance
    <?xml version="1.0" encoding="UTF-8"?>
    <xml-fragment xmlns:ser="http://www.bea.com/wli/sb/services" xmlns:tran="http://www.bea.com/wli/sb/transports" xmlns:env="http://www.bea.com/wli/config/env" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:con="http://www.bea.com/wli/sb/pipeline/config" xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config" xmlns:con2="http://www.bea.com/wli/sb/stages/config" xmlns:con3="http://www.bea.com/wli/sb/stages/routing/config" xmlns:con4="http://www.bea.com/wli/sb/stages/logging/config">
      <ser:coreEntry isProxy="true" isEnabled="true">
        <ser:binding type="SOAP" isSoap12="false" xsi:type="con5:SoapBindingType" xmlns:con5="http://www.bea.com/wli/sb/services/bindings/config">
          <con5:wsdl ref="Test/resources/wsdl/PortalSide"/>
          <con5:port>
            <con5:name>PortalSideSOAP</con5:name>
            <con5:namespace>http://www.example.org/PortalSide/</con5:namespace>
          </con5:port>
          <con5:selector type="SOAP body"/>
          <con5:WSI-compliant>false</con5:WSI-compliant>
        </ser:binding>
        <ser:monitoring isEnabled="false">
          <ser:aggregationInterval>10</ser:aggregationInterval>
          <ser:pipelineMonitoringLevel>Pipeline</ser:pipelineMonitoringLevel>
        </ser:monitoring>
        <ser:reporting>true</ser:reporting>
        <ser:logging isEnabled="true">
          <ser:logLevel>debug</ser:logLevel>
        </ser:logging>
        <ser:sla-alerting isEnabled="true">
          <ser:alertLevel>normal</ser:alertLevel>
        </ser:sla-alerting>
        <ser:pipeline-alerting isEnabled="true">
          <ser:alertLevel>normal</ser:alertLevel>
        </ser:pipeline-alerting>
        <ser:ws-policy>
          <ser:binding-mode>wsdl-policy-attachments</ser:binding-mode>
        </ser:ws-policy>
      </ser:coreEntry>
      <ser:endpointConfig>
        <tran:provider-id>http</tran:provider-id>
        <tran:inbound>true</tran:inbound>
        <tran:URI>
          <env:value>/Test/proxy-services/DnICT_WSDL_PS</env:value>
        </tran:URI>
        <tran:inbound-properties/>
        <tran:all-headers>false</tran:all-headers>
        <tran:provider-specific>
          <http:inbound-properties/>
        </tran:provider-specific>
      </ser:endpointConfig>
      <ser:router>
        <con:pipeline type="request" name="GetRequestInfo_pipeline_pair_request">
          <con:stage name="InputProcess_stage">
            <con:context>
              <con2:varNsDecl namespace="http://www.example.org/PortalSide/" prefix="por"/>
              <con2:varNsDecl namespace="http://www.example.org/PortalSide_Test/" prefix="por1"/>
              <con2:varNsDecl namespace="http://www.example.org/OutputSchema" prefix="out"/>
            </con:context>
            <con:actions>
              <con1:assign varName="docId">
                <con2:id>_ActionId-2456490176600649155--723117a.130d7d91065.-7b86</con2:id>
                <con1:expr>
                  <con2:xqueryText>$body/por:checkStatus/documentId/text()</con2:xqueryText>
                </con1:expr>
              </con1:assign>
              <con1:assign varName="depId">
                <con2:id>_ActionId-2456490176600649155--723117a.130d7d91065.-7b69</con2:id>
                <con1:expr>
                  <con2:xqueryText>$body/por:checkStatus/departmentId/text()</con2:xqueryText>
                </con1:expr>
              </con1:assign>
              <con1:assign varName="srvId">
                <con2:id>_ActionId-4566721321360037228--34ba1746.13170e34dc9.-7d41</con2:id>
                <con1:expr>
                  <con2:xqueryText>$body/por:checkStatus/serviceId/text()</con2:xqueryText>
                </con1:expr>
              </con1:assign>
            </con:actions>
          </con:stage>
        </con:pipeline>
        <con:pipeline type="response" name="GetRequestInfo_pipeline_pair_response">
          <con:stage name="ErrorHandling">
            <con:context/>
            <con:actions/>
          </con:stage>
        </con:pipeline>
        <con:flow>
          <con:pipeline-node name="GetRequestInfo_pipeline_pair">
            <con:comment>Lay cac thong tin trong form search</con:comment>
            <con:request>GetRequestInfo_pipeline_pair_request</con:request>
            <con:response>GetRequestInfo_pipeline_pair_response</con:response>
          </con:pipeline-node>
          <con:branch-node type="condition" name="branching_public_services">
            <con:context>
              <con2:varNsDecl namespace="http://www.example.org/PortalSide/" prefix="por"/>
            </con:context>
            <con:branch-table variable="depId">
              <con:branch name="SoTTTT">
                <con:operator>equals</con:operator>
                <con:value>1</con:value>
                <con:flow>
                  <con:branch-node type="condition" name="DnICT_dept_services">
                    <con:context/>
                    <con:branch-table variable="srvId">
                      <con:branch name="DichVu_1">
                        <con:operator>equals</con:operator>
                        <con:value>1</con:value>
                        <con:flow>
                          <con:route-node name="RouteToDnICT_BS">
                            <con:context>
                              <con2:varNsDecl namespace="http://www.example.org/PortalSide/" prefix="por"/>
                              <con2:varNsDecl namespace="http://www.example.org/PortalSide_Test/" prefix="por1"/>
                              <con2:varNsDecl namespace="http://www.example.org/OutputSchema" prefix="out"/>
                            </con:context>
                            <con:actions>
                              <con3:route>
                                <con2:id>_ActionId-4566721321360037228--34ba1746.13170e34dc9.-7b4c</con2:id>
                                <con3:service ref="Test/busines-services/DnictServiceBS" xsi:type="ref:BusinessServiceRef" xmlns:ref="http://www.bea.com/wli/sb/reference"/>
                                <con3:operation>selecttrangthai</con3:operation>
                                <con3:outboundTransform>
                                  <con1:assign varName="username">
                                    <con2:id>_ActionId-4566721321360037228--34ba1746.13170e34dc9.-7b4b</con2:id>
                                    <con1:expr>
                                      <con2:xqueryText>fn:string('stttt')</con2:xqueryText>
                                    </con1:expr>
                                  </con1:assign>
                                  <con1:assign varName="password">
                                    <con2:id>_ActionId-4566721321360037228--34ba1746.13170e34dc9.-7b4a</con2:id>
                                    <con1:expr>
                                      <con2:xqueryText>fn:string('123456')</con2:xqueryText>
                                    </con1:expr>
                                  </con1:assign>
                                  <con1:replace contents-only="true" varName="body">
                                    <con2:id>_ActionId-4566721321360037228--34ba1746.13170e34dc9.-7b49</con2:id>
                                    <con1:expr>
                                      <con2:xqueryText><![CDATA[<soap:selecttrangthai       xmlns:soap="http://soapinterop.org/">
         <username       xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">{$username}</username>
         <password       xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">{$password}</password>
         <masohoso       xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">{$docId}</masohoso>
    </soap:selecttrangthai>]]></con2:xqueryText>
                                    </con1:expr>
                                  </con1:replace>
                                </con3:outboundTransform>
                                <con3:responseTransform/>
                              </con3:route>
                            </con:actions>
                          </con:route-node>
                        </con:flow>
                      </con:branch>
                      <con:default-branch>
                        <con:flow/>
                      </con:default-branch>
                    </con:branch-table>
                  </con:branch-node>
                </con:flow>
              </con:branch>
              <con:branch name="SoGTVT">
                <con:operator>equals</con:operator>
                <con:value>2</con:value>
                <con:flow/>
              </con:branch>
              <con:default-branch>
                <con:flow/>
              </con:default-branch>
            </con:branch-table>
          </con:branch-node>
        </con:flow>
      </ser:router>
    </xml-fragment>P/S:
    When connection to business service is fail, I got this soap message:
    <soapenv:Envelope       xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
         <soapenv:Body>
         <soapenv:Fault>
         <faultcode>soapenv:Server</faultcode>
         <faultstring>BEA-380002: No route to host</faultstring>
         <detail>
         <con:fault       xmlns:con="http://www.bea.com/wli/sb/context">
         <con:errorCode>BEA-380002</con:errorCode>
         <con:reason>No route to host</con:reason>
         <con:location>
         <con:node>RouteToDnICT_BS</con:node>
         <con:path>request-pipeline</con:path>
         </con:location>
         </con:fault>
         </detail>
         </soapenv:Fault>
         </soapenv:Body>
         </soapenv:Envelope>Regards.
    Cuong Pham
    Edited by: Doubt_Man on Jul 28, 2011 10:26 AM

    you could add an error handler on the route-action in your proxy service.
    in there you could investigate the $fault variable and for example check which BEA-... errorcode comes back.
    then you can decide what to reply back..for example create your own soap-fault and set your own messages.
    now the default $fault generated by the osb itself will get returned
    http://www.xenta.nl/blog/2010/07/17/oracle-service-bus-11g-handling-soap-faults/
    maybe that one helps you a bit

Maybe you are looking for