Pessimistic lock exception in a clustered environment

Hello,
i am using distributed Cache(DataCache) in a Cluster environment
(Weblogic 7.0 cluster).
I got one AdminServer and two ManagedServer running on the same machine.
The problem occurs when i am using optimistic locking. It seems to be that
the cache is not beeing synchronized, when i am successivly persisting
objects and therfore get optimistic lock exceptions.
When i am using pessimistic locking there is no problem.
Waht could be the reason for this, maybe the case the all instances
running on the same machine?
My properties for the cache are the following:
com.solarmetric.kodo.DataCacheClass=de.d2vodafone.webe.common.security.
authorization.jdo.Cache (Cache is a subclass of UDPCache)
com.solarmetric.kodo.DataCacheProperties=UseMulticast=true
MulticastGroup=224.0.0.123 (is unique in my environment)
In the log of my server i got the following messages:
ignoring update from localhost
####<12.02.2003 13:25:11 CET> <Error> <EJB> <pc120514> <ManagedServer2>
<ExecuteThread: '4' for queue: '__weblogic_admin_rmi_queue'> <kernel
identity> <> <010026> <Exception during commit of transaction
4:b57355e6636065c2: javax.jdo.JDOUserException: Errors were detected when
flushing to the data store. If using optimistic transactions, this could
indicate that lock violations were detected. The "getNestedExceptions"
method of this Exception will return the specific errors.
NestedThrowables:
javax.jdo.JDOUserException:
An instance was concurrently modified in another transaction (optimistic
lock #: 3).
FailedObject:de.webe.common.security.authorization.DomainImpl-5
     at
com.solarmetric.kodo.runtime.PersistenceManagerImpl.flush(PersistenceManagerImpl.java:551)
     at
com.solarmetric.kodo.ee.EEPersistenceManager.beforeCompletion(EEPersistenceManager.java:192)
     at
weblogic.transaction.internal.ServerSCInfo.callBeforeCompletions(ServerSCInfo.java:540)
     at
weblogic.transaction.internal.ServerSCInfo.startPrePrepareAndChain(ServerSCInfo.java:92)
     at
weblogic.transaction.internal.ServerTransactionImpl.localPrePrepareAndChain(ServerTransactionImpl.java:1044)
     at
weblogic.transaction.internal.ServerTransactionImpl.globalPrePrepare(ServerTransactionImpl.java:1581)
     at
weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:237)
     at
weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:208)
     at
weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:278)
     at
de.webe.common.security.authorization.jdo.AuthorizationServiceBean_8zrrq4_EOImpl.createUser(AuthorizationServiceBean_8zrrq4_EOImpl.java:170)
     at
de.webe.common.security.authorization.jdo.AuthorizationServiceBean_8zrrq4_EOImpl_WLSkel.invoke(Unknown
Source)
     at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
     at
weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:114)
     at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
     at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:785)
     at
weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:308)
     at
weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
     at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
NestedThrowablesStackTrace:
javax.jdo.JDOUserException: An instance was concurrently modified in
another transaction (optimistic lock #: 3).
FailedObject:de.d2vodafone.webe.common.security.authorization.DomainImpl-5
     at
com.solarmetric.kodo.impl.jdbc.ormapping.ClassMapping$1.afterUpdate(ClassMapping.java:611)
     at
com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executePreparedStatementNonBatch(SQLExecutionManagerImpl.java:563)
     at
com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executePreparedStatement(SQLExecutionManagerImpl.java:512)
     at
com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executeInternal(SQLExecutionManagerImpl.java:406)
     at
com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.flush(SQLExecutionManagerImpl.java:273)
     at
com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.flush(JDBCStoreManager.java:421)
     at
com.solarmetric.kodo.runtime.datacache.DataCacheStoreManager.flush(DataCacheStoreManager.java:296)
     at
com.solarmetric.kodo.runtime.PersistenceManagerImpl.flush(PersistenceManagerImpl.java:549)
     at
com.solarmetric.kodo.ee.EEPersistenceManager.beforeCompletion(EEPersistenceManager.java:192)
     at
weblogic.transaction.internal.ServerSCInfo.callBeforeCompletions(ServerSCInfo.java:540)
     at
weblogic.transaction.internal.ServerSCInfo.startPrePrepareAndChain(ServerSCInfo.java:92)
     at
weblogic.transaction.internal.ServerTransactionImpl.localPrePrepareAndChain(ServerTransactionImpl.java:1044)
     at
weblogic.transaction.internal.ServerTransactionImpl.globalPrePrepare(ServerTransactionImpl.java:1581)
     at
weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:237)
     at
weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:208)
     at
weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:278)
     at
de.d2vodafone.webe.common.security.authorization.jdo.AuthorizationServiceBean_8zrrq4_EOImpl.createUser(AuthorizationServiceBean_8zrrq4_EOImpl.java:170)
     at
de.d2vodafone.webe.common.security.authorization.jdo.AuthorizationServiceBean_8zrrq4_EOImpl_WLSkel.invoke(Unknown
Source)
     at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
     at
weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:114)
     at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
     at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:785)
     at
weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:308)
     at
weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
     at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
--------------- nested within: ------------------
weblogic.transaction.RollbackException: Unexpected exception in
beforeCompletion: sync=com.solarmetric.kodo.ee.EEPersistenceManager@472ddf
Errors were detected when flushing to the data store. If using optimistic
transactions, this could indicate that lock violations were detected. The
"getNestedExceptions" method of this Exception will return the specific
errors. - with nested exception:
[javax.jdo.JDOUserException: Errors were detected when flushing to the
data store.  If using optimistic transactions, this could indicate that
lock violations were detected.  The "getNestedExceptions" method of this
Exception will return the specific errors.
NestedThrowables:
javax.jdo.JDOUserException: An instance was concurrently modified in
another transaction (optimistic lock #: 3).
FailedObject:de.d2vodafone.webe.common.security.authorization.DomainImpl-5]
     at
weblogic.transaction.internal.TransactionImpl.throwRollbackException(TransactionImpl.java:1561)
     at
weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:284)
     at
weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:208)
     at
weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:278)
     at
de.webe.common.security.authorization.jdo.AuthorizationServiceBean_8zrrq4_EOImpl.createUser(AuthorizationServiceBean_8zrrq4_EOImpl.java:170)
     at
de.webe.common.security.authorization.jdo.AuthorizationServiceBean_8zrrq4_EOImpl_WLSkel.invoke(Unknown
Source)
     at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
     at
weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:114)
     at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
     at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:785)
     at
weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:308)
     at
weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
     at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
Thanks for your help
Best Regards
Orhan Keskin

Orhan-
Is this consistently reproducable, or a rare or one-time occurance? If
the former, it may be a configuration issue, and we will investigatge
along that path.
If it is a rare or one-time occurance, keep in mind that data cache
synchronization does not guarantee that you will be able to avoid
optimistic locking exceptions. Whenever using optimistic locking, you
always need to assume that someday, someone is going to violate that
lock, unless you place some sort of synchronization atop all the
database access (e.g., an EJB). It makes any application much more error
prone (especially since an OL exception is a RuntimeException, and
frequently people forget that it always needs to be checked for).
Anyway, if you provide us with some more details, we will be able to
investigate further.
In article <[email protected]>, Orhan Keskin wrote:
Hello,
i am using distributed Cache(DataCache) in a Cluster environment
(Weblogic 7.0 cluster).
I got one AdminServer and two ManagedServer running on the same machine.
The problem occurs when i am using optimistic locking. It seems to be that
the cache is not beeing synchronized, when i am successivly persisting
objects and therfore get optimistic lock exceptions.
When i am using pessimistic locking there is no problem.
Waht could be the reason for this, maybe the case the all instances
running on the same machine?
My properties for the cache are the following:
com.solarmetric.kodo.DataCacheClass=de.d2vodafone.webe.common.security.
authorization.jdo.Cache (Cache is a subclass of UDPCache)
com.solarmetric.kodo.DataCacheProperties=UseMulticast=true
MulticastGroup=224.0.0.123 (is unique in my environment)
In the log of my server i got the following messages:
ignoring update from localhost
####<12.02.2003 13:25:11 CET> <Error> <EJB> <pc120514> <ManagedServer2>
<ExecuteThread: '4' for queue: '__weblogic_admin_rmi_queue'> <kernel
identity> <> <010026> <Exception during commit of transaction
4:b57355e6636065c2: javax.jdo.JDOUserException: Errors were detected when
flushing to the data store. If using optimistic transactions, this could
indicate that lock violations were detected. The "getNestedExceptions"
method of this Exception will return the specific errors.
NestedThrowables:
javax.jdo.JDOUserException:
An instance was concurrently modified in another transaction (optimistic
lock #: 3).
FailedObject:de.webe.common.security.authorization.DomainImpl-5
     at
com.solarmetric.kodo.runtime.PersistenceManagerImpl.flush(PersistenceManagerImpl.java:551)
     at
com.solarmetric.kodo.ee.EEPersistenceManager.beforeCompletion(EEPersistenceManager.java:192)
     at
weblogic.transaction.internal.ServerSCInfo.callBeforeCompletions(ServerSCInfo.java:540)
     at
weblogic.transaction.internal.ServerSCInfo.startPrePrepareAndChain(ServerSCInfo.java:92)
     at
weblogic.transaction.internal.ServerTransactionImpl.localPrePrepareAndChain(ServerTransactionImpl.java:1044)
     at
weblogic.transaction.internal.ServerTransactionImpl.globalPrePrepare(ServerTransactionImpl.java:1581)
     at
weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:237)
     at
weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:208)
     at
weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:278)
     at
de.webe.common.security.authorization.jdo.AuthorizationServiceBean_8zrrq4_EOImpl.createUser(AuthorizationServiceBean_8zrrq4_EOImpl.java:170)
     at
de.webe.common.security.authorization.jdo.AuthorizationServiceBean_8zrrq4_EOImpl_WLSkel.invoke(Unknown
Source)
     at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
     at
weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:114)
     at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
     at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:785)
     at
weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:308)
     at
weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
     at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
NestedThrowablesStackTrace:
javax.jdo.JDOUserException: An instance was concurrently modified in
another transaction (optimistic lock #: 3).
FailedObject:de.d2vodafone.webe.common.security.authorization.DomainImpl-5
     at
com.solarmetric.kodo.impl.jdbc.ormapping.ClassMapping$1.afterUpdate(ClassMapping.java:611)
     at
com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executePreparedStatementNonBatch(SQLExecutionManagerImpl.java:563)
     at
com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executePreparedStatement(SQLExecutionManagerImpl.java:512)
     at
com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executeInternal(SQLExecutionManagerImpl.java:406)
     at
com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.flush(SQLExecutionManagerImpl.java:273)
     at
com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.flush(JDBCStoreManager.java:421)
     at
com.solarmetric.kodo.runtime.datacache.DataCacheStoreManager.flush(DataCacheStoreManager.java:296)
     at
com.solarmetric.kodo.runtime.PersistenceManagerImpl.flush(PersistenceManagerImpl.java:549)
     at
com.solarmetric.kodo.ee.EEPersistenceManager.beforeCompletion(EEPersistenceManager.java:192)
     at
weblogic.transaction.internal.ServerSCInfo.callBeforeCompletions(ServerSCInfo.java:540)
     at
weblogic.transaction.internal.ServerSCInfo.startPrePrepareAndChain(ServerSCInfo.java:92)
     at
weblogic.transaction.internal.ServerTransactionImpl.localPrePrepareAndChain(ServerTransactionImpl.java:1044)
     at
weblogic.transaction.internal.ServerTransactionImpl.globalPrePrepare(ServerTransactionImpl.java:1581)
     at
weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:237)
     at
weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:208)
     at
weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:278)
     at
de.d2vodafone.webe.common.security.authorization.jdo.AuthorizationServiceBean_8zrrq4_EOImpl.createUser(AuthorizationServiceBean_8zrrq4_EOImpl.java:170)
     at
de.d2vodafone.webe.common.security.authorization.jdo.AuthorizationServiceBean_8zrrq4_EOImpl_WLSkel.invoke(Unknown
Source)
     at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
     at
weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:114)
     at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
     at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:785)
     at
weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:308)
     at
weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
     at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
--------------- nested within: ------------------
weblogic.transaction.RollbackException: Unexpected exception in
beforeCompletion: sync=com.solarmetric.kodo.ee.EEPersistenceManager@472ddf
Errors were detected when flushing to the data store. If using optimistic
transactions, this could indicate that lock violations were detected. The
"getNestedExceptions" method of this Exception will return the specific
errors. - with nested exception:
[javax.jdo.JDOUserException: Errors were detected when flushing to the
data store.  If using optimistic transactions, this could indicate that
lock violations were detected.  The "getNestedExceptions" method of this
Exception will return the specific errors.
NestedThrowables:
javax.jdo.JDOUserException: An instance was concurrently modified in
another transaction (optimistic lock #: 3).
FailedObject:de.d2vodafone.webe.common.security.authorization.DomainImpl-5]
     at
weblogic.transaction.internal.TransactionImpl.throwRollbackException(TransactionImpl.java:1561)
     at
weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:284)
     at
weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:208)
     at
weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:278)
     at
de.webe.common.security.authorization.jdo.AuthorizationServiceBean_8zrrq4_EOImpl.createUser(AuthorizationServiceBean_8zrrq4_EOImpl.java:170)
     at
de.webe.common.security.authorization.jdo.AuthorizationServiceBean_8zrrq4_EOImpl_WLSkel.invoke(Unknown
Source)
     at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
     at
weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:114)
     at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
     at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:785)
     at
weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:308)
     at
weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
     at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
Thanks for your help
Best Regards
Orhan Keskin
Marc Prud'hommeaux [email protected]
SolarMetric Inc. http://www.solarmetric.com

