DPS6.3 modify default connection handler?

While making some changes in a dps through the dscc I edited the default connection handler and added two connection policies. I have now lost access to the dps through the dscc possibly because of the policies added.How do I fix the default connection handler? Is there a dpconf command to read it, and delete the policies?
Edited by: Xoth on Jun 11, 2009 12:38 PM
FIXED. I figured it out. Looking at reference manual instead of admin where the dpconf commands are.
dpconf get-connection-handler-prop -h host -p port "default connection handler"
dpconf set-connection-handler-prop -h host -p port "default connection handler" request-filtering-policy:no-filtering
dpconf set-connection-handler-prop -h host -p port "default connection handler" resource-limits-policy:no-limits

Dummy post to increase the reply count. Sorry for the noise.

Similar Messages

  • LDAP Proxy fails to assign custom connection handler

    Hi,
    I've setup some custom connection handlers, and my proxy server is behaving randomly.
    I mean that sometimes it assigns the new handler sometimes not. This randomness occurs
    if I delete the handler and create it again with the same configuration options.
    I tried restarting the server as well as upgrading to 6.3.1 (Linux/Centos) without any luck.
    Now the server does not assign the high priority custom handler when I connect on the SSL port (1636)
    but it does assign it if i connect on the NON-SSL port (1389)
    This is is my configuration:
    dpconf list-connection-handlers -v -p 1636
    anonymous true 5
    domain2.example.com true 3
    default connection handler true 100
    directory services administrators true 1
    domain1.example.com true 1
    schema false 6
    dpconf get-connection-handler-prop domain1.example.com
    aci-source : none
    allowed-auth-methods : simple
    allowed-ldap-ports : ldap
    allowed-ldap-ports : ldaps
    bind-dn-filters : uid=(.*),cn=(.*),ou=People,dc=domain1,dc=example,dc=com
    bind-dn-filters : uid=(.*),ou=(.*),ou=People,dc=subdomain,dc=domain1,dc=example,dc=com
    data-view-routing-custom-list : DOMAIN1
    data-view-routing-policy : custom
    description :
    domain-name-filters : any
    enable-data-view-affinity : false
    ip-address-filters : any
    is-enabled : true
    is-ssl-mandatory : false
    priority : 1
    request-filtering-policy : Read and Modify
    resource-limits-policy : no-limits
    schema-check-enabled : false
    user-filter : any
    ldapsearch -x -b dc=example,dc=com -H ldaps://proxy.example.com:1636 -W -D "uid=user,cn=admin,ou=People,dc=domain1,dc=example,dc=com" '(uid=user)' dn
    [07/Apr/2009:19:44:10 +0300] - CONNECT - INFO - conn=33 client=10.0.0.1:40795 server=proxy.example.com:1636 proto
    col=LDAPS
    [07/Apr/2009:19:44:10 +0300] - PROFILE - INFO - conn=33 assigned to connection handler cn=default connection handler,
    cn=connection handlers, cn=config
    [07/Apr/2009:19:44:10 +0300] - OPERATION - INFO - conn=33 op=0 BIND dn="uid=user,cn=admin,ou=People,dc=domain1,dc=example,dc=com" method="SIMPLE" version=3
    [07/Apr/2009:19:44:10 +0300] - SERVER_OP - INFO - conn=33 op=0 BIND dn="uid=user,cn=admin,ou=People,dc=domain1,dc=example,dc=com" method="SIMPLE"" version=3 s_msgid=18 s_conn=dna:1
    [07/Apr/2009:19:44:10 +0300] - SERVER_OP - INFO - conn=33 op=0 BIND RESPONSE err=0 msg="" s_conn=dna:1
    [07/Apr/2009:19:44:10 +0300] - OPERATION - INFO - conn=33 op=0 BIND RESPONSE err=0 msg="" etime=0
    [07/Apr/2009:19:44:10 +0300] - OPERATION - INFO - conn=33 op=1 msgid=2 SEARCH base="dc=example,dc=com" scope=2 filter="(uid=user)" attrs="dn "
    [07/Apr/2009:19:44:10 +0300] - SERVER_OP - INFO - conn=33 op=1 SEARCH base="dc=domain1,dc=example,dc=com" scope=2 filter="(uid=user)" attrs="dn " s_msgid=19 s_conn=dna:1
    [07/Apr/2009:19:44:10 +0300] - SERVER_OP - INFO - conn=33 op=1 SEARCH RESPONSE err=0 msg="" nentries=2 s_conn=dna:1
    [07/Apr/2009:19:44:10 +0300] - SERVER_OP - INFO - conn=33 op=1 SEARCH base="dc=example,dc=com" scope=2 filter="(uid=user)"
    attrs="dn " s_msgid=20 s_conn=dna:1
    [07/Apr/2009:19:44:10 +0300] - SERVER_OP - INFO - conn=33 op=1 SEARCH RESPONSE err=32 msg="" nentries=0 s_conn=dna:1
    [07/Apr/2009:19:44:10 +0300] - SERVER_OP - INFO - conn=33 op=1 SEARCH base="dc=domain2,dc=example,dc=com" scope=2 filter="(ui
    d=user)" attrs="dn " s_msgid=21 s_conn=dna:1
    [07/Apr/2009:19:44:10 +0300] - SERVER_OP - INFO - conn=33 op=1 SEARCH RESPONSE err=0 msg="" nentries=2 s_conn=dna:1
    [07/Apr/2009:19:44:10 +0300] - OPERATION - INFO - conn=33 op=1 SEARCH RESPONSE err=0 msg="" nentries=4 etime=0
    As you see the connection is routed through default connection handler.
    This happens sometimes even If I put the client IP in the criteria, without the bind criteria.
    I'm a bit comfused. I've also tried to change the priorities but no luck again.
    The funny thing is that If I connect through the NON-SSL port on the proxy the connection
    is routed through the domain1.example.com connection handler...
    [07/Apr/2009:19:51:32 +0300] - PROFILE - INFO - conn=37 assigned to connection handler cn=domain1.example.com,cn=connection handlers,cn=config
    any comment on this would be appreciated
    regards,
    Giannis

    Talking about randomness, I've deleted the connection handlers,
    deleted the default data views, deleted the default data pool, enabled manual routing.
    recreated the connection handlers and now it works.
    The handlers are the same as before. Same criteria...
    Don't get it but there must be something fishy going on there...
    any way, what I'm trying to do is a setup like
    "Data Views That Route Requests When a List of Subtrees Is Stored on Multiple, Data-Equivalent Data Sources"
    http://docs.sun.com/app/docs/doc/820-2763/gbwva?a=view
    where requests with the parent domain as base would work as well.
    domain1.example.com
    domain2.example.com
    example.com (includes both)
    if I have something new I will post
    Giannis

  • A stale Connection Factory or Connection Handle may be used in SOA 11g

    Hi all,
    I am working on a outbound process from oracle apps to BPEL. I am using SOA 11.1.1.3 version. I have created connection pool in admin server.
    But BPEL does not pick the messages from ecx_outqueue present in apps.
    Also when i update the Aqadapter in the admin server i get the following message
    Selected Deployments were updated.
    You must also activate the pending changes to commit this, and other updates, to the active system.
    The soa diagonostic log is provided below
    [2011-02-14T02:29:21.248-07:00] [soa_server1] [ERROR] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: ohsadmin] [ecid: 004b3eilKBAE4UVQu2q2TH0006H0000Fay,1:30378] [APP: soa-infra] [dcid: 49c8ed318246db94:41013faa:12d7ab8287f:-7fff-0000000000002a49] [URI: /em/faces/ai/soa/composite] JCABinding=> Invoice_OracleApps *Error while performing endpoint Activation: javax.resource.spi.IllegalStateException: [Connector:199176]Unable to execute allocateConnection(...) on ConnectionManager. A stale Connection Factory or Connection Handle may be used. The connection pool associated with it has already been destroyed. Try to re-lookup Connection Factory eis/AQ/ExtEBizConn_Factory from JNDI and get a new Connection Handle.*
    [2011-02-14T02:29:21.248-07:00] [soa_server1] [ERROR] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: ohsadmin] [ecid: 004b3eilKBAE4UVQu2q2TH0006H0000Fay,1:30378] [APP: soa-infra] [dcid: 49c8ed318246db94:41013faa:12d7ab8287f:-7fff-0000000000002a49] [URI: /em/faces/ai/soa/composite] JCABinding=> Invoice_OracleApps [[
    javax.resource.spi.IllegalStateException: [Connector:199176]Unable to execute allocateConnection(...) on ConnectionManager. A stale Connection Factory or Connection Handle may be used. The connection pool associated with it has already been destroyed. Try to re-lookup Connection Factory eis/AQ/ExtEBizConn_Factory from JNDI and get a new Connection Handle.
    Can anyone provide some inputs on this?

    Hi Anuj,
    I have followed the following steps mentioned in the metalink ID 1235943.1 but still it is throwing the same error.
    1.Log on to your Admin console and navigate to Domain -> Deployments -> <adapter name> -> Configuration Tab -> Outbound Connection Pools Tab -> Under Groups and Instances expand the javax.resource.cci.ConnectionFactory
    2.Locate and select the adapter JNDI and click on the Connection Pool Tab.
    3.Please check to see if Shrinking is enabled. If not, please enable it.
    4.Please check the value for Shrink Frequency Seconds. The default for some connection pools is as high as 900 seconds. Please reset this to 120 seconds or less.
    5.Activate your changes.
    6.If this does not improve the situation, please also try increasing the max size of your connection pool.
    Please advice if any other solution is there.
    Thanks,
    Dhiraj Mishra

  • SAP workflow not published / not reaching default outbound handler

    Hi,
    At Velocity event (october) we had a SAP ERP workflow configured for publishing to SharePoint; after triggering workflow instances, an XML payload document was successfully published to SharePoint.
    Now, in the same environment; without changes on Duet Enterprise config level, publishing of task changes of that same workflow no longer publishes into SharePoint.
    We executed the report jobs OSP_DELTA and OSP_FULL to make sure that the sync from SAP to SharePoint would be done / task changes are notified. The SAP workflows are delivered into the SAP inbox; but not published to SharePoint.
    We added a breakpoint (internal + external) in the default outbound handler S_OSP_WF_PAT_DEFAULT_CH_OB; it is not invoked when we reach the workflow decision step that is published.
    We inspected the SCL Logs, but didn't find any relevant log entries.
    Any clue what can be wrong here; where to start with the problem analysis?
    Best regards, William.

    Hi Holger,
    The error 'Users not maintained...' appears to be caused due lack of SAP permissions of the SAP account that is executing the report S_OSP_WF_ITEM_SELECTION; with another account we succesfully pass the 'GetNotifications' calls within that report; and actually now do get into the default outbound handler.
    But still no task document published into SharePoint; the default outboundhandler faults on Send Action item; error details:
    ERROR_CONTEXT>
      <ERROR_INFO>ICF Error when sending the request: HTTPIO_ERROR_SEND_STATE-Fehlermeldung beim Senden der Daten.</ERROR_INFO>
    - <CONSUMER_INFO>
      <CONSUMER_PROXY>CO_OSPWACTION_ITEM_VI_DOCUMENT</CONSUMER_PROXY>
      <LOGICAL_PORT>CO_OSPWACTION_ITEM_VI_DOCUMENT</LOGICAL_PORT>
      <OPERATION_NAME>maintainActionItem</OPERATION_NAME>
      <OPERATION_NAMESPACE>urn:ActionItemWsd/ActionItemVi/document</OPERATION_NAMESPACE>
      <PROCESSING_UNIT>Sector 1: WS-Consumer</PROCESSING_UNIT>
      <PROCESSING_MODE>Synchronous</PROCESSING_MODE>
      <COMMUNICATION_TYPE>Remote</COMMUNICATION_TYPE>
      <WORK_PROCESS_NUMBER>1</WORK_PROCESS_NUMBER>
      <WORK_PROCESS_PID>25034814</WORK_PROCESS_PID>
      <TERMINAL_NAME>C0269450</TERMINAL_NAME>
      </CONSUMER_INFO>
    - <TRANSPORT_INFO>
      <PROTOCOL>HTTP/1.1</PROTOCOL>
      <AUTHENTICATION_METHOD>BasicAuth</AUTHENTICATION_METHOD>
      </TRANSPORT_INFO>
      </ERROR_CONTEXT>
    We want to check the settings of Consumer Proxy for Workflow (page 76 in deployment guide); however we don't see 'Connection Settings'  entry in the SCL server.
    --> 4. Select Connection Settings > SCL to Consumer > Configure Service Endpoint.
    Regards, William.

  • Getting default connection

    How can I get the handle to database connection used by my BC4J
    application.
    It should be something like this
    Connection conn = .....
    I dont want to create a new connection using DriverManager.
    I have created connection using Application module class.
    I want to use the same connection.
    Thanks
    Chandar

    There is a default connection that you can use. Try using this:
    Connection conn = ( new oracle.jdbc.driver.OracleDriver
    ()).defaultConnection();     
    Hope it helps,
    -Matt

  • New error with upgrade jboss/tomcat: "Connection handle has been closed and is unusable"

    Hi,
    This error suddenly appeared when we upgraded from jboss3/tomcat5.0 to jboss4.2/tomcat5.5.
    here's the usecase:
    1) User clicks on report link
    2) Crystal reports web componnent displays screen to fill in report parameters.
    3) user enters parameters and clicks submit
    4) System throws Exception
    The same reports worked fine with jboss 3.2.6/tomcat 5.0. We haven't touched anything in this realm.
    Log Excerpt:
    09:42:18,842 INFO  [datasource] Openning rowset
    09:42:18,904 ERROR [reportdefinition] com.crystaldecisions.reports.queryengine.driverImpl.m: JDBC Error: Connection handle has been closed and is unusable
    09:42:18,905 ERROR [datasource] Failed to open rowset: the query failed to open rowset
    com.crystaldecisions.reports.reportdefinition.datainterface.g: JDBC Error: Connection handle has been closed and is unusable
         at com.crystaldecisions.reports.reportdefinition.datainterface.d.a(Unknown Source)
    To try to narrow down the problem, I've updated the jdbc configuration to
         <track-statements>true</track-statements>   
    here's a recap:
    This Boolean element specifies whether to check for unclosed statements when a connection is returned to the pool. If it is true, a warning message is issued for each unclosed statement. If the log4j category org.jboss.resource.adapter.jdbc.WrappedConnection has trace level enabled, a stack trace of the connection close call is logged as well. This is a debug feature that can be turned off in production.
    Interestingly enough, this error appears slightly upstream:
    (CachedConnectionManager.java:526) - Closing a connection for you.  Please close them yourself: org.jboss.resource.adapter.jdbc.WrappedConnection@c76003
    java.lang.Throwable: STACKTRACE
         at
    org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)
         at com.crystaldecisions.reports.queryengine.driverImpl.k.a(Unknown Source)
         at com.crystaldecisions.reports.queryengine.driverImpl.o.if(Unknown Source)
         at com.crystaldecisions.reports.queryengine.av.new(Unknown Source)
         at com.crystaldecisions.reports.queryengine.av.byte(Unknown Source)
         at com.crystaldecisions.reports.reportdefinition.datainterface.b.a(Unknown Source)
         at com.crystaldecisions.reports.reportdefinition.datainterface.b.a(Unknown Source)
         at com.crystaldecisions.reports.reportdefinition.datainterface.b.a(Unknown Source)
         at com.crystaldecisions.reports.reportdefinition.datainterface.j.a(Unknown Source)
         at com.crystaldecisions.reports.dataengine.ba.try(Unknown Source)
         at com.crystaldecisions.reports.common.av.a(Unknown Source)
         at com.crystaldecisions.reports.common.ag.a(Unknown Source)
         at com.businessobjects.reports.sdk.b.e.a(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown
    So the question arises:
    1) Is the jboss datasource overly/aggressively closing result sets?
    2) or is there a coding error in CRXIR2?
    thanks,
    bill
    Full stack trace:
    [2008-03-13 17:26:18,905] [INFO ] org.jboss.resource.connectionmanager.CachedConnectionManager (CachedConnectionManager.java:526) - Closing a connection for you.  Please close them yourself: org.jboss.resource.adapter.jdbc.WrappedConnection@c76003
    java.lang.Throwable: STACKTRACE
         at org.jboss.resource.connectionmanager.CachedConnectionManager.registerConnection(CachedConnectionManager.java:290)
         at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:417)
         at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)
         at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)
         at com.crystaldecisions.reports.queryengine.driverImpl.k.a(Unknown Source)
         at com.crystaldecisions.reports.queryengine.driverImpl.o.if(Unknown Source)
         at com.crystaldecisions.reports.queryengine.av.new(Unknown Source)
         at com.crystaldecisions.reports.queryengine.av.byte(Unknown Source)
         at com.crystaldecisions.reports.reportdefinition.datainterface.b.a(Unknown Source)
         at com.crystaldecisions.reports.reportdefinition.datainterface.b.a(Unknown Source)
         at com.crystaldecisions.reports.reportdefinition.datainterface.b.a(Unknown Source)
         at com.crystaldecisions.reports.reportdefinition.datainterface.j.a(Unknown Source)
         at com.crystaldecisions.reports.dataengine.ba.try(Unknown Source)
         at com.crystaldecisions.reports.common.av.a(Unknown Source)
         at com.crystaldecisions.reports.common.ag.a(Unknown Source)
         at com.businessobjects.reports.sdk.b.e.a(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.z.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ak.if(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ad.int(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.bk.for(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.v.a(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.v.if(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.setTableLocation(Unknown Source)
         at com.crystaldecisions.reports.sdk.DatabaseController.setTableLocation(Unknown Source)
         at org.apache.jsp.reports.processreport_jsp.switchTables(processreport_jsp.java:131)
         at org.apache.jsp.reports.processreport_jsp.loadReport(processreport_jsp.java:68)
         at org.apache.jsp.reports.processreport_jsp._jspService(processreport_jsp.java:227)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:387)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at com.participate.shared.pagecache.client.PageCacheFilter.doFilter(PageCacheFilter.java:760)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at com.participate.util.servlet.ExpiredPasswordFilter.doFilter(ExpiredPasswordFilter.java:92)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at com.participate.pe.channels.client.servlet.ChannelUrlFilter.processUrl(ChannelUrlFilter.java:168)
         at com.participate.pe.channels.client.servlet.ChannelUrlFilter.doFilter(ChannelUrlFilter.java:100)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at com.participate.util.servlet.BlockIpAddressFilter.doFilter(BlockIpAddressFilter.java:224)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at com.outstart.multiapp.filters.KeepOtherSessionsAliveFilter.doFilter(KeepOtherSessionsAliveFilter.java:88)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at com.participate.util.servlet.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:151)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
         at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
         at java.lang.Thread.run(Thread.java:619)

    <p>
    OK. I found the problem along with a workaround.
    </p>
    <p>
    <strong>The problem:</strong>
    </p>
    <p>
    a programming practice clashes with a new jboss 'safety check'.
    </p>
    <p>
    <strong>Programming practice:</strong>
    </p>
    <p>
    crystal reports gets a database connection in one jsp page, then tries to use it on another jsp/servlet
    </p>
    <p>
    <strong>Jboss safety check:</strong>
    Jboss/tomcat new comes configured out-of-the-box with a 'cached connection
    manager', which
    </p>
    <p>
    "Check[s] for unclosed connections and transaction terminated checks in servlets/jsps."
    </p>
    <p>
    <strong> Summary</strong>
    </p>
    <p>
    In short, if a servlet/jsp ends and it leaves a database connection open, Jboss will automatically close it.
    </p>
    <p>
    </p>
    <p>
    <strong>Workaround:</strong><br />
    Comment out two entries in these two files:
    </p>
    <p>
    1) conf/jboss4/pe/deploy/jboss-web.deployer/server.xml
    </p>
    <p>
    2) conf/jboss4/pe/deploy/jboss-web.deployer/META-INF/jboss-service.xml
    </p>
    <p>
    The two entries:
    </p>
    <p>
    </p>
    <p>
    1)
    </p>
    <p>
                 <Valve className="org.jboss.web.tomcat.service.jca.CachedConnectionValve"<br />
                    cachedConnectionManagerObjectName="jboss.jca:service=CachedConnectionManager"<br />
                    transactionManagerObjectName="jboss:service=TransactionManager" /><br />
    </p>
    <p>
    2)
    </p>
    <p>
          <depends>jboss.jca:service=CachedConnectionManager</depends><br />
    </p>
    <p>
    </p>
    <p>
    <strong>Comments on the workaround</strong>
    </p>
    <p>
    The 'cached connection manager' basically makes sure that the application cleans up after bad programmers. It seems most helpful in development, load testing, or trouble shooting.
    </p>
    <p>
    In production,  you can likely  comment them out with minimal
    impact on the application.
    </p>

  • Windows RDS - configuring a default connection & desktop

    I'm looking at remote desktop options and used terminal services in the past.  I'm configuring remote desktop services on a Windows 2008 R2 server.  The goal is
    to allow users to go to a web page, pull up a remote desktop and access apps & server shares inside the network.
    I have it installed, and am able to get a connection using \\server\rdweb.  However, that takes me to the RDS default connection page. If I click on remote desktop it asks what computer I want to connect
    to.
    What I want to do is configure this or another web page to automatically connect to a default profile I've configured with various apps, or to create a new profile based on the user's login name like any PC
    does when you login with a new user ID.
    I'm sure it's in the documentation somewhere, I haven't run across it yet.

    Hi,
    Thanks for your posting in Windows Server Forum.
    As per your comment, I can say that you can try to change the login web page of RD web where you can place the default domain and user name for that user. 
    You can make changes on login.aspx file on “%windir%\Web\RDWeb\Pages\<The Language of Your Location>\”path as below:
    Change the original code section:
    <input id=”DomainUserName” name=”DomainUserName” type=”text” class=”textInputField” runat=”server” size=”25” autocomplete=”off” />
    to be:
    <input id=”DomainUserName” name=”DomainUserName” type=”text” class=”textInputField” runat=”server” size=”25” autocomplete=”off”
    value=”domainname\” />
    Please refer below thread for more information.
    How to set default logon domain RD Gateway and/or RD
    Web
    Hope it helps!
    Thanks,
    Dharmesh

  • "Select default PDF handler" greyed out in Acrobat XI and Reader X

    MIS just installed Acrobat XI for me, and now all PDFs from the web open in the Browser, which is not the way I usually operate.  I went to Preferences > General in both programs, and in both the "Select default PDF handler" option is greyed out.  Any suggestions?
    Donna

    Go to Edit-> prefrences-> Internet and Change the settings to open PDF In browser.
    Please See the below Link :
    http://helpx.adobe.com/acrobat/using/display-pdf-browser-acrobat-xi.html

  • Setting up default connection for accessing emails...

    I had a quick look and found similar problems on here, but none that I thought were the same.
    I've been able to set up Gmail to be received through my 'Messaging' on my N96. Turns out its quite a handy function. Also figured out that you can get it to automatically check you mail at regular intervals. I want to use this, but I don't want to have to select the connection every time the phone wants to check for new mail. So I need to set up a preferred connection. That's no problem...
    The problem occurs when I try to select my WLAN as default. However, every time I select it, the phone freezes up. Not completely, as I can change programs and even exit the messaging settings via the hang up key, but if I do that, it doesn't make any changes.
    I have deleted and restored the WLAN connection, I have accessed my inbox manually, so it isn't a problem on Google's end, and I have checked the various connection options to no avail.
    So, does anyone know why it my phone would freeze when trying to set up my WLAN connection as the default connection for accessing my e-mails? Any questions about my situation, just ask and I will gladly supply whatever you ask for.
    Regards,
    Jarvis
    Message Edited by jarvis187 on 15-Jan-2009 01:24 AM

    No help available out there? If you need it explained clearer just say so and I'll do so. Thanks in advance.

  • E51 default connections access with WLAN - how ?

    Hi.
    I just bought a lovely e51, and I love it, but after playing with it for 2 days, I cant seem to set the default connections to WLAN.
    For instance, when I click on the WLAN from the front menu, it offers to browse using wifi, thats great.
    But if I click on the Web icon, or the Nokia maps, or the Download stuff, it takes me to "Data Package" which I dont want to use, when I have a WLAN at home.
    I understand that the WLAN wont be able to "download" every type of contents (like the Radio?) but surely it should work with the Web & Downloads?
    Any hint most welcome.
    Nik

    Hi,
    Open browser, click on left soft button, options, scroll to settings,general,access point and set to always ask.
    This way you can select each time you log on to browser.
    Or tools, settings, connection, packet data, access point and fil in you settings.
    Better to have choice at start up that way if you are not in wi fi area you can just select high speed data.
    Cheers.

  • How to change the default connection

    I've to change programmatically the default connection of the report (6i).
    I thought to use somenthing like LOGOUT/LOGIN (FORMS6i) in the BeforeReport trigger, but I don't find any valid solution yet.
    Thanks in advance,
    Raffaele

    The reports are developed with Report Builder 6.0.8.8.3.
    The server is configurated: Oracle HTTP Server/1.3.22 (Win32)
    mod_plsql/9.0.2.0.0 DAV/1.0.2 (OraDAV enabled)
    mod_oc4j/3.0 mod_ossl/9.0.2.0.0 mod_fastcgi/2.2.10 mod_perl/1.26
    From my application I call iexplore and set the url like:
    http://<myserver>/dev60cgi/rwcgi60.exe?MY_REPORT+<jobid>
    In cgicmd.dat I defined:
    MY_REPORT: report=D:\report_path\theREPORT.rep
    userid=def_user/pwd@the_db
    server=my_repserver...
    In the report, in the BEFORE_REPORT or in BEFORE_PARAMETER_FORM trigger I would like to make a query to a table of def_user with the job_id filter and get the job specific connection info.
    Then, I've to re-connect to the new user where the tables of the report's data model a re defined.
    Our database is structured with a single user for general data, included the info to address the other schema, and more specific users (~100) for job data.
    I've used the tecnique in Forms, but I can't replicate it in Reports.
    Thank you for any suggestions.
    Raffaele

  • Change default PDF handler

    I downloaded  a trial of Adobe Acrobat...didn't buy it.  Have Adobe Reader, but the default is now Adobe Acrobat.  How do I change it so I can download to/with Adobe Reader?

    In either app, choose Edit > Preferences > General > Select default PDF handler.

  • GUI connection error MAXIMUM NUMBER OF CONNECTION HANDLES REACHED

    Dear Experts
    while logging on to GUI7.10 I am getting following error
    MAXIMUM NUMBER OF CONNECTION HANDLES REACHED'
    'MAXIMUM NUMBER OF HANDLES REACHED'. 'NO MORE MEMORY IS AVAILABLE'.
    'DO YOU WANT TO SEE DETAILED ERROR DESCRIPTION?'
    When i click on yes to the question above, i get the following:
    'COMPONENT = DPTM'
    'RELEASE = 7.10'
    'VERSION = 10'
    'RETURN CODE= -16'
    'Counter = 3
    This error is not allowing me work.
    Does anyone have a solution?

    Hi,
    I am having the same issue. Did you resolve the issue.
    Please let me know
    Regards

  • Connection handle of this Interaction has already been closed

    Dear All,
    We are facing problem in Portal application and the portal screen shows
    "WARNING : DOMG:0001 : EN: Applicatie Foutcould not create JCOClientconnection for logical system: WD_MODELDATA_DEST - Model..." When i checked the JCO and it seems to be working fine.
    This error message occurs not all the time but it happens very often nowdays in our production system.
    The trace file has the below info ....
    #1.5 #005056917DFC0065000001700000148000048ACD4C7672EF#1278514262577
    #com.sap.tc.webdynpro.modelimpl.dynamicrfc.AiiModel#sap.com/tcwddispwda#
    com.sap.tc.webdynpro.modelimpl.dynamicrfc.AiiModel.JcoClientManagementWDP#m.
    vanginhoven#10799##n/a##0fee4bb889d711dfa9cc005056917dfc#SAPEngine_Application
    Thread[impl:3]74ID\#(J2EE3880500)ID0960469550DB02703921047067447299End.
    WID1278484862289##0#0#Error##Plain###Could not create JCOClientConnection for
    logical System: *'WD_MODELDATA_DEST' *- Model: 'class com.nl.cv.pr.productlijst.
    Zorg_Arrangementproduct_Lijst_Model'. #
    #1.5 #005056917DFC002A000009B40000148000048ACD4F560780#1278514310781
    #System.err#phobos/phobos~dcrlcear#System.err#Guest#0##as-careview1_EPP_3880550##2a53432b89d711dfbb8a005056917dfc#SAPEngine_
    Application_Thread[impl:3]_38##0#0#Error##Plain###Connection handle of this
    Interaction has already been closed#
    #1.5 #005056917DFC002A000009B50000148000048ACD4F560987#1278514310781
    #System.err#phobos/phobos~dcrlcear#System.err#Guest#0##as-careview1_EPP_3880550##2a53432b89d711dfbb8a005056917dfc#SAPEngine_
    Application_Thread[impl:3]_38##0#0#Error##Plain###Connection is already closed
    and no longer associated with a managed connection#
    Do anyone have any idea on this issue? Please help me out to fix this problem
    Regards
    Raj

    Hi,
    The error message "Could not create JCOClientConnection for logical System" is only triggered when the WebDynpro application is requesting more JCO connections than the number of JCOs allocated for this application.                                                                               
    I suggest to carefully go through the documents below in order to properly configure your JCOs. If necessary, remove them and recreate in the correct way:                                                                               
    JCo Quick Summary                                                         
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/85a483cb-0d01-0010-2990-c5168f01ce8a                                                                               
    How to Configure the JCo Destination Settings                             
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3103eb90-0201-0010-71af-be6f4a6f61d1                                                                               
    You will have to calculate the maximum number of JCo connections to each application based on Models and users.
    Br,
    Javier

  • Own connection handling class

    hi all,
    In the jdbcpds.conf file, it is mentioned that we can write our own connection handling class which extends the provided JDBCConnectionHandling class
    What i tried after looking at the methods of connection handler is something like this
    class myJDBCConnectionHandling extends JDBCConnectionHandling
    protected void parseConnectInfo(String s, JDBCConnectDialog jdbcconnectdialog, Plugin plugin)
    throws Exception
    String dbUrl = null;
    dbUrl = "<user>/<pwd>@<remotedatabase>";
    super.parseConnectInfo(dbUrl, jdbcconnectdialog, plugin);
    Is there anything else that needs to be done
    because this is throwing an error
    JDBCPDS-62008 : Failed to connect to the datasource null
    Invalid arguments in the call
    Can anybody correct me
    Of course my main purpose of trying this is to have something like a logical name given to the P_JDBCPDS parameter which can be mapped to the actual database url using JNDI lookup.
    what i was expecting was, the string when passed to the connection handler, i can add the code to lookup the name in my own connection handler and leave the rest to the provided JDBCConnectionHandling class
    Am i going in right direction or not
    Or if anybody has any other solution you are welcome to suggest
    Any sort of help is greatly appreciated
    Thanks in advance
    Ramakrishna

    hi,
    One more thing i forgot to mention was that i am not too concerned about this lookup in reports builder
    I need when this is running on the server
    thanks & regards
    ramakrishna

