How does weblogic maintain idle JDBC connection

I see weblogic maintaining connections even when they are idle. (unless we explicity mention to remove)
How does weblogic maintain the socket on DB under idle condition? Does webogic do ping kind of activity to maintain/renew the socket for all idle connections in the pool.

The test-frequency-seconds property specifies the number of seconds between tests of unused connections. WebLogic Server tests unused connection and reopens any faulty connections. You must also set the Test Table Name.
The seconds-to-trust-an-idle-pool-connection property specifies the number of seconds within a connection use that WebLogic Server trusts that the connection is still viable and will skip the connection test during the periodic connection testing process.

Similar Messages

  • How does weblogic render shell?

    Hi,
    how does weblogic render shell?
    below is my shell file fragment,
    <netuix:head/>
    <netuix:body>
    <netuix:header>
    <netuix:jspContent contentUri="/framework/skeletons/header/pageHeader.jsp"/>
    </netuix:header>
    <netuix:jspContent contentUri="/framework/skeletons/navigation/topMenu.jsp" />
    <netuix:jspContent contentUri="/framework/skeletons/navigation/leftMenu.jsp"/>
    <netuix:footer>
    <netuix:jspContent contentUri="/framework/skeletons/footer/pageFooter.jsp"/>
    </netuix:footer>
    </netuix:body>
    Do all jsp (pageHeader.jsp, topMenu.jsp, leftMenu.jsp, pageFooter.jsp) rendered parallaly or they rendered as per the flow (as they defined in shell)?
    If I set any request attribute in head.jsp or pageHeader.jsp, will it be available in topMenu.jsp or leftMenu.jsp?

    The test-frequency-seconds property specifies the number of seconds between tests of unused connections. WebLogic Server tests unused connection and reopens any faulty connections. You must also set the Test Table Name.
    The seconds-to-trust-an-idle-pool-connection property specifies the number of seconds within a connection use that WebLogic Server trusts that the connection is still viable and will skip the connection test during the periodic connection testing process.

  • How does WebLogic 8.1 get the BASE HREF value?

    We have a WebLogic 8.1 SP4 server with a Juniper DX load balancer in front. We are trying to get Juniper to handle all the SSL traffic for the WebLogic application. Between Juniper and WebLogic, it would be just HTTP and between Juniper and web clients it would be HTTPS. One of the main issues we are seeing is that Struts HTML:BASE tag is returning the Juniper address as we expected, with the correct SSL port and application context/paths. However, the protocol for this base href is set to HTTP and not HTTPS. Consequently, our pages do not load properly.
    I am trying to understand where this value comes from. The underlying code uses request.getScheme() to get the protocol. So, we could "customize" the tags to work around this, but that is a hack that I am trying to avoid. I assume that the HTTP stack that WebLogic 8.1 uses is providing this info from the HTTP request. Does this come from the web browser? How does WebLogic get this to put it into the request object in the web container? We have sniffed the HTTP headers on the web client side and we cannot see where this is coming from.

    I remember facing a similar issue with webloigc 8.1 and apache
    I dont think its a problem with the tag..
    I think i have changed the transport-guarantee in web.xml
    If you have NONE try setting that to CONFIDENTIAL and vice versa

  • How does weblogic render portal skeleton jsps?

    Hi,
    how does weblogic render shell?
    below is my shell file fragment,
    <netuix:head/>
    <netuix:body>
    <netuix:header>
    <netuix:jspContent contentUri="/framework/skeletons/header/pageHeader.jsp"/>
    </netuix:header>
    <netuix:jspContent contentUri="/framework/skeletons/navigation/topMenu.jsp" />
    <netuix:jspContent contentUri="/framework/skeletons/navigation/leftMenu.jsp"/>
    <netuix:footer>
    <netuix:jspContent contentUri="/framework/skeletons/footer/pageFooter.jsp"/>
    </netuix:footer>
    </netuix:body>
    Do all jsp (pageHeader.jsp, topMenu.jsp, leftMenu.jsp, pageFooter.jsp) rendered parallaly or they rendered as per the flow (as they defined in shell)?
    If I set any request attribute in head.jsp or pageHeader.jsp, will it be available in topMenu.jsp or leftMenu.jsp?

    Ellen,
    I am not clear about your question.
    User A will only see the data which is retrieved based on it's principal
    name (I assume you use principal name as an argument to retrieve the data
    from DB).
    If you are using p13n cache make sure the principal name is part of the key.
    Please provide more details if you see that I did not understand your
    question.
    Regards,
    Michael Goldverg
    "ellen" <[email protected]> wrote in message
    news:3d6e46ef$[email protected]..
    >
    My application has multiple portlets which need to display very sensitiveuser
    data.
    These portlets read user principles from session (e.g. <weblogic:getproperty>)
    and make calls to an EJB to retrieve data from database and display theseuser
    specific data.
    I didn't specify any synchronize in my code. My concern is when two useraccess
    the portlet at the exact same time, will user A see user B's data?
    Any suggestions or general guide lines about synchronize in portal will bevery
    helpful.
    Thanks,
    Ellen
    These portlet (.jsp file)

  • How does Ejb maintain relationship

    How does EJB maintain a link between the EJBRemoteObject,EJBHome and
    the EJBClass
    and why does EJBClass implements SessionBean and the rest of the classes extend a paticular classes.
    What is their relation.

    EJBRemoteObject (or EJBObject) and EJBLoclaObject are interfaces that user can use to access an object. If you use remote object user can access the object remotely. Local object can be accessed remotely only via another session bean that locates in the JVM of local bean and implements remote interface.
    The EJBHome and EJBLocalHome are factories of objects. User uses them like:
    UserHome userHome = JNDI.getRootContext().getObject("EJB/UserBean").narrow(UserHome.class);
    User user = userHome.create("Andreas", "Papandreas");
    user.setRole("admin");
    // here UserHome is interface extending EJBHome
    // here User is interface extending EJBObject
    // User looks like EntityBeanEJBClass that implement SessionBean or EntityBean are abstract classes. They will be extended by application server. The application server creates stubs for client JVM as well. These subs marshall data to EJBClass on server. You may override some methods in EJBClass, for example initializing some fields on object creation. Setters and getters (required in entity beans) remain abstract in the EJBClass, they are left for application server implementation.
    I have all this info from good tutorial at IBM's site http://www-106.ibm.com/developerworks/views/java/tutorials.jsp. Tutorial is called "Introduction to container-managed persistence and relationships
    ", Parts 1-4.

  • How do build URL in jdbc connection?

    I am doing one program in java.
    I created a database in Microsoft sql server 2005.
    In jdbc connection ,They need a URL but i don't know how do build a URL....
    so ,please give the source code for build a URL...
    and also give one example for jdbc connection using MSsql server 2005...

    Arun02006 wrote:
    I am doing one program in java.
    I created a database in Microsoft sql server 2005.
    In jdbc connection ,They need a URL but i don't know how do build a URL....You don't "build" a URL; it's just a String with a required content.
    so ,please give the source code for build a URL...Look in the docs for your JDBC driver.
    and also give one example for jdbc connection using MSsql server 2005...http://www.exampledepot.com/egs/java.sql/ConnectSqlServer.html
    %

  • How to set roles from JDBC connections

    Hi guys,
    I have a jdbc connection which purpose is to run queries based on a string that I construct in my program.
    My question is: if I have to run a DCL, like: SET ROLE RL_XXX TO USER1;
    What's the easiest way to do it with my same connection?
    Thanks.

    Hi Marc,
    Sorry for the typo. It's a BDC source, I use a WCF client to access a SQL Database (HR External System) that has 4 fields that are necessary to present in the Sharepoint User Profile. The issue occurs with a Full or a Delta Sync. The problem is that if the
    BDC source is not present the fields are deleted (I get a SPS-Dummy Added and all of the pbjects in the BDC Connector Space are deleted).
    I do not want this to happen. I do not want the User Profile Attributes/Fields to be empty/deleted if there is no connection I simply want them to stay what they are... I have two issues.
    1) Is that the even if i change my data on SQL Server side, the changes do not get picked up by the sync. Since the only field that is being tested for change is an ADid, since the id does not change the BDC does not consider them changes.
    2) If there is no connection I do not want the attributes to be deleted. I have not figured out a way to effectively do this.
    So my issue appears to be simple to solve, but after 4 days and hundreds of tutorial pages read I have yet to figure out a proper way to do this.
    Here is the pseudo-specification
    The Fields that come form the HR System (SQL Server) are to be presented in the user profile. If there is no connection to the BDC file the fields remain as they are until there is a connection and updates can be made. Changes to any of the fields are performed
    manually in the HR system. These changes must be picked up by the daily sync.

  • How does WebLogic clean up stuck threads?

    Hi,
    Using WebLogic 9.2.2 on Linux OS. In our logs, we are finding some stuck threads and it seems to be due to something WebLogic is doing. While we don't understand the cause (maybe the stack trace helps), does WebLogic do anything to remove stuck threads from its pool, or is there anything we can do to configure it to?
    <Jul 21, 2009 2:50:21 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "605" seconds working on the request "Http Request: /RoutingEngine/pcFlow.do", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
    Thread-69 "[STUCK] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'" <alive, in native, suspended, priority=1, DAEMON> {
    jrockit.net.SocketNativeIO.readBytesPinned(Unknown Source)
    jrockit.net.SocketNativeIO.socketRead(Unknown Source)
    java.net.SocketInputStream.socketRead0(SocketInputStream.java:???)
    java.net.SocketInputStream.read(SocketInputStream.java:107)
    java.io.BufferedInputStream.fill(BufferedInputStream.java:189)
    java.io.BufferedInputStream.read(BufferedInputStream.java:234)
    ^-- Holding lock: java.io.BufferedInputStream@3537712[thin lock]
    weblogic.net.http.MessageHeader.isHTTP(MessageHeader.java:214)
    weblogic.net.http.MessageHeader.parseHeader(MessageHeader.java:141)
    weblogic.net.http.HttpClient.parseHTTP(HttpClient.java:473)
    ^-- Holding lock: java.io.BufferedInputStream@3537712[thin lock]
    weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:332)
    ^-- Holding lock: java.io.BufferedInputStream@3537712[thin lock]
    weblogic.net.http.SOAPHttpURLConnection.getInputStream(SOAPHttpURLConnection.java:36)
    weblogic.wsee.util.dom.DOMParser.getWebLogicDocumentImpl(DOMParser.java:92)
    weblogic.wsee.util.dom.DOMParser.getDocument(DOMParser.java:56)
    weblogic.wsee.wsdl.WsdlReader.getDocument(WsdlReader.java:311)
    weblogic.wsee.wsdl.WsdlReader.getDocument(WsdlReader.java:305)
    weblogic.wsee.wsdl.WsdlSchema.parse(WsdlSchema.java:120)
    weblogic.wsee.wsdl.WsdlSchemaImport.parse(WsdlSchemaImport.java:55)
    weblogic.wsee.wsdl.WsdlSchema.parse(WsdlSchema.java:82)
    weblogic.wsee.wsdl.WsdlSchema.parse(WsdlSchema.java:62)
    weblogic.wsee.wsdl.WsdlTypes.parse(WsdlTypes.java:145)
    weblogic.wsee.wsdl.WsdlDefinitions.parseChild(WsdlDefinitions.java:452)
    weblogic.wsee.wsdl.WsdlExtensible.parse(WsdlExtensible.java:84)
    weblogic.wsee.wsdl.WsdlDefinitions.parse(WsdlDefinitions.java:378)
    weblogic.wsee.wsdl.WsdlDefinitions.parse(WsdlDefinitions.java:358)
    weblogic.wsee.wsdl.WsdlFactory.parse(WsdlFactory.java:50)
    weblogic.wsee.jaxrpc.ServiceImpl.loadWsdlDefinition(ServiceImpl.java:437)
    weblogic.wsee.jaxrpc.ServiceImpl.<init>(ServiceImpl.java:95)
    com.myco.regui.provisioning.client.ProvisioningAccountService_Impl.<init>(ProvisioningAccountService_Impl.java:21)
    com.myco.regui.provisioning.client.ProvisioningAccountService_Impl.<init>(ProvisioningAccountService_Impl.java:17)
    com.myco.regui.struts.accounts.AccountsForm.contactWPS(AccountsForm.java:208)
    com.myco.regui.struts.accounts.AccountsForm.validateAccountid(AccountsForm.java:161)
    com.myco.regui.struts.accounts.AccountsForm.validatePCAccountId(AccountsForm.java:144)
    com.myco.regui.struts.accounts.AccountsForm._validatePCFields(AccountsForm.java:112)
    com.myco.regui.struts.accounts.AccountsForm.validate(AccountsForm.java:83)
    org.apache.struts.chain.commands.servlet.ValidateActionForm.validate(ValidateActionForm.java:57)
    org.apache.struts.chain.commands.AbstractValidateActionForm.execute(AbstractValidateActionForm.java:94)
    org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:48)
    org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:176)
    org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:303)
    org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:176)
    org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:272)
    org.apache.struts.action.ActionServlet.process(ActionServlet.java:1903)
    org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:736)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:851)
    weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:224)
    weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:108)
    weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:198)
    weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:41)
    com.myco.regui.servlets.filters.TransactionFilter.doFilter(TransactionFilter.java:23)
    .......

    You can configure these actions to occur when not all threads are stuck, but the number of stuck threads have exceeded a configured threshold:
    * Shut down the Work Manager if it has stuck threads. A Work Manager that is shut down will refuse new work and reject existing work in
    the queue by sending a rejection message. In a cluster, clustered clients will fail over to another cluster member.
    * Shut down the application if there are stuck threads in the application. The application is shutdown by bringing it into admin mode. All
    Work Managers belonging to the application are shut down, and behave as described above.
    * Mark the server instance as failed and shut it down it down if there are stuck threads in the server. In a cluster, clustered clients that
    are connected or attempting to connect will fail over to another cluster member.
    Link : [http://e-docs.bea.com/wls/docs103/config_wls/overload.html]

  • How does WebLogic know it needs XA transaction?

    I've been informed that Weblogic 8.1 "knows" whether it needs to start a global XA transaction or not when it starts a transaction...sparing the overhead of an XA transaction if it is not needed.
              Is this a true statement?...and if so...how does it know that distributed resources will be used in the transaction when it is starting the transaction?
              The main reason I ask is that we are wondering if there is any way to avoid using the XA driver for "every" transaction, when we only need it less than 1% of the time. We would like to avoid the overhead that is introduced with XA.

    WebLogic always performs XA operations, it looks at the resource and checks if it implements the XAResource interface, if it does it uses the XA operations with that resource otherwise the operations will just be a null op.
              So it depends on what resources you use in the tx. If you mix, XA and Non-XA resources in the tx, you may hit heuristic exceptions and inconsistentcies in your data which you will have to manually correct. Also you loose the ability to recover any transactions.

  • How can I check a jdbc connection

    With Sun Java App Server, after I create a JDBC connection, I use a button to check if the connection was OK.
    I cannot find the same button or method to see if my Sybase connection is correct because all I get is "is not bound in this Context".
    I installed the sybase jdbc driver in the install_dir\lib_directory.
    In the jdbc wizard I use the Sybase Driver: com.sybase.jdbcx.SybDataSource
    TIA,
    Lorenzo Jimenez

    With Sun Java App Server, after I create a JDBC connection, I use a button to check if the connection was OK.
    I cannot find the same button or method to see if my Sybase connection is correct because all I get is "is not bound in this Context".
    I installed the sybase jdbc driver in the install_dir\lib_directory.
    In the jdbc wizard I use the Sybase Driver: com.sybase.jdbcx.SybDataSource
    TIA,
    Lorenzo Jimenez

  • How do i maintain a network connection between 2 computers

    From time to time I can share my network connection between my iMac and my MacBook Air but frequently the connection is lost. How do I reconnect once the connection is lost?
    Is the only choice to restart each computer?
    Is it necessary that both computers remain active (not go into sleep mode)?
    Any help?

    If you are really sure that you want to map a network drive using Labview then the easiest way to achieve it is probably to use the System Exec.vi.
    Use the NET USE command
    e.g.
    NET USE K: \\server\sharename password /USER:mydomain\username
    Command syntax
    "NET USE
    [devicename | *] [\\computername\sharename[\volume] [password | *]]
            [/USER:[domainname\]username]
            [/USER:[dotted domain name\]username]
            [/USER:[username@dotted domain name]
            [/SMARTCARD]
            [/SAVECRED]
            [[/DELETE] | [/PERSISTENT:{YES | NO}]]
    NET USE {devicename | *} [password | *] /HOME
    NET USE [/PERSISTENT:{YES | NO}]"
    Using this command you can then map a network drive using a username and password of your choice to map a drive as you require.
    Note also that the user profile used to access the share can be an alternate to the local account (I am thinking domain / cross domain usage here) which is also very handy as you can use, for example, an increased security level for your LabVIEW accessing account!
    There is a Microsoft knowledgebase article on the subject here:-
    http://support.microsoft.com/?kbid=308582
    The information also pertains to previous operating systems i.e. NT4, 2000 and XP.

  • ADF 11g application on Weblogic 10.3 + JDBC connection to Oracle XE

    Hello! i'm using Jdev 11g (not tp4) and i have Adf applicarion which uses BC4J, thereofre in jdev exists connection to DB.
    When i start my application in Jdev, it starts Weblogic and deploys my application. And all works fine!
    When i want to execute my Weblogic as standalone server, using Weblogic domain Administration console, i deploy my application as WAR archive
    before deploy, i've been created JDBC DataSource in Weblogic server, using Weblogic webinterface (connection test was OK)
    and now, when i start my application, entering application Url in internet explorer, i see that exception has ariced, her is the stack trace
    {color:#0000ff}&lt;17-Oct-2008 18:30:49 o'clock EEST&gt; &lt;Error&gt; &lt;HTTP&gt; &lt;xc002600109&gt; &lt;AdminServer&gt; &lt;ACTIVE ExecuteThread: '21' for queue: 'weblogic.kernel.Default (self-tuning)'&gt; &lt;&lt;WLS Kernel&gt;&gt; &lt;1224257449182&gt; &lt;BEA-101017&gt; &lt;[weblogic.servlet.internal.WebAppServletContext@1410e0d - appName: 'nano', name: 'nano.war', context-path: '/nano', spec-version: '2.5', request: weblogic.servlet.internal.ServletRequestImpl@8f5e03[
    GET /nano/faces/untitled3.jsp?_adf.ctrl-state=1797442774_7 HTTP/1.1
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: en-gb,en;q=0.5
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 300
    Connection: keep-alive
    Cookie: oracle.uix=0^^GMT+3:00; JSESSIONID=wShvL4vT9h40V7TSNH9D84p3v4h48S992vJyWK6p0hnWflfZVpc2!652912999; ADMINCONSOLESESSION=r440L4XpGDJhhX3G1slmFdSzV3xSH51xGzhy912nTnpP2Zv1yVrQ!652912999
    Pragma: no-cache
    Cache-Control: no-cache
    ]] Root cause of ServletException.
    java.lang.NullPointerException
    at oracle.adf.model.bc4j.DCJboDataControl.findVariable(DCJboDataControl.java:2934)
    at oracle.adf.model.binding.DCVariableImpl.resolveSourceVariable(DCVariableImpl.java:69)
    at oracle.adf.model.binding.DCVariableImpl.getVariableKind(DCVariableImpl.java:162)
    at oracle.jbo.common.VariableManagerImpl.doGetVariables(VariableManagerImpl.java:125)
    at oracle.jbo.common.VariableManagerImpl.getVariablesOfKind(VariableManagerImpl.java:259)
    at oracle.jbo.common.VariableManagerImpl.getVariables(VariableManagerImpl.java:253)
    at oracle.jbo.common.VariableValueManagerImpl.doPassivateVariables(VariableValueManagerImpl.java:499)
    at oracle.jbo.common.VariableValueManagerImpl.getPassivatableVariables(VariableValueManagerImpl.java:439)
    at oracle.adf.model.binding.DCBindingContainer.buildFormToken(DCBindingContainer.java:4523)
    at oracle.adf.model.binding.DCBindingContainerState.buildStringBuffer(DCBindingContainerState.java:56)
    at oracle.adf.model.binding.DCBindingContainerState.toString(DCBindingContainerState.java:590)
    at oracle.adf.model.binding.DCBindingContainer.getStateToken(DCBindingContainer.java:4293)
    at oracle.adfinternal.controller.application.model.SaveStateTokenListener.afterPhase(SaveStateTokenListener.java:54)
    at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.afterPhase(ADFLifecycleImpl.java:529)
    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchAfterEvent(LifecycleImpl.java:118)
    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchAfterPagePhaseEvent(LifecycleImpl.java:166)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.dispatchAfterPagePhaseEvent(ADFPhaseListener.java:122)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:68)
    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:51)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:354)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:203)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
    {color:#000000}i have learned about deployment descriptors and i have made additional files and changed web.xml file:
    {color:#ff0000}web.xml:
    {color:#000000}....{color}
    {color} &lt;resource-ref&gt;
    &lt;description&gt;Nano Datasource&lt;/description&gt;
    &lt;res-ref-name&gt;Nano_DB_connection&lt;/res-ref-name&gt;
    &lt;res-type&gt;javax.sql.DataSource&lt;/res-type&gt;
    &lt;res-auth&gt;Container&lt;/res-auth&gt;
    &lt;/resource-ref&gt;
    {color:#ff0000}weblogic.xml:{color}
    &lt;?xml version = '1.0' encoding = 'windows-1252'?&gt;
    &lt;weblogic-web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-web-app.xsd" xmlns="http://www.bea.com/ns/weblogic/weblogic-web-app"&gt;
    &lt;resource-description&gt;
    &lt;res-ref-name&gt;Nano_DB_connection&lt;/res-ref-name&gt;
    &lt;jndi-name&gt;Nano_DB_connection&lt;/jndi-name&gt;
    &lt;/resource-description&gt;
    &lt;/weblogic-web-app&gt;
    {color:#ff0000}weblogic-jdbc.xml:{color}
    &lt;?xml version = '1.0' encoding = 'windows-1252'?&gt;
    &lt;jdbc-data-source xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-jdbc.xsd" xmlns="http://www.bea.com/ns/weblogic/jdbc-data-source"&gt;
    &lt;name&gt;Nano_DB_connection&lt;/name&gt;
    &lt;jdbc-driver-params&gt;
    &lt;url&gt;10.5.25.169&lt;/url&gt;
    &lt;driver-name&gt;oracle.jdbc.OracleDriver&lt;/driver-name&gt;
    &lt;properties&gt;
    &lt;property&gt;
    &lt;name&gt;user&lt;/name&gt;
    &lt;value&gt;chaosdb&lt;/value&gt;
    &lt;/property&gt;
    &lt;property&gt;
    &lt;name&gt;servername&lt;/name&gt;
    &lt;value&gt;10.5.25.169&lt;/value&gt;
    &lt;/property&gt;
    &lt;property&gt;
    &lt;name&gt;portnumber&lt;/name&gt;
    &lt;value&gt;1521&lt;/value&gt;
    &lt;/property&gt;
    &lt;property&gt;
    &lt;name&gt;sid&lt;/name&gt;
    &lt;value&gt;XE&lt;/value&gt;
    &lt;/property&gt;
    &lt;/properties&gt;
    &lt;/jdbc-driver-params&gt;
    &lt;jdbc-data-source-params&gt;
    &lt;jndi-name&gt;Nano_DB_connection&lt;/jndi-name&gt;
    &lt;scope&gt;Application&lt;/scope&gt;
    &lt;/jdbc-data-source-params&gt;
    &lt;/jdbc-data-source&gt;
    in BC4J project Model.jpx tells that bc4j uses connection named Nano_DB_connection.
    in Weblogic datasource name is the same
    Question: how to bind my application in weblogic to existed connection/datasource in weblogic?
    how Jdev deploys and configures Weblogic server, that it works fine, but when i start THE SAME server manually, deploy application using JDEV the application execution failed (see above exception)
    maybe i should use EAR profile instead of WAR, to deploy all connections and other stuff to weblogic?
    {color:#ff0000}please help!!!{color}
    {color}{color}

    Hi,
    Did you configure your application module to use a JDBC data source? To do this, right-click the app module in the navigator, select Configurations and in the dialog that comes up change the connection type to JDBC Data Source and enter your data source name - which should be the same as the data source you created on the weblogic server.
    Also, I do suggest you create an EAR file - this is what we've tested and certified with. You can find more details in the deployment chapter of the fusion developer's guide: http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/deployment_topics.htm#CHDJJDDG.
    Hope this helps
    Blaise

  • Problem with Weblogic 9.1 JDBC connection pooling

    Hi,
    We are currently in the middle of a migration from JBoss & WAS to BEA Weblogic. Both in JBoss and Websphere there are no problems with the connection but in Weblogic we (quickly) run out of connections.
    Our project uses Hibernate 3.1.3, Spring 1.2.7 and EJB 2.1. Using CMT and Spring to connect to our Oracle database. We tried different using the different drivers Weblogic offers, XA and non-AX, but in all cases we create connections quickly but they are almost never closed... until we run out of connections and get a Exception.
    Any ideas what this could be? Are there known errors?

    Roy van Rijn wrote:
    Hi,
    We are currently in the middle of a migration from JBoss & WAS to BEA Weblogic. Both in JBoss and Websphere there are no problems with the connection but in Weblogic we (quickly) run out of connections.
    Our project uses Hibernate 3.1.3, Spring 1.2.7 and EJB 2.1. Using CMT and Spring to connect to our Oracle database. We tried different using the different drivers Weblogic offers, XA and non-AX, but in all cases we create connections quickly but they are almost never closed... until we run out of connections and get a Exception.
    Any ideas what this could be? Are there known errors?Hi. Please try setting the pool's idle-connection-timeout to 10 seconds or something
    reasonable, and we'll forcibly retract any leaked connections. So you don't write any
    JDBC code yourself, right?
    Joe

  • How does iPad store photos when connected to Windows?

    I've recently upgraded to iPad2. A friend is interested in buying my original iPad 32gb because she loves iPhoto and would like to move her current 10 gb photo library into it. Uploading new photos from her camera to the iPad is easy with the card reader.  But how could she handle backup of photo files going forward since she works in the Windows world and her primary OS is Windows 7?
    I know that when I upload pictures to the iPad in the field and then connect the iPad to my computer at home the Image Capture program asks me if I want to import the photos and where to put them.  Does a similar event take place when using Windows?

    Yes - the windows camera wizard should open : http://support.apple.com/kb/HT4083 . Or they can be manually copied from the iPad as it will appear as a 'camera' in windows explorer (in a similar way to how a memory card in a card reader would).

  • How does weblogic work on JView ????

    Hi,
    The startweblogic.cmd file has options where I can use Microsoft's JVM
    for weblogic.
    But How could this be ?? because Microsoft's JVM does not support RMI
    ... but weblogic can deploy EJBs which is based on RMI ??
    Has anyone thought about this ?
    regards,
    Abhishek.

    WebLogic uses its own RMI implementation so it does not depend on the
    JVM for this.
    However, I would not recommend using Jview unless you have to do it.
    It's still a JDK 1.1 JVM.
    -- Rob
    Abhishek wrote:
    >
    Hi,
    The startweblogic.cmd file has options where I can use Microsoft's JVM
    for weblogic.
    But How could this be ?? because Microsoft's JVM does not support RMI
    ... but weblogic can deploy EJBs which is based on RMI ??
    Has anyone thought about this ?
    regards,
    Abhishek.--
    Coming Soon: Building J2EE Applications & BEA WebLogic Server
    by Michael Girdley, Rob Woollen, and Sandra Emerson
    http://learnweblogic.com

Maybe you are looking for

  • XML Publisher report - Number translation in Italian

    While i am Doing an XMl publisher report in english and Italian Languages i am facing an issue with the Dot translation. For eg: 4.5 is translated to 4,5 in Italian.This creates a problem for me when i am doing summary on this column.So how should i

  • TMS has lost connection with VCS

    I've enforced group policies since adding TMS to a domain and now my TMS isn't getting a https response from the VCS.  Any ideas? Gives the error "Configuration conflict - A domain is in use by the OCS Relay application that has not been configured o

  • FCP 7 Optimized Codec Performance

    Cramming for that FCP 7 recert and going through a list of new features. One I am trying to chase down is "Optimized Codec Performance", that is briefly described as rendering XDCAM HD, EX, HDV and XDCAM HD422 faster. The description further goes on

  • BAI2 file import showing debit as a credit after import

    We added a transaction code in FT "Auto generated bank statements" as a debit (decrease)  - payment processing of outgoing external payments. However when a bank statement is imported, the system picks it as a credit - other incoming payments. Not su

  • ICloud sign in is not working on mac.

    iCloud is not signing in on my mac, though it was working before. iCloud now refuses to verify my email, or says try later. It is not working for 3 weeks now. iCloud on iPhone, iPad and online is working perfectly. please help!