Similar Messages

  • Pessimistic Locking

    In the Weblogic 5.1.0 documents it says that Weblogic employes pessimistic
              locking with Entity Beans. The implication being that there is one instance
              of the Entity Bean object for each row in the database.
              We have verified this to be the case when running a single instance of
              Weblogic. However when running a clustered instance we have seen an
              instance of a particular Entity Bean object show up on multiple instances on
              the cluster and it caused problems.
              Has anybody else experience this? I want to confirm that this is indeed the
              behavior to expect. This caveat is not talked about anywhere in the
              documentation. Basically pessimistic locking can be assumed for a single
              instance of weblogic however it doesnt really apply in a cluster because
              while there will be one instance of a particular primary key per instance
              that does not preclude multiple cluster instances from having the same
              primary key instance.
              If this is the case, what ways are there to maintain this behavior in a
              cluster?
              Thanks,
              Sergio
              

    This is the behaviour. There is a single instance of the bean per row only in
              one instance of WLS. You cannot avoid multiple instances of a database row in
              differenct servers in a cluster. In a clustered environment the one to write
              last is the winner in any case. If two or more instances try to write
              simultaneously then the database would still allow only one of them to write.
              Also try the following
              1. Set your transaction isolation level to serializable. This will have a total
              locking on the row and will lead to clients reading maybe stale data but not
              updating it simultaneously.
              2. Have a 'versioning' column. All the tables with the below problem will have a
              version column. Now, consider a row1 with the versionid as 1. Consider two
              instances A and B with beans a1 and b1 which have the versionid as 1. Now a1
              writes the data and updates versionid to 2. When b1 writes it has old versionid
              and so you could either allow it to write or not allow depending on your
              application.
              Shiva.
              Sergio Mendez wrote:
              > In the Weblogic 5.1.0 documents it says that Weblogic employes pessimistic
              > locking with Entity Beans. The implication being that there is one instance
              > of the Entity Bean object for each row in the database.
              >
              > We have verified this to be the case when running a single instance of
              > Weblogic. However when running a clustered instance we have seen an
              > instance of a particular Entity Bean object show up on multiple instances on
              > the cluster and it caused problems.
              >
              > Has anybody else experience this? I want to confirm that this is indeed the
              > behavior to expect. This caveat is not talked about anywhere in the
              > documentation. Basically pessimistic locking can be assumed for a single
              > instance of weblogic however it doesnt really apply in a cluster because
              > while there will be one instance of a particular primary key per instance
              > that does not preclude multiple cluster instances from having the same
              > primary key instance.
              >
              > If this is the case, what ways are there to maintain this behavior in a
              > cluster?
              >
              > Thanks,
              >
              > Sergio
              

  • Woking in clustered environment

    Are there any special concerns I should know about KODO JDO when running
    in a
    clustered environment???

    Can you post some details about the cluster? Do you mean you will be
    using EJBs, or that you will be running multiple separate intances of
    Kodo on different machines? If the latter, then you will either want to
    use pessimistic locking, or use some other mechanism to make sure that
    your cache dosen't have stale data.
    karim qazi <[email protected]> wrote:
    Are there any special concerns I should know about KODO JDO when running
    in a
    clustered environment???--
    Marc Prud'hommeaux [email protected]
    SolarMetric Inc. http://www.solarmetric.com
    Kodo Java Data Objects Full featured JDO: eliminate the SQL from your code

  • Issue in Synchronous File Read in clustered environment

    Hi,
    We are using clustered environment (4 managed servers) in Unix. In a OSB 11gR3 proxy service we are using Synchronous File Read. Randomly we are getting the below error. Let us know what could cause the issue. But the same code is working fine in a single stand-alone server configuration.
    Error Code : BEA-380002 , Error Reason : Invoke JCA outbound service failed with connection error, exception: com.bea.wli.sb.transports.jca.JCATransportException: oracle.tip.adapter.sa.api.JCABindingException: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/wsdlPathAndName [ SynchRead_ptt::SynchRead(Empty,body) ] - WSIF JCA Execute of operation 'SynchRead' failed due to: No Data to process.
    No Data to process.
    File /root/oracle/domains/osb/11.1.1.4/cluster/data/osb2/FolderName/Filename.txt to be processed was not found or not available or has no content ; nested exception is:
    BINDING.JCA-11007
    No Data to process.
    No Data to process.
    File /root/oracle/domains/osb/11.1.1.4/cluster/data/osb2/FolderNamer/Filename.txt to be processed was not found or not available or has no content Please make sure that the file exists in the specified directory.
    com.bea.wli.sb.transports.jca.JCATransportException: oracle.tip.adapter.sa.api.JCABindingException: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/wsdlPathAndName [ SynchRead_ptt::SynchRead(Empty,body) ] - WSIF JCA Execute of operation 'SynchRead' failed due to: No Data to process.
    No Data to process.
    File /root/oracle/domains/osb/11.1.1.4/cluster/data/osb2/FolderName/Filename.txt to be processed was not found or not available or has no content ; nested exception is:
    BINDING.JCA-11007
    No Data to process.
    No Data to process.
    File /root/oracle/domains/osb/11.1.1.4/cluster/data/osb2/FolderName/Filename.txt to be processed was not found or not available or has no content Please make sure that the file exists in the specified directory.
    at com.bea.wli.sb.transports.jca.binding.JCATransportOutboundOperationBindingServiceImpl.invoke(JCATransportOutboundOperationBindingServiceImpl.java:153)
    at com.bea.wli.sb.transports.jca.JCATransportEndpoint.sendRequestResponse(JCATransportEndpoint.java:209)
    at com.bea.wli.sb.transports.jca.JCATransportEndpoint.send(JCATransportEndpoint.java:170)
    at com.bea.wli.sb.transports.jca.JCATransportProvider.sendMessageAsync(JCATransportProvider.java:598)
    at sun.reflect.GeneratedMethodAccessor1115.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.wli.sb.transports.Util$1.invoke(Util.java:83)
    at $Proxy142.sendMessageAsync(Unknown Source)
    at com.bea.wli.sb.transports.LoadBalanceFailoverListener.sendMessageAsync(LoadBalanceFailoverListener.java:148)
    at com.bea.wli.sb.transports.LoadBalanceFailoverListener.sendMessageToServiceAsync(LoadBalanceFailoverListener.java:603)
    at com.bea.wli.sb.transports.LoadBalanceFailoverListener.sendMessageToService(LoadBalanceFailoverListener.java:538)
    at com.bea.wli.sb.transports.TransportManagerImpl.sendMessageToService(TransportManagerImpl.java:558)
    at com.bea.wli.sb.transports.TransportManagerImpl.sendMessageAsync(TransportManagerImpl.java:426)
    at com.bea.wli.sb.pipeline.PipelineContextImpl.doDispatch(PipelineContextImpl.java:670)
    at com.bea.wli.sb.pipeline.PipelineContextImpl.dispatchSync(PipelineContextImpl.java:551)
    at stages.transform.runtime.WsCalloutRuntimeStep$WsCalloutDispatcher.dispatch(WsCalloutRuntimeStep.java:1391)
    at stages.transform.runtime.WsCalloutRuntimeStep.processMessage(WsCalloutRuntimeStep.java:236)
    at com.bea.wli.sb.stages.StageMetadataImpl$WrapperRuntimeStep.processMessage(StageMetadataImpl.java:346)
    at com.bea.wli.sb.stages.impl.SequenceRuntimeStep.processMessage(SequenceRuntimeStep.java:33)
    at com.bea.wli.sb.pipeline.PipelineStage.processMessage(PipelineStage.java:84)
    at com.bea.wli.sb.pipeline.PipelineContextImpl.execute(PipelineContextImpl.java:1055)
    at com.bea.wli.sb.pipeline.Pipeline.processMessage(Pipeline.java:141)
    at com.bea.wli.sb.pipeline.PipelineContextImpl.execute(PipelineContextImpl.java:1055)
    at com.bea.wli.sb.pipeline.PipelineNode.doRequest(PipelineNode.java:55)
    at com.bea.wli.sb.pipeline.Node.processMessage(Node.java:67)
    at com.bea.wli.sb.pipeline.PipelineContextImpl.execute(PipelineContextImpl.java:1055)
    at com.bea.wli.sb.pipeline.Router.processMessage(Router.java:214)
    at com.bea.wli.sb.pipeline.MessageProcessor.processRequest(MessageProcessor.java:96)
    at com.bea.wli.sb.pipeline.RouterManager$1.run(RouterManager.java:593)
    at com.bea.wli.sb.pipeline.RouterManager$1.run(RouterManager.java:591)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
    at com.bea.wli.sb.security.WLSSecurityContextService.runAs(WLSSecurityContextService.java:55)
    at com.bea.wli.sb.pipeline.RouterManager.processMessage(RouterManager.java:590)
    at com.bea.wli.sb.transports.TransportManagerImpl.receiveMessage(TransportManagerImpl.java:375)
    at com.bea.wli.sb.transports.jca.binding.JCATransportInboundOperationBindingServiceImpl$4.run(JCATransportInboundOperationBindingServiceImpl.java:415)
    at com.bea.wli.sb.transports.jca.binding.JCATransportInboundOperationBindingServiceImpl$4.run(JCATransportInboundOperationBindingServiceImpl.java:413)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
    at weblogic.security.Security.runAs(Security.java:61)
    at com.bea.wli.sb.transports.jca.binding.JCATransportInboundOperationBindingServiceImpl.sendMessage(JCATransportInboundOperationBindingServiceImpl.java:413)
    at com.bea.wli.sb.transports.jca.binding.JCATransportInboundOperationBindingServiceImpl.invokeOneWay(JCATransportInboundOperationBindingServiceImpl.java:126)
    at com.bea.wli.sb.transports.jca.binding.JCAInboundRequestListener.post(JCAInboundRequestListener.java:39)
    at oracle.tip.adapter.sa.impl.inbound.JCAInboundListenerImpl.onMessage(JCAInboundListenerImpl.java:170)
    at oracle.tip.adapter.fw.jca.messageinflow.MessageEndpointImpl.onMessage(MessageEndpointImpl.java:502)
    at oracle.tip.adapter.file.inbound.Publisher.onMessageDelegate(Publisher.java:493)
    at oracle.tip.adapter.file.inbound.Publisher.publishMessage(Publisher.java:419)
    at oracle.tip.adapter.file.inbound.InboundTranslatorDelegate.xlate(InboundTranslatorDelegate.java:484)
    at oracle.tip.adapter.file.inbound.InboundTranslatorDelegate.doXlate(InboundTranslatorDelegate.java:121)
    at oracle.tip.adapter.file.inbound.ProcessorDelegate.doXlate(ProcessorDelegate.java:388)
    at oracle.tip.adapter.file.inbound.ProcessorDelegate.process(ProcessorDelegate.java:174)
    at oracle.tip.adapter.file.inbound.ProcessWork.run(ProcessWork.java:349)
    at weblogic.work.ContextWrap.run(ContextWrap.java:41)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Caused by: oracle.tip.adapter.sa.api.JCABindingException: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/wsdlPathAndName [ SynchRead_ptt::SynchRead(Empty,body) ] - WSIF JCA Execute of operation 'SynchRead' failed due to: No Data to process.
    No Data to process.
    File /root/oracle/domains/osb/11.1.1.4/cluster/data/osb2/FolderName/Filename.txt to be processed was not found or not available or has no content ; nested exception is:
    BINDING.JCA-11007
    No Data to process.
    No Data to process.
    File /root/oracle/domains/osb/11.1.1.4/cluster/data/osb2/FolderName/Filename.txt to be processed was not found or not available or has no content Please make sure that the file exists in the specified directory.
    at oracle.tip.adapter.sa.impl.JCABindingReferenceImpl.request(JCABindingReferenceImpl.java:259)
    at com.bea.wli.sb.transports.jca.binding.JCATransportOutboundOperationBindingServiceImpl.invoke(JCATransportOutboundOperationBindingServiceImpl.java:150)
    ... 56 more
    Caused by: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/wsdlPathAndName [ SynchRead_ptt::SynchRead(Empty,body) ] - WSIF JCA Execute of operation 'SynchRead' failed due to: No Data to process.
    No Data to process.
    File /root/oracle/domains/osb/11.1.1.4/cluster/data/osb2/FolderName/Filename.txt to be processed was not found or not available or has no content ; nested exception is:
    BINDING.JCA-11007
    No Data to process.
    No Data to process.
    File /root/oracle/domains/osb/11.1.1.4/cluster/data/osb2/FolderName/Filename.txt to be processed was not found or not available or has no content Please make sure that the file exists in the specified directory.
    at oracle.tip.adapter.sa.impl.fw.wsif.jca.WSIFOperation_JCA.performOperation(WSIFOperation_JCA.java:662)
    at oracle.tip.adapter.sa.impl.fw.wsif.jca.WSIFOperation_JCA.executeOperation(WSIFOperation_JCA.java:353)
    at oracle.tip.adapter.sa.impl.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:312)
    at oracle.tip.adapter.sa.impl.JCABindingReferenceImpl.invokeWsifProvider(JCABindingReferenceImpl.java:350)
    at oracle.tip.adapter.sa.impl.JCABindingReferenceImpl.request(JCABindingReferenceImpl.java:253)
    ... 57 more
    Caused by: BINDING.JCA-11007
    No Data to process.
    No Data to process.
    File /root/oracle/domains/osb/11.1.1.4/cluster/data/osb2/FolderName/Filename.txt to be processed was not found or not available or has no content Please make sure that the file exists in the specified directory.
    at oracle.tip.adapter.file.outbound.FileReader.readFile(FileReader.java:277)
    at oracle.tip.adapter.file.outbound.FileReader.executeFileRead(FileReader.java:181)
    at oracle.tip.adapter.file.outbound.FileInteraction.executeFileRead(FileInteraction.java:331)
    at oracle.tip.adapter.file.outbound.FileInteraction.execute(FileInteraction.java:395)
    at oracle.tip.adapter.sa.impl.fw.wsif.jca.WSIFOperation_JCA.performOperation(WSIFOperation_JCA.java:529)
    ... 61 more
    Edited by: 842347 on Jul 6, 2011 3:11 AM

    I face the same issue and I have given all permissions to the folder for OS user.
    Because of this error my server is not starting up . Is there any way I can undeploy this composite to get my server running.
    I cant do this from EM because SOA server is failing to start up.
    I have tried removing it from $DOMAIN_HOME/deployed-composites but still when i try restarting the soa server the composite comes up there. Do we need to delete the entry some where else too. Kindly help.
    Thanks,
    Sri.

  • Upgrade 10G to 11.1.1.5 in Clustered environment

    I successfully ran the upgrade assistant on a single server install. Both RPD and Catalog upgraded with no issues. I scaled out to a 2 node cluster and attempted the upgrade with the assistant again. This time it fails. Here is log entries:
    [2011-07-20T15:16:07.861-04:00] [Framework] [NOTIFICATION] [upgrade.Framework] Starting to upgrade components.
    [2011-07-20T15:16:07.861-04:00] [Framework] [NOTIFICATION] [upgrade.Framework] Retain Source Ports: false
    [2011-07-20T15:16:07.861-04:00] [Framework] [NOTIFICATION] [upgrade.Framework] Stop 10g Components: false
    [2011-07-20T15:16:07.861-04:00] [Framework] [NOTIFICATION] [upgrade.Framework] Start 11g Components: false
    [2011-07-20T15:16:07.876-04:00] [Framework] [NOTIFICATION] [upgrade.Framework] Managed server bi_server2 state is: RUNNING
    [2011-07-20T15:16:07.876-04:00] [Framework] [NOTIFICATION] [upgrade.Framework] Starting to upgrade BIEE.
    [2011-07-20T15:16:07.954-04:00] [Framework] [ERROR] [UPGAST-00138] [upgrade.Framework] upgrade exception occurred
    [2011-07-20T15:16:07.954-04:00] [Framework] [ERROR] [upgrade.Framework] Cause: An unexpected upgrade exception has occurred. Action: See the secondary error message for additional details.
    [2011-07-20T15:16:07.954-04:00] [Framework] [ERROR] [upgrade.Framework] UPGCMP-02712: Expected oracle.biee.admin:oracleInstance=*,type=BIDomain.OracleInstance,group=Service Oracle instance, found 2
    [2011-07-20T15:16:07.954-04:00] [Framework] [ERROR] [upgrade.Framework] UPGCMP-02712: Expected oracle.biee.admin:oracleInstance=*,type=BIDomain.OracleInstance,group=Service Oracle instance, found 2
    [2011-07-20T15:16:07.954-04:00] [Framework] [NOTIFICATION] [upgrade.Framework] Finished upgrading BIEE with status: Failure.
    [2011-07-20T15:16:07.954-04:00] [Framework] [NOTIFICATION] [upgrade.Framework] Finished upgrading components.
    [2011-07-20T15:16:07.954-04:00] [Framework] [NOTIFICATION] [upgrade.Framework] 0 components upgraded with success.
    [2011-07-20T15:16:07.954-04:00] [Framework] [NOTIFICATION] [upgrade.Framework] 1 components upgraded with failure.
    Question….can you use upgrade assistant in clustered environment?
    Thanks!

    You can only use the upgrade assistant to upgrade to a single instance Oracle BI 11g server. Typically this is a sandbox server environment or a VM that can simply be wiped clean after the upgrade. Then move the RPD,WebCat, etc. and AppRoles that get created during the upgrade process to a development server. The UA is looking for a single instance installation environment and that environment should be clean/fresh to avoid confusion and conflicts.
    Please award points if helpful.

  • Jms is not working properly in clustered environment

    Hi all,
    i am using the application server oc4j 10.1.3.1.0 enterprise edition . my application is standalone application(thick client)
    we are using the jndi.properties as follows ...
    java.naming.factory.initial=com.evermind.server.rmi.RMIInitialContextFactory
    java.naming.provider.url=opmn:ormi://172.16.1.38:6005:group/Security,opmn:ormi://172.16.1.38:6006:deceval_group/Security
    java.naming.security.principal=oc4juser
    java.naming.security.credentials=oc4juser
    oracle.j2ee.rmi.loadBalance=lookup
    we have two application servers in cluster topology as u can see above we have used one instance from one application server and one from another.
    i have seen that for every instance there one jms server. at runtime it is taking one application servers services
    say opmn port 6005 but when the application is connecting to the another application server say opmn 6006
    here jms is not working properly when i send message
    As we have clustered environment message must be propagated all the applications who use above jndi.properties.
    if i keep use only one application server opmn say
    java.naming.provider.url=opmn:ormi://172.16.1.38:6005:group/Security
    then its is working excellently
    please can u provide any solution ASAP
    thanks in advance
    Manu

    Dear Aravindth
      (.*?) means -> Select all contents from where you start and end,
    For Ex. <month>(.*?)</month> then Select for start <month> and end last </month> tag.
    (?) Match zero or one occurrences. Equivalent to {0,1}.
    (*) Match zero or more occurrences. Equivalent to {0,}.
    (+) Match one or more occurrences. Equivalent to {1,}.
    (.) (Dot). Match any character except newline or another Unicode line terminator.
    (.*?) means -> Zero or more times Match any character except newline or another Unicode line terminator + Match zero or more occurrences. Equivalent to {0,}.+Match zero or one occurrences. Equivalent to {0,1}.
    Could you please refere the below cite :
    http://www.javascriptkit.com/jsref/regexp.shtml
    Thanks & Regards
    T.R.Harihara SudhaN

  • Error when calling BPEL from ESB in clustered environment

    Hi
    We have recently installed SOA Suite in a clustered environment and have a serious issue.
    I am not able to call BPEL processes from my ESB services via WSIF (by using the 'browse target operation' in JDeveloper). The exception i get at runtime is this.
    "javax.naming.NameNotFoundException: ejb/collaxa/system/DeliveryBean not found"
    When I instead call the BPEL process via SOAP (by using a SOAP invocation service i JDeveloper) it works fine.
    Everything works fine in development environment which not are clustered.
    Has anyone any excperience from using ESB in a clustered environment?
    Regards
    Kalle Viklund

    Hi
    ESB and BPEL resides in the same oc4j-instance. Though, esb-rt and orabpel are different applications in that oc4j-instance. And the lookup 'ejb/collaxa/system/DeliveryBean' only exists in the orabpel application.
    In the ESB Console I already have the same setting for the 'BPELSystem' as for the 'Defaultsystem'.
    Cluster name: esb_prod
    Virtual host: prod1.sth.nu
    Port: 80
    Topic location: ESBTopics/Topics/ESB_JAVA_DEFERRED
    Connection factory location: OracleOJMS/XATCF
    regards
    Kalle

  • Error when connecting  to Oracle DataSource in a clustered environment

    Trying to connect to a ORACLE 9.1 datasource in a remote clustered environment. Getting the following exception. The code works fine when connecting to a local non-clustered server. Any help will be greatly appreciated.
    ---------------------Stack trace--------------
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Failed to generate
    class for weblogic.jdbc.rmi.internal.ConnectionImpl_weblogic_jdbc_wrapper_JTACon
    nection_weblogic_jdbc_wrapper_XAConnection_oracle_jdbc_driver_LogicalConnection_
    812_WLStub ] - with nested exception:
    [java.lang.reflect.InvocationTargetException - with target exception:
    [java.lang.ArrayIndexOutOfBoundsException: 164]]
    at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:8
    07)
    at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:7
    90)
    at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:79)
    at weblogic.rmi.utils.io.RemoteObjectReplacer.resolveObject(RemoteObject
    Replacer.java:237)
    at weblogic.rmi.internal.StubInfo.readResolve(StubInfo.java:142)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at java.io.ObjectStreamClass.invokeReadResolve(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
    at java.io.ObjectInputStream.readSerialData(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
    bjectInputStream.java:119)
    at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.ja
    va:112)
    at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:56)
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:159)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
    ef.java:285)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
    ef.java:244)
    at weblogic.jdbc.common.internal.RmiDataSource_812_WLStub.getConnection(
    Unknown Source)

    Trying to connect to a ORACLE 9.1 datasource in a remote clustered environment. Getting the following exception. The code works fine when connecting to a local non-clustered server. Any help will be greatly appreciated.
    ---------------------Stack trace--------------
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Failed to generate
    class for weblogic.jdbc.rmi.internal.ConnectionImpl_weblogic_jdbc_wrapper_JTACon
    nection_weblogic_jdbc_wrapper_XAConnection_oracle_jdbc_driver_LogicalConnection_
    812_WLStub ] - with nested exception:
    [java.lang.reflect.InvocationTargetException - with target exception:
    [java.lang.ArrayIndexOutOfBoundsException: 164]]
    at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:8
    07)
    at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:7
    90)
    at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:79)
    at weblogic.rmi.utils.io.RemoteObjectReplacer.resolveObject(RemoteObject
    Replacer.java:237)
    at weblogic.rmi.internal.StubInfo.readResolve(StubInfo.java:142)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at java.io.ObjectStreamClass.invokeReadResolve(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
    at java.io.ObjectInputStream.readSerialData(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
    bjectInputStream.java:119)
    at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.ja
    va:112)
    at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:56)
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:159)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
    ef.java:285)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
    ef.java:244)
    at weblogic.jdbc.common.internal.RmiDataSource_812_WLStub.getConnection(
    Unknown Source)

  • JNDI lookup in a clustered environment

              Hi,
              I have deployed my application on a clustered environment containing one admin
              server and two managed servers. The application is deployed on the managed servers.
              We have a DNS for these two managed servers.
              Currently, I am using t3:localhost:portnumber to get an initial context for JNDI
              lookup.
              But this will not provide perfect load balancing, since each server side component
              (EJB) will lookup for a needed component on the same server itself.
              Is there any way to get the Initial Context by using the DNS name?
              I tried t3:DNSName (Our DNS is created till the port number. e.g. http://DNS points
              to http://Managedserver1:portnumber and http://Managedserver2:portnumber
              It works, but is random. Sometimes, it gives me the following exception:
              Root exception is java.net.ConnectException: t3://DNS Name: Destination not
              reachable using: 't3'
              Could someone help me figure out a way to do this in a better way?
              Thanks,
              Aparna
              

              If you don't want or have money to use external load balancers you should be using
              the DNS entry as t3://server1:port,server2:port (you indicated you are using http.
              Also make sure your network elements between the client and the servers allow
              t3 protocol if there is packet filtering).
              S
              "Aparna" <[email protected]> wrote:
              >
              >Hi,
              >
              >I have deployed my application on a clustered environment containing
              >one admin
              >server and two managed servers. The application is deployed on the managed
              >servers.
              >We have a DNS for these two managed servers.
              >
              >Currently, I am using t3:localhost:portnumber to get an initial context
              >for JNDI
              >lookup.
              >But this will not provide perfect load balancing, since each server side
              >component
              >(EJB) will lookup for a needed component on the same server itself.
              >
              >Is there any way to get the Initial Context by using the DNS name?
              >
              >I tried t3:DNSName (Our DNS is created till the port number. e.g. http://DNS
              >points
              >to http://Managedserver1:portnumber and http://Managedserver2:portnumber
              >
              >It works, but is random. Sometimes, it gives me the following exception:
              > Root exception is java.net.ConnectException: t3://DNS Name: Destination
              > not
              >reachable using: 't3'
              >
              >Could someone help me figure out a way to do this in a better way?
              >
              >Thanks,
              >Aparna
              

  • Deployment of BPEL (and ESB) into Clustered Environment

    Hi All,
    I was after any view points / pointers into peoples experiences into deployment of BPEL and ESB into a clustered Oracle iAS SOA suite environment, where there are two or more nodes running BPEL, ESB etc with a corresponding OHS Loan Balancers. I have been unable to find any specific information with regards to recommendations into the best ways to deploy into a clustered environment.
    My viewpoints are there are two alternative approaches that could be used, both of which use ANT deployment scripts to register / deploy the various services.
    (1) Leaving all nodes up in the cluster and using a properties file to specify the relevant details, deploy to one environment allowing the load balancer to distribute the software to the respective nodes in the cluster
    (2) Deploy to each of the nodes in turn ensuring all other nodes in the cluster are taken down during each separate deployment
    What are other peoples thoughts / experiences / recommendations?
    Thanks in Advance
    Dave

    I don't believe there is any real information on deployments in a cluster in those documents.
    There is a note on metalink 457654.1 which says to apply to each node, while doing this shut down the other servers. From experience this worked for some configuration and not others.
    Can you say what cluster deployment you used, e.g. 10.1.3.1 or 10.1.3.3 with BPEL and ESB-RT in the same oc4j?
    Also what version are you on. If you are on 10.1.3.4 using the 10.1.3.3 deployment configuration you don't need to shutdown the nodes. And you can get away with just deploying to one node but make sure your <ORACLE_HOME>/bpel/system/config/collaxa-config.xml file has been set to cluster = true. Look at metalink note 746251.1.
    You can experience the notorious Process Lock Timeout Error when not shutdown cleanly but this is resolved using the best practice guide http://www.oracle.com/technology/tech/soa/soa-suite-best-practices/soa_best_practices_1013x_drop1.pdf
    ESB can be applied to just one node.
    Make sure that all your endpoints are pointing to the load balancer and not the actual node themselves.
    Also you connect string is different in your build.properties make sure of the following
    cluster = true
    oc4jinstancename = default_group
    local.oc4jinstancename = oc4j_soa (or the oc4j container with BPEL)
    esb
    deployer.uri=deployer:cluster:opmn://hostname:opmn port/default_group
    cheers
    James

  • Best way to handle pessimistic locking after dequeueing

    Dear all,
    we have a simple single-consumer scenario where multiple worker
    processes listen to one task queue. Every task is specific to exactly one business
    object that is pessimistically locked (SELECT FOR UPDATE) as soon as
    the AQ message has been fully parsed by a worker.
    Obviously, this may lead to unnecessary waiting. For example, when
    there are 5 successive messages belonging to the same business object,
    having them dequeued by 5 worker processes in parallel will result
    in 1 worker processing its task and 4 workers waiting.
    To me, this seems to be a common use case. How is it "usually"
    handled?
    Best regards,
    Michael

    Hi Paul!
    Thanks a lot for your answers that would completely solve
    my problem if I had another setting :-) . I try to clarify
    things by answering your questions (slightly reordered).
    I have to apologize in advance that I take my description to the
    next level of detail and hope not to deter you too much.
    3. Why is this a single consumer Q when you have multiple business
    areas hanging off it? It would seem an ideal candidate for having
    a subscriber per business area and then subsequently a worker per subscriber.Instead of a multi-subscriber setting, we employ multiple
    queues for different business areas and do some "queue routing"
    in our middle-ware. We wanted the different areas to become as
    detangled as possible (maybe that was unnecessary)
    2. Why lock the database object before processing the message?
    Cant you just rely on oracle's internal row locking mechanisms?
    Do you lock the whole table? If so why? First of all, we only lock one row that designates the "coarse-grained lock".
    I think you will understand this with the description below.
    We have one component that orchestrates our workflows and updates the
    states of our business objects. Let's assume, our basic "business object container"
    was called 'stream'. Different streams are guaranteed to be independent (and hence may be
    concurrently processed). So, a SELECT FOR UPDATE on a stream is enough
    to pessimistically lock the whole business object.
    Such a stream contains a complex graph of sub-objects. When the response
    of, e.g. a 'youtube syncer' component, comes in, the state of many
    objects in this graph may change (which we obviously want to do within a transaction).
    E.g. when all children of a node become READY,
    this node becomes READY which, in turn, may yield its
    parent READY.
    The problem with ordinary row-locking is now: responses for one stream tend to cluster,
    i.e. sometimes there are 100 responses in the queue for one stream, and as state
    updates often have large consequences for the whole state graph, blocking
    (or NOWAIT exceptions) are the rule not the exception, resulting in performance that
    is even worse than coarse-grained locking.
    1. Why have multiple processes DQ'ing from this Q?
    Is the message volume too great for one worker?Some tasks are long-running like transferring large files to remote hosts.
    With workers running on different hosts and networks we have nice
    load balancing.
    Even the short-running jobs take often >1s CPU time and batch
    jobs may generate several millions of AQ messages that we process
    in a cluster.
    Ok, if you reach this line, you certainly deserve my thankfulness :-)
    Best regards,
    Michael

  • Pessimistic lock problem with Sybase

    I am having a problem with performing pessimistic lock
    using Toplink and Sybase/HSQLDB.
    Code example:
    Object o = uow.readObject(...
    uow.refreshAndLock(o);
    //Change o
    uow.commitAndResume();
    ==========================
    I receive an Exception:
    Local Exception Stack:
    Exception [TOPLINK-4002] (OracleAS TopLink - 10g (9.0.4.2) (Build 040311)): oracle.toplink.exceptions.DatabaseException
    Exception Description: java.sql.SQLException: Unexpected token: FOR in statement [SELECT t0.CLASSIDENTIFIER, t0.DB_VERSION, t0.OBJECTID, t1.OBJECTID, t1.NAME, t1.DESCRIPTION, t1.TYPE, t2.OBJECTID, t2.MULTIPLE_SERVERS_POLICY, t2.OUTAGE_POLICY, t2.INCOMING_SCRIPT, t2.OUTGOING_SCRIPT, t2.OUTAGE_SCRIPT FROM ROOT t0, LDAPSERVICE t2, SERVICE t1 WHERE ((t0.OBJECTID = 252) AND (((t2.OBJECTID = t0.OBJECTID) AND (t1.OBJECTID = t0.OBJECTID)) AND (t0.CLASSIDENTIFIER = 'ORM.LdapService'))) [b]FOR UPDATE OF * NOWAIT]
    =================
    As you can see Toplink is trying to execute illegal statement : "....FOR UPDATE OF * NOWAIT"
    Do you have any idea what I'm doing wrong?

    Duplicate posting Pessimistic lock problem with Sybase

  • Need help in Pessimistic locking

    I am getting the Maiximum of primaryKey field using reportquery ..now i want to lock the object of the report query. i am doing as following
    ExpressionBuilder exp=new ExpressionBuilder();
    ReportQuery query=new ReportQuery();               
    query.setReferenceClass(Abc.class);               
    query.addAttribute("memberId",exp.get("memberId").maximum());
    query.acquireLocksWithoutWaiting();          
    Vector results = (Vector)uow.executeQuery(query);
    System.out.println("results---->"+results);
    now i increment the value of primary key as follows
    ReportQueryResult result1=(ReportQueryResult)results.get(0);          
    System.out.println("hello"+result1.getByIndex(0));
    Integer ctr=(Integer)result1.getByIndex(0);
    System.out.println("ctr:-"+ctr);
    int count=ctr.intValue();
    count=count+1;
    System.out.println("incrementedValue:-"+count)
    here i insert the new record to the database ;;
    the whole code work fine but when i trying to implement the pessimistic locking by
         query.acquireLocksWithoutWaiting();     
    it will gives the following error..Please help me ..thanks in Advance     
    ServerSession(28523022)--Connection(27817788)--SELECT MAX(MemberId) FROM Abc FOR UPDATE OF * NOWAIT
    Local Exception Stack:
    Exception [TOPLINK-4002] (OracleAS TopLink - 10g (9.0.4.5) (Build 040930)): oracle.toplink.exceptions.DatabaseException
    Exception Description: com.sybase.jdbc3.jdbc.SybSQLException: Incorrect syntax near '*'.
    Internal Exception: com.sybase.jdbc3.jdbc.SybSQLException: Incorrect syntax near '*'.
    Error Code: 102
         at oracle.toplink.exceptions.DatabaseException.sqlException(DatabaseException.java:227)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:698)
         at oracle.toplink.threetier.ServerSession.executeCall(ServerSession.java:506)
         at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(CallQueryMechanism.java:131)
         at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(CallQueryMechanism.java:115)
         at oracle.toplink.internal.queryframework.CallQueryMechanism.executeSelectCall(CallQueryMechanism.java:194)
         at oracle.toplink.internal.queryframework.CallQueryMechanism.selectAllRows(CallQueryMechanism.java:565)
         at oracle.toplink.internal.queryframework.ExpressionQueryMechanism.selectAllRowsFromTable(ExpressionQueryMechanism.java:733)
         at oracle.toplink.internal.queryframework.ExpressionQueryMechanism.selectAllReportQueryRows(ExpressionQueryMechanism.java:694)
         at oracle.toplink.queryframework.ReportQuery.execute(ReportQuery.java:442)
         at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:493)
         at oracle.toplink.queryframework.ReadQuery.execute(ReadQuery.java:125)
         at oracle.toplink.publicinterface.Session.internalExecuteQuery(Session.java:1958)
         at oracle.toplink.threetier.ServerSession.internalExecuteQuery(ServerSession.java:629)
         at oracle.toplink.threetier.ClientSession.internalExecuteQuery(ClientSession.java:392)
         at oracle.toplink.publicinterface.Session.executeQuery(Session.java:1086)
         at oracle.toplink.publicinterface.UnitOfWork.internalExecuteQuery(UnitOfWork.java:2189)
         at oracle.toplink.publicinterface.Session.executeQuery(Session.java:1086)
         at oracle.toplink.publicinterface.Session.executeQuery(Session.java:1038)
         at com.pearson.Test.Test.insert(Test.java:664)
         at com.pearson.Test.Test.main(Test.java:78)
    Caused by: com.sybase.jdbc3.jdbc.SybSQLException: Incorrect syntax near '*'.
         at com.sybase.jdbc3.tds.Tds.a(Unknown Source)
         at com.sybase.jdbc3.tds.Tds.nextResult(Unknown Source)
         at com.sybase.jdbc3.jdbc.ResultGetter.nextResult(Unknown Source)
         at com.sybase.jdbc3.jdbc.SybStatement.nextResult(Unknown Source)
         at com.sybase.jdbc3.jdbc.SybStatement.nextResult(Unknown Source)
         at com.sybase.jdbc3.jdbc.SybStatement.queryLoop(Unknown Source)
         at com.sybase.jdbc3.jdbc.SybStatement.executeQuery(Unknown Source)
         at com.sybase.jdbc3.jdbc.SybPreparedStatement.executeQuery(Unknown Source)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeSelect(DatabaseAccessor.java:802)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:651)
         ... 19 more

    I will explain you what I am trying to do:- we want to allocate the primary key to each new inserted row. suppose there are more than one user who are trying to insert the record in the database on the click of save button..how we can handle this situation by allocating them unique Id to each row..how we can genrate unique primary key to all the users who are inserting the new rows.
    Please help me how can i genrate unique primary key if more than one user inserting the data in the database. As you said use sequencing in toplink how can i use this?our database is sybase is it support Pessimistic locking or optimistic locking. need urgent help
    thanks in advance

  • Adminui - Error 500 in clustered environment

    Hi, i'm Alessandro from Italy, and i have a problem in a clustered environment. This is my topology:
    2 servers Red Hat AS4
    2 Websphere Application Server 6.1 (fix 23) + 1 Websphere Deployment Manager 6.1 (fix 23)
    2 Ibm Http Server (fix 23)
    On this cluster i've deployed LiveCycle ES 8.2.1 SP2 using the Configuration Manager without any problem (all steps validated etc etc)
    After the deploy i've re-generated the xml plugin, and set up the gemfire locator (on both nodes).
    Now i have this problem:
    If i try to connect to the adminui directly on a node, all works fine (http://hostname1:9080/adminui or http://hostname2:9080/adminui)
    If i try to connect to the adminui using the http server (http://hostname1/adminui or http://hostname2/adminui) i get an error 500 and this exception in the SystemOut.log:
    [5/20/09 10:13:30:188 CEST] 00000090 ServletWrappe I   SRVE0242I: [LiveCycle8] [/adminui] [FilterProxyServlet]: Initialization successful.
    [5/20/09 10:13:37:726 CEST] 0000008f ServletWrappe E   SRVE0068E: Uncaught exception thrown in one of the service methods of the servlet: Faces Servlet. Exception thrown : java.lang.NullPointerException
        at com.sun.faces.application.ViewHandlerImpl.convertViewId(ViewHandlerImpl.java:881)
        at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:142)
        at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
        at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:239)
        at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:118)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1143)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1084)
        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
        at com.adobe.framework.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:1 73)
        at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java: 190)
        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
        at com.adobe.idp.um.auth.filter.PortalSSOFilter.doFilter(PortalSSOFilter.java:113)
        at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java: 190)
        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
        at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
        at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:832)
        at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:679)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:587)
        at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481)
        at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.jav a:90)
        at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:748)
        at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1466)
        at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:119)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink .java:458)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink .java:387)
        at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.jav a:102)
        at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionLi stener.java:165)
        at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
        at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
        at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
        at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
        at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
        at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
    [5/20/09 10:13:37:736 CEST] 0000008f ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl initialize FFDC0009I: FFDC opened incident stream file /opt/IBM/WebSphere/AppServer/profiles/Custom01/logs/ffdc/STAMPE_TEST_1_0000008f_09.05.20_ 10.13.37_0.txt
    [5/20/09 10:13:37:777 CEST] 0000008f ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl resetIncidentStream FFDC0010I: FFDC closed incident stream file /opt/IBM/WebSphere/AppServer/profiles/Custom01/logs/ffdc/STAMPE_TEST_1_0000008f_09.05.20_ 10.13.37_0.txt
    [5/20/09 10:13:37:782 CEST] 0000008f ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl open FFDC0009I: FFDC opened incident stream file /opt/IBM/WebSphere/AppServer/profiles/Custom01/logs/ffdc/STAMPE_TEST_1_0000008f_09.05.20_ 10.13.37_1.txt
    [5/20/09 10:13:37:797 CEST] 0000008f ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl resetIncidentStream FFDC0010I: FFDC closed incident stream file /opt/IBM/WebSphere/AppServer/profiles/Custom01/logs/ffdc/STAMPE_TEST_1_0000008f_09.05.20_ 10.13.37_1.txt
    [5/20/09 10:13:37:801 CEST] 0000008f ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl open FFDC0009I: FFDC opened incident stream file /opt/IBM/WebSphere/AppServer/profiles/Custom01/logs/ffdc/STAMPE_TEST_1_0000008f_09.05.20_ 10.13.37_2.txt
    [5/20/09 10:13:37:834 CEST] 0000008f ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl resetIncidentStream FFDC0010I: FFDC closed incident stream file /opt/IBM/WebSphere/AppServer/profiles/Custom01/logs/ffdc/STAMPE_TEST_1_0000008f_09.05.20_ 10.13.37_2.txt
    [5/20/09 10:13:37:840 CEST] 0000008f ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl open FFDC0009I: FFDC opened incident stream file /opt/IBM/WebSphere/AppServer/profiles/Custom01/logs/ffdc/STAMPE_TEST_1_0000008f_09.05.20_ 10.13.37_3.txt
    [5/20/09 10:13:37:842 CEST] 0000008f ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl resetIncidentStream FFDC0010I: FFDC closed incident stream file /opt/IBM/WebSphere/AppServer/profiles/Custom01/logs/ffdc/STAMPE_TEST_1_0000008f_09.05.20_ 10.13.37_3.txt
    [5/20/09 10:13:37:844 CEST] 0000008f WebApp        E   [Servlet Error]-[Faces Servlet]: java.lang.NullPointerException
        at com.sun.faces.application.ViewHandlerImpl.convertViewId(ViewHandlerImpl.java:881)
        at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:142)
        at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
        at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:239)
        at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:118)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1143)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1084)
        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
        at com.adobe.framework.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:1 73)
        at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java: 190)
        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
        at com.adobe.idp.um.auth.filter.PortalSSOFilter.doFilter(PortalSSOFilter.java:113)
        at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java: 190)
        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
        at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
        at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:832)
        at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:679)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:587)
        at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481)
        at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.jav a:90)
        at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:748)
        at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1466)
        at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:119)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink .java:458)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink .java:387)
        at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.jav a:102)
        at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionLi stener.java:165)
        at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
        at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
        at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
        at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
        at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
        at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
    But if i turn off one node, all works fine....
    Any ideas?
    thanks in advance!
    Alessandro
    p.s. i've attched the ffdc related to the exception

    Hi, thank you for your answer. This is my plugin xml:
    <Config ASDisableNagle="false" AcceptAllContent="false" AppServerPortPreference="HostHeader" ChunkedResponse="false" FIPSEnable="false" HTTPMaxHeaders="300" IISDisableNagle="false" IISPluginPriority="High" IgnoreDNSFailures="false" RefreshInterval="60" ResponseChunkSize="64" SSLConsolidate="false" TrustedProxyEnable="false" VHostMatchingCompat="false">
    <Log LogLevel="Error" Name="/opt/IBM/WebSphere/Plugins/logs/http_plugin.log"/>
    <Property Name="ESIEnable" Value="true"/>
    <Property Name="ESIMaxCacheSize" Value="1024"/>
    <Property Name="ESIInvalidationMonitor" Value="false"/>
    <Property Name="ESIEnableToPassCookies" Value="false"/>
    <VirtualHostGroup Name="default_host">
    <VirtualHost Name="*:9080"/>
    <VirtualHost Name="*:80"/>
    <VirtualHost Name="*:9443"/>
    <VirtualHost Name="*:5060"/>
    <VirtualHost Name="*:5061"/>
    <VirtualHost Name="*:443"/>
    <VirtualHost Name="ls001s41-01-was.rmasede.grma.net:9080"/>
    <VirtualHost Name="ls001s41-01-was.rmasede.grma.net:80"/>
    <VirtualHost Name="ls001s41-01-was.rmasede.grma.net:9443"/>
    <VirtualHost Name="ls001s41-01-was.rmasede.grma.net:5060"/>
    <VirtualHost Name="ls001s41-01-was.rmasede.grma.net:5061"/>
    <VirtualHost Name="ls001s41-01-was.rmasede.grma.net:443"/>
    <VirtualHost Name="ls001s42-01-was.rmasede.grma.net:9082"/>
    <VirtualHost Name="ls001s42-01-was.rmasede.grma.net:80"/>
    <VirtualHost Name="ls001s42-01-was.rmasede.grma.net:9443"/>
    <VirtualHost Name="ls001s42-01-was.rmasede.grma.net:5060"/>
    <VirtualHost Name="ls001s42-01-was.rmasede.grma.net:5061"/>
    <VirtualHost Name="ls001s42-01-was.rmasede.grma.net:443"/>
    <VirtualHost Name="*:9082"/>
    </VirtualHostGroup>
    <ServerCluster CloneSeparatorChange="false" GetDWLMTable="false" IgnoreAffinityRequests="true" LoadBalance="Round Robin" Name="STAMPE_TEST_Cluster" PostBufferSize="64" PostSizeLimit="-1" RemoveSpecialHeaders="true" RetryInterval="60">
    <Server CloneID="1448fbbu8" ConnectTimeout="0" ExtendedHandshake="false" LoadBalanceWeight="2" MaxConnections="-1" Name="ls001s41-01-wasNode01_STAMPE_TEST_1" ServerIOTimeout="0" WaitForContinue="false">
    <Transport Hostname="ls001s41-01-was" Port="9080" Protocol="http"/>
    <Transport Hostname="ls001s41-01-was" Port="9443" Protocol="https">
    <Property Name="keyring" Value="/opt/IBM/WebSphere/Plugins/etc/plugin-key.kdb"/>
    <Property Name="stashfile" Value="/opt/IBM/WebSphere/Plugins/etc/plugin-key.sth"/>
    </Transport>
    </Server>
    <Server CloneID="145c74c57" ConnectTimeout="0" ExtendedHandshake="false" LoadBalanceWeight="2" MaxConnections="-1" Name="ls001s42-01-wasNode01_STAMPE_TEST_2" ServerIOTimeout="0" WaitForContinue="false">
    <Transport Hostname="ls001s42-01-was" Port="9082" Protocol="http"/>
    <Transport Hostname="ls001s42-01-was" Port="9443" Protocol="https">
    <Property Name="keyring" Value="/opt/IBM/WebSphere/Plugins/etc/plugin-key.kdb"/>
    <Property Name="stashfile" Value="/opt/IBM/WebSphere/Plugins/etc/plugin-key.sth"/>
    </Transport>
    </Server>
    <PrimaryServers>
    <Server Name="ls001s41-01-wasNode01_STAMPE_TEST_1"/>
    <Server Name="ls001s42-01-wasNode01_STAMPE_TEST_2"/>
    </PrimaryServers>
    </ServerCluster>
    <ServerCluster CloneSeparatorChange="false" GetDWLMTable="false" IgnoreAffinityRequests="true" LoadBalance="Round Robin" Name="STAMPEJMS_TEST_Cluster" PostBufferSize="64" PostSizeLimit="-1" RemoveSpecialHeaders="true" RetryInterval="60">
    <Server CloneID="144nk4i4n" ConnectTimeout="0" ExtendedHandshake="false" LoadBalanceWeight="2" MaxConnections="-1" Name="ls001s41-01-wasNode01_STAMPEJMS_TEST_1" ServerIOTimeout="0" WaitForContinue="false">
    <Transport Hostname="ls001s41-01-was" Port="9081" Protocol="http"/>
    <Transport Hostname="ls001s41-01-was" Port="9444" Protocol="https">
    <Property Name="keyring" Value="/opt/IBM/WebSphere/Plugins/etc/plugin-key.kdb"/>
    <Property Name="stashfile" Value="/opt/IBM/WebSphere/Plugins/etc/plugin-key.sth"/>
    </Transport>
    </Server>
    <Server CloneID="144nlgs3s" ConnectTimeout="0" ExtendedHandshake="false" LoadBalanceWeight="2" MaxConnections="-1" Name="ls001s42-01-wasNode01_STAMPEJMS_TEST_2" ServerIOTimeout="0" WaitForContinue="false">
    <Transport Hostname="ls001s42-01-was" Port="9081" Protocol="http"/>
    <Transport Hostname="ls001s42-01-was" Port="9444" Protocol="https">
    <Property Name="keyring" Value="/opt/IBM/WebSphere/Plugins/etc/plugin-key.kdb"/>
    <Property Name="stashfile" Value="/opt/IBM/WebSphere/Plugins/etc/plugin-key.sth"/>
    </Transport>
    </Server>
    <PrimaryServers>
    <Server Name="ls001s41-01-wasNode01_STAMPEJMS_TEST_1"/>
    <Server Name="ls001s42-01-wasNode01_STAMPEJMS_TEST_2"/>
    </PrimaryServers>
    </ServerCluster>
    <ServerCluster CloneSeparatorChange="false" GetDWLMTable="false" IgnoreAffinityRequests="true" LoadBalance="Round Robin" Name="dmgr_ls001s40-01-dmrCellManager01_Cluster" PostBufferSize="64" PostSizeLimit="-1" RemoveSpecialHeaders="true" RetryInterval="60">
    <Server ConnectTimeout="0" ExtendedHandshake="false" MaxConnections="-1" Name="ls001s40-01-dmrCellManager01_dmgr" ServerIOTimeout="0" WaitForContinue="false"/>
    <PrimaryServers>
    <Server Name="ls001s40-01-dmrCellManager01_dmgr"/>
    </PrimaryServers>
    </ServerCluster>
    <UriGroup Name="default_host_STAMPE_TEST_Cluster_URIs">
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/adobe-lcm-lcvalidator/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/datamanagerservice/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/adminui/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/AACComponent/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/TrustStoreComponent/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/um/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/umscheduler/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/umstartup/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/umcache/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/repository/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/repository/*.jsp"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/repository/*.jsv"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/repository/*.jsw"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/repository/j_security_check"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/repository/ibm_security_logout"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/workflow-scheduler/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/cache-controller/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/dsc/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/soap/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/adobe-bootstrapper/bootstrap"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/adobe-bootstrapper/success"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/adobe-bootstrapper/failure"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/adobe-bootstrapper/fetchTasks"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/adobe-bootstrapper/*.jsp"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/adobe-bootstrapper/*.jsv"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/adobe-bootstrapper/*.jsw"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/adobe-bootstrapper/j_security_check"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/adobe-bootstrapper/ibm_security_logout"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/adobe-lcm-bootstrapper/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/adobe-lcm-bootstrapper/*.jsp"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/adobe-lcm-bootstrapper/*.jsv"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/adobe-lcm-bootstrapper/*.jsw"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/adobe-lcm-bootstrapper/j_security_check"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/adobe-lcm-bootstrapper/ibm_security_logout"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/CoreSystemConfigComponent/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/DocumentManager/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/DocumentManager/*.jsp"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/DocumentManager/*.jsv"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/DocumentManager/*.jsw"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/DocumentManager/j_security_check"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/DocumentManager/ibm_security_logout"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/remoting/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/aac_admin_en/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/aac_admin_de/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/aac_admin_fr/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/aac_admin_ja/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/coresystem_admin_en/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/coresystem_admin_de/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/coresystem_admin_fr/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/coresystem_admin_ja/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/processmgmt_admin_en/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/processmgmt_admin_de/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/processmgmt_admin_fr/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/processmgmt_admin_ja/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/truststore_admin_en/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/truststore_admin_de/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/truststore_admin_fr/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/truststore_admin_ja/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/um_admin_en/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/um_admin_de/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/um_admin_fr/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/um_admin_ja/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/OutputService/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/OutputAdmin/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/adobe-forms-cacheService/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/XMLFMCallBackService/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/output_admin_en/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/output_admin_de/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/output_admin_fr/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/output_admin_ja/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/pdfg-adminui/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/pdfg-ipp/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/pdfg_admin_en/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/pdfg_admin_de/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/pdfg_admin_fr/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/pdfg_admin_ja/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/DctmConnectorAdmin/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/documentum_admin_en/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/documentum_admin_de/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/documentum_admin_fr/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/documentum_admin_ja/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/servicesnatives-2/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/xmlformservice/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/convertpdfservice/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/ps2pdf/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/openOffice2pdf/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/img2pdf/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/html2pdf/*"/>
    <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/colorProfile/*"/>
    </UriGroup>
    <Route ServerCluster="STAMPE_TEST_Cluster" UriGroup="default_host_STAMPE_TEST_Cluster_URIs" VirtualHostGroup="default_host"/>
    <RequestMetrics armEnabled="false" loggingEnabled="false" rmEnabled="false" traceLevel="HOPS">
    <filters enable="false" type="URI">
    <filterValues enable="false" value="/snoop"/>
    <filterValues enable="false" value="/hitcount"/>
    </filters>
    <filters enable="false" type="SOURCE_IP">
    <filterValues enable="false" value="255.255.255.255"/>
    <filterValues enable="false" value="254.254.254.254"/>
    </filters>
    <filters enable="false" type="JMS">
    <filterValues enable="false" value="destination=aaa"/>
    </filters>
    <filters enable="false" type="WEB_SERVICES">
    <filterValues enable="false" value="wsdlPort=aaa:op=bbb:nameSpace=ccc"/>
    </filters>
    </RequestMetrics>
    </Config>

  • MSTDC Error in clustered Environment in while interacting to DB Server from BizTalk server

    Hi All,
    After completing all my required Biz-talk Integrations (All were related to WCF-Custom Adapter : SQL Binding), I deployed the same to the client environment. But, the same thing which worked for me in my development environment was giving some issues in
    the deployed environment.
    The main difference was, at client environment - The DB Server was clustered environment and the interaction was through the load balancer.
    The first issue I encountered was, there was firewall blocking the access to the DB server from Biz Talk server. Then after enabling and opening the Port 1433, the issue got fixed and I was able to communicate with the DB Server.
    After this, I was getting the error related to MSTDC. For this to work properly, in my BizTalk application Configuration, if i set the property for "UseAmbientTransaction" as false under "SqlBinding" for the WCF-Custom Send Port, it is
    working as expected!
    But, I heard from our Architects that the best approach is to set the property as "TRUE" for "UseAmbientTransaction" property.
    So I set the property as true and done the below configurations.
    1. Enabling Network DTC using "dcomcnfg.exe"
    2. Adding and enabling Fire wall exception for DTC.
    Even after making the above changes, I was getting the same error. Then after cross checking with DTCPing and DCTester on both local and deployed copy, i got the below difference.
    1. Port 135 (RPC EPM) was opened in my local environment but it was having "Filtered" access at the deployed copy.
    So my question is, after opening the above port, will it solve the issue?
    Secondly, is there any security threat ter opening the above Port?
    Any quick suggestion/solution is highly appreciated.
    Thanks in Advance,
    Anand

    Hi Anand,
    Performing operations on SQL Server using BizTalk Server always involves two resources—the adapter connecting to SQL Server and the BizTalk Message Box residing on SQL Server. Hence, all operations performed using BizTalk Server are performed within the
    scope of an MSDTC transaction. So, to use the SQL adapter with BizTalk Server, you must always enable MSDTC. To enable the adapter to perform operations within the scope of an MSDTC transaction, you must configure MSDTC both on the computer running the SQL
    adapter and SQL Server. Also, you must add MSDTC to the exceptions list of Windows Firewall. That is the reason why recommend setting for this binding property is
    true; otherwise you might either experience message loss or duplicate messages, depending on whether you are performing inbound or outbound operations.
    Exception is for operations where the adapter client does not write any data to the SQL Server database, such as a Select operation, you might not want the additional overhead of performing the operations inside a transaction. In such cases,
    you can configure the SQL adapter to perform operations without a transactional context by setting the
    UseAmbientTransaction binding property to false.
    Just refer the link fo all the details:
    Configure MSDTC on SQL Server and Adapter Client
    Rachit
    Rachit
    Please mark as answer or vote as helpful if my reply does

Maybe you are looking for

  • Regarding Netting

    Hi, I am writing a custom program that will be attached to the transaction O3B7 (Netting Document Creation). This Output type will be attached to my program in NACE Transaction. I wish to know the standard program that I can refer to for designing my

  • Help using "WHERE col_N IN (?,?,?)" clause in SQLJ stmnt

    Hi All, I need assistance with a SQLJ SELECT statement that includes a 'WHERE <colN> IN (<value list>) clause with <value list> consisting of a set of host variables. Unfortunately, I can find NO reference to such a clause - spefically, a WHERE that

  • Selection of Filter Values for Query Execution -Only Values in InfoProvider

    I created a query based on an ODS. For the query charateristic 0NFCAT_CODE a variable was created by me. To the time of query execution F4 shows all values available in the charateristic, but only values available in the ODS are expected. The charact

  • I need some advanced help regarding AE and PPRO workflow

    Hi all. I have a problem and require a solution. I am creating a video that has cellphone/IM chat graphics, animated in After Effects. The problem is the layering. In PPRO, the layers are as follows on the timeline. Top layer: Chat Graphics Middle La

  • Keynote remote will not pair with ipad after update to 10.7.2-bluetooth issue or remote app issue?

    Noticed keynote remote will not pair after updating.  Bluetooth light flashes a couple of times then goes off.  I'm wondering if it's a bluetooth issue or a keynote remote app issue. Any suggestions or remedies? thanks