Time out parameters for java servers
Dear Gurus,
I'm trying to identify if there are any time out parameters/attributes which can be set for the users at Java level.
I'm wondering if it's possible to limit a user from running a report/query for a long period of time.
Or a parameter to limit the number of sessions one user can have.
The reason I'm asking this is because my java server nodes have experience OutOfMemory errors every once in a while, and this is caused by high workload by the users. I'm trying to prevent or decrease the number of these OutOfMemory errors.
Appreciate any feedback on this.
Thanks.
Regards,
Keat
Hi Mark,
Currently, parameter DefaultExpirationTime = 3600, i think this is okay.
I've located other parameters which might be related to user/system timeout settings.
HttpMonitoringCacheTimeoutMillis = 1500
KeepAliveTimeout = 15
SessionTableTimeout = -1
InputStreamAddTimeout = 0
TransactionTimeout = 0
sap.defaultMaxNumberOfConnections = 10
I'm thinking about tweaking these parameters as well.
Any comments???
Regards,
Keat
Similar Messages
-
Time out parameters for ABAP and JAVA instance
Hello All,
We are looking for Time out parameters for our ABAP and JAVA instances.
As users are complaining that they are getting time out error
while they are trying to access Cprojects from Portal.
I was able to check/collect the ABAP instance parameters from SMICM Tcode.
Can anybody tell me which parameters we need to look for JAVA instance.
Thanks in advance.
Regards,
Amber Sjstart/shutdownTimeout
(jstartup/shutdown_timeout)
Specifies the shutdown timeout, i.e. the grace period for the AS Java instance to shut down before the Java process terminates itself. Unt is in Seconds. Default is 120
j2ee/ms/connectTimeout
(jstartup/wait_for_scs)
Specifies the timeout for the first connection to the message server. The AS Java instance fails to start if this timeout expires.Unt is in Seconds.Default is 60
j2ee/ms/reconnectTimeout
(jstartup/wait_for_reconnect)
Specifies the timeout for the reconnecting to the message server.The AS Java instance shuts down when this timeout expires.Unt is inSeconds.Default is 3600 (one hour)
Thanks -
Time out period for PO approvals in worklist
Hi all,
Can any one know how to check the time out period for PO approvals in worklist other thant workflow builder like from system adminstrator or a query etc.,
Thanks in advance,
Regards,
PramodHi,
The following note might solve your problem :
1330433.
Thanks and Regards,
Vignesh Ravikumar -
Time out condition for FTP parameters in communication channel
Hi
Could you please tell what should be the maximum limit for time out condition in receiver file communication channel for FTP.
it should be either 120,90 or 60 seconds or can we exceed time than this?
Thanks in advance
Best Regards,
Harleen Kaur ChadhaThere is no hard limit, but the time limit should be less than the polling interval: if you set the polling interval to 60 seconds, your timeout interval should be less than that value. If you exceed this value, you have the risk of an adapter deadlock (adapter stops polling)
You can imagine that a timeout interval of 300 seconds would not make much sense. -
Hi,
Below is a helper method used for calling a server-side function which loops through the inbound bindVars parameter to populate the function's IN parameters. Is there a way to dynamically determine the IN/OUT parameters based on the procedure name in the stmt parameter? No members of the CallableStatement class seemed promising, but the getParameterMetaData() method in the PreparedStatement class seemed like it could be helpful lead. However, I have not found any detailed descriptions (yet) of how to use it.
protected Object callStoredFunction(int sqlReturnType, String stmt,
Object[] bindVars) {
CallableStatement st = null;
try {
// 1. Create a JDBC CallabledStatement
st = getDBTransaction().createCallableStatement(
"begin ? := "+stmt+";end;",0);
// 2. Register the first bind variable for the return value
st.registerOutParameter(1, sqlReturnType);
if (bindVars != null) {
// 3. Loop over values for the bind variables passed in, if any
for (int z = 0; z < bindVars.length; z++) {
// 4. Set the value of user-supplied bind vars in the stmt
st.setObject(z + 2, bindVars[z]);
// 5. Set the value of user-supplied bind vars in the stmt
st.executeUpdate();
// 6. Return the value of the first bind variable
return st.getObject(1);
catch (SQLException e) {
throw new JboException(e);
finally {
if (st != null) {
try {
// 7. Close the statement
st.close();
catch (SQLException e) {}
JamesThe PreparedStatement.getParameterMetaData() object is exactly what you need for this task.
Once you have the ParameterMetaData you can ask it how many parameters are present and which mode they are. The parameters are numbered from 1 to n and you can use ParameterMetaData.getParameterMode(1); to get the mode of the 1st parameter. The modes are defined as static values in the ParameterMetaData object. Check out the doc at http://docs.oracle.com/javase/7/docs/api/java/sql/ParameterMetaData.html
Timo -
Hello all
many users reported us TIMEOUT issue in our system
we wanted to extract the report how many users were faced the same issue and why they have received 400 Session time out error.
what parameter needs to be adjusted in SRM to avoid the same problem
any help is appreciated and piece of information on this help .
MuthuHi Muthuraman,
The error you are experiencing is caused by the icm/conn_timeout parameter being exceeded. You should increase this parameter to solve your issue. Also there are a number of other parameters that will cause the webdispatcher and ICM to close a connection.
Please refer to SAP Note [824554|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bc_cst/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d383234353534%7d] for additional information in webdispatcher and ICM timeouts.
Michael -
Time out problem for select query
I am fetching data from BKPF for my report.
I have written following query.But this query always time out.
SELECT
BUKRS
BELNR
GJAHR
BLART
BLDAT
BUDAT
MONAT
XBLNR
BKTXT
WAERS
KURSF
HWAER
FROM BKPF
INTO TABLE I_BKPF
WHERE BUKRS IN S_BUKRS
AND BELNR IN S_BELNR
AND GJAHR IN S_GJAHR
AND BLART IN S_BLART
AND BLDAT IN S_BLDAT
AND BUDAT IN S_BUDAT
AND MONAT IN S_MONAT
AND CPUDT IN S_CPUDT
AND BSTAT = SPACE.
So please suggest me solution.Hi..
1) Try to make Some of the Fields such as BUKRS , GJAHR as PARAMETERS so that ROWS are restrited mostly.
2) Make fields like BLDAT and BUDAT as OBLIGATORY if possible.
3) And in the SELECT query add the PACKAGE SIZE addition.
<b>Reward if Helpful.</b> -
Is there any time out defined for long running transaction?
hi,
i have to make one big data transferring script , though transaction is not required here, but i was planning to,
please tel me is there any time out for long running transactions.i have to run the script from database it self
yours sincerleyCan you show us an example of your script? You can divide the transaction into small chunks to reduce time and locking/blocking as well.
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence -
Session Time Out capturing for legacy application running in portal
Hi Forums,
I am using portal URL iView to connect to legacy application. How to capture the session time of of that legacy application and show it in the portal. In portal I have already handled session time out which shows a javascript popup message. I want to call the same piece of code once session time out happens in the legacy application which is been accessed by portal through URL iview.
Many Thanks and Best Regards
SudhirHi Sudhir,
The handling of the session timeout should be done by the application itself not the portal. From the portal you have no way of working out what the application is doing. My suggestion to you is that you need to modify the application to handle the scenario you describe not the portal.
BRgds,
Simon -
Need to increase the Time out parameter for executing BI queries
Folks,
We are publishing BI Query on portal , we are getting Time out error while executing the quries , please let me know how to increment the time out parameter
Thanks
ManishHi Manish,
Try this link
Time out time
Cheers.... -
[solved] systemd times out waiting for dev-null.device on encrypted fs
I have a relatively new install of Arch on my laptop. The relevant sections of the drive setup are a luks encrypted root device (with associated unencrypted /boot), and a large ntfs device encrypted with truecrypt. That contains my home directory, which is shared with the Windows 8 dual-boot on the machine.
I have all this mounted on boot, so my typical usage is to enter my password for the encrypted root, followed by the password for the truecrypt-encrypted data drive, then normal login.
This has been working fine for a couple of weeks. This afternoon I rebooted my machine from Windows to Linux, at which point the secondary encrypted drive failed to mount. The root device mounts fine.
On further examination, in the form of journalctl -xb, I'm getting the following errors after mounting the encrypted root device:
Feb 12 21:29:54 kafka systemd[1]: Job dev-null.device/start timed out.
Feb 12 21:29:54 kafka systemd[1]: Timed out waiting for device dev-null.device.
-- Subject: Unit dev-null.device has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li … temd-devel
-- Documentation: http://www.freedesktop.org/wiki/Softwar … e9d022f03d
-- Unit dev-null.device has failed.
-- The result is timeout.
Feb 12 21:29:54 kafka systemd[1]: Dependency failed for Cryptography Setup for cryptdata.
-- Subject: Unit [email protected] has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li … temd-devel
-- Documentation: http://www.freedesktop.org/wiki/Softwar … e9d022f03d
-- Unit [email protected] has failed.
As my root home directory is on the root filesystem, I can still log in as root. If I try to mount or unmount the truecrypt device (located at /data) the command hangs. After removing "auto,x-systemd.automount" from that device from /etc/fstab and rebooting, I have a significant delay at boot, but I can then mount the /data device as normal.
I can't find anything related to this either here or on Google. Any ideas?
Last edited by tealeaf (2014-02-13 12:01:55)WonderWoofy wrote:A bit OT, but I just want to mention that having your $HOME on ntfs is probably not the best idea either. It may work, but because it is not a POSIX compliant filesystem, there is a good chance you might run into some issues.
Thanks for the warning. Sadly, as there are applications I need for work that only run in Windows, I need to dual boot this machine with Windows 8.1. This is the best option I can find for sharing my home directory, which is also a necessity due to the amount of data I have to share between the systems. I would much rather trust to ntfs-3g-ar and its UserMapping (and all the fiddling with ACLs that I had to do) than to the Windows ext2 drivers I can find. They all seem to be several years out of date. Linux is much better at talking NTFS than Windows is at talking EXT. (To be honest, I'm actually quite impressed with Windows 8 since the upgrade to 8.1. As a long term Arch user and a fan of tiling window managers it's interesting to see Windows moving in the right direction. )
With 'permissions' in the /etc/fstab and the .NTFS-3G/UserMapping file in place it works almost seamlessly. (It took a lot of tinkering with ACLs in Windows and Linux, but it's working very well now. One tip that I'll write here in case it's of use is that you want the last line of the UserMapping file to be a 'generic' mapping. When I didn't have that there were very strange things going on.)
The only two minor problems I have now are:
1) A few applications don't like FUSE filesystems. Steam worked for a while and then broke; reinstalling it failed at every stage. When I checked, it seems that FUSE is a known problem for Steam. (I don't think it's restricted to NTFS.) My response to that was to create /home/.local/$HOME on my root (ext4) filesystem and symlink out to it for troublesome applications.
2) There are a few characters for filenames that Windows doesn't like, making those files inaccessible in Windows. (Colons are the major culprit.) They're usually quite easily renamed. (The exception being my .maildir folder, which I have had to duplicate natively in cygwin.)
Neither of these are anything more than minor niggles. I appreciate the warning, though.
Having said that, if you have an alternative that lets me share a truecrypt-encrypted drive between Linux and Windows that is better than the NTFS-3G approach, I'd love to hear it for future reference. -
Systemd Boot Problem - Times out waiting for LVM partitions
At first I had a problem in which the initramfs didn't map LVM partitions to /dev/vg0/lv, only /dev/mapper/vg0-lv. I changed /dev/vg0/root to /dev/mapper/vg0-root in bootloader configuration as a hacky workaround.
Getting closer to a working system, systemd failed boot because my fstab entries are uuids, and for some reason, my LVM volumes aren't showing up in /dev/disk/by-*. My flash drive boot partition shows up in there though.
I replaced the uuids with /dev/mapper/vg0-* and tried again. Now my boot fails with this:
Oct 21 19:19:31 archserver systemd[1]: Job dev-mapper-vg0\x2dmedia.device/start timed out.
Oct 21 19:19:31 archserver systemd[1]: Timed out waiting for device dev-mapper-vg0\x2dmedia.device.
Oct 21 19:19:31 archserver systemd[1]: Dependency failed for /mnt/media.
Oct 21 19:19:31 archserver systemd[1]: Dependency failed for Local File Systems.
Boot log: http://sprunge.us/LEhG
mkinitcpio.conf: http://sprunge.us/QEBK
What should I do?This may be LVM's incompatibility with anything hotplug (it may not be, your issue sounds more obscure). You need to create your own, local lvm service file. I'll tell you how. This is /usr/lib/systemd/system/lvm.service:
[Unit]
Description=LVM activation
DefaultDependencies=no
Requires=systemd-udev-settle.service
After=systemd-udev-settle.service
Before=basic.target shutdown.target
Conflicts=shutdown.target
[Service]
ExecStart=/sbin/vgchange --available y
Type=oneshot
TimeoutSec=0
RemainAfterExit=yes
[Install]
WantedBy=basic.target
Create /etc/systemd/system/lvm_local.service:
[Unit]
Description=LVM activation
DefaultDependencies=no
Requires=dev-something-something1.device
After=dev-something-something1.device
Requires=dev-something-something2.device
After=dev-something-something2.device
Before=basic.target shutdown.target
Conflicts=shutdown.target
[Service]
ExecStart=/sbin/vgchange --available y
Type=oneshot
TimeoutSec=0
RemainAfterExit=yes
[Install]
WantedBy=basic.target
No, what to you put in those "something-something1" places above? For each LVM physical volume, run 'systemctl status /dev/disk/by-uuid/$UUID' where $UUID is the UUID of your physical volume. You'll get a status output showing the exact name of the correct .device unit. Then 'systemctl enable lvm_local.service'.
This speeds up boot and makes sure lvm is properly initialized. After writing all this, I am unsure if this is at all related to your problem, as your volume group is activated in initramfs and the links should be set up by udev. -
Setting a time out limit for OBIEE Queries
Hi Experts,
I am using OBIEE 11g. I have a scenario where I have to cancell a query if the query runs for more than 15 mins to fetch the data. The requirement is if the query takes longer than 15 mins the query to the database should be cancelled and in the OBIEE answers it should show the query cancelled message. Even if we are not able to show the exact message in answers is fine. But the front end and backend query must be cancelled after running for 15 mins.
Any help on this would be highly appreciated. Thanks in Advance.
SatyabratHi,
Please try the following:
Add the below code in instanceconfig.xml
To set time to expire for Idle Oracle BI Presentation services Client connections.
<ConnectionExpireMinutes>Number of Minutes</ConnectionExpireMinutes>
Setting the Time to Expire for Oracle BI Presentation Services Client Sessions
<ClientSessionExpireMinutes>Number of Minutes</ClientSessionExpireMinutes>
And also try in RPD
Go to Manage-->Identity-->Application Roles
Select the ROLE and click on the permissions tab.
In the next wizard go to the “Query limits” tab.
Against the database row set the following values
Max Time Minutes=20
Status Max Time=Enable
For Custom messages for the error message:
Find error webmessage template and rewrite it in customMessages. For example:
<WebMessage name="kmsgCatalogAccessDenied" exception="true">
<TEXT>Отказ в доступе на <sawm:param insert="2"/> пользователю <sawm:param insert="3"/> по пути <sawm:param insert="1"/>.</TEXT>
</WebMessage>
Found this in catalogmessages.xml. Then I created file custommessages.xml in msgdb\customMessages:
<?xml version="1.0" encoding="utf-8" ?>
<WebMessageTables xmlns:sawm="com.siebel.analytics.web/message/v1">
<WebMessageTable system="CustomMessages">
<WebMessage name="kmsgCatalogAccessDenied" exception="true"><TEXT>Some other error message</TEXT></WebMessage>
</WebMessageTable>
</WebMessageTables>
It's possible not to show error message code.
There are a lot of perfect examples in the documentation.
Also Please refer the below link:
http://sranka.wordpress.com/2008/05/23/style-sheet-changes-custom-look-and-feel-in-obiee/
This should resolve your problem
Regards
MuRam -
Auto print out report for java application
<p>Hi, </p><p>Now i'm using eclipse 3.2 to develop a java application and using crystal report to create report.</p><p>I would like to directly printing out the report from the java application.</p><p>what the installer or plugin i need?</p><p>What the setting i need to set? </p><p>Can you give me the sample coding to directly print out the report from java application by passing parameter?</p><p>Thanks,</p><p>Hui Bee</p>
There is a Consulting Solution called BOInterface that Business Objects Global Services sells and that helps you to achieve what you describe very easily.
A description is <a href="http://www.mnsoft.org/bointerface0.0.html">here</a>.
Particularly, see the <a href="http://www.mnsoft.org/boxinterfacedocs/com/bo/boxinterface/boreport/scheduler/BOReportSchedulerPrinter.html">BOReportSchedulerPrinter</a>. BOInterface comes with a complete example on scheduling to printer; that example can even itself be scheduled.
Contact me via direct email for more information if this is interesting for you.
HTH,
M
Matthias Nott - Business Objects
Service Line Leader Products EMEA
[email protected] -
Recommended Parameters for Java 7.00
Dear All,
Could someone please kindly advise me the best recommended parameter values for the below.I kindly would appreciate it.
Thank you.
Baseline:-
Server
-verbose:gc
-XX:SurvivorRatio=2 -XX:TargetSurvivorRatio=90
-XX:+UseParNewGC
-XX:+HandlePromotionFailure
-XX:+PrintGCTimeStamps
-XX:+PrintGCDetails
-XX:+UseTLAB
-XX:SoftRefLRUPolicyMSPerMB=1
-XX:ReservedCodeCacheSize=64M
-XX:CodeCacheMinimumFreeSpace=2M
-Djava.awt.headless=true
-Djava.security.policy=./java.policy
-Djco.jarm=1
-Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy
-Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy
-Dorg.omg.PortableInterceptor.ORBInitializerClass.com.sap.engine.services.ts.jts.ots.PortableInterceptor.JTSInitializer
-Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy
-Dsun.io.useCanonCaches=false
-Djava.security.egd=file:/dev/urandom
Disptacher
-verbose:gc
-Djava.security.policy=./java.policy
Memory:-
-Xmx4096m
-Xms4096m
-XX:NewSize=682m -XX:MaxNewSize=682m
-XX:MaxPermSize=1024m -XX:PermSize=1024m
Disptacher
-Xms512M
-Xmn70M
-Xgcpolicy:gencon
-verbose:gc
- Xdump:system:events=systhrow,filter=java/lang/OutOfMemoryError,request=exclusive+prepwalk
Regards,
JohnHi Mark,
Definitely I know OSS Notes. I asked if anyone who has configured the parameters before would be able to help me with the values.If you have not configured before you didnt have to answer this question.
Thank you anyway.
Regards,
John
Maybe you are looking for
-
Hi - I just upgraded from the previous version of iTunes to iTunes 11. One of my previous playlists appeared as a smart playlist, and when it displays there is a set of columns at the top with a separation splitting the columns from the list. I am
-
I am trying to set a general style for tooltips and if I try and set the border style to solid (or anything besides none) the tool tip will only display the text, the background is gone and there is no border. Has anyone else run into this problem? I
-
I wish to change the order of my 4 email accounts in MAIL. That is, that order in which they are listed on the side bar and in Preferences; Acounts. How do I do that? thanks!
-
Hi All, How to call CJ20N transaction from custom transaction/custom program. generally some transaction having OPEN functionality for open other project,how to handle these type of transaction. Help me. Thanks, Srinivas Manai
-
Hi Experts I am getting error while utilizing limt as mentioned in screen shot Where i have mentioned the interest rate for yield curve 9001