Connections and transactions

Hi all,
I need advice on managing transactions across multiple persistent objects. Currently we have a number of objects that can save their state to the database: they open a connection, perform insert/update, then close the connection:
class PersistentObject
public void store()
// get connection from pool
Connection conn = ConnectionMgr.getConnection();
// do insert/update
// Return connection to pool
conn.close();
We are using Tomcat's built-in connection pool, so ConnectionMgr simply encapsulates the JNDI lookup followed by a call to DataSource.getConnection().
Now we need to be able to store two or more objects in one transaction, something like this:
try {
// begin transaction
object1.store();
object2.store();
// commit
} catch( SQLException ex ) {
// rollback
Problem is that a transaction requires multiple SQL calls to use the same Connection.One way to do this, of course, is to open the connection externally and pass it to each object. However, ideally, it should be more implicit. Ideally, if the transaction is in progress when object2 tries to get connection, it should receive the same one that object1 used. Is there any way to do it? (Well, I can think of one: binding a connection to a session, but I also see a number of disadvatages of that approach).
thanks in advace,
CodeSlinger

this is what i know. Can you not use JTS? With weblogic app server you can use the weblogic.jdbc.jts.Driver to get a connection. Then you can start a transaction and have calls to multiple components say A, B and C. Each component closes the connection when done but the next component gets the same connection if in same execute thread. The connection is returned to pool only when you commit/rollback and all components are in the same transaction. I hope this helps. You should have similar thing with Tomcat.

Similar Messages

  • WLS - WLE Connections and Transactions in multithreaded

    Hi .
    We have a legacy system which was based on Tuxedo and now move to WLE
    (4.0)
    For our Internet applications we use WLS (4.03) as application server in
    top of the legacy system.
    We have problems trying to run more than one transaction on the WLS
    which propagate to the WLE .
    Looking at documentation we didn't understood how should we deal with
    more than one client on the WLS . Each client should have its own
    transaction and they should run simulstanly .
    We only succeded when we synchronize the threads (Run just one thread
    which get the transaction use it and then uses bt.destroy_current()
    before activating the next thread to do the same)
    It seems that the documantation in the WLE and WLS don't fit together .
    Has someone use WLS-WLE connectivity with multiple clients/threads.
    Can someone tell me how to use the Bootstrap object(destroy current?)
    and the Transaction Control (begin , suspend, resume, commit) in order
    to make it works.
    Regards

    I would strongly suggest that you not use WLE 4.0 which is rather old (4.2,
    5.0.1 and 5.1 have all since been released), but move to the newest version
    of WLE which is WLE 5.1.
    WLS 4.0 is also an old release.
    I am not sure how long these 2 releases will be supported, so the customer
    should upgrade to the latest of both WLE and WLS.
    Shlomo Rothschild wrote:
    Hi .
    We have a legacy system which was based on Tuxedo and now move to WLE
    (4.0)
    For our Internet applications we use WLS (4.03) as application server in
    top of the legacy system.
    We have problems trying to run more than one transaction on the WLS
    which propagate to the WLE .
    Looking at documentation we didn't understood how should we deal with
    more than one client on the WLS . Each client should have its own
    transaction and they should run simulstanly .
    We only succeded when we synchronize the threads (Run just one thread
    which get the transaction use it and then uses bt.destroy_current()
    before activating the next thread to do the same)
    It seems that the documantation in the WLE and WLS don't fit together .
    Has someone use WLS-WLE connectivity with multiple clients/threads.
    Can someone tell me how to use the Bootstrap object(destroy current?)
    and the Transaction Control (begin , suspend, resume, commit) in order
    to make it works.
    Regards

  • Db connections and transactions

    I'm fairly new to EJB and recently have
    been handed an application to maintain.
    The app has a bunch of entity beans and
    a bunch of session beans.
    Each entity bean method that reads or writes
    to the database gets a new database connection
    by calling DataSource's getConnection method.
    The app also has session facades that
    call various methods on entity beans.
    My understanding is that one of the intentions
    of the session facade is that the work that
    is done in one session bean method all happens
    within the same database transaction.
    I also undertand that a single database
    transaction can only occur over one database
    connection.
    It seems to me that if each entity bean method
    is using its own connection, then the work in
    a session bean method is not all done within
    the same database transaction.
    Is the above analysis correct?
    If I want each session bean method to be covered by
    a single transaction, what do I need to do?

    Tim Davenport wrote:
    I'm fairly new to EJB and recently have
    been handed an application to maintain.
    The app has a bunch of entity beans and
    a bunch of session beans.
    Each entity bean method that reads or writes
    to the database gets a new database connection
    by calling DataSource's getConnection method.
    This is good practice. I'll explain below why it's not always actually
    getting a new database connection.
    The app also has session facades that
    call various methods on entity beans.
    My understanding is that one of the intentions
    of the session facade is that the work that
    is done in one session bean method all happens
    within the same database transaction.
    Yes, assuming the transaction attributes are set appropriately.
    I also undertand that a single database
    transaction can only occur over one database
    connection.
    Note that with XA it is possible to run a single transaction over
    multiple JDBC connections, but that's more trivia than answering your
    question.
    It seems to me that if each entity bean method
    is using its own connection, then the work in
    a session bean method is not all done within
    the same database transaction.
    Is the above analysis correct?
    No. The basics are that you need to ensure that the DataSources
    configured in weblogic are TxDataSources. An easy check is to look at
    your config.xml. It should say TxDataSource not DataSource.
    Your EJB's transaction will be managed by the WLS Transaction Manager.
    The TxDataSource will ensure that all calls to getConnection for the
    same datasource within the same transaction will return the same
    connection. So in reality, all of these getConnection calls are
    returning the same jdbc connection.
    -- Rob
    If I want each session bean method to be covered by
    a single transaction, what do I need to do?

  • How to improve jdbc 4 connection and Transact-SQL

    I am using a jdbc 4 connection to connect to Database.
    With code
    Class.forName("org.postgresql.Driver");
    String url = "jdbc:msql://athens.imaginary.com:4333/db_web";
    username = �mycon�;
    password = �mycon�;
    Connection  conn = DriverManager.getConnection(url, username, password);And quering and updating with database with TSQL
    Sample code
    Statement select = con.createStatement();
    ResultSet result = select.executeQuery("SELECT key, val FROM t_test"); I am able to get the result
    But i want to improve it.
    Whether i should use any other api or any other configrational changes I need to imporove the rilibility and increase the speed.
    Any suggestions?

    Please don't cross-post. You have a thread for this in the JDBC forum (which is where it belongs, if anywhere), so keep the discussion there, please.

  • Connection failover and transaction failover

    Connection failover and transaction failover
    I need to know more about a behavior in a RAC cluster. When a node goes down that is executing one of my transaction through JDBC , does the connection and transaction failover to a new node without me needing to restart tran or reconnect ?
    Please provide some insight
    Thanks

    Transactions are NOT automatically rolled back. The application must do this otherwise the session will get disconnected.
    If you code TAF, all sessions will failover to the backup connection. You can specify that select statements are automatically re-executed after the failover. Insert/update/delete transactions must be explicitly rolled back and resubmitted by the application.
    IF you are using an ORacle Connection pool, the connection pool will automatically cleanup connections to the failed instance, abort inflight transactions. The application will either retry or it will propagate the error to the end user.
    See the whitepaper on the OTN RAC page (otn.oracle.com/rac) Workload Management with Oracle RAC for more information.

  • Using oracle's connection pools and transactional context

    Hi!
    I have an implementations of existing interfaces ( let's call this layer as
    data access layer) which abstracts the connection and transactional session
    from the calling application. This implementaion makes use of Oracles JVM
    inside the oracle database (8.1.7) to create and maintain the connection
    pools and the transactional session (transactional context). I would like
    to create differenent implementation, if the calling application is a
    session bean running inside the weblogic application server. is there way I
    can still use the connection pools and transactinal context that I got from
    the oralce if the calling application is a session bean running inside the
    weblogic app.. server?
    do I have to change any configuration settings in weblogic?. there might
    be two scenarios..
    the data access layer (the classes which deal with the connection pools and
    transactions) might be running inside the oracle's JVM..
    the data access layer might be running inside weblogic application server...
    thanks...
    Srinivas

    Certainly this from SPAM. Now from anothe user :). Note sure whether I should mark you as you as SPAM as you're posting questions which are available in stackoverflow
    http://stackoverflow.com/questions/26531161/biztalk-and-odp-net-connection-pools-and-connection-strings
    Details provided in the other forum should provide you the answer.
    I don’t want to duplicate this thread just for the sake of giving reply.
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Master Data and Transaction Data For DB Connect extracted Data...

    Dear Experts,
    I have been working on SAP NetWeaver BW 7.3 and for the first time I have extracted data from Oracle DBMS by using DB Connect. I have successfully extracted data of a View namely Sales_View into BW by creating a DataSource. This View has about 100 fields and I have been told that this view consists of Master Data and Transaction Data too. For my further reporting needs say building a Dashboard or InfoSpace I have to design a DSO and InfoCube for this DataSource. I'm bit confused about the Master Data and Transaction Data of this DataSource.
    1. Should I create all custom InfoObject against all fields of DataSource for DSO and InfoCube design?
    2. Do I need to create and load the Master Data for all InfoObjects or I need to create or load the Master Data for only those InfoOjects which will be   
         used for drill down or reporting in Dashboard or InfoSpace?
    3. Do I need to load the Master Data manually by creating Flat Files and using these files for Master Data loading for required objects?
    4. How should I approach the designing of DSO and InfoCube?
    I will appreciate your inputs in this matter.
    Many thanks!
    Tariq Ashraf

    Thanks!

  • How to specify a variable in the path prefix of an External HTTP (RFC) connection (in transaction SM59)

    Hi There,
    Please can someone tell me how to specify a variable in the  path prefix of an External HTTP (RFC) connection in transaction SM59?
    For example if my path prefix is /invoke/test/example?input=XYZ; how do I replace "XYZ" with a variable so that I can pass in any value after "=" ?
    Thanks,
    Brendon

    Hi,
    This is SAP Business one system administration forum. Please find correct forum and repost above discussion to get quick assistance.
    Please close this thread here with helpful answer.
    Thanks & Regards,
    Nagarajan

  • File Adapter creating huge connections and not releasing.

    Hi,
    We see high no. of current connections in file adapter from weblogic console against eis/HAFileAdapter under deployments -> fileadapter -> monitoring -> Outbound Connection Pools and are concerned about the same. It seems like fileadapter is not releasing the connection and hence no. of connections are piling up over a days and depending upon the transactions. coz after a restart the values comes down from 36000 to 10 ( which is default initial connection).
    But when i see at the datasource level i don't see that much number of active connections. Need to know why this is happening and is this behavior is expected?
    We are using SOA 11g PS2
    Below is the deployment plan for fileadpater in use:
    <?xml version='1.0' encoding='UTF-8'?>
    <deployment-plan xmlns="http://xmlns.oracle.com/weblogic/deployment-plan" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/weblogic/deployment-plan http://xmlns.oracle.com/weblogic/deployment-plan/1.0/deployment-plan.xsd" global-variables="false">
    <application-name>connectors</application-name>
    <variable-definition>
    <variable>
    <name>ConfigProperty_controlDir_Value_12732617703910</name>
    <value>/var/opt/soa_nfs/data/SOA_PRD_DOMAIN/config/FileAdapter</value>
    </variable>
    <variable>
    <name>ConfigProperty_outboundLockTypeForWrite_Value_12737938820080</name>
    <value>oracle</value>
    </variable>
    <variable>
    <name>ConnectionInstance_eis/HAFileAdapter1_JNDIName_13010279387490</name>
    <value>eis/HAFileAdapter1</value>
    </variable>
    <variable>
    <name>ConfigProperty_controlDir_Value_13010283495591</name>
    <value>/var/opt/soa_nfs/data/SOA_PRD_DOMAIN/config/FileAdapter</value>
    </variable>
    <variable>
    <name>ConfigProperty_inboundDataSource_Value_13010283655032</name>
    <value>jdbc/SOADataSource</value>
    </variable>
    <variable>
    <name>ConfigProperty_outboundDataSource_Value_13010283782973</name>
    <value>jdbc/SOADataSource</value>
    </variable>
    <variable>
    <name>ConfigProperty_outboundDataSourceLocal_Value_13010283877514</name>
    <value>jdbc/SOALocalTxDataSource</value>
    </variable>
    <variable>
    <name>ConfigProperty_outboundLockTypeForWrite_Value_13010283941445</name>
    <value>oracle</value>
    </variable>
    <variable>
    <name>ConfigProperty_inboundDataSource_Value_13081683627140</name>
    <value>jdbc/SOADataSource</value>
    </variable>
    <variable>
    <name>ConfigProperty_outboundDataSource_Value_13081683875571</name>
    <value>jdbc/SOADataSource</value>
    </variable>
    <variable>
    <name>ConfigProperty_outboundDataSourceLocal_Value_13081684137432</name>
    <value>jdbc/SOALocalTxDataSource</value>
    </variable>
    <variable>
    <name>ConnectionInstance_eis/HAFileAdapter_Wedb_JNDIName_13369118887880</name>
    <value>eis/HAFileAdapter_Wedb</value>
    </variable>
    <variable>
    <name>ConfigProperty_controlDir_Value_13369119117411</name>
    <value>/var/opt/soa_nfs/data/SOA_PRD_DOMAIN/config/FileAdapter</value>
    </variable>
    <variable>
    <name>ConfigProperty_inboundDataSource_Value_13369119237302</name>
    <value>jdbc/SOADataSource</value>
    </variable>
    <variable>
    <name>ConfigProperty_outboundDataSource_Value_13369119486683</name>
    <value>jdbc/SOADataSource</value>
    </variable>
    <variable>
    <name>ConfigProperty_outboundDataSourceLocal_Value_13369119703484</name>
    <value>jdbc/SOALocalTxDataSource</value>
    </variable>
    <variable>
    <name>ConfigProperty_outboundLockTypeForWrite_Value_13369119820485</name>
    <value>oracle</value>
    </variable>
    </variable-definition>
    <module-override>
    <module-name>FileAdapter.rar</module-name>
    <module-type>rar</module-type>
    <module-descriptor external="false">
    <root-element>weblogic-connector</root-element>
    <uri>META-INF/weblogic-ra.xml</uri>
    <variable-assignment>
    <name>ConfigProperty_controlDir_Value_12732617703910</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter"]/connection-properties/properties/property/[name="controlDir"]/value</xpath>
    </variable-assignment>
    <variable-assignment>
    <name>ConfigProperty_outboundLockTypeForWrite_Value_12737938820080</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter"]/connection-properties/properties/property/[name="outboundLockTypeForWrite"]/value</xpath>
    </variable-assignment>
    <variable-assignment>
    <name>ConnectionInstance_eis/HAFileAdapter1_JNDIName_13010279387490</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter1"]/jndi-name</xpath>
    <origin>planbased</origin>
    </variable-assignment>
    <variable-assignment>
    <name>ConfigProperty_controlDir_Value_13010283495591</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter1"]/connection-properties/properties/property/[name="controlDir"]/value</xpath>
    </variable-assignment>
    <variable-assignment>
    <name>ConfigProperty_inboundDataSource_Value_13010283655032</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter1"]/connection-properties/properties/property/[name="inboundDataSource"]/value</xpath>
    </variable-assignment>
    <variable-assignment>
    <name>ConfigProperty_outboundDataSource_Value_13010283782973</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter1"]/connection-properties/properties/property/[name="outboundDataSource"]/value</xpath>
    </variable-assignment>
    <variable-assignment>
    <name>ConfigProperty_outboundDataSourceLocal_Value_13010283877514</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter1"]/connection-properties/properties/property/[name="outboundDataSourceLocal"]/value</xpath>
    </variable-assignment>
    <variable-assignment>
    <name>ConfigProperty_outboundLockTypeForWrite_Value_13010283941445</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter1"]/connection-properties/properties/property/[name="outboundLockTypeForWrite"]/value</xpath>
    </variable-assignment>
    <variable-assignment>
    <name>ConfigProperty_inboundDataSource_Value_13081683627140</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter"]/connection-properties/properties/property/[name="inboundDataSource"]/value</xpath>
    </variable-assignment>
    <variable-assignment>
    <name>ConfigProperty_outboundDataSource_Value_13081683875571</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter"]/connection-properties/properties/property/[name="outboundDataSource"]/value</xpath>
    </variable-assignment>
    <variable-assignment>
    <name>ConfigProperty_outboundDataSourceLocal_Value_13081684137432</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter"]/connection-properties/properties/property/[name="outboundDataSourceLocal"]/value</xpath>
    </variable-assignment>
    <variable-assignment>
    <name>ConnectionInstance_eis/HAFileAdapter_Wedb_JNDIName_13369118887880</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter_Wedb"]/jndi-name</xpath>
    <origin>planbased</origin>
    </variable-assignment>
    <variable-assignment>
    <name>ConfigProperty_controlDir_Value_13369119117411</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter_Wedb"]/connection-properties/properties/property/[name="controlDir"]/value</xpath>
    </variable-assignment>
    <variable-assignment>
    <name>ConfigProperty_inboundDataSource_Value_13369119237302</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter_Wedb"]/connection-properties/properties/property/[name="inboundDataSource"]/value</xpath>
    </variable-assignment>
    <variable-assignment>
    <name>ConfigProperty_outboundDataSource_Value_13369119486683</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter_Wedb"]/connection-properties/properties/property/[name="outboundDataSource"]/value</xpath>
    </variable-assignment>
    <variable-assignment>
    <name>ConfigProperty_outboundDataSourceLocal_Value_13369119703484</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter_Wedb"]/connection-properties/properties/property/[name="outboundDataSourceLocal"]/value</xpath>
    </variable-assignment>
    <variable-assignment>
    <name>ConfigProperty_outboundLockTypeForWrite_Value_13369119820485</name>
    <xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter_Wedb"]/connection-properties/properties/property/[name="outboundLockTypeForWrite"]/value</xpath>
    </variable-assignment>
    </module-descriptor>
    <module-descriptor external="false">
    <root-element>connector</root-element>
    <uri>META-INF/ra.xml</uri>
    </module-descriptor>
    <module-descriptor external="true">
    <root-element>wldf-resource</root-element>
    <uri>META-INF/weblogic-diagnostics.xml</uri>
    </module-descriptor>
    </module-override>
    <config-root>/opt/soauser/products/soa11.1/Oracle_SOA1/soa/connectors/plan</config-root>
    </deployment-plan>
    -Rohit

    Hi Arik,
    To answer your questions :
    You are using HAFileAdapter in your processes JNDI defenitions? --Yes
    Check in your HAFileAdapter Connection Pool if Shrinking Enabled is set to true. --Its set to true
    I would recomend also to change the properties Test Connections On Reserve to true, and Test Frequency Seconds(900 is the default). --These properties are also in place
    -Rohit

  • 11g TP2 ADF Task Flows and Transaction Management

    I'm wondering how ADF Task Flow Transaction Management works vis-a-vis database sessions and using stored procedure calls in an environment with connection pooling. I haven't written the code yet but am looking for a better understanding of how it works before I try.
    Example:
    I create a bounded adf task flow. I set the "transaction" property to "new-transaction" and the "data control scope" to "isolated".
    As the task flow is running, the user clicks buttons that navigate from page to page in the flow. Each button click posts the page back to the app server. On the app server a backing bean method in each page calls a stored procedure in a database package to modify some values in one or more tables in the database. The procedure does not commit these changes.
    Each time a backing bean makes a stored procedure call will it be in the same database session? Or will connection pooling possibly return a different database connection and therefore a different database session?
    If the transaction management feature of the adf task flows guarantees me that I will always be in the same database session then I don't have to write any extra code to make this work. Will it do that or not?

    I don't know if it is documented in the adf documentation currently available for 11g TP2 but what you ask for is a normal transaction management with connection pooling and i can't imagine it is not implemented in ADF BC layer like it is in JPA or other persistence layer.
    A transaction will always be executed in the same session. Normally your web session will stay in the same session even you start more than one transaction. You don't have to write any code to manage the session pooling. It is a good practices to customize it at the persistence layer during installation depending on your infrastructure.
    Take a look into Fusion Developer Guide ... i'm sure you will find some better explanations about this.

  • Alert: WebServices connectivity (Internal) transaction failure - The credentials can't be used to test Web Services.

    Hi.
    Could you please help me to resolve this issue.
    I have SCOM 2012 installed to monitor environment with Exchnage 2010 SP3. There are 2 sites with Exchnage servers within the organization. There are 2 mailboxes being created to test both sites.
    I am getting following alert:
    Alert: WebServices connectivity (Internal) transaction failure - The credentials can't be used to test Web Services.
    description: The test mailbox was not initialized. Run new-TestCasConnectivityUser.ps1 to ensure that the test mailbox is created.
    Detailed information: 
    [Microsoft.Exchange.Monitoring.CasHealthUserNotFoundException]: The user wasn't found in Active Directory. UserPrincipalName: extest*****@****.local. Additional error information: [System.Security.SecurityException]:
    Logon failure: unknown user name or bad password.
    Diagnostic command: "Test-WebServicesConnectivity -MonitoringContext:$true -TrustAnySSLCertificate:$true -LightMode:$true"
    EventSourceName: MSExchange Monitoring WebServicesConnectivity Internal
    I have tried the next steps:
    1. Verified that mailbox is exist and it's not locked (same for the second mailbox)
    2. Deleted those mailboxes and created  a new  using new-TestCasConnectivityUser.ps1  verified that this mailbox is visible on all DC's accross the forest (both mailboxes)
    and that temporary password was accepted;
    3. Cleared the cache on the SCOM 2012;
    4. Still getting the same alert
    I will really appriciate any help.
    Thanks.

    Hi,
    Hope these posts help you:
    http://thoughtsonopsmgr.blogspot.ca/2013/11/exchange-server-2010-mp-no-synthetic.html
    https://social.technet.microsoft.com/Forums/systemcenter/en-US/437f2bbb-cd96-40c3-8c56-6d4d176a9520/exchange-2010-mp-constantly-throws-webservices-connectivity-internal-transaction-failure?forum=operationsmanagermgmtpacks
    Natalya
    ### If my post helped you, please take a moment to Vote as Helpful and\or Mark as an Answer

  • Servlet and transaction

    Hi everybody!
    I have a question concerning transaction logging and servlets. I'm using the dbconnectionBroker class for my connections. i'm setting the connection.setAutoCommit(true) to use rollback and commit functionality.
    when i start to edit a row in my database i start a transaction by updating the row (e.g update name=name) to lock the row. by that i avoid that a second user can edit the row at the same time. so far so good. when the first user ends his work with a propper submit everything is fine, i can close my transaction with commit. but: if the user closes his explorer just for fun while editing the row, the connection and the transaction remain open and the row is therefore locked for other users.
    are there any suggestions on how to avoid this kind of 'deadlock'?
    I have allready tried to save the connection in a synchronized map and to remove open connections after a certain period of time (problems with parallel access)
    thanks for your help

    1st of all i can see that you haven't studied a bit about Transcanctions. setAutoCommit(true) is wrong and DOESNT ENABLE transcactions. you must set it to false. transcactions mean that you GROUP SQL statements and if one fails ALL fail. So if your user closes his window means that his "kills" your servlet which means your code which means your transcanction which means that no rows are locked and no insert, update, delete or any other SQL query is done.
    Study Databases connectivity, transactions and RDBMS. They will help you understand more things about you managing your DB through servlets. I hope i helped.

  • AnyConnect pre Windows login connects and disconnects for some users

    Hi,
    I have Cisco VPN AnyConnect (version 3.1.0310) clients with a connectivity issue which manifests as follows:
    A user boots their Windows 7 SP1 laptop up.
    Before Windows login, the user clicks "switch user" and enters their Cisco AnyConnect credentials (this connects OK).
    Once the VPN tunnel is established a user logs into Windows.
    At this point, 1 of 2 things happen:
    1. Most users VPN connection stays connected and user GPO processing\logins work as normal
    2. For a minority of users, the VPN connection disconnects and then reconnects. The VPN disconnect and reconnect causes connectivity issues with mapped drives and Outlook (most likely due to GPO processing not applying as the VPN tunnel wasn't established at the required time).
    There are no known commanalities between problematic users - all users are in the same OU and laptops are in the same OU, so they should be getting the same AD settings. The same user can login 14 times OK, but may experience this issue on the 15th occasion.
    Within the profile xml file (stored in c:\program data\) the key "AutoConnectStart" is set to false for user controllable and default value. The XML policy settings are being applied correctly (we've checked Event ID 3010 within the Cisco AnyConnect Windows logs).
    What we have noticed from using the back end Cisco monitoring client is that users who experience connection issues, connect pre windows login OK, but once they're logged into Windows the Cisco VPN AnyConnects seems to try and re-connect, which causes the current VPN tunnel to disconnect and re-connect. This disconnect and re-connect for users seems to cause issues with logon and GPO processing.
    So far, the only rock solid way we've found of stopping this disconnect and re-connect behaviour is by configuring a system deny permission on registry key "HKLM\Software\Microsoft\Windows\CurrentVersion\Run". This key contains an entry for Cisco AnyConnect VPN. Unfortunately setting a deny on the individual node value isn't possible and if the key is deleted or modified the system re-creates it. I'd rather avoid setting a system deny on the key for all users.
    Any advice on how troubleshoot and diagnose this problem is appreciated.
    Thanks

    I've attached some log files in case someone is particularly keen eyed at spotting issues (all data is anonymized)
    6
    Oct 30 2013
    10:19:31
    172.16.12.17
    58124
    10.5.128.21
    8080
    Built inbound TCP connection 123678229 for outside:172.16.12.17/58124 (172.16.12.17/58124)(LOCAL\jpk789) to inside:10.5.128.21/8080 (10.5.128.21/8080)
    6
    Oct 30 2013
    10:19:31
    172.16.12.17
    58122
    10.5.140.210
    443
    Teardown TCP connection 123678214 for outside:172.16.12.17/58122(LOCAL\jpk789) to inside:10.5.140.210/443 duration 0:00:00 bytes 11971 TCP Reset-O
    6
    Oct 30 2013
    10:19:31
    172.16.12.17
    51368
    10.5.141.155
    53
    Teardown UDP connection 123678191 for outside:172.16.12.17/51368(LOCAL\jpk789) to inside:10.5.141.155/53 duration 0:00:00 bytes 110
    6
    Oct 30 2013
    10:19:31
    172.16.12.17
    58123
    10.5.12.182
    88
    Built inbound TCP connection 123678217 for outside:172.16.12.17/58123 (172.16.12.17/58123)(LOCAL\jpk789) to inside:10.5.12.182/88 (10.5.12.182/88)
    6
    Oct 30 2013
    10:19:31
    172.16.12.17
    62455
    10.5.141.155
    53
    Teardown UDP connection 123678189 for outside:172.16.12.17/62455(LOCAL\jpk789) to inside:10.5.141.155/53 duration 0:00:00 bytes 430
    6
    Oct 30 2013
    10:19:31
    172.16.12.17
    58122
    10.5.140.210
    443
    Built inbound TCP connection 123678214 for outside:172.16.12.17/58122 (172.16.12.17/58122)(LOCAL\jpk789) to inside:10.5.140.210/443 (10.5.140.210/443)
    6
    Oct 30 2013
    10:19:31
    172.16.12.17
    56197
    10.5.141.155
    53
    Built inbound UDP connection 123678212 for outside:172.16.12.17/56197 (172.16.12.17/56197)(LOCAL\jpk789) to inside:10.5.141.155/53 (10.5.141.155/53)
    6
    Oct 30 2013
    10:19:31
    172.16.12.17
    58121
    10.5.12.179
    389
    Built inbound TCP connection 123678196 for outside:172.16.12.17/58121 (172.16.12.17/58121)(LOCAL\jpk789) to inside:10.5.12.179/389 (10.5.12.179/389)
    6
    Oct 30 2013
    10:19:31
    172.16.12.17
    58120
    10.5.12.199
    80
    Built inbound TCP connection 123678195 for outside:172.16.12.17/58120 (172.16.12.17/58120)(LOCAL\jpk789) to inside:10.5.12.199/80 (10.5.12.199/80)
    6
    Oct 30 2013
    10:19:31
    172.16.12.17
    51368
    10.5.141.155
    53
    Built inbound UDP connection 123678191 for outside:172.16.12.17/51368 (172.16.12.17/51368)(LOCAL\jpk789) to inside:10.5.141.155/53 (10.5.141.155/53)
    6
    Oct 30 2013
    10:19:31
    172.16.12.17
    62458
    10.5.12.182
    389
    Built inbound UDP connection 123678190 for outside:172.16.12.17/62458 (172.16.12.17/62458)(LOCAL\jpk789) to inside:10.5.12.182/389 (10.5.12.182/389)
    6
    Oct 30 2013
    10:19:31
    172.16.12.17
    62455
    10.5.141.155
    53
    Built inbound UDP connection 123678189 for outside:172.16.12.17/62455 (172.16.12.17/62455)(LOCAL\jpk789) to inside:10.5.141.155/53 (10.5.141.155/53)
    6
    Oct 30 2013
    10:19:30
    IPSEC: An inbound remote access SA (SPI= 0x67ED9B28) between 80.21.182.245 and 75.12.34.56 (user= jpk789) has been created.
    6
    Oct 30 2013
    10:19:30
    IPSEC: An outbound remote access SA (SPI= 0x9C00507E) between 80.21.182.245 and 75.12.34.56 (user= jpk789) has been created.
    6
    Oct 30 2013
    10:19:30
    Group User IP <75.12.34.56> AnyConnect session resumed connection from IP <75.12.34.56>.
    5
    Oct 30 2013
    10:19:30
    Local:80.21.182.245:4500 Remote:75.12.34.56:62457 Username:jpk789 SA UP. Reason: New Connection Established
    4
    Oct 30 2013
    10:19:30
    Local:80.21.182.245:4500 Remote:75.12.34.56:62457 Username:jpk789 Warning Configuration Payload request for attribute 0x7041 could not be processed. Error: Unknown/Unsupported Attribute
    4
    Oct 30 2013
    10:19:30
    Local:80.21.182.245:4500 Remote:75.12.34.56:62457 Username:jpk789 Warning Configuration Payload request for attribute 0x7040 could not be processed. Error: Unknown/Unsupported Attribute
    4
    Oct 30 2013
    10:19:30
    Local:80.21.182.245:4500 Remote:75.12.34.56:62457 Username:jpk789 Warning Configuration Payload request for attribute 0x703f could not be processed. Error: Unknown/Unsupported Attribute
    4
    Oct 30 2013
    10:19:30
    Local:80.21.182.245:4500 Remote:75.12.34.56:62457 Username:jpk789 Warning Configuration Payload request for attribute 0x703e could not be processed. Error: Unknown/Unsupported Attribute
    4
    Oct 30 2013
    10:19:30
    Local:80.21.182.245:4500 Remote:75.12.34.56:62457 Username:jpk789 Warning Configuration Payload request for attribute 0x703d could not be processed. Error: Unknown/Unsupported Attribute
    4
    Oct 30 2013
    10:19:30
    Local:80.21.182.245:4500 Remote:75.12.34.56:62457 Username:jpk789 Warning Configuration Payload request for attribute 0x703c could not be processed. Error: Unknown/Unsupported Attribute
    4
    Oct 30 2013
    10:19:30
    Local:80.21.182.245:4500 Remote:75.12.34.56:62457 Username:jpk789 Warning Configuration Payload request for attribute 0x703b could not be processed. Error: Unknown/Unsupported Attribute
    6
    Oct 30 2013
    10:19:18
    172.16.12.17
    64287
    10.5.12.182
    445
    Teardown TCP connection 123673186 for outside:172.16.12.17/64287(LOCAL\jpk789) to inside:10.5.12.182/445 duration 0:02:01 bytes 14605 Tunnel has been torn down
    6
    Oct 30 2013
    10:19:17
    172.16.12.17
    64278
    10.5.141.144
    445
    Teardown TCP connection 123672510 for outside:172.16.12.17/64278(LOCAL\jpk789) to inside:10.5.141.144/445 duration 0:02:15 bytes 9237 Tunnel has been torn down
    6
    Oct 30 2013
    10:19:14
    172.16.12.17
    64273
    10.5.140.231
    445
    Teardown TCP connection 123672368 for outside:172.16.12.17/64273(LOCAL\jpk789) to inside:10.5.140.231/445 duration 0:02:16 bytes 7297 Tunnel has been torn down
    6
    Oct 30 2013
    10:19:04
    172.16.12.17
    54449
    10.5.141.155
    389
    Teardown UDP connection 123672541 for outside:172.16.12.17/54449(LOCAL\jpk789) to inside:10.5.141.155/389 duration 0:02:01 bytes 366
    6
    Oct 30 2013
    10:19:04
    172.16.12.17
    137
    10.5.141.155
    137
    Teardown UDP connection 123672421 for outside:172.16.12.17/137(LOCAL\jpk789) to inside:10.5.141.155/137 duration 0:02:04 bytes 486
    6
    Oct 30 2013
    10:19:00
    172.16.12.17
    138
    10.5.141.155
    138
    Teardown UDP connection 123672424 for outside:172.16.12.17/138(LOCAL\jpk789) to inside:10.5.141.155/138 duration 0:02:01 bytes 177
    6
    Oct 30 2013
    10:18:58
    172.16.12.17
    63666
    10.5.141.155
    389
    Teardown UDP connection 123672316 for outside:172.16.12.17/63666(LOCAL\jpk789) to inside:10.5.141.155/389 duration 0:02:01 bytes 366
    6
    Oct 30 2013
    10:18:58
    172.16.12.17
    53105
    10.5.141.155
    389
    Teardown UDP connection 123672300 for outside:172.16.12.17/53105(LOCAL\jpk789) to inside:10.5.141.155/389 duration 0:02:01 bytes 366
    6
    Oct 30 2013
    10:18:47
    172.16.12.17
    61715
    10.5.12.182
    389
    Teardown UDP connection 123671945 for outside:172.16.12.17/61715(LOCAL\jpk789) to inside:10.5.12.182/389 duration 0:02:01 bytes 312
    6
    Oct 30 2013
    10:18:43
    172.16.12.17
    54262
    10.5.12.179
    389
    Teardown UDP connection 123671801 for outside:172.16.12.17/54262(LOCAL\jpk789) to inside:10.5.12.179/389 duration 0:02:01 bytes 355
    6
    Oct 30 2013
    10:18:42
    172.16.12.17
    57911
    10.5.141.156
    389
    Teardown UDP connection 123671777 for outside:172.16.12.17/57911(LOCAL\jpk789) to inside:10.5.141.156/389 duration 0:02:01 bytes 365
    6
    Oct 30 2013
    10:18:40
    172.16.12.17
    123
    10.5.12.182
    123
    Teardown UDP connection 123671670 for outside:172.16.12.17/123(LOCAL\jpk789) to inside:10.5.12.182/123 duration 0:02:01 bytes 136
    6
    Oct 30 2013
    10:18:40
    172.16.12.17
    58107
    10.5.12.179
    389
    Teardown UDP connection 123671639 for outside:172.16.12.17/58107(LOCAL\jpk789) to inside:10.5.12.179/389 duration 0:02:01 bytes 356
    6
    Oct 30 2013
    10:18:40
    172.16.12.17
    58825
    10.5.12.179
    389
    Teardown UDP connection 123671633 for outside:172.16.12.17/58825(LOCAL\jpk789) to inside:10.5.12.179/389 duration 0:02:02 bytes 355
    6
    Oct 30 2013
    10:18:39
    172.16.12.17
    60424
    10.5.141.156
    389
    Teardown UDP connection 123671611 for outside:172.16.12.17/60424(LOCAL\jpk789) to inside:10.5.141.156/389 duration 0:02:01 bytes 365
    6
    Oct 30 2013
    10:18:38
    172.16.12.17
    56635
    10.5.141.156
    389
    Teardown UDP connection 123671566 for outside:172.16.12.17/56635(LOCAL\jpk789) to inside:10.5.141.156/389 duration 0:02:01 bytes 365
    6
    Oct 30 2013
    10:18:38
    172.16.12.17
    61204
    10.5.12.179
    389
    Teardown UDP connection 123671558 for outside:172.16.12.17/61204(LOCAL\jpk789) to inside:10.5.12.179/389 duration 0:02:01 bytes 355
    6
    Oct 30 2013
    10:18:38
    172.16.12.17
    50615
    10.5.12.179
    389
    Teardown UDP connection 123671545 for outside:172.16.12.17/50615(LOCAL\jpk789) to inside:10.5.12.179/389 duration 0:02:01 bytes 355
    6
    Oct 30 2013
    10:18:38
    172.16.12.17
    57940
    10.5.141.154
    389
    Teardown UDP connection 123671537 for outside:172.16.12.17/57940(LOCAL\jpk789) to inside:10.5.141.154/389 duration 0:02:02 bytes 313
    6
    Oct 30 2013
    10:18:38
    172.16.12.17
    57939
    10.5.141.156
    389
    Teardown UDP connection 123671536 for outside:172.16.12.17/57939(LOCAL\jpk789) to inside:10.5.141.156/389 duration 0:02:02 bytes 366
    6
    Oct 30 2013
    10:18:38
    172.16.12.17
    64495
    10.5.12.182
    389
    Teardown UDP connection 123671532 for outside:172.16.12.17/64495(LOCAL\jpk789) to inside:10.5.12.182/389 duration 0:02:02 bytes 356
    6
    Oct 30 2013
    10:18:37
    172.16.12.17
    62965
    10.5.12.182
    389
    Teardown UDP connection 123671521 for outside:172.16.12.17/62965(LOCAL\jpk789) to inside:10.5.12.182/389 duration 0:02:01 bytes 356
    6
    Oct 30 2013
    10:18:37
    172.16.12.17
    54994
    10.5.12.179
    389
    Teardown UDP connection 123671514 for outside:172.16.12.17/54994(LOCAL\jpk789) to inside:10.5.12.179/389 duration 0:02:01 bytes 356
    6
    Oct 30 2013
    10:18:37
    172.16.12.17
    54993
    10.5.12.179
    389
    Teardown UDP connection 123671513 for outside:172.16.12.17/54993(LOCAL\jpk789) to inside:10.5.12.179/389 duration 0:02:01 bytes 356
    6
    Oct 30 2013
    10:18:37
    172.16.12.17
    63390
    10.34.140.104
    389
    Teardown UDP connection 123671483 for outside:172.16.12.17/63390(LOCAL\jpk789) to inside:10.34.140.104/389 duration 0:02:01 bytes 385
    6
    Oct 30 2013
    10:18:37
    172.16.12.17
    63389
    10.33.140.104
    389
    Teardown UDP connection 123671482 for outside:172.16.12.17/63389(LOCAL\jpk789) to inside:10.33.140.104/389 duration 0:02:01 bytes 384
    6
    Oct 30 2013
    10:18:10
    IPSEC: An inbound remote access SA (SPI= 0x5650EE30) between 75.12.34.56 and 80.21.182.245 (user= jpk789) has been deleted.
    6
    Oct 30 2013
    10:18:10
    IPSEC: An outbound remote access SA (SPI= 0x42DBDD66) between 80.21.182.245 and 75.12.34.56 (user= jpk789) has been deleted.
    6
    Oct 30 2013
    10:18:10
    Group User IP <75.12.34.56> AnyConnect session lost connection. Waiting to resume.
    5
    Oct 30 2013
    10:18:10
    Local:80.21.182.245:4500 Remote:75.12.34.56:57103 Username:jpk789 SA DOWN. Reason: peer lost
    6
    Oct 30 2013
    10:17:42
    172.16.12.17
    64250
    10.5.141.186
    445
    Teardown TCP connection 123671908 for outside:172.16.12.17/64250(LOCAL\jpk789) to inside:10.5.141.186/445 duration 0:00:57 bytes 454851 TCP Reset-I
    6
    Oct 30 2013
    10:17:20
    172.16.12.17
    137
    172.16.13.255
    137
    Teardown UDP connection 123673268 for outside:172.16.12.17/137(LOCAL\jpk789) to outside:172.16.13.255/137 duration 0:00:00 bytes 0
    6
    Oct 30 2013
    10:17:19
    172.16.12.17
    137
    172.16.13.255
    137
    Teardown UDP connection 123673244 for outside:172.16.12.17/137(LOCAL\jpk789) to outside:172.16.13.255/137 duration 0:00:00 bytes 0
    6
    Oct 30 2013
    10:17:18
    172.16.12.17
    137
    172.16.13.255
    137
    Teardown UDP connection 123673218 for outside:172.16.12.17/137(LOCAL\jpk789) to outside:172.16.13.255/137 duration 0:00:00 bytes 0
    6
    Oct 30 2013
    10:16:36
    172.16.12.17
    63060
    10.5.141.155
    53
    Built inbound UDP connection 123671551 for outside:172.16.12.17/63060 (172.16.12.17/63060)(LOCAL\jpk789) to inside:10.5.141.155/53 (10.5.141.155/53)
    6
    Oct 30 2013
    10:16:36
    172.16.12.17
    63010
    10.5.12.182
    88
    Built inbound TCP connection 123671549 for outside:172.16.12.17/63010 (172.16.12.17/63010)(LOCAL\jpk789) to inside:10.5.12.182/88 (10.5.12.182/88)
    6
    Oct 30 2013
    10:16:36
    172.16.12.17
    63009
    10.5.12.182
    88
    Built inbound TCP connection 123671548 for outside:172.16.12.17/63009 (172.16.12.17/63009)(LOCAL\jpk789) to inside:10.5.12.182/88 (10.5.12.182/88)
    6
    Oct 30 2013
    10:16:36
    172.16.12.17
    63008
    10.5.141.156
    389
    Built inbound TCP connection 123671546 for outside:172.16.12.17/63008 (172.16.12.17/63008)(LOCAL\jpk789) to inside:10.5.141.156/389 (10.5.141.156/389)
    6
    Oct 30 2013
    10:16:36
    172.16.12.17
    50615
    10.5.12.179
    389
    Built inbound UDP connection 123671545 for outside:172.16.12.17/50615 (172.16.12.17/50615)(LOCAL\jpk789) to inside:10.5.12.179/389 (10.5.12.179/389)
    6
    Oct 30 2013
    10:16:36
    172.16.12.17
    63007
    10.5.12.182
    88
    Built inbound TCP connection 123671544 for outside:172.16.12.17/63007 (172.16.12.17/63007)(LOCAL\jpk789) to inside:10.5.12.182/88 (10.5.12.182/88)
    6
    Oct 30 2013
    10:16:36
    172.16.12.17
    55425
    10.5.141.155
    53
    Teardown UDP connection 123671487 for outside:172.16.12.17/55425(LOCAL\jpk789) to inside:10.5.141.155/53 duration 0:00:00 bytes 164
    6
    Oct 30 2013
    10:16:36
    172.16.12.17
    50614
    10.5.141.155
    53
    Built inbound UDP connection 123671543 for outside:172.16.12.17/50614 (172.16.12.17/50614)(LOCAL\jpk789) to inside:10.5.141.155/53 (10.5.141.155/53)
    6
    Oct 30 2013
    10:16:35
    172.16.12.17
    56263
    10.5.141.156
    53
    Built inbound UDP connection 123671461 for outside:172.16.12.17/56263 (172.16.12.17/56263)(LOCAL\jpk789) to inside:10.5.141.156/53 (10.5.141.156/53)
    6
    Oct 30 2013
    10:16:35
    172.16.12.17
    60708
    10.5.141.155
    53
    Built inbound UDP connection 123671460 for outside:172.16.12.17/60708 (172.16.12.17/60708)(LOCAL\jpk789) to inside:10.5.141.155/53 (10.5.141.155/53)
    6
    Oct 30 2013
    10:16:35
    172.16.12.17
    56982
    10.5.141.156
    53
    Built inbound UDP connection 123671459 for outside:172.16.12.17/56982 (172.16.12.17/56982)(LOCAL\jpk789) to inside:10.5.141.156/53 (10.5.141.156/53)
    6
    Oct 30 2013
    10:16:35
    172.16.12.17
    64548
    10.5.141.155
    53
    Built inbound UDP connection 123671458 for outside:172.16.12.17/64548 (172.16.12.17/64548)(LOCAL\jpk789) to inside:10.5.141.155/53 (10.5.141.155/53)
    6
    Oct 30 2013
    10:16:35
    172.16.12.17
    60827
    10.5.141.156
    53
    Built inbound UDP connection 123671457 for outside:172.16.12.17/60827 (172.16.12.17/60827)(LOCAL\jpk789) to inside:10.5.141.156/53 (10.5.141.156/53)
    6
    Oct 30 2013
    10:16:35
    172.16.12.17
    64207
    10.5.141.155
    53
    Built inbound UDP connection 123671453 for outside:172.16.12.17/64207 (172.16.12.17/64207)(LOCAL\jpk789) to inside:10.5.141.155/53 (10.5.141.155/53)
    6
    Oct 30 2013
    10:16:35
    172.16.12.17
    137
    172.16.13.255
    137
    Teardown UDP connection 123671443 for outside:172.16.12.17/137(LOCAL\jpk789) to outside:172.16.13.255/137 duration 0:00:00 bytes 0
    6
    Oct 30 2013
    10:16:35
    172.16.12.17
    137
    172.16.13.255
    137
    Teardown UDP connection 123671442 for outside:172.16.12.17/137(LOCAL\jpk789) to outside:172.16.13.255/137 duration 0:00:00 bytes 0
    6
    Oct 30 2013
    10:16:35
    172.16.12.17
    137
    172.16.13.255
    137
    Teardown UDP connection 123671441 for outside:172.16.12.17/137(LOCAL\jpk789) to outside:172.16.13.255/137 duration 0:00:00 bytes 0
    6
    Oct 30 2013
    10:16:34
    IPSEC: An inbound remote access SA (SPI= 0x5650EE30) between 80.21.182.245 and 75.12.34.56 (user= jpk789) has been created.
    6
    Oct 30 2013
    10:16:34
    IPSEC: An outbound remote access SA (SPI= 0x42DBDD66) between 80.21.182.245 and 75.12.34.56 (user= jpk789) has been created.
    5
    Oct 30 2013
    10:16:34
    Local:80.21.182.245:4500 Remote:75.12.34.56:57103 Username:jpk789 SA UP. Reason: New Connection Established
    4
    Oct 30 2013
    10:16:34
    Local:80.21.182.245:4500 Remote:75.12.34.56:57103 Username:jpk789 Warning Configuration Payload request for attribute 0x7041 could not be processed. Error: Unknown/Unsupported Attribute
    4
    Oct 30 2013
    10:16:34
    Local:80.21.182.245:4500 Remote:75.12.34.56:57103 Username:jpk789 Warning Configuration Payload request for attribute 0x7040 could not be processed. Error: Unknown/Unsupported Attribute
    4
    Oct 30 2013
    10:16:34
    Local:80.21.182.245:4500 Remote:75.12.34.56:57103 Username:jpk789 Warning Configuration Payload request for attribute 0x703f could not be processed. Error: Unknown/Unsupported Attribute
    4
    Oct 30 2013
    10:16:34
    Local:80.21.182.245:4500 Remote:75.12.34.56:57103 Username:jpk789 Warning Configuration Payload request for attribute 0x703e could not be processed. Error: Unknown/Unsupported Attribute
    4
    Oct 30 2013
    10:16:34
    Local:80.21.182.245:4500 Remote:75.12.34.56:57103 Username:jpk789 Warning Configuration Payload request for attribute 0x703d could not be processed. Error: Unknown/Unsupported Attribute
    4
    Oct 30 2013
    10:16:34
    Local:80.21.182.245:4500 Remote:75.12.34.56:57103 Username:jpk789 Warning Configuration Payload request for attribute 0x703c could not be processed. Error: Unknown/Unsupported Attribute
    4
    Oct 30 2013
    10:16:34
    Local:80.21.182.245:4500 Remote:75.12.34.56:57103 Username:jpk789 Warning Configuration Payload request for attribute 0x703b could not be processed. Error: Unknown/Unsupported Attribute
    6
    Oct 30 2013
    10:16:34
    Group User IP <75.12.34.56> AnyConnect parent session started.
    6
    Oct 30 2013
    10:16:34
    DAP: User jpk789, Addr 75.12.34.56, Connection AnyConnect: The following DAP records were selected for this connection: ContosoPolicy
    6
    Oct 30 2013
    10:16:34
    AAA transaction status ACCEPT : user = jpk789
    6
    Oct 30 2013
    10:16:34
    AAA retrieved default group policy (DfltGrpPolicy) for user = jpk789
    6
    Oct 30 2013
    10:16:34
    AAA retrieved user specific group policy (useGroup1s.Grp) for user = jpk789
    6
    Oct 30 2013
    10:16:34
    AAA group policy for user jpk789 is being set to useGroup1s.Grp;
    6
    Oct 30 2013
    10:16:34
    AAA user authentication Successful : server = 192.168.7.4 : user = jpk789

  • Mutilpool test connection and faiover

    Hi
    I have some verification regarding multipool connection in weblogic 8.1 sp5:
    I configure my mulitpool to work with the following pools:
    Pool1 Pool1_xa these pools are working with the primary instance.
    Pool2 Pool2_xa these pools are working with the secondary instance.
    Also I have the following configuration setting for all the pools:
    Test Frequency=60 sec
    Test Reserved Connections=true
    HealthCheckFrequencySeconds=240 sec
    Test table name :Dual
    Init capacity=max capacity=50
    I want to confirm the following points:
    1-In case I don’t have any transactions and primary instance is down,the weblogic will perform test each Test Frequency seconds to Pool1 and Pool1_xa ,is the test will be done to each connection in the pool and if the test for each connection is failed then weblogic try to create new one and if it failed then it will be removed from the pool. Is that right that this process will happen 50 times for Pool1 and Pool1_xa and after this the number of connection in both pools will be zero.?
    2- Suppose now I have just xa transacrions ,weblogic still test Pool1 each 60 seconds and because of Test Reserved Connections=true then each time an application ask for connection from the Pool1_xa it will be tested my question is if
    The test of one connection from Pool1_xa failed is the weblogic will try to create new one and if it failed it will remove it from the pool and try another connection from Pool1_xa until it test the 50 connection and remove all of them from the pool is then the weblogic perform failover operation.
    3-in case weblogic define Pool1_xa and Pool1 as bad or disable and routing all the connections to work with Pool2_xa then each HealthCheckFrequencySeconds the weblogic will test Pool1 and Pool1_xa,is the test will be try to create one connection
    In the pool or 50 connections in each pool?
    4-in case the primary instance come up and weblogic perform failback operation and all my transaction is xa then the webogic
    Will start to create new connection in Pool1 just according to request and we don’t have any requests because all my transaction are xa,so in case the listner1 shutdown and new non-xa transaction come then there is no option to create
    Connection in Pool1 is the weblogic will perform failover and start to work with Pool2 .
    Thanks in advance , I am appreciated each one that can help

    1 - yes.
    2 - no. One request will cloes 1 bad connection, and try once to replace it.
    3 - If a multipool disables a pool, then (for 81sp5) the multipool will try periodically
    to restore/reconnect the disabled pool. If a pool is disabled, that turns off it's
    testing inactive connections.
    4 - I don't understand...

  • Step by step guide to create a RFC connection and data transfer

    hi
    could i get a step by step guide to transfer/read data from SAP and legacy system using the concept of RFC.
    Regards
    Shiva

    hi
    Here are the steps.
    SM59 Transaction is used for Connection Establishment with Destination.
    When you establish a connection to a client through a destination, the HTTP connection must first be entered in transaction SM59.
    There are two types of HTTP connection in transaction SM59: Call transaction SM59 to display the different RFC destinations.
    The HTTP connection to the external server (connection type G) and the HTTP connection to the R/3 system (connection type H) are different only in their logon procedures. Their technical settings are the same. To display the technical settings, double-click a connection.
    You can choose from three tabs. Under Technical Settings, you can specify the following:
    · Target Host: The host to which you want to connect.
    Note that if you are using HTTPS as a protocol, you have to specify the full host name (with domain).
    · Service No.: Here, you specify the port. The destination host must of course be configured in such a way that the specified port “understands” the corresponding protocol (HTTP or HTTPS). See Parameterizing the ICM and the ICM Server Cache.
    · Path Prefix: At the time when the connection to this destination is initiated, the system inserts this sub-path before ~request_uri.
    · HTTP Proxy Options: Here, you can configure a proxy for HTTP connections: You can determine the proxy host and service, as well as users and passwords for the HTTP connection.
    The tab page Logon/Security will be different depending on whether you have selected a HTTP connection to an external server (connection type G) or a HTTP connection to an R/3 system (connection type H).
    HTTP Connection to an External Server (Connection Type G)
    Choose the connection you want to use. You can choose from the following logon procedures:
    · No Logon: The server program does not request a user or password.
    · Basic Authentication: The server program requests a user and password. Basic Authentication is a standard HTTP method for authenticating users. When a user logs on to the target system, he or she provides a user ID and password as authentication. This information is then sent in a header variable as a Base 64-encoded string to the server, through the HTTP connection.
    · SSL Client Certificate: If you use client certificates for authentication, the client authentication is performed through the Secure Sockets Layer (SSL) protocol. In this case, you must also select the SSL Client PSE of the SAP Web AS that contains the relevant certificate for the authentication. The target system must handle the issuer of the SAP Web AS client certificate as a trusted system.
    Under Logon/Security, you can also activate SSL to ensure that HTTPS is the protocol used (if you select SSL, make sure that the correct port is entered under Technical Settings). In the security transaction STRUST you can determine which type of SSL client is used. (Getting Started with the Trust Manager, Trust Manager).
    The field Authorization for Destination has been implemented as an additional level of protection. We recommend that you specify a user and password for the RFC destination.
    HTTP Connection to an R/3 System (Connection Type H)
    Here, you can specify more settings for authentication in the target system.
    The settings under Technical Settings and Special Options are the same as for connection type G. Under Logon/Security, the connection type H has additional logon procedures. As with external servers, you can activate and deactivate SSL and specify an authorization.
    Because the target system is an SAP system, you can set the client and language for the logon as well as the user name and password. If you check Current User, you have to specify the password.
    The following authentication procedures are available: Basic Authentication, SAP Standard, and SAP Trusted System, and SSL Client Certificate.
    · HTTP Basic Authentication: Logon with user and password
    · SAP Standard: This procedure uses an RFC logon procedure. The RFC Single Sign-On (SSO) procedure is valid within the one system. The same SAP user (client, language, and user name) is used for logon.
    · SAP Trusted System: Trusted RFC logon to a different SAP system (see Trusted System: Maintaining Trust Relationships Between SAP Systems)).
    · SSL Client Certificate: The SSL protocol enables you to use client certificates for the logon.
    Type G/H (SM59)
    Timeout:
    When sending a HTTP request, you can use this parameter to specify the maximum response time for the connection.
    HTTP Setting:
    You can use the HTTP version to specify the protocol version of the HTTP request (HTTP 1.0 or 1.1).
    Compression:
    You can use this option to activate the gzip compression for the request body. This can only be activated in HTTP Version 1.1.
    Compressed Response:
    In the standard setting, the SAP Web Application Server sends the Accept Encoding field as a header field with the value gzip, if the application server can handle this compression. This notifies the partner that the caller can handle gzip decompression, and that the partner can send compressed data. If you want to prevent a compressed response being sent, choose the option No.
    HTTP Cookie:
    You can use this option to control the way received cookies are handled.
    You can specify the following for cookies:
    · Accept them automatically
    · Reject them automatically
    · Accept or reject them in a prompt
    · Use a handler for the event IF_HTTP_CLIENT~EVENTKIND_HANDLE_COOKIE to process the cookies in the program.
    · In the next section, you can read about the parallelization of requests.
    Thanks,
    vijay
    reward points if helpful

Maybe you are looking for

  • How to use XML bean in 9.1 web service.

    hi, im trying to deploy a small web service with only one method in WLS 9.1. That method accepts an XMLbean as the input parameter and returns the same type of xmlBean as the output. how can i specify the name of corresponding .xsd file in the ant sc

  • How to review all process order for a month.

    Hi, I need advice to review all process order in a month in order to ensure Actual quantity usage for product (BOM) is correct without missing the quantity? Thank you. Br. Hadi

  • Why is my keyboard shortcut not working?

    Indesign keyboard shortcut for CUT (command+x) is not working. I'm on a Mac running OS 10.9.5. I need that puppy!

  • Subreport height

    Hello, I am using Crtstal Reports ver. 8.5. Many of my reports use subreports simply to calculate extra information & put them into variables to bring back into the main report. Therefore all groups in the subreport are supressed.My problem is that i

  • SSH- using JAVA

    Hello, currently my jave program using telnet jars to connect with my remote machine, is there any way i can use SSH to connect? If so can someoen suggest me with best optimized JAR file? Thanks alot!!! Cheers Shan