Application module with no connection to the database in jdeveloper 10.1.3

I have a number of programmatic bc view objects and entity objects which i have implemented through the time from different projects and now that i have collected them i want to add all of them in a reusable application module. However i don't need a connection to the database for this application module. Is it possible to enforce the application module to circumvent the db connection?

Hi user,
Just out of curiosity, why would you use ADF BC for that - if I had a bunch of non-db data sources, I'd probably use POJOs and create POJO data controls.
I didn't look in 10g, but in 11g, the ApplicationModule has a method called getDBConnectionRequired() that you could override to see if that solves your issue.
John

Similar Messages

  • Intermittent error in production server JBO-25200: Application module is not connected to a database.

    We've set 60 min as session timeout and AM pool parameters also high  (<AM-Pooling jbo.ampool.maxinactiveage="1200000" jbo.ampool.initpoolsize="25" jbo.ampool.maxpoolsize="1000" jbo.recyclethreshold="50" jbo.ampool.maxavailablesize="50" jbo.ampool.minavailablesize="25"/>) in our application due to requirements.  We are using jdev 11.1.1.7.0
    Intermittently The page is getting refreshed and unsaved data is lost when user leaves a page for 5 or 10 min and on return back to application and performing operations back. There is not much load also on the server. When we analyze the logs the below exception is thrown on the logs.
    Exception Class: oracle.jbo.NotConnectedException
    Message: JBO-25200: Application module is not connected to a database.
    Agent: APP_BSA_BPA[mnatest_soa2]@egw-bpm2-mnat.wfs.com:5508
    API: Exception
    Thread Name: [ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)' <562720362>
    Exception StackTrace
    Method Class Line        File Name
    handleRollback oracle.jbo.server.DefaultTxnHandlerImpl 145         <unknown>
    doRollback oracle.jbo.server.DBTransactionImpl 5174       <unknown>
    rollback oracle.jbo.server.DBTransactionImpl 2544       <unknown>
    resetState oracle.jbo.server.ApplicationModuleImpl 4860       <unknown>
    disconnect oracle.jbo.common.ampool.DefaultConnectionStrategy 343         <unknown>
    doPoolDisconnect oracle.jbo.server.ApplicationPoolMessageHandler 592         <unknown>
    doPoolMessage oracle.jbo.server.ApplicationPoolMessageHandler 430         <unknown>
    doPoolMessage oracle.jbo.server.ApplicationModuleImpl 9316       <unknown>
    sendPoolMessage oracle.jbo.common.ampool.ApplicationPoolImpl 4530       <unknown>
    prepareApplicationModule oracle.jbo.common.ampool.ApplicationPoolImpl 2460       <unknown>
    doCheckout oracle.jbo.common.ampool.ApplicationPoolImpl 2270       <unknown>
    useApplicationModule oracle.jbo.common.ampool.ApplicationPoolImpl 3169       <unknown>
    useApplicationModule oracle.jbo.common.ampool.SessionCookieImpl 592         <unknown>
    useApplicationModule oracle.jbo.http.HttpSessionCookieImpl 234         <unknown>
    useApplicationModule oracle.jbo.common.ampool.SessionCookieImpl 525         <unknown>
    useApplicationModule oracle.jbo.common.ampool.SessionCookieImpl 520         <unknown>
    initializeApplicationModule oracle.adf.model.bc4j.DCJboDataControl 523         <unknown>
    getApplicationModule oracle.adf.model.bc4j.DCJboDataControl 869         <unknown>
    internalGetBeanDataControl oracle.adf.model.bc4j.DCJboDataControl 969         <unknown>
    findOrCreateMethodRowSetIterator oracle.adf.model.bc4j.DCJboDataControl 1236       <unknown>
    initSourceRSI oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding 698         <unknown>
    callInitSourceRSI oracle.adf.model.binding.DCIteratorBinding 1679       <unknown>
    internalGetRowSetIterator oracle.adf.model.binding.DCIteratorBinding 1652       <unknown>
    refresh oracle.adf.model.binding.DCIteratorBinding 4506       <unknown>
    refreshIfNeeded oracle.adf.model.binding.DCExecutableBinding 341         <unknown>
    getRowSetIterator oracle.adf.model.binding.DCIteratorBinding 1612       <unknown>
    getViewObject oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding 473         <unknown>
    _loadCriterionList oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$AdfConjunctionCriterion 3504 <unknown>
    getCriterionList oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$AdfConjunctionCriterion 3417 <unknown>
    invoke sun.reflect.GeneratedMethodAccessor4821 - <unknown>
    invoke sun.reflect.DelegatingMethodAccessorImpl       25 <unknown>
    invoke java.lang.reflect.Method 597         <unknown>
    Any idea why this exception thrown ? Is this because of weblogic server connections cleanup or something to do with connections?  As per my understanding , JDBC connection will not be released when AM is active/managed mode.  Oracle Doc says
    " That application module instance holds onto the JDBC connection object that it acquired from the pool until the application module instance is removed from the application module pool."

    jbo.ampool.maxinactiveage is set to 20 min which means that If AM in the pool is inactive for 20 min then clean this AM in the next cycle (still that is not our case).  We also set jbo.recyclethreshold="50" means 50 AMs can exists in the pool with managed-state. We set these because of performance reasons.  As per my understanding, AM instance will be deleted (????) but in any action on the UI will pick up another instance of the AM because datacontrolframe is still valid in the session.  Do we have any best practice like jbo.ampool.maxinactiveage should be equal to session time out?. The error seems AM lost the underlying JDBC connection and somehow application is using that stale AM ?. what will be possible reason?.

  • JBO-25200: Application module is not connected to a database

    Using JDev 9.0.3.
    I am receiving the following error when running my app through JDevloper's embedded OC4J:
    JBO-25200: Application module is not connected to a database.
    The error is happening when I execute the following line(s) of code:
    // holds the ViewObject RowSet
    RowSet accessTypeRS = PersonalInfoForm.getAccessTypeRS();
    if (accessTypeRS != null) {
    if (accessTypeRS.getEstimatedRowCount() > 0) {
    accessTypeRS.setRangeSize(-1);
    I receive the error when trying to execute the setRangeSize method. However, several prior attempts caused the error at the line above (getEstimatedRowCount)
    I am using connection pooling with a datasource and I'm retrieving an application module through the app module pool.
    jbo.doconnectionpooling is set to true.
    Disconnect ApplicationModule upon release is checked.
    Any ideas on why and how this is happening?
    Thanks!
    -Teri Kemple
    <AppModuleConfig name="PersonalInfoBcModuleLocal">
    <DsName>jdbc/arcavisionCoreDS</DsName>
    <DeployPlatform>LOCAL</DeployPlatform>
    <DsPasswd>adw02_www</DsPasswd>
    <jbo.doconnectionpooling>true</jbo.doconnectionpooling>
    <DsUserName>adw02_www</DsUserName>
    <JDBCDataSource>jdbc/arcavisionCoreDS</JDBCDataSource>
    <jbo.project>PersonalInfoBC0</jbo.project>
    <AppModuleJndiName>com.arca.personalinfo.bc.PersonalInfoBcModule</AppModuleJndiName>
    <ApplicationName>com.arca.personalinfo.bc.PersonalInfoBcModule</ApplicationName>
    </AppModuleConfig>
    <ConnectionDefinition name="jdbc/arcavisionCoreDS">
    <ENTRY name="DsPasswd" value="adw02_www"/>
    <ENTRY name="DsName" value="jdbc/arcavisionCoreDS"/>
    <ENTRY name="DsUserName" value="adw02_www"/>
    </ConnectionDefinition>

    Hi,
    Please post test steps using the BC4J tester or a test script that illustrates the issue against a simple table. Otherwise, it is extremeley difficult to debug/diagnose the issue on this forum.
    I have not seen this issue in any of the automated unit test scripts that exercise the ApplicationModule pooling.
    Thanks,
    JR

  • Application module is not connected to a database

    Using JDev 11.1.1.3
    I have an application that uses EJB and i have an application that uses business components. The EJB app needs to integrate some parts from the BC application so i package the BC model in a jar file and use it in my EJB to create some records.
    This is some code that i execute in my EJB to create a new record using the BC jar:
    ApplicationModule module = Configuration.createRootApplicationModule("bcApp.model.MyModuleImpl", "MyModuleLocal");
    am = (MyModuleImpl)module;
    BillDefImpl billDef = (BillDefImpl)BillImpl.getDefinitionObject();
    bill = (BillImpl)billDef.createInstance2(am.getDBTransaction(), null);
    //set some attributes
    EntityDefImpl billLineDef = BillLineImpl.getDefinitionObject();
    BillLineImpl billLine = (BillLineImpl)billLineDef.createInstance2(am.getDBTransaction(),null);
    billLine.setBill(bill);
    //set some attributes
    am.getTransaction().commit();The weird behavior of this is that the first time i call this code, everything is working just fine. Both the bill and billLine are created in the database. No error shows up in the console.
    When i try to do the exact same in the same session, i get the "Application module is not connected to a databas" error. When i open a new session, everything is working fine again.
    I also tried using the am.getDBTransaction().commit(); instead of the getTransaction.
    Can anybody tell me what could cause this kind of behavior? Am i doing something wrong?
    Edited by: Yannick Ongena on Sep 5, 2011 7:31 AM

    Sorry, just a typo. I modified the classes/package for this post.
    I also did some more testing and it appears to be EJB related. The code i provided above is called from an EJB. When I execute the code from a managed bean, i don't get this error when i execute it a second time.
    Maybe also useful info. My application module uses a JNDI data source that is configured on the weblogic server.

  • Thread: Application sever is not connecting to the database

    Oracle Production DB is :9i, UNIX Aix 5.2
    Application server :10g, Os: win 2008
    Application server : Mendix Application server.
    Error:Error: ORA-00604: error occurred at recursive SQL level 1
    ORA-01882: timezone region not found
    : Can't create a new connection for jdbc:oracle:thin:@<xxx.xx.x.xx>:1521:ABCDEF : ORA-00604: error occurred at recursive SQL level 1
    ORA-01882: timezone region not found
    Here Application is running fine, But when we are trying to connect to the 9i production server through jdbc connection its throwing error as i told.
    I was set timezone same on both databases and on machines also. Even though it is giving same error
    Here application server machine time is same but time zone is different like time is 12.11 in all machines but time zone is UTC+04:00, Abudhabi, Muscat where as in databases '+04:00' UNK. Here i was tried to change the time zone of Application server, but it was not having +04:00,UNK
    So please tell me what exactly need to do to sync the database from 10g db of Mendix application server to 9i production database.
    Its urgent...pls
    Regards
    873393

    chk this
    How to fix msg=ORA-01882: timezone region  not found
    you have to set this java option
    -Duser.timezone=EET //for your timezone

  • BIB-16633 Cannot connect because the database version is incompatible with

    BIB-16633 Cannot connect because the database version is incompatible with Feb 15, 2005 9:28 PM
    Reply
    why is this?
    oracle.dss.connection.common.ConnectionException: BIB-16633 Cannot connect because the database version is incompatible with this BI Beans version.
    at oracle.dss.connection.server.drivers.mdm.MDMConnectionDriverImpl.connect(MDMConnectionDriverImpl.java:147)
    at oracle.dss.connection.server.ConnectionImpl.connect(ConnectionImpl.java:285)
    at oracle.dss.connection.client.Connection.connect(Connection.java:425)
    at oracle.dss.connection.client.Connection.connect(Connection.java:342)
    at oracle.dss.addins.designer.OLAPSource.test(OLAPSource.java:284)
    at oracle.dss.addins.wizard.configFileEditor.OlapPanel.testConnection(OlapPanel.java:244)
    at oracle.dss.addins.wizard.configFileEditor.OlapPanel.btnTest_actionPerformed(OlapPanel.java:378)
    at oracle.dss.addins.wizard.configFileEditor.OlapPanel$3.actionPerformed(OlapPanel.java:120)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
    at java.awt.Component.processMouseEvent(Component.java:5100)
    at java.awt.Component.processEvent(Component.java:4897)
    at java.awt.Container.processEvent(Container.java:1569)
    at java.awt.Component.dispatchEventImpl(Component.java:3615)
    at java.awt.Container.dispatchEventImpl(Container.java:1627)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
    at java.awt.Container.dispatchEventImpl(Container.java:1613)
    at java.awt.Window.dispatchEventImpl(Window.java:1606)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
    at java.awt.Dialog$1.run(Dialog.java:540)
    at java.awt.Dialog.show(Dialog.java:561)
    at java.awt.Component.show(Component.java:1133)
    at java.awt.Component.setVisible(Component.java:1088)
    at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
    at oracle.dss.addins.wizard.configFileEditor.ConfigFileEditorWizard.run(ConfigFileEditorWizard.java:229)
    at oracle.dss.addins.designer.BIDesignerImpl.editConfigFile(BIDesignerImpl.java:1428)
    at oracle.dss.addins.designer.BIDesignerAddin.openBIDesignerSettings(BIDesignerAddin.java:990)
    at oracle.dss.addins.designer.BIDesignerAddin.actionPerformed(BIDesignerAddin.java:807)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
    at javax.swing.AbstractButton.doClick(AbstractButton.java:289)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1113)
    at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:943)
    at java.awt.Component.processMouseEvent(Component.java:5100)
    at java.awt.Component.processEvent(Component.java:4897)
    at java.awt.Container.processEvent(Container.java:1569)
    at java.awt.Component.dispatchEventImpl(Component.java:3615)
    at java.awt.Container.dispatchEventImpl(Container.java:1627)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
    at java.awt.Container.dispatchEventImpl(Container.java:1613)
    at java.awt.Window.dispatchEventImpl(Window.java:1606)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    Lisa Sherriff
    Posts: 137
    OTN Member Since: Jan, 2001
    Re: BIB-16633 Cannot connect because the database version is incompatible w ( In Reply To : BIB-16633 Cannot connect because the database version is incompatible with ) Feb 16, 2005 1:32 AM
    Reply
    Hi,
    From the 10.1.2 BI Beans Install Guide it says:
    OracleBI Beans supports data stored in Oracle9i Enterprise Edition or Oracle Database 10g Enterprise Edition. However, only particular releases and patchsets are supported:
    * Oracle9i Release 2 Enterprise Edition, as follows:
    o 9.2.0.6 for all platforms.
    o 9.2.0.5 with the latest OLAP patch for Windows-only.
    * Oracle Database 10g Release 1 Enterprise Edition with the latest OLAP patch.
    From the error message it would appear that the Database is not one of the above.
    Thanks,
    Lisa
    JDev QA
    401488
    Posts: 48
    OTN Member Since: Aug, 2002
    Re: BIB-16633 Cannot connect because the database version is incompatible with ( In Reply To : BIB-16633 Cannot connect because the database version is incompatible with ) Feb 18, 2005 8:01 PM
    Reply
    Hi,
    Please note that we have follwing versions of DB up and running:-
    1)Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    2)Oracle9i Enterprise Edition Release 9.2.0.5.0 - Production
    With the Partitioning and Real Application Clusters options
    JServer Release 9.2.0.5.0 - Production
    Pls let us know the solution to resolve this problem ASAP.
    Thanks.

    You are not using a supported version of the database. BI Beans/OLAP only support the following database versions:
    10g - 10.1.0.3 with additional OLAP patch
    9i - 9205 with additional OLAP patch
    9i - 9206
    I would suggest that you have not applied all the required database patches to your instance.
    Hope this helps
    Business Intelligence Beans Product Management Team
    Oraclc Corporation

  • Problem with EM (Enterprise Manager is not able to connect to the database)

    Hi all,
    I've Oracle DB 11g Rel.1 installed on Windows XP SP3. The database is up and running i.e. everyone can connect to the DB by using any App tool e.g. SQL*Plus, Forms, or Reports. It means that the listener and the service is running. But the problem is that when I try to start the EM I see some error messages on the webpage.
    It says:
    Enterprise Manager is not able to connect to the database instance. The state of the components are listed below.Database Instance (Green arrow)
    Status     Open                         Details     The instance is open.
    Host          shiman
    Port          *1521*
    SID          orcl
    Oracle Home     d:\Oracle\product\11.1.0\db_1
    Agent Connection to Instance (Green arrow)
    Status Succeeded
    Details
    Listener (Green arrow)
    Status     Up
    Host          shiman
    Port          *1521*
    Name          LISTENER
    Oracle Home     d:\Oracle\product\11.1.0\db_1
    Location     d:\Oracle\product\11.1.0\db_1\network\admin
    Details          
    please see the attached file:
    http://rapidshare.com/files/404840300/em.JPGI've already checked all the services, they are running. And when I execute emctl command I got the following message.
    emctl status dbconsole
    Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    http://shiman:1158/em/console/aboutApplication
    Oracle Enterprise Manager 11g is running.I have checked some documents around config files in sysman and test_orcl\sysman directories. Moreover, I have checked dbsnmp and sysman account for unlockness and password accuracy. But they did not help me to solve the problem.
    My question is if every thing is working fine then what is the problem with the EM? Why it is not connecting to the DB?
    Thanks.
    Iman

    emdctl.trc2010-07-13 18:42:21 Thread-2196 WARN http: snmehl_connect: connect failed to (shiman:1158): No connection could be made because the target machine actively refused it.
    (error = 10061)
    2010-07-13 18:42:26 Thread-4856 WARN http: snmehl_connect: connect failed to (shiman:1158): No connection could be made because the target machine actively refused it.
    (error = 10061)
    2010-07-13 18:42:28 Thread-5684 ERROR ssl: nzos_Handshake failed, ret=28864
    2010-07-13 18:42:28 Thread-5684 ERROR http: 1704: Unable to initialize ssl connection with server, aborting connection attempt
    2010-07-13 18:42:28 Thread-5684 ERROR main: nmectla_agentctl: Error connecting to https://shiman:3938/emd/main. Returning status code 1
    emoms.trc2010-07-13 18:45:44,562 [ApplicationServerThread-1] ERROR conn.ConnectionService verifyRepositoryEx.818 - Invalid Connection Pool. ERROR = Locale not recognized
    2010-07-13 18:45:46,875 [ApplicationServerThread-2] ERROR conn.ConnectionService verifyRepositoryEx.818 - Invalid Connection Pool. ERROR = Locale not recognized
    2010-07-13 18:45:46,921 [ApplicationServerThread-0] ERROR conn.ConnectionService verifyRepositoryEx.818 - Invalid Connection Pool. ERROR = Locale not recognized
    2010-07-13 18:45:47,078 [ApplicationServerThread-2] ERROR conn.ConnectionService verifyRepositoryEx.818 - Invalid Connection Pool. ERROR = Locale not recognized
    2010-07-13 18:45:47,125 [ApplicationServerThread-1] ERROR conn.ConnectionService verifyRepositoryEx.818 - Invalid Connection Pool. ERROR = Locale not recognized
    2010-07-13 18:45:47,140 [ApplicationServerThread-3] ERROR conn.ConnectionService verifyRepositoryEx.818 - Invalid Connection Pool. ERROR = Locale not recognized
    2010-07-13 18:45:47,187 [ApplicationServerThread-0] ERROR conn.ConnectionService verifyRepositoryEx.818 - Invalid Connection Pool. ERROR = Locale not recognized
    2010-07-13 18:45:47,234 [ApplicationServerThread-5] ERROR conn.ConnectionService verifyRepositoryEx.818 - Invalid Connection Pool. ERROR = Locale not recognized
    2010-07-13 18:45:47,281 [ApplicationServerThread-4] ERROR conn.ConnectionService verifyRepositoryEx.818 - Invalid Connection Pool. ERROR = Locale not recognized
    2010-07-13 18:45:47,328 [ApplicationServerThread-6] ERROR conn.ConnectionService verifyRepositoryEx.818 - Invalid Connection Pool. ERROR = Locale not recognized
    2010-07-13 18:45:48,984 [ApplicationServerThread-2] ERROR conn.ConnectionService verifyRepositoryEx.818 - Invalid Connection Pool. ERROR = Locale not recognized
    2010-07-13 18:45:49,000 [EMUI_18_45_48_/console/aboutApplication] ERROR svlt.PageHandler handleRequest.639 - java.lang.IllegalStateException: Response has already been committed
    java.lang.IllegalStateException: Response has already been committed
         at com.evermind.server.http.EvermindHttpServletResponse.resetBuffer(EvermindHttpServletResponse.java:1853)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:260)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:42)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:204)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
         at oracle.sysman.emSDK.svlt.PageHandler.render(PageHandler.java:1113)
         at oracle.sysman.emSDK.svlt.PageHandler.myRender(PageHandler.java:1173)
         at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:597)
         at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:781)
         at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:337)
         at oracle.sysman.eml.app.Console.doGet(Console.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:87)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:134)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at oracle.sysman.eml.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:122)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:102)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:306)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    2010-07-13 18:45:49,000 [EMUI_18_45_48_/console/aboutApplication] ERROR em.console doGet.357 - java.lang.IllegalStateException: Response has already been committed, be sure not to write to the OutputStream or to trigger a commit due to any other action before calling this method.
    java.lang.IllegalStateException: Response has already been committed, be sure not to write to the OutputStream or to trigger a commit due to any other action before calling this method.
         at com.evermind.server.http.EvermindHttpServletResponse.sendRedirect(EvermindHttpServletResponse.java:1339)
         at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:806)
         at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:337)
         at oracle.sysman.eml.app.Console.doGet(Console.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:87)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:134)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at oracle.sysman.eml.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:122)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:102)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:306)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)

  • Application cannot proceed. Internal error occured. Contact your administrator. Error msg: Unable to connect to the database. Please make sure the database information specified in admin/includes/config.php are correct.

    After clicking in email link, I get the following message on Firefox page : " The application cannot proceed!
    An internal error occured. Please contact your administrator and describe the steps you took before you encounter this error message.Error msg: Unable to connect to the database. Please make sure the database information specified in admin/includes/config.php are correct."
    The email asked to install the latest Adobe Flashplayer version to have it working. I installed it, also updated my plug-ins and checked in safe mode that the extensions were not the problem. I also deleted the cookies an cache. Nothing seems to be working so far. I have the lastest version of Firefox 8.0.1 as well as Roboform 7. I noticed that the latest Firefox version has (x86) tagged to it. Does it refers to an 86 bits because my computer uses 32 or 64 bits only. I tried also different browsers and the message kept appearing. How do I resolve this problem?

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    * Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    * Tools > Options > Privacy > Cookies: "Show Cookies"

  • INS0009: Unable to connect to the database with user SYS

    Hi all,
    I'm trying to create an OWB repository with OWB repository assistant (10.2.0.2.) on a 10.2.0.1. database (windows XP platform). I get the following error every time I fill in the connect info for the SYS user:
    INS0009: Unable to connect to the database with user SYS. java.sql.SQLException: ORA-01017: invalid username/password; logon denied
    I can connect to the database (sqlplus sys/<password>@orcl as sysdba) and the OS user is in the ora_dba group. Also checked the database parameters remote_login_passwordfile (= EXCLUSIVE) and O7_DICTIONARY_ACCESSIBILITY=TRUE.
    Does anyone know what the problem is? Any help is appreciated.
    Regards,
    Quinten

    Ok I found the problem myself, I used the wrong sys password :-(. I thought the password I used to logon in sqlplus was right (sqlplus sys/<password>@orcl as sysdba) but the password doesn't matter when you logon as sysdba! So I altered the password for the user sys and now I can continue the steps of the repository assistant.
    Quinten

  • Cannot connect to the database. java.sql.SQLException:

    Hi,
    I am trying to connect to Pointbase database through an applcation written under J2EE environment. I am able to connect with other database under Pointbase. I am trying to connect using the code as follows:
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    con=DriverManager.getConnection("Jdbc:Odbc:study", dbUserID, dbPassword);
    and I am getting the Exception as shown delow :
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: access denied (java.lang.RuntimePermission exitVM)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:306)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:324)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:289)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:311)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:205)
    root cause
    java.security.AccessControlException: access denied (java.lang.RuntimePermission exitVM)
         java.security.AccessControlContext.checkPermission(AccessControlContext.java:269)
         java.security.AccessController.checkPermission(AccessController.java:401)
         java.lang.SecurityManager.checkPermission(SecurityManager.java:524)
         java.lang.SecurityManager.checkExit(SecurityManager.java:736)
         com.sun.enterprise.J2EESecurityManager.checkExit(J2EESecurityManager.java:70)
         java.lang.Runtime.exit(Runtime.java:88)
         java.lang.System.exit(System.java:715)
         org.apache.jsp.login_jsp._jspService(login_jsp.java:76)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:141)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:306)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:324)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:289)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:311)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:205)
    note The full stack trace of the root cause is available in the Sun-Java-System/Application-Server-PE-8.0 logs.
    Sun-Java-System/Application-Server-PE-8.0
    Please help.
    NNJ

    Thanks for the reply. I have attached the server.log herewith :
    [#|2008-10-05T11:44:45.945+0530|INFO|sun-appserver-pe8.0|javax.enterprise.system.tools.admin|_ThreadID=12;|ADM1006:Uploading the file to:[C:\Documents and Settings\Administrator\Local Settings\Temp\s1astempdomain1server-1629282413\server\study.war]|#]
    [#|2008-10-05T11:44:45.955+0530|INFO|sun-appserver-pe8.0|javax.enterprise.system.tools.admin|_ThreadID=12;|ADM1007:Uploaded the remote file at: [C:\Documents and Settings\Administrator\Local Settings\Temp\s1astempdomain1server-1629282413\server\study.war]|#]
    [#|2008-10-05T11:44:46.225+0530|INFO|sun-appserver-pe8.0|javax.enterprise.system.tools.admin|_ThreadID=12;|ADM1041:Sent the event to instance:[ModuleDeployEvent -- undeploy web/study]|#]
    [#|2008-10-05T11:44:46.686+0530|INFO|sun-appserver-pe8.0|javax.enterprise.system.tools.admin|_ThreadID=12;|ADM1042:Status of dynamic reconfiguration event processing:[success]|#]
    [#|2008-10-05T11:44:47.947+0530|INFO|sun-appserver-pe8.0|javax.enterprise.system.tools.deployment|_ThreadID=12;|DPL5109: EJBC - START of EJBC for [study]|#]
    [#|2008-10-05T11:44:47.977+0530|INFO|sun-appserver-pe8.0|javax.enterprise.system.tools.deployment|_ThreadID=12;|Processing beans ...|#]
    [#|2008-10-05T11:44:47.987+0530|INFO|sun-appserver-pe8.0|javax.enterprise.system.tools.deployment|_ThreadID=12;|DPL5110: EJBC - END of EJBC for [study]|#]
    [#|2008-10-05T11:44:48.158+0530|INFO|sun-appserver-pe8.0|javax.enterprise.system.tools.deployment|_ThreadID=12;|Total Deployment Time: 2043 msec, Total EJB Compiler Module Time: 40 msec, Portion spent EJB Compiling: 1%
    Breakdown of EJBC Module Time: Total Time for EJBC: 40 msec, CMP Generation: 0 msec (0%), Java Compilation: 0 msec (0%), RMI Compilation: 0 msec (0%), JAX-RPC Generation: 0 msec (0%),
    |#]
    [#|2008-10-05T11:44:48.278+0530|INFO|sun-appserver-pe8.0|javax.enterprise.system.tools.deployment|_ThreadID=12;|deployed with moduleid = study|#]
    [#|2008-10-05T11:44:48.378+0530|INFO|sun-appserver-pe8.0|javax.enterprise.system.tools.admin|_ThreadID=12;|ADM1041:Sent the event to instance:[ModuleDeployEvent -- deploy web/study]|#]
    [#|2008-10-05T11:44:48.488+0530|INFO|sun-appserver-pe8.0|javax.enterprise.system.container.web|_ThreadID=12;|WEB0100: Loading web module [study] in virtual server [server] at [study]|#]
    [#|2008-10-05T11:44:51.202+0530|INFO|sun-appserver-pe8.0|javax.enterprise.system.tools.admin|_ThreadID=12;|ADM1042:Status of dynamic reconfiguration event processing:[success]|#]
    [#|2008-10-05T11:46:06.771+0530|WARNING|sun-appserver-pe8.0|javax.enterprise.system.stream.err|_ThreadID=16;|Cannot connect to the database. java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified|#]
    [#|2008-10-05T11:46:06.871+0530|SEVERE|sun-appserver-pe8.0|javax.enterprise.system.container.web|_ThreadID=16;|StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
    java.security.AccessControlException: access denied (java.lang.RuntimePermission exitVM)
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:269)
         at java.security.AccessController.checkPermission(AccessController.java:401)
         at java.lang.SecurityManager.checkPermission(SecurityManager.java:524)
         at java.lang.SecurityManager.checkExit(SecurityManager.java:736)
         at com.sun.enterprise.J2EESecurityManager.checkExit(J2EESecurityManager.java:70)
         at java.lang.Runtime.exit(Runtime.java:88)
         at java.lang.System.exit(System.java:715)
         at org.apache.jsp.login_jsp._jspService(login_jsp.java:76)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:141)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:306)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:289)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:311)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:205)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:283)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:102)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:192)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:156)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:569)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:261)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:215)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:156)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:569)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:200)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:156)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:180)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:154)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:582)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:154)
         at com.sun.enterprise.webservice.EjbWebServiceValve.invoke(EjbWebServiceValve.java:134)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:154)
         at com.sun.enterprise.security.web.SingleSignOn.invoke(SingleSignOn.java:254)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:154)
         at com.sun.enterprise.web.VirtualServerValve.invoke(VirtualServerValve.java:209)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:154)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:569)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:161)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:156)
         at com.sun.enterprise.web.VirtualServerMappingValve.invoke(VirtualServerMappingValve.java:166)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:154)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:569)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:979)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:211)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:692)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:647)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:691)
         at java.lang.Thread.run(Thread.java:534)
    |#]
    regards,
    NNJ

  • Connect to the database of auto Hosted App on Office 365

    Hi All,
    I developed a custom Application for SharePoint on top Office 365 in Auto-hosted mode. The application has SQL database which will be deployed to SQL Azure.
    I would like to read some info from the database but using another tools not from inside the developed application (e.g. SharePoint designer, PowerPivot) to generate some reports.
    When I try to connect to the database after the application installation using SharePoint Designer I get the following error message:
    Cannot open server 'xxxxxxxxxxx' requested by the login. Client with IP address '41.239.166.230' is not allowed to access the server.  To enable access, use the Windows Azure Management Portal or run sp_set_firewall_rule on the master database to create
    a firewall rule for this IP address or address range.  It may take up to five minutes for this change to take effect.
    Login failed for user 'db_c6ab7aa1_4572_4d36_b99d_741dee28a139_dbo'.
    This session has been assigned a tracing ID of 'c13ecefa-6aa2-4154-86f8-18d272c73b86'.  Provide this tracing ID to customer support when you need assistance. (Microsoft SQL Server, Error: 40615)
    And since I am using the Autohosted mode, I don;t have he Windows Azure Management Portal. is there a workaround for this issue?
    Kind Regards,
    Thanks in advance for you help. Mahmoud

    Hi m_3ryan,
    The error message shows you need to add your IP Address to the firewall rules of the SQL Azure to get yourself connected. As you deploy the database to SQL Azure, you mean you cannot open window azure management portal?
    Follow the steps in below article, check whether it works:
    How to: Set Firewall rule to connect to SQL Azure – sp_set_firewall_rule:
    http://azure-howto.blogspot.com/2011/05/how-to-set-firewall-rule-to-connect-to.html
    Thanks,
    Qiao
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Qiao Wei
    TechNet Community Support

  • Problem with displaying records from the database in a table ui element

    Hi,
    Iam creating an application which retrieves data from an oracle database. Iam able to connect to the database and retrieve the data in a result set. Then I try to set these values in a context node as follows,
    while (resultSet.next()) {
    String name = result.getString(1);
    String EmpId = result.getString(2);
    IEmpNode node = wdContext.nodeEmp();
    IEmpElement el = node.createEmpElement();
    el.setName(name);
    el.setEmpId(EmpId);
    node.addElement(el);
    where the context structure is emp(node)
                                   ---name(attribute)
                                   ---empId(attribute)
    Then I have bound the node emp to a table ui element.If I try to deploy this it comes up with Internal Server error.
    But if try this way, without creating a node, only with attributes name and empId,
    wdContext.currentContextElement.setName(name);
    wdContext.currentContextElement.setEmpId(EmpId);
    and binding the attributes to inputfields in the view, Iam able to see the last record in the database table.
    So where am I going wrong while using the table ui element?
    Regards,
    Rachel

    Hi
    Try this
    //Create the node in outer of while loop and bind to Table UIElement
    IEmpNode node = wdContext.nodeEmp();
    while (resultSet.next()) {
    String name = result.getString(1);
    String EmpId = result.getString(2);
    IEmpElement el = wdContext.createEmpElement();
    el.setName(name);
    el.setEmpId(EmpId);
    node.addElement(el);
    Kind Regards
    Mukesh

  • How can I speed up the connection to the database?

    I am running a JSP application with regular JavaBeans not EJB and connecting to the database through these beans. The connection is set to stay in memory as long as the bean is in session. However when I am running more than 7 sql statements seperatly the execution of the page slows down.
    I have tried using connection pooling but doesn't help much.
    I am not using the JDBC setting in JRUN, I am connecting through the jdbc.odbc drivers provided by the JDK. Basically coded the connection and the connection pool.
    Is there something else that can be done to speed up the execution of the page?
    Thanks in advance

    Thank you all for your input I was trying to work this project to learn JSP so I am not looking at purchasing any drivers right now. That is the reason why I stuck to the JDBC-ODBC Bridge. Are there any other drivers available for MS SQL Servers that are free.
    Jschell,
    That suggests you are taxing the system. It could be >connections. It could also be network, cpu, bus, etc. It >could also be memory, if your app starts swapping to >the hard drive it will get substantially slower.How can i figure out which of the above (i.e. memory, cpu, connections, network) are causing the problem.
    (Presumably you explicitly close your >ResultSets/Statements/Connections when you are >done with them.)You are right about that yes I am closing them at the end of the session, which I think should be after all of the SQL's get executed but I could be wrong it might be openeing a new connection for each SQL which inturn might be the reason for this whole problem. I will take a look into that.
    Thank you all once again.

  • #50070: Unable to connect to the database

    Hi All,
    For some reason I keep getting the below error in the application log of my server. 
    Event Type: Error
    Event Source: Windows SharePoint Services 2.0
    Event Category: None
    Event ID: 1000
    Date: 06/05/2014
    Time: 09:21:48
    User: N/A
    Computer: SERVER01
    Description:
    #50070: Unable to connect to the database STS_Config on server01\SharePoint.  Check the database connection information and make sure that the database server is running.
    Any ideas on how I can fix this! 
    Thanks,
    Danny

    Well, that's an old version of SharePoint! That database is the name of the configuration database for your deployment. This may have to do with the Timer Service.
    Can you check this kb to see if it's of any use for you?
    http://support.microsoft.com/default.aspx?id=840685
    Please give it a try and let us know how it works out.
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • RDA ---Can not connect to the database

    Folks,
    I am trying to generate an RDA output for ORACLE SUPPORT
    Database:10.2.0.4
    Server: Win 32bit SP1
    STEP 1: ran rda.cmd -S to collect config info
    STEP2: run rda.cmd to generate output
    at this time it asks me the password of the system username as sysdba and errors out saying
    the following
    Processing Initialization module ...
    Enter the password for 'SYSTEM@abc as SYSDBA':
    Please re-enter it to confirm:
    The database to be analyzed (abc) does not appear to be accessible.
    Please do one of the following:
    - If the database is not started, start it in another session, then press
    'Enter' to continue this script after the database has been started;
    - Interrupt this script, start the database or solve the connection
    problem, and next re-run rda; or
    - Hit 'Enter' to continue this script without gathering information from
    the database.
    If you choose to continue without database connection, some information will
    be missing and Oracle Support may request that rda be re-run.
    Press 'Enter' to Continue
    RDA-00501: Database access disabled due to a connection problem
    Has anyone encountered this issue

    Well, I'm not sure if Oracle can't even figure it out. I found this in a connection troubleshooting guide specific to windows....maybe give these a try just to verify again.
    Troubleshooting Steps Common to Unix and Windows
    Connection Issues
    If RDA is unable to connect to the database, and the user is declared as a SYSDBA user when running the setup, ensure that a connection is possible with as the user using AS SYSDBA. For example, if SYSTEM is specified as the username, make sure that you can connect using the following command in sqlplus:
    connect system AS SYSDBA
    If you cannot connect, run the setup again and answer N to that question, or edit the setup file (setup.cfg) and set SYSDBA_USER=0. You can also use the 'TSTdb' test module to obtain more elements on the connection problem. This test can be performed using the following command(s):
    For Windows run:
    rda.cmd -T TSTdb or rda.pl -T TSTdb
    For Unix run:
    rda.sh -T TSTdb or rda.pl -T TSTdb
    If you use TWO_TASK enviroment variable is used to connect to the database, then unset TWO_TASK and run RDA on the server local to the database. This is necessary because RDA depends on a local connection to the database, and automatically unsets TWO_TASK before performing any function.
    Edited by: DBA_Mike on Mar 25, 2009 5:37 AM

Maybe you are looking for