Time Out for a syncronus BPEL process
Hi All,
Need your help with regards to the following:
From a parent BPEL process we need to invoke a synchronous BPEL Process .This(child) could take anything between 20-30 seconds for processing a request.
Now the requirement is to time out the parent BPEL process if the BPEL process it is calling takes more than 25 seconds for processing a request.
If( time taken to get from partner process >25 sec)
time out
Else
Move along with the rest of the process.
Approaches considered:
1) Pick activity :
Fallout: the pick activity would work only when you are calling a asynchronous BPEL process.
2) Having the invoke activity in a scope and adding an on Alarm branch for the scope.
Fallout: The BPEL process manager executes all the other activities even after exceeding the maximum time the process is set for timing out.
That is if we consider the below scenario
If( time taken to get from partner process >25 sec)
time out
Else
move along with the rest of the process.
Instead of executing the if block( onAlarm) it is executing the else block.
Request you to suggests approaches to suffice this requirement.
Hi Sai Madalli,
An approach to it, would be use the syncMaxWaitTime with time that you need, its a configuration per domain.
http://download-west.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/events.htm#BABGGADB
http://download-east.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/app_trblshoot.htm
Regards
Similar Messages
-
Implement callback for an asynchronous BPEL process through Java
Hi ,
I am trying to implement a callback functionality for an asynchronous BPEL process through java.
I found the code in the samples folder of SOA suite installation folder .
<SOA_HOME>\bpel\samples\tutorials\102.InvokingProcesses\rmi\com\otn\samples\async.
There is an AsyncInstanceWatchdog object which registers a callback object(in this case an object of AsyncCallbackImpl class) for a specific CONVERSATION_ID.
String convId = GUIDGenerator.generateGUID();
nm.setProperty(NormalizedMessage.CONVERSATION_ID, convId);
deliveryService.post(proc_name, "initiate", nm);
// register the callback
watchdog.registerAsyncCallback(convId, testAsyncHandler,
locator.getDomainAuth());
// start it
watchdog.start();
There is no problem till the last line. But once the BPEL process returns the control( does a callback), it throws the following error.
May 25, 2010 3:36:06 PM oracle.j2ee.rmi.RMIMessages EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER
WARNING: Exception returned by remote server: {0}
ORABPEL-02118
Variant not found.
The variant "output" has not been declared in the current scope. All variants must be declared in the scope before being accessed.
Please check that the variant "output" is properly declared; otherwise there may be a misspelling in the name of the variant.
at com.collaxa.cube.engine.core.Scope.getVariantRV(Scope.java:535)
at com.collaxa.cube.engine.CubeEngine.getFieldValue(CubeEngine.java:2668)
For your reference the variable output is declared in the definition of AsyncCallbackImpl (which implements the IAsyncInstanceCallback interface).
There are 2 methods defined in the AsyncCallbackImpl class.
public void onResult(Map pResultMessage) {
System.out.println("called back! ");
Iterator iTest = pResultMessage.keySet().iterator();
while (iTest.hasNext()) {
String key = (String)iTest.next();
System.out.println(XMLHelper.elementToString((Element)pResultMessage.get(key)));
public String getVariableName() {
return "output";
The variable name is same given in the sample code. And the BPEL process returns variable named output. So the name should not be a problem.
Is it because of the scope of the variable.. If so, how do I change it.
Any help would be appreciated.
Edited by: saptarishi on May 25, 2010 4:24 PM
Edited by: saptarishi on May 26, 2010 4:45 PMSolved it by some googling .... :)
Here is the link:-
[http://abhishek-soablog.blogspot.com/2008/09/orabpel-02118.html]
or
[http://beautifulwaste.blogspot.com/2008/04/calling-asynchronous-bpel-process.html]
Both gives the same solution..
In pre 10.1.3.3 release the default behaviour were to keep global variable information along with the instance information for completed BPEL processes.
In 10.1.3.3 or later, this behaviour changed for performance reasons so that the default behaviour is now, not to keep any global variables for a BPEL process once the BPEL process has completed.
You can configure this behaviour on a process level basis by using the parameter keepGlobalVariables in the bpel.xml file for the specific process:
<BPELSuitcase>
<BPELProcess src=".........." id="...........">
<configurations>
<property name="keepGlobalVariables">true</property>
</configurations>
</BPELProcess>
</BPELSuitcase>
Thanks
saptarishi -
Set time out for single webservice in NWDS 2004s
hai,
i created webservices for session bean.created webservices are consumed by webdynpro client.
when the webdynpro client consuming it.if the response takes more than 60 sec the webservices are timed out so i want to set the time out for my webservice.
how can i set the time out (more 60 sec)for my webserive(for one service)?
thanks in advance.
Edited by: lakshman balanagu on Jun 24, 2008 11:20 AMHi
Try out this thing: I am not sure as I have not done this.
Go to this link: http://<server>:<j2ee port>/nwa --> System Management --> Overview --> Configuration
Application Resouce ( Select your resource from the list)
Check for "Connection Pooling".
Here you can check different options. -
Any java API to get the metadata for a deployed bpel process in soa/bpm11g?
Hi,
Just wonder if this is possible, that there is some existing java api to retrieve the metadata (containing activities, isSynchrous, version information etc) for a deployed bpel process? If not, is there any other way to achieve this goal ( or example query database table directly)?
I can only find this link for soa11g java api. I am able to invoke the bpel process using this API(direct binding) from java client.
http://download.oracle.com/docs/cd/E14571_01/apirefs.1111/e10659/index.html?overview-tree.html
Any help will be greatly appreciated.
Thanks,
BinWhat I find so far:
1. can get some process property values from ComponentInstance class, see its api.
http://download.oracle.com/docs/cd/E14571_01/apirefs.1111/e10659/oracle/soa/management/facade/ComponentInstance.html
Please refer http://blogs.oracle.com/soabpm/2009/07/soa_suite_11g_api_tricks_part.html of how to get the component instance (contain the bpel process) from a composite object
2. in dev_soainfra database schema, the CUBE_INSTANCE table contains most of soa bpel components information. The BPM_CUBE_PROCESS table seems to contain only the process defined in a bpm application. This sounds a little confused, if we want to develop a bpel application, should it be put in soa or bpm application and what is the difference?
Please feel free to correct any mistakes here. -
Is it possible to increase user exit time out for a partcular user
Dear Sir/madam,
Is it possible to increase the User Time Out for a Particular user ?
We do it through RZ10 and as per I know when it is changed, it is effected to all the users.
Pls advice.
Thanks,
PranabHi Pranab,
Not possible for a single user.
Regards
Ashok Dalai -
Can the time out for loading a page be extended for busy sites?
(Error:)
Problem loading page
The connection has timed out
The server at xxx.xxx is taking too long to respond.
* The site could be temporarily unavailable or too busy. Try again in a few moments.
Question: Is there a way to extend the time out for sites which are known to be busy?This issue appears under two different Mozzila "Questions". Both appear to have the same OUTDATED, INEFFECTIVE ANSWERS. A lot of us are on WIN7 now and still have erratic network speeds due to cable multiplexing -- but have been trained to leave the registry alone. Has not anyone solved this problem -- other than going notoriously unreliable FIOS ??
-
Time out error in deploying the process on weblogic server
Hi,
While deploying the BPEL process in Weblogic 10.3.4, following Exception comes on soa server console. I am sure this is not related to my application, but due to this I am not able to deploy the process on server, it lead with connection time out. I increased my connection time out also to 480.
Exception:
<Jun 8, 2011 10:15:37 PM SGT> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '0' for
queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "634" seconds working on the reques
t "weblogic.servlet.internal.ServletRequestImpl@22ea883[
POST /soa-infra/deployer HTTP/1.1
Connection: TE
TE: trailers, deflate, gzip, compress
User-Agent: Oracle HTTPClient Version 10h
Cookie2: $Version="1"
Accept-Encoding: gzip, x-gzip, compress, x-compress
ECID-Context:
Authorization: Basic d2VibG9naWM6d2VibG9naWMx
Cookie: JSESSIONID=JB0KNvdct5X1X5z02FhLDm8jVWjdvXB0chchkQhXpzQFGb9JlF8L!-186412258
Content-type: application/octet-stream
Content-Length: 14824044
]", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
Thread-16 "[STUCK] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'" <alive, in
native, suspended, priority=1, DAEMON> {
jrockit.net.SocketNativeIO.readBytesPinned(SocketNativeIO.java:???)
jrockit.net.SocketNativeIO.socketRead(SocketNativeIO.java:24)
java.net.SocketInputStream.socketRead0(SocketInputStream.java:???)
java.net.SocketInputStream.read(SocketInputStream.java:107)
oracle.net.nt.MetricsEnabledInputStream.read(TcpNTAdapter.java:707)
oracle.net.ns.Packet.receive(Packet.java:243)
oracle.net.ns.DataPacket.receive(DataPacket.java:106)
oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:309)
oracle.net.ns.NetInputStream.read(NetInputStream.java:254)
oracle.net.ns.NetInputStream.read(NetInputStream.java:187)
oracle.net.ns.NetInputStream.read(NetInputStream.java:92)
oracle.jdbc.driver.T4CSocketInputStreamWrapper.readNextPacket(T4CSocketInputStreamWrapper.java:1
22)
oracle.jdbc.driver.T4CSocketInputStreamWrapper.read(T4CSocketInputStreamWrapper.java:77)
oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1172)
oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1153)
oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:303)
oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:181)
oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:382)
oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:70)
oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1017)
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1330)
oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3722)
oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3869)
^-- Holding lock: oracle.jdbc.driver.T4CConnection@d2596e[thin lock]
oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.j
ava:1508)
weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:160)
oracle.mds.internal.persistence.db.platform.OracleDB.insertStreamedContent(OracleDB.java:890)
oracle.mds.internal.persistence.db.DBStreamedContentHelper.insertContent(DBStreamedContentHelper
.java:73)
oracle.mds.internal.persistence.db.BaseReposAccess.saveStreamedDocument(BaseReposAccess.java:173
0)
oracle.mds.internal.persistence.db.BaseReposAccess.saveStreamedDocument(BaseReposAccess.java:161
5)
oracle.mds.internal.persistence.db.BaseDBMSConnection.saveDocumentWithComment(BaseDBMSConnection
.java:1811)
oracle.mds.internal.persistence.db.BaseDBMSConnection.saveDocument(BaseDBMSConnection.java:1698)
oracle.mds.persistence.DelegatingMetadataStoreConnection.saveDocument(DelegatingMetadataStoreCon
nection.java:501)
oracle.mds.internal.persistence.BufferedMSConnection.saveDocument(BufferedMSConnection.java:545)
oracle.mds.persistence.PTransaction.saveStoreDocument(PTransaction.java:1314)
oracle.mds.persistence.PTransaction.saveDocument(PTransaction.java:824)
oracle.mds.internal.persistence.PersistenceUtils.createOrSaveDocument(PersistenceUtils.java:448)
oracle.mds.internal.transfer.InternalMDSTransfer.transferDocument(InternalMDSTransfer.java:3032)
oracle.mds.internal.transfer.InternalMDSTransfer.transferTransferUnit(InternalMDSTransfer.java:2
897)
oracle.mds.internal.transfer.InternalMDSTransfer.transferTransferUnitList(InternalMDSTransfer.ja
va:2828)
oracle.mds.internal.transfer.InternalMDSTransfer.execute(InternalMDSTransfer.java:1341)
oracle.mds.internal.transfer.InternalMDSTransfer.execute(InternalMDSTransfer.java:1263)
oracle.mds.internal.transfer.InternalMDSTransfer.transfer(InternalMDSTransfer.java:426)
oracle.integration.platform.blocks.deploy.servlet.MDSManager.transferCompositeData(MDSManager.ja
va:401)
oracle.integration.platform.blocks.deploy.servlet.BaseDeployProcessor.deploySARs(BaseDeployProce
ssor.java:116)
^-- Holding lock: java.lang.Object@6253346[thin lock]
oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeployWork(DeployProcessor.j
ava:122)
oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeployWork(DeployProcessor.j
ava:107)
oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeploy(DeployProcessor.java:
96)
oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.process(DeployProcessor.java:6
8)
oracle.integration.platform.blocks.deploy.servlet.CompositeDeployerServlet.doPostInsideLoggingSe
ssion(CompositeDeployerServlet.java:130)
oracle.integration.platform.blocks.deploy.servlet.CompositeDeployerServlet.doPost(CompositeDeplo
yerServlet.java:109)
javax.servlet.http.HttpServlet.service(HttpServlet.java:700)
javax.servlet.http.HttpServlet.service(HttpServlet.java:815)
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:22
4)
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:108)
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:206)
weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:55)
oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:299)
oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:405)
oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:98)
oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:55)
oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:299)
oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:405)
oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:98)
oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:55)
oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:86)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:55)
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletCont
ext.java:3687)
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.
java:3681)
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:308)
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:116)
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2213)
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2135)
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1420)
weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
weblogic.work.ExecuteThread.run(ExecuteThread.java:168)
>
<Jun 8, 2011 10:15:37 PM SGT> <Notice> <Diagnostics> <BEA-320068> <Watch 'StuckThread' with severity
'Notice' on server 'soa_server1' has triggered at Jun 8, 2011 10:15:37 PM SGT. Notification details
WatchRuleType: Log
WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'WL-000337') OR (MSGID = 'BEA-000337'))
WatchData: DATE = Jun 8, 2011 10:15:37 PM SGT SERVER = soa_server1 MESSAGE = [STUCK] ExecuteThread:
'0' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "634" seconds working on th
e request "weblogic.servlet.internal.ServletRequestImpl@22ea883[
POST /soa-infra/deployer HTTP/1.1
Connection: TE
TE: trailers, deflate, gzip, compress
User-Agent: Oracle HTTPClient Version 10h
Cookie2: $Version="1"
Accept-Encoding: gzip, x-gzip, compress, x-compress
ECID-Context:
Authorization: Basic d2VibG9naWM6d2VibG9naWMx
Cookie: JSESSIONID=JB0KNvdct5X1X5z02FhLDm8jVWjdvXB0chchkQhXpzQFGb9JlF8L!-186412258
Content-type: application/octet-stream
Content-Length: 14824044
]", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
Thread-16 "[STUCK] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'" <alive, in
native, suspended, priority=1, DAEMON> {
jrockit.net.SocketNativeIO.readBytesPinned(SocketNativeIO.java:???)
jrockit.net.SocketNativeIO.socketRead(SocketNativeIO.java:24)
java.net.SocketInputStream.socketRead0(SocketInputStream.java:???)
java.net.SocketInputStream.read(SocketInputStream.java:107)
oracle.net.nt.MetricsEnabledInputStream.read(TcpNTAdapter.java:707)
oracle.net.ns.Packet.receive(Packet.java:243)
oracle.net.ns.DataPacket.receive(DataPacket.java:106)
oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:309)
oracle.net.ns.NetInputStream.read(NetInputStream.java:254)
oracle.net.ns.NetInputStream.read(NetInputStream.java:187)
oracle.net.ns.NetInputStream.read(NetInputStream.java:92)
oracle.jdbc.driver.T4CSocketInputStreamWrapper.readNextPacket(T4CSocketInputStreamWrapper.java:1
22)
oracle.jdbc.driver.T4CSocketInputStreamWrapper.read(T4CSocketInputStreamWrapper.java:77)
oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1172)
oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1153)
oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:303)
oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:181)
oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:382)
oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:70)
oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1017)
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1330)
oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3722)
oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3869)
^-- Holding lock: oracle.jdbc.driver.T4CConnection@d2596e[thin lock]
oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.j
ava:1508)
weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:160)
oracle.mds.internal.persistence.db.platform.OracleDB.insertStreamedContent(OracleDB.java:890)
oracle.mds.internal.persistence.db.DBStreamedContentHelper.insertContent(DBStreamedContentHelper
.java:73)
oracle.mds.internal.persistence.db.BaseReposAccess.saveStreamedDocument(BaseReposAccess.java:173
0)
oracle.mds.internal.persistence.db.BaseReposAccess.saveStreamedDocument(BaseReposAccess.java:161
5)
oracle.mds.internal.persistence.db.BaseDBMSConnection.saveDocumentWithComment(BaseDBMSConnection
.java:1811)
oracle.mds.internal.persistence.db.BaseDBMSConnection.saveDocument(BaseDBMSConnection.java:1698)
oracle.mds.persistence.DelegatingMetadataStoreConnection.saveDocument(DelegatingMetadataStoreCon
nection.java:501)
oracle.mds.internal.persistence.BufferedMSConnection.saveDocument(BufferedMSConnection.java:545)
oracle.mds.persistence.PTransaction.saveStoreDocument(PTransaction.java:1314)
oracle.mds.persistence.PTransaction.saveDocument(PTransaction.java:824)
oracle.mds.internal.persistence.PersistenceUtils.createOrSaveDocument(PersistenceUtils.java:448)
oracle.mds.internal.transfer.InternalMDSTransfer.transferDocument(InternalMDSTransfer.java:3032)
oracle.mds.internal.transfer.InternalMDSTransfer.transferTransferUnit(InternalMDSTransfer.java:2
897)
oracle.mds.internal.transfer.InternalMDSTransfer.transferTransferUnitList(InternalMDSTransfer.ja
va:2828)
oracle.mds.internal.transfer.InternalMDSTransfer.execute(InternalMDSTransfer.java:1341)
oracle.mds.internal.transfer.InternalMDSTransfer.execute(InternalMDSTransfer.java:1263)
oracle.mds.internal.transfer.InternalMDSTransfer.transfer(InternalMDSTransfer.java:426)
oracle.integration.platform.blocks.deploy.servlet.MDSManager.transferCompositeData(MDSManager.ja
va:401)
oracle.integration.platform.blocks.deploy.servlet.BaseDeployProcessor.deploySARs(BaseDeployProce
ssor.java:116)
^-- Holding lock: java.lang.Object@6253346[thin lock]
oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeployWork(DeployProcessor.j
ava:122)
oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeployWork(DeployProcessor.j
ava:107)
oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeploy(DeployProcessor.java:
96)
oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.process(DeployProcessor.java:6
8)
oracle.integration.platform.blocks.deploy.servlet.CompositeDeployerServlet.doPostInsideLoggingSe
ssion(CompositeDeployerServlet.java:130)
oracle.integration.platform.blocks.deploy.servlet.CompositeDeployerServlet.doPost(CompositeDeplo
yerServlet.java:109)
javax.servlet.http.HttpServlet.service(HttpServlet.java:700)
javax.servlet.http.HttpServlet.service(HttpServlet.java:815)
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:22
4)
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:108)
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:206)
weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:55)
oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:299)
oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:405)
oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:98)
oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:55)
oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:299)
oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:405)
oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:98)
oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:55)
oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:86)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:55)
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletCont
ext.java:3687)
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.
java:3681)
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:308)
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:116)
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2213)
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2135)
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1420)
weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
weblogic.work.ExecuteThread.run(ExecuteThread.java:168)
SUBSYSTEM = WebLogicServer USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread:
'5' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-000337 MACHINE = urasvr140 TXID =
CONTEXTID = da07387a98ce3972:315f7e44:1306f8b304d:-8000-0000000000000338 TIMESTAMP = 1307542537412
WatchAlarmType: AutomaticReset
WatchAlarmResetPeriod: 600000
>
<Jun 8, 2011 10:15:39 PM SGT> <Alert> <Diagnostics> <BEA-320016> <Creating diagnostic image in d:\or
acle\middleware\user_projects\domains\test_domain\servers\soa_server1\adr\diag\ofm\test_domain\soa_s
erver1\incident\incdir_54 with a lockout minute period of 1.>
<Jun 8, 2011 10:16:37 PM SGT> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '0' for
queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "694" seconds working on the reques
t "weblogic.servlet.internal.ServletRequestImpl@22ea883[
POST /soa-infra/deployer HTTP/1.1
Connection: TE
TE: trailers, deflate, gzip, compress
User-Agent: Oracle HTTPClient Version 10h
Cookie2: $Version="1"
Accept-Encoding: gzip, x-gzip, compress, x-compress
ECID-Context:
Authorization: Basic d2VibG9naWM6d2VibG9naWMx
Cookie: JSESSIONID=JB0KNvdct5X1X5z02FhLDm8jVWjdvXB0chchkQhXpzQFGb9JlF8L!-186412258
Content-type: application/octet-stream
Content-Length: 14824044
]", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
Thread-16 "[STUCK] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'" <alive, in
native, suspended, priority=1, DAEMON> {
jrockit.net.SocketNativeIO.readBytesPinned(SocketNativeIO.java:???)
jrockit.net.SocketNativeIO.socketRead(SocketNativeIO.java:24)
java.net.SocketInputStream.socketRead0(SocketInputStream.java:???)
java.net.SocketInputStream.read(SocketInputStream.java:107)
oracle.net.nt.MetricsEnabledInputStream.read(TcpNTAdapter.java:707)
oracle.net.ns.Packet.receive(Packet.java:243)
oracle.net.ns.DataPacket.receive(DataPacket.java:106)
oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:309)
oracle.net.ns.NetInputStream.read(NetInputStream.java:254)
oracle.net.ns.NetInputStream.read(NetInputStream.java:187)
oracle.net.ns.NetInputStream.read(NetInputStream.java:92)
oracle.jdbc.driver.T4CSocketInputStreamWrapper.readNextPacket(T4CSocketInputStreamWrapper.java:1
22)
oracle.jdbc.driver.T4CSocketInputStreamWrapper.read(T4CSocketInputStreamWrapper.java:77)
oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1172)
oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1153)
oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:303)
oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:181)
oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:382)
oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:70)
oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1017)
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1330)
oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3722)
oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3869)
^-- Holding lock: oracle.jdbc.driver.T4CConnection@d2596e[thin lock]
oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.j
ava:1508)
weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:160)
oracle.mds.internal.persistence.db.platform.OracleDB.insertStreamedContent(OracleDB.java:890)
oracle.mds.internal.persistence.db.DBStreamedContentHelper.insertContent(DBStreamedContentHelper
.java:73)
oracle.mds.internal.persistence.db.BaseReposAccess.saveStreamedDocument(BaseReposAccess.java:173
0)
oracle.mds.internal.persistence.db.BaseReposAccess.saveStreamedDocument(BaseReposAccess.java:161
5)
oracle.mds.internal.persistence.db.BaseDBMSConnection.saveDocumentWithComment(BaseDBMSConnection
.java:1811)
oracle.mds.internal.persistence.db.BaseDBMSConnection.saveDocument(BaseDBMSConnection.java:1698)
oracle.mds.persistence.DelegatingMetadataStoreConnection.saveDocument(DelegatingMetadataStoreCon
nection.java:501)
oracle.mds.internal.persistence.BufferedMSConnection.saveDocument(BufferedMSConnection.java:545)
oracle.mds.persistence.PTransaction.saveStoreDocument(PTransaction.java:1314)
oracle.mds.persistence.PTransaction.saveDocument(PTransaction.java:824)
oracle.mds.internal.persistence.PersistenceUtils.createOrSaveDocument(PersistenceUtils.java:448)
oracle.mds.internal.transfer.InternalMDSTransfer.transferDocument(InternalMDSTransfer.java:3032)
oracle.mds.internal.transfer.InternalMDSTransfer.transferTransferUnit(InternalMDSTransfer.java:2
897)
oracle.mds.internal.transfer.InternalMDSTransfer.transferTransferUnitList(InternalMDSTransfer.ja
va:2828)
oracle.mds.internal.transfer.InternalMDSTransfer.execute(InternalMDSTransfer.java:1341)
oracle.mds.internal.transfer.InternalMDSTransfer.execute(InternalMDSTransfer.java:1263)
oracle.mds.internal.transfer.InternalMDSTransfer.transfer(InternalMDSTransfer.java:426)
oracle.integration.platform.blocks.deploy.servlet.MDSManager.transferCompositeData(MDSManager.ja
va:401)
oracle.integration.platform.blocks.deploy.servlet.BaseDeployProcessor.deploySARs(BaseDeployProce
ssor.java:116)
^-- Holding lock: java.lang.Object@6253346[thin lock]
oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeployWork(DeployProcessor.j
ava:122)
oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeployWork(DeployProcessor.j
ava:107)
oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeploy(DeployProcessor.java:
96)
oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.process(DeployProcessor.java:6
8)
oracle.integration.platform.blocks.deploy.servlet.CompositeDeployerServlet.doPostInsideLoggingSe
ssion(CompositeDeployerServlet.java:130)
oracle.integration.platform.blocks.deploy.servlet.CompositeDeployerServlet.doPost(CompositeDeplo
yerServlet.java:109)
javax.servlet.http.HttpServlet.service(HttpServlet.java:700)
javax.servlet.http.HttpServlet.service(HttpServlet.java:815)
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:22
4)
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:108)
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:206)
weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:55)
oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:299)
oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:405)
oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:98)
oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:55)
oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:299)
oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:405)
oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:98)
oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:55)
oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:86)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:55)
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletCont
ext.java:3687)
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.
java:3681)
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:308)
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:116)
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2213)
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2135)
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1420)
weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
weblogic.work.ExecuteThread.run(ExecuteThread.java:168)
>
Please tell me what this is related to and how can I overcome this problem.
Thanks..Have u tried by increasing the SyncMaxWaitTime property?
-chitrita -
How to Increase Time-out for Agent Manager in OLT?
Hello All,
When using the Oracle Load Testing Agent Manager for a load test of multiple scripts, I often get time-outs at the start of a test from OLT:
"Error communicating with.... : timed out after 60 seconds".
When I check the agentmanager.log file on the remote PC (Win XP SP2) I can see that the communcation started with the last line saying
"connected to server=......yaddayadda.... queue=queue/AgentPoolNotificationQueue"
which I assume means there was communication. And there were 2 attempts to start. After the first attempt, the entry:
05:31:09,513 WARN [AgentProcess] Forcibly terminating process 8041484 for agent agId1530_rndd49ae6b9-a8ec-4a0d-920d-16ee6c7021f4
The agentmanager_auth.log file show 2 lines near the start time of the test:
2010-05-12 05:30:18,606 INFO [URL:t3://..........au:8088;Requestor Username: oats;Requestor Key:f6272e33-9428-425b-b52d-c0363f863e43;Requestor Queue:queue/AgentPoolNotificationQueue;Request ID:36;Request:startagent;] - authentication successful
2010-05-12 05:31:09,513 INFO [URL:t3://..........au:8088;Requestor Username: oats;Requestor Key:f6272e33-9428-425b-b52d-c0363f863e43;Requestor Queue:queue/AgentPoolNotificationQueue;Request ID:42;Request:stopagent;] - authentication successful
Why was there a 'stopagent'?
The log from a successful agent show lines after the "Connected to server...." line ( "startAgent( pathTo.....a.. Launching agent.... Launched process 8792944 for agaent agId.....") so something appears to have not happened on the failed agents.
When starting a test immediately (rather than scheduling it as I want to for off-peak times) and the agents time out, I can stop it & restart test. Usually then they all start successfully.
Does anyone have any suggestions on failure reasons & possible solutions?
If there's nothing else that I might have missed, I'd like to trying increasing the time-out to say 120 or 500 seconds.
How can I do this?
Is there a way to get the agents to try starting again, or add a new vUser/script instance one the test is running?
Many thanks,
Neil
Edited by: Neil S on May 12, 2010 9:16 AMHi Ramesh,
I guess you need to increase the parameter "icm/keep_alive_timeout" value, it's default value is 60. please gothrough the link
http://help.sap.com/saphelp_webas630/helpdata/en/0b/1c7e7abbc311d5993a00508b6b8b11/content.htm
To increase this go to RZ10 and add this parameter in Instance profile and modify the value then restart the server to make the changes effective.
Regards,
Hari
PS: Point's are welcome -
Report server times out for 3 mb of excel
I'm using a report viewer control in our application and it is working fine while displaying data and exporting it in different format by clicking export button provided by the report viewer.
I have another page but there will be a normal asp button to generate same report. so i am using report viewer control and calling the public method .Render exposed by the report viewer.
byte[] bytes = rptViewver.ServerReport.Render("Excel", deviceInfo, out mimeType, out encoding, out extension, out streamids, out warnings);
this time i am getting below exception.
Exception :System.Net.WebException: The request failed with HTTP status 504: Connection Timed Out.
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.SqlServer.ReportingServices2005.Execution.ReportExecutionService.Render(String Format, String DeviceInfo, String& Extension, String& MimeType, String& Encoding, Warning[]& Warnings, String[]& StreamIds)
at Microsoft.SqlServer.ReportingServices2005.Execution.RSExecutionConnection.Render(String Format, String DeviceInfo, String& Extension, String& MimeType, String& Encoding, Warning[]& Warnings, String[]& StreamIds)
at Microsoft.Reporting.WebForms.ServerReport.Render(String format, String deviceInfo, String& mimeType, String& encoding, String& fileNameExtension, String[]& streams, Warning[]& warnings)
at Reports_GenerateReport.DisplayReport(Boolean IsExport) in f:\Sunil\View Reports\Login\Reports\GenerateReport.aspx.cs:line 1702
My doubt is like, why it is getting time outs while leveraging same report viewer control internally.
any suggestions to get rid of this?Hi sGudivada,
Please check the ExecutionLog view in ReportServer database to learn more information about the report. The report server execution log contains information about the reports that execute on the server or on multiple servers in a scale-out deployment. For
example:
TimeDataRetrieval fields. Record number of milliseconds spent retrieving the data.
TimeProcessing fields. Record number of milliseconds spent processing the report.
TimeRendering fields. Record number of milliseconds spent rendering the report.
Reference:
http://msdn.microsoft.com/en-us/library/ms159110(v=sql.110).aspx
There is an article about troubleshooting report performance, you can refer to it.
http://msdn.microsoft.com/en-us/library/bb522806(v=sql.105).aspx
Thanks,
Alisa Tang
Alisa Tang
TechNet Community Support -
How can I set the query time out for SQVI?
Hi,
I want to setup query timeout for a particular user so that if his query (created in SQVI) takes more then say 10 minutes, it automatically times out and system resources are freed up.
How can I do this for a specific user? Also in case I cant do it for a specific user how can I do it for all users?
Thanks for readingHello Srikrishna,
The SQVI is a dialog transaction and henc its governed by your system's rdisp/max_wprun_time parameter.
A dialog work process has a run-time limit that prevents users from interactively running especially long reports. By default, the system terminates any dialog work process in a transaction that exceeds 300 seconds. Although the value of the limit can be changed (in the system profile parameter rdisp/max_wprun_time), that limit is always in effect for dialog work processes. No such limit applies to background work processes.
Regards,
Siddhesh -
XML format for input to BPEL process from client stub
Hi,
I have deployed SyncHelloWorld BPEL process as given in the tutorial in the BPEL Server. It is working fine. Now I am trying to invoke the process by creating a Java client stub . I created a stub using the Web-services wizard by specifying the WSDL of the BPEL. Now I want to know how to pass some string through XML document to the BPEL process.
I am using this code in the main method of the stub., but the value is not being passed to the BPEL nodes correctly. the output I am getting is "Hello "
and not "Hello XYZString". I think I am not able to form the XML document to pass as input correctly. Can anyone help.
Can anyone please help :
public static void main(String[] args)
try
SyncHelloWorldStub stub = new SyncHelloWorldStub();
// Add your own code here.
// Create an empty XML document
XMLDocument doc = new XMLDocument();
// Create an element
Element body = doc.createElementNS("http://xmlns.oracle.com/SyncHelloWorld", "SyncHelloWorldProcessRequest");
// Create the inner element
Element ip = doc.createElementNS("http://xmlns.oracle.com/SyncHelloWorld", "input");
// Create a text node
Text text = doc.createTextNode("input");
// Set the input parameter
text.setNodeValue("XYZString");
ip.appendChild(text);
body.appendChild(ip);
// Call the process. It returns a vector
Vector v = stub.process(body);
// Code to print the returned xml.
System.out.println("Received " + v.size() + " element");
Enumeration enum = v.elements();
// Walk through the vector and print out contents
while (enum.hasMoreElements())
Object o = enum.nextElement();
System.out.println("Returned a " + o.getClass().getName());
//If it is an element, print it out
if (o instanceof XMLElement)
XMLElement xml = (XMLElement)o;
xml.print(System.out);
else
System.out.println("Returned " + o.toString());
System.out.println("After executing : "+v.toString());
catch(Exception ex)
ex.printStackTrace();
This is the code for WSDL file for the BPEL process.
<?xml version="1.0" encoding="UTF-8" ?>
- <definitions name="SyncHelloWorld" targetNamespace="http://xmlns.oracle.com/SyncHelloWorld" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://xmlns.oracle.com/SyncHelloWorld" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:client="http://xmlns.oracle.com/SyncHelloWorld">
- <types>
- <schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://xmlns.oracle.com/SyncHelloWorld" xmlns="http://www.w3.org/2001/XMLSchema">
- <element name="SyncHelloWorldProcessRequest">
- <complexType>
- <sequence>
<element name="input" type="string" />
</sequence>
</complexType>
</element>
- <element name="SyncHelloWorldProcessResponse">
- <complexType>
- <sequence>
<element name="result" type="string" />
</sequence>
</complexType>
</element>
</schema>
</types>
- <message name="SyncHelloWorldRequestMessage">
<part name="payload" element="tns:SyncHelloWorldProcessRequest" />
</message>
- <message name="SyncHelloWorldResponseMessage">
<part name="payload" element="tns:SyncHelloWorldProcessResponse" />
</message>
- <portType name="SyncHelloWorld">
- <operation name="process">
<input message="tns:SyncHelloWorldRequestMessage" />
<output message="tns:SyncHelloWorldResponseMessage" />
</operation>
</portType>
- <binding name="SyncHelloWorldBinding" type="tns:SyncHelloWorld">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
- <operation name="process">
<soap:operation style="document" soapAction="process" />
- <input>
<soap:body use="literal" />
</input>
- <output>
<soap:body use="literal" />
</output>
</operation>
</binding>
- <service name="SyncHelloWorld">
- <port name="SyncHelloWorldPort" binding="tns:SyncHelloWorldBinding">
<soap:address location="http://cisoidd001.corporate.ge.com:5843/orabpel/default/SyncHelloWorld/v2006_06_19__40924" />
</port>
</service>
- <plnk:partnerLinkType name="SyncHelloWorld">
- <plnk:role name="SyncHelloWorldProvider">
<plnk:portType name="tns:SyncHelloWorld" />
</plnk:role>
</plnk:partnerLinkType>
</definitions>
Also, while running the BPEL process from console, we can give the input as html or string. Can anyone give the me xml format of the input.
Any help would be highly appreciated.
Thanks,
DebojyotyYour last question shows that you might have solved this by now.
The xml document you are composing in java might not exactly be the xml input bpel excepts. The way to compare is first initiate a process by posting an html message, using the initiate tab for your process in the BPEL console. Check the box "Save as default input" before you send the html request.
Then again do an initiate from the BPEL console and select "XML Source" instead of "HTML Form". You will see the xml message you just have sent as html.
You might also want to test your java program with one of the many free soap clients available on the internet.
HTH,
Ruerd
http://www.numericalexample.com -
Extend the notification time out for SSHR approval requests
Hi,
I want to extend the due date (Approval notification time out) of SSHR notification approval from 3 to 5. But I could not able to found any attribute having 3 days (4320 minutes). In hrssa workflow, I have found the constant value 525600 for attribute HR_APPROVER_NTF_TIMEOUT_ATTR (Approver Notification timeout in Minutes).
Please help out how to change value of notification time out?
Regards,
UmarHi Kashif / Hassnain
I follow the given steps in suggested notes and did required changes for five days. It gives following errors while saving the workflow.
Note: It is the first time; I am doing modification in workflow. Please guide, is there any prerequisite which I need to follow before doing changes in workflow?
Errors:*
382: Design Validation generated 12 warning(s). You may save invalid definitions but they should not be used in running process.
354: 'SAVE' validation failed for activity 'HRSSA/HR_SAVE_FOR_LATER_OTHER_NTF'.
351: Notification activity's message must have a respond attribute named 'RESULT' with lookup type 'HR_V5_ALL_RESPONSES'.
354: 'SAVE' validation failed for activity 'HRSSA/HR_SAVE_FOR_LATER'.
351: Notification activity's message must have a respond attribute named 'RESULT' with lookup type 'HR_V5_ALL_RESPONSES'.
354: 'SAVE' validation failed for activity 'HRSSA/HR_NOTIFY_RFC_OTHER_NTF'.
351: Notification activity's message must have a respond attribute named 'RESULT' with lookup type 'HR_V5_ALL_RESPONSES'.
354: 'SAVE' validation failed for activity 'HRSSA/HR_NOTIFY_RFC_INITIATOR_NTF'.
351: Notification activity's message must have a respond attribute named 'RESULT' with lookup type 'HR_V5_ALL_RESPONSES'.
354: 'SAVE' validation failed for activity 'HRSSA/HR_NOTFY_APPROVER_NTF'.
351: Notification activity's message must have a respond attribute named 'RESULT' with lookup type 'HR_V5_ALL_RESPONSES'.
354: 'SAVE' validation failed for activity 'HRSSA/HR_INITIATOR_SFL_NTF'.
351: Notification activity's message must have a respond attribute named 'RESULT' with lookup type 'HR_V5_ALL_RESPONSES'.
354: 'SAVE' validation failed for activity 'HRSSA/HR_INITIATOR_RFC_NTF'.
351: Notification activity's message must have a respond attribute named 'RESULT' with lookup type 'HR_V5_ALL_RESPONSES'.
354: 'SAVE' validation failed for activity 'HRSSA/HR_APPROVER_SFL_NTF'.
351: Notification activity's message must have a respond attribute named 'RESULT' with lookup type 'HR_V5_ALL_RESPONSES'.
354: 'SAVE' validation failed for activity 'HRSSA/HR_APPROVER_RFC_NTF'.
351: Notification activity's message must have a respond attribute named 'RESULT' with lookup type 'HR_V5_ALL_RESPONSES'.
354: 'SAVE' validation failed for activity 'HRSSA/HR_APPROVER_NTF'.
351: Notification activity's message must have a respond attribute named 'RESULT' with lookup type 'HR_V5_ALL_RESPONSES'.
354: 'SAVE' validation failed for activity 'HRSSA/HR_APPRAISAL_REJECTED_PRC'.
362: Validation failed for child activity 'HRSSA/HR_NTF_FINAL_REJ_EMP_V4_NTF'.
383: Notification activity must be assigned a performer when used in a process.
328: 'SAVE' validation failed for message 'HRSSA/HR_APPRAISAL_MACHANGE_MGR_MSG'.
401: Could not find token 'APPRAISEE_NAME' among message attributes -
Session Time Out For UNLOGGED IN USER During Search -pls help SIR!
Hi,
The problem lies in searchresultscontroller.java/searchcontroller.java file under search/web/handler of an application that supports educational note sharing.
The problem is that -
When I search with query strings in different fields(as you will find in the above mentioned java files)..the keywords in resourcedto and get some files as search results.
Then I click on one of the file from within the search result and visit the file.
Here if I m logged in as an user, and the session time out is set to 1 minute in the web.xml file of the web folder not the admin folder then when I hit the BACK TO SEARCH button it easily goes back to the previous search result page along with the queries string that I had input previously.
The problem is that when I m NOT LOGGED in as an user, and I've performed a search with queries and other dropdowns in the search panel, I get the search result page, I visit the file by clicking on one of them but when I hit the BACK TO SEARCH button I don't see the previous search result page from where I had navigated to view the file.
Please suggest on what changes shall I make in the code so that even if I m not logged in as an user, I get back to the search result page on hitting the BACK TO SEARCH button from the file view page.Sir I m herein pasting the code of the searchresultscontroller.java file, but please feel free to ask for anyother file whose code you might want to see.SEARCHRESULTSCONTROLLER.JAVA FILE CONTENT-
package com.mgh.sps.search.web.handler;
import java.util.Map;
import java.util.regex.Pattern;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.log4j.Logger;
import org.springframework.validation.BindException;
import org.springframework.validation.Errors;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.SimpleFormController;
import com.mgh.sps.search.business.facade.Search;
import com.mgh.sps.common.dto.ResourceDTO;
import com.mgh.sps.common.util.SessionAttributeKey;
import com.mgh.sps.common.util.SessionManager;
import com.mgh.sps.fileusage.web.constants.FileUsageWebConstants;
public class SearchResultsController extends SimpleFormController {
* SearchResults Controller
* @author Muralikrishna.s
* @Codedondate DD-MM-YY=26-07-07
* @Usecase/s associated =UC504
private static final Logger logger = Logger
.getLogger(SearchResultsController.class.getName());
private final static String REG_EXP = "^[A-Za-z0-9]*$";
private final static Pattern EMAIL_PATTERN_REG = Pattern.compile(REG_EXP);
* Spring framework method used to hold reference data
* @param request
* HttpServletRequest
* @param command
* Object
* @param arg2
* Errors
* @return Map
* @throws Exception
@Override
protected Map referenceData(HttpServletRequest request, Object command,
Errors errors) throws Exception {
logger.debug("SearchResultsController.referenceData() method entered:"
+ request + "," + command + "," + errors);
SessionManager.setSessionAttribute(SessionAttributeKey.tabIndex,
FileUsageWebConstants.TAB_SEARCH, request);
Search search = (Search) super.getWebApplicationContext().getBean(
"searchfacade");
ResourceDTO resourceDto = (ResourceDTO) command;
String[] allValues = new String[7];
if (null != (String[]) SessionManager.getSessionAttribute(
SessionAttributeKey.allValues, request)) {
allValues = (String[]) SessionManager.getSessionAttribute(
SessionAttributeKey.allValues, request);
resourceDto.setKeywords(allValues[0]);
resourceDto.setCountry(allValues[1]);
resourceDto.setUniversityName(allValues[2]);
resourceDto.setSubjectArea(allValues[3]);
resourceDto.setQualification(allValues[4]);
resourceDto.setYearLevel(allValues[5]);
resourceDto.setSpecificType(allValues[6]);
logger.debug("%%%%%%%%%%%%%%%%%qualification%%%%%%%%%%%%%%%"
+ resourceDto.getQualification());
String flag = (String) request.getParameter("id");
resourceDto.setFlag(flag);
logger.debug("SearchResultsController.referenceData() method exited:");
return search.retrieveReferenceData(resourceDto);
* Spring framework method used to hold OnSubmit
* @param request
* HttpServletRequest
* @param response
* HttpServletResponse
* @param command
* Object
* @param arg3
* BindException
* @return ModelAndView
* @throws Exception
@Override
protected ModelAndView onSubmit(HttpServletRequest request,
HttpServletResponse response, Object command, BindException errors)
throws Exception {
SessionManager.cleanup(request);
logger.debug("SearchResultsController.onSubmit() method entered:"
+ request + "," + command + "," + response + "," + errors);
Search search = (Search) super.getWebApplicationContext().getBean(
"searchfacade");
Map dynamic = (Map) getServletContext().getAttribute("config");
ResourceDTO resourceDto = (ResourceDTO) command;
SessionManager.removeSessionAttribute(SessionAttributeKey.allValues,
request);
//changed by sreelatha on sep21
//resourceDto.setKeywords(request.getParameter("keywords"));
//String key = request.getParameter("keywords");
//logger.debug("&&&&&&&&&&&&& key &&&&&&&&&&&&" + key);
String keywords = (request.getParameter("keywords"));
if(null!=keywords) {
keywords = keywords.trim();
resourceDto.setKeywords(keywords);
// changes end
resourceDto.setUniversityName(request.getParameter("universityName"));
resourceDto.setSubjectArea(request.getParameter("subjectArea"));
resourceDto.setCountry(request.getParameter("country"));
resourceDto.setQualification(request.getParameter("qualification"));
resourceDto.setYearLevel(request.getParameter("yearLevel"));
resourceDto.setSpecificType(request.getParameter("specificType"));
String[] allValues = new String[7];
//changed by sreelatha on sep21
//allValues[0] = request.getParameter("keywords");
allValues[0] = resourceDto.getKeywords();
//changes end
allValues[1] = request.getParameter("country");
allValues[2] = request.getParameter("universityName");
allValues[3] = request.getParameter("subjectArea");
allValues[4] = request.getParameter("qualification");
allValues[5] = request.getParameter("yearLevel");
allValues[6] = request.getParameter("specificType");
SessionManager.setSessionAttribute(SessionAttributeKey.allValues,
allValues, request);
if(null!=keywords) {
keywords = keywords.trim();
String words="";
for(int i=0;i<keywords.length();i++) {
String key=String.valueOf(keywords.charAt(i));
if(key.contains("*")) {
key = key.replace("*"," ");
} else if(key.contains("?")) {
key = key.replace("?"," ");
} else if(key.contains("[")) {
key = key.replace("["," ");
} else if(key.contains("{")) {
key = key.replace("{"," ");
} else if(key.contains("(")) {
key = key.replace("("," ");
} else if(key.contains(")")) {
key = key.replace(")"," ");
} else if(key.contains("+")) {
key = key.replace("+"," ");
} else if(key.contains("
key = key.replace("
} else if(key.contains(" ")) {
key = key.replace(" "," ");
} else if(key.contains("_")) {
key = key.replace("","");
} else if(!EMAIL_PATTERN_REG.matcher(key).matches()) {
key = key.replaceAll(key," ");
words = words + key;
keywords = words;
resourceDto.setKeywords(keywords);
SessionManager.setSessionAttribute(SessionAttributeKey.test, search.setInputValues(resourceDto, dynamic), request);
String name = (String) SessionManager.getSessionAttribute(SessionAttributeKey.tempName, request);
String flag1 = request.getParameter("id");
String status="";
if (flag1 !=null && flag1.equals("loggedInUser"))
if(name==null)
return new ModelAndView();
if (flag1 !=null && flag1.equals("loggedInUser")){
status = "redirect:SearchResults.htm?id=loggedInUser";
}else if(flag1 !=null && flag1.equals("nonLoggedInUser"))
status = "redirect:SearchResultsnlu.htm?id=nonLoggedInUser";
super.setSuccessView(status);
ModelAndView mav = new ModelAndView(super.getSuccessView());
logger.debug("SearchResultsController.onSubmit() method exited:");
return mav;
}Cross-posted in many forums. Don't answer this one.
-
Session Time Out For UNLOGGED USER During Search -pls help
Hi,
The problem lies in searchresultscontroller.java/searchcontroller.java file under search/web/handler of an application that supports educational note sharing.
The problem is that -
When I search with query strings in different fields(as you will find in the above mentioned java files)..the keywords in resourcedto and get some files as search results.
Then I click on one of the file from within the search result and visit the file.
Here if I m logged in as an user, and the session time out is set to 1 minute in the web.xml file of the web folder not the admin folder then when I hit the BACK TO SEARCH button it easily goes back to the previous search result page along with the queries string that I had input previously.
The problem is that when I m NOT LOGGED in as an user, and I've performed a search with queries and other dropdowns in the search panel, I get the search result page, I visit the file by clicking on one of them but when I hit the BACK TO SEARCH button I don't see the previous search result page from where I had navigated to view the file.
Please suggest on what changes shall I make in the code so that even if I m not logged in as an user, I get back to the search result page on hitting the BACK TO SEARCH button from the file view page.Sir I m herein pasting the code of the searchresultscontroller.java file, but please feel free to ask for anyother file whose code you might want to see.
SEARCHRESULTSCONTROLLER.JAVA FILE CONTENT-
package com.mgh.sps.search.web.handler;
import java.util.Map;
import java.util.regex.Pattern;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.log4j.Logger;
import org.springframework.validation.BindException;
import org.springframework.validation.Errors;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.SimpleFormController;
import com.mgh.sps.search.business.facade.Search;
import com.mgh.sps.common.dto.ResourceDTO;
import com.mgh.sps.common.util.SessionAttributeKey;
import com.mgh.sps.common.util.SessionManager;
import com.mgh.sps.fileusage.web.constants.FileUsageWebConstants;
public class SearchResultsController extends SimpleFormController {
* SearchResults Controller
* @author Muralikrishna.s
* @Codedondate DD-MM-YY=26-07-07
* @Usecase/s associated =UC504
private static final Logger logger = Logger
.getLogger(SearchResultsController.class.getName());
private final static String REG_EXP = "^[A-Za-z0-9]*$";
private final static Pattern EMAIL_PATTERN_REG = Pattern.compile(REG_EXP);
* Spring framework method used to hold reference data
* @param request
* HttpServletRequest
* @param command
* Object
* @param arg2
* Errors
* @return Map
* @throws Exception
@Override
protected Map referenceData(HttpServletRequest request, Object command,
Errors errors) throws Exception {
logger.debug("SearchResultsController.referenceData() method entered:"
+ request + "," + command + "," + errors);
SessionManager.setSessionAttribute(SessionAttributeKey.tabIndex,
FileUsageWebConstants.TAB_SEARCH, request);
Search search = (Search) super.getWebApplicationContext().getBean(
"searchfacade");
ResourceDTO resourceDto = (ResourceDTO) command;
String[] allValues = new String[7];
if (null != (String[]) SessionManager.getSessionAttribute(
SessionAttributeKey.allValues, request)) {
allValues = (String[]) SessionManager.getSessionAttribute(
SessionAttributeKey.allValues, request);
resourceDto.setKeywords(allValues[0]);
resourceDto.setCountry(allValues[1]);
resourceDto.setUniversityName(allValues[2]);
resourceDto.setSubjectArea(allValues[3]);
resourceDto.setQualification(allValues[4]);
resourceDto.setYearLevel(allValues[5]);
resourceDto.setSpecificType(allValues[6]);
logger.debug("%%%%%%%%%%%%%%%%%qualification%%%%%%%%%%%%%%%"
+ resourceDto.getQualification());
String flag = (String) request.getParameter("id");
resourceDto.setFlag(flag);
logger.debug("SearchResultsController.referenceData() method exited:");
return search.retrieveReferenceData(resourceDto);
* Spring framework method used to hold OnSubmit
* @param request
* HttpServletRequest
* @param response
* HttpServletResponse
* @param command
* Object
* @param arg3
* BindException
* @return ModelAndView
* @throws Exception
@Override
protected ModelAndView onSubmit(HttpServletRequest request,
HttpServletResponse response, Object command, BindException errors)
throws Exception {
SessionManager.cleanup(request);
logger.debug("SearchResultsController.onSubmit() method entered:"
+ request + "," + command + "," + response + "," + errors);
Search search = (Search) super.getWebApplicationContext().getBean(
"searchfacade");
Map dynamic = (Map) getServletContext().getAttribute("config");
ResourceDTO resourceDto = (ResourceDTO) command;
SessionManager.removeSessionAttribute(SessionAttributeKey.allValues,
request);
//changed by sreelatha on sep21
//resourceDto.setKeywords(request.getParameter("keywords"));
//String key = request.getParameter("keywords");
//logger.debug("&&&&&&&&&&&&& key &&&&&&&&&&&&" + key);
String keywords = (request.getParameter("keywords"));
if(null!=keywords) {
keywords = keywords.trim();
resourceDto.setKeywords(keywords);
// changes end
resourceDto.setUniversityName(request.getParameter("universityName"));
resourceDto.setSubjectArea(request.getParameter("subjectArea"));
resourceDto.setCountry(request.getParameter("country"));
resourceDto.setQualification(request.getParameter("qualification"));
resourceDto.setYearLevel(request.getParameter("yearLevel"));
resourceDto.setSpecificType(request.getParameter("specificType"));
String[] allValues = new String[7];
//changed by sreelatha on sep21
//allValues[0] = request.getParameter("keywords");
allValues[0] = resourceDto.getKeywords();
//changes end
allValues[1] = request.getParameter("country");
allValues[2] = request.getParameter("universityName");
allValues[3] = request.getParameter("subjectArea");
allValues[4] = request.getParameter("qualification");
allValues[5] = request.getParameter("yearLevel");
allValues[6] = request.getParameter("specificType");
SessionManager.setSessionAttribute(SessionAttributeKey.allValues,
allValues, request);
if(null!=keywords) {
keywords = keywords.trim();
String words="";
for(int i=0;i<keywords.length();i++) {
String key=String.valueOf(keywords.charAt(i));
if(key.contains("*")) {
key = key.replace("*"," ");
} else if(key.contains("?")) {
key = key.replace("?"," ");
} else if(key.contains("[")) {
key = key.replace("["," ");
} else if(key.contains("{")) {
key = key.replace("{"," ");
} else if(key.contains("(")) {
key = key.replace("("," ");
} else if(key.contains(")")) {
key = key.replace(")"," ");
} else if(key.contains("+")) {
key = key.replace("+"," ");
} else if(key.contains("\\")) {
key = key.replace("\\"," ");
} else if(key.contains(" ")) {
key = key.replace(" "," ");
} else if(key.contains("_")) {
key = key.replace("_","_");
} else if(!EMAIL_PATTERN_REG.matcher(key).matches()) {
key = key.replaceAll(key," ");
words = words + key;
keywords = words;
resourceDto.setKeywords(keywords);
SessionManager.setSessionAttribute(SessionAttributeKey.test, search.setInputValues(resourceDto, dynamic), request);
String name = (String) SessionManager.getSessionAttribute(SessionAttributeKey.tempName, request);
String flag1 = request.getParameter("id");
String status="";
if (flag1 !=null && flag1.equals("loggedInUser"))
if(name==null)
return new ModelAndView();
if (flag1 !=null && flag1.equals("loggedInUser")){
status = "redirect:SearchResults.htm?id=loggedInUser";
}else if(flag1 !=null && flag1.equals("nonLoggedInUser"))
status = "redirect:SearchResultsnlu.htm?id=nonLoggedInUser";
super.setSuccessView(status);
ModelAndView mav = new ModelAndView(super.getSuccessView());
logger.debug("SearchResultsController.onSubmit() method exited:");
return mav;
}Cross-posted in many forums. Don't answer this one.
-
Seelct query time out for single region
Hi ,
I am currently facing a problem with a report .The problem is in a select query.The report runs successfully when it is run for only more than 1 state but when it is run for single state then it times out.The select query is as given below.
SELECT avbeln eposnr bvbtyp aerdat akunnr ckunnr d~regio
ewerks aernam dname1 afaksk b~cmgst
INTO TABLE t_block
FROM vbak AS a
INNER JOIN vbuk AS b
ON bvbeln = avbeln
INNER JOIN vbpa AS c
ON cvbeln = avbeln
INNER JOIN kna1 AS d
ON dkunnr = akunnr
ON dkunnr = ckunnr
INNER JOIN vbap AS e
ON evbeln = avbeln
WHERE a~faksk IN faksk
AND a~vkorg = vkorg
AND a~vtweg IN vtweg
AND a~spart IN spart
AND a~vkbur IN vkbur
AND a~vkgrp IN vkgrp
AND a~kunnr IN kunnr
AND a~ernam IN ernam
AND a~erdat IN erdat
AND a~vbeln IN vbeln
AND a~vbtyp IN vbtyp
AND b~spstg IN ('A','B','C')
AND ( b~fsstk NE space
OR b~cmgst NE space )
AND b~abstk NE 'C'
AND c~kunnr IN s_kunwe
AND c~parvw = 'WE'
AND d~regio IN s_regio.
Please let me know if you require any more information.
s_regio is the select option for state.Also I feel that for KUNNR the On conditon might cause soem problem becasue it does not involve key fields.
thanks,hi ds,
separate the select in several selects. The inner join is not always the best solution.
take
data : ivbak type table of vbak,
field symbols : <xvbak>
select +++ into corresponding fields of table ivbuk
from vbuk
where
select +++ into corresponding fields of table ivbak
form vbak
for all entries in ivbuk
where vbeln eq ivbuk-vbeln ...
select ...
if you want to have one internal table then do it with a loop.
loop at ivbak assigning <xvbak>
read table ikna1 with key kunnr = <xvbak>-kunnr.
loop at ivbap whee vbeln = <xvbak>-vbeln.
itab..= vbak..
? move corresponding ?
append itab.
endloop.
endloop.
that will not cause a time-out.
if you want a verry quick program - use tables without heading lines and field symbols with loops with assigning.
It is more to write but the effect is verry good.
Hans
Hans
Maybe you are looking for
-
Internal Optical Drive is No Longer Accessible?
My optical drive is not showing up any longer. I cannot open the tray without using a clip. And it is not showing up in my system hardware under disc burning. This has just recently happened. What can I do to access the optical drive again?
-
Session problem using tomcat 3.3.1
Hi all, Does tomcat support session.?. I came to know that, tomcat is not supporting session, actually, it kills the session variables when redirecting the response to other page.. Is it so?.. please confirm me.. In my application we are using sessio
-
Dear All, I have posted billing document thru VF01. When I review accounting document for the same, business place is missing in the document. I have make required adjustment in VKOA. Kindly advise where/how to assign/define business place from Sales
-
How to post to database as single user on multiple pages
Hi, I am trying to develop a quiz where I use the ADDT insert record form wizard. Since the test will have over 50 questions, I would like to have two questions listed per page, and then have it all be submitted at one time. Anyone have any ideas of
-
hello friends i need a badi or user exit , which can get hit on break point afteri enter vendor , article, purchase org, site , inforecord in ME15 TCODE. in short i want to get merchandise category after user press enter, coz on mrechandise category