Maybe you are looking for

  • Printer won't print too- need a new printer head. i want to know if you have one in stock

    Hi, my printer won't print and the error message states "bad printerhead".  My printer model is  HP officejet d 155xi.  I need to know  how much it costs or would it be cheaper to buy a new printer.  Still have four cartridges of ink.  Please advise.

  • Error loading file in the operation long text in the General task list

    Hi all, I couldnt upload the detailed check lists in the operations (operation tab) of the general task lists through the long text uplaod via Text->Upload->RTF---> .System is throwing the following Information... 1.Error loading file " specified pat

  • Async to Sync Scenario

    Hi Experts, I am doing async JDBC to sync webservice scenario. I did create async interface for JDBC and sync interface for webservice. my scenario is i just want to see the response from webservice in XI for trouble shoot, i dont need to send the re

  • How do I get History to show entries that have an empty Name field?

    I've noticed that if you go History/Show All History , it doesn't show entries with an empty Name field. If I enter part of the location URL in the "Search History" box (such as a Goggle search) the entries are there (with a Visit Date from yesterday

  • JDBC + Mandrake Linux + Mysql + netbeans

    I'm trying to conecto to a mysql server using the following code of netbeans. It compiles, but I got a java.lang.NoClassDefFoundError on execution time. Does anyone have any clue of how to solve it? (I got the netbeans+sdk package, is it complete? Ma