Setting JVM parameters....
Hi SDN,
<b>
I want to check the JVM parameters set for the portal.
The version of the portal is EP 6.0 SP19.
Where can I get the information?????
</b>
regards
Brahmachaitanya
Hi
You can change the JVM Settings in the ConfigTool.
Enter the "Java parameters" field for your desired input.
Save and restart the cluster and you are done!
You can also check by looking at the instance.properties file.
Cheers.
Please award points for helpful answers.
Similar Messages
-
New FAQ Entry on JVM Parameters for Large Cache Sizes
I've posted a new [FAQ entry|http://www.oracle.com/technology/products/berkeley-db/faq/je_faq.html#60] on JVM parameters for large cache sizes. The text of it is as follows:
What JVM parameters should I consider when tuning an application with a large cache size?
If your application has a large cache size, tuning the Java GC may be necessary. You will almost certainly be using a 64b JVM (i.e. -d64), the -server option, and setting your heap and stack sizes with -Xmx and -Xms. Be sure that you don't set the cache size too close to the heap size so that your application has plenty of room for its data and to avoided excessive full GC's. We have found that the Concurrent Mark Sweep GC is generally the best in this environment since it yields more predictable GC results. This can be enabled with -XX:+UseConcMarkSweepGC.
Best practices dictates that you disable System.gc() calls with -XX:-DisableExplicitGC.
Other JVM options which may prove useful are -XX:NewSize (start with 512m or 1024m as a value), -XX:MaxNewSize (try 1024m as a value), and -XX:CMSInitiatingOccupancyFraction=55. NewSize is typically tuned in relationship to the overall heap size so if you specify this parameter you will also need to provide a -Xmx value. A convenient way of specifying this in relative terms is to use -XX:NewRatio. The values we've suggested are only starting points. The actual values will vary depending on the runtime characteristics of the application.
You may also want to refer to the following articles:
* Java SE 6 HotSpot Virtual Machine Garbage Collection Tuning
* The most complete list of -XX options for Java 6 JVM
* My Favorite Hotspot JVM Flags
Edited by: Charles Lamb on Oct 22, 2009 9:13 AMFirst of all please be aware HSODBC V10 has been desupported and DG4ODBC should be used instead.
The root cause the problem you describe could be related to a timeout of the ODBC driver (especially while taking care of the comment: it happens only for larger tables):
(0) [MySQL][ODBC 3.51 Driver]MySQL server has gone away (SQL State: S1T00; SQL
(0) Code: 2006)
indicates the Driver or the DB abends the connection due to a timeout.
Check out the wait_timeout mysql variable on the server and increase it. -
Hi,
I need to set the jvm parameter in an applet for instance "file.encoding" and
System.setProperty("file.encoding","UTF8") doesnt work, is there any other way to set the parameters?
Thanks in advance...System.setProperty("file.encoding","UTF8")
Will throw an exception because the applet is not allowed to do that
java.security.AccessControlException: access denied (java.util.PropertyPermission file.encoding write)
You need to sign the applet and the consumer of your applet needs to trust the signature
or the consumer of your applet needs to set up a policy for your applet.
Or
The consumer of your applet sets up runtime parameters.
Here is something I copied and pasted to pass parameters that will force the jre to
generate a full trace everytime.
To turn the full trace on (windows) you can start the java console, to be found here:
C:\Program Files\Java\j2re1.4...\bin\jpicpl32.exe
In the advanced tab you can fill in something for runtime parameters fill in this:
-Djavaplugin.trace=true -Djavaplugin.trace.option=basic|net|security|ext|liveconnect
if you cannot start the java console check here:
C:\Documents and Settings\userName\Application Data\Sun\Java\Deployment\deployment.properties
I think for linux this is somewhere in youruserdir/java (hidden directory)
add or change the following line:
javaplugin.jre.params=-Djavaplugin.trace\=true -Djavaplugin.trace.option\=basic|net|security|ext|liveconnect
for 1.5:
deployment.javapi.jre.1.5.0.args=-Djavaplugin.trace\=true -Djavaplugin.trace.option\=basic|net|security|ext|liveconnect
The trace is here:
C:\Documents and Settings\your user\Application Data\Sun\Java\Deployment\log\plugin...log
I think for linux this is somewhere in youruserdir/java (hidden directory)
I think the main question is why do you need to set this property? If you want to write
something to the local filesystem you should sign or set up policy for the applet
anyway so I would go with that sollution. Or better yet use an URL object and send the
data that needs to be saved to a server that does something with it (store it in
a database). -
Unable to set kernel parameters using solaris 10
HI,
I'm trying to install DB2 8.2 on solaris 10.the problem i'm encountering in installation is unable to set MSGMAX and MSGMNB kernel parameters. I tried setting the new replacement parameter process.max-msq-qbytes through projects->Resource Control from the management console.but still uinable to set the parameters.
Can anyone help me in setting the above kernel parameters.
Its not possible to set it thru /etc/system.
thanx
guruHI,
I'm trying to install DB2 8.2 on solaris 10.the problem i'm encountering in installation is unable to set MSGMAX and MSGMNB kernel parameters. I tried setting the new replacement parameter process.max-msq-qbytes through projects->Resource Control from the management console.but still uinable to set the parameters.
Can anyone help me in setting the above kernel parameters.
Its not possible to set it thru /etc/system.
thanx
guru -
Unable to set kernel parameters using Reource Control
HI,
I'm trying to install DB2 8.2 on solaris 10.the problem i'm encountering in installation is unable to set MSGMAX and MSGMNB kernel parameters. I tried setting the new replacement parameter process.max-msq-qbytes through projects->Resource Control from the management console.but still uinable to set the parameters.
Can anyone help me in setting the above kernel parameters.
Its not possible to set it thru /etc/system.
thanx
guruI finally had some time to find the actual syntax for tuning process.max-msq-qbytes and process.max-msg-messages. prctl will change those paramaters for an existing process.
As a proof of concept I changed process.max-msg-messages to a 64k. process 2221 is my shell.
prctl -n process.max-msg-messages -r -v 64k 2221
bash-3.00# prctl 2221
process: 2221: -csh
NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT
process.max-port-events
privileged 65.5K - deny -
system 2.15G max deny -
process.max-msg-messages
privileged 64.0K - deny -
system 4.29G max deny -
process.max-msg-qbytes
privileged 64.0KB - deny -
system 4.00GB max deny -And now to make this persist across reboots...
So long as I'm experimenting, I'll use projadd and add a new project which just includes me and not the rest of the users in the group staff.
bash-3.00# projadd -p 115 -U testuser \
-K "process.max-msg-messages=(priv,64K,deny)" \
-K "process.max-msg-qbytes=(priv,64K,deny)" \
user.me This creates the following /etc/project:
(note the last line is all on one line in the real file minus the \.)
placer% cat /etc/project
system:0::::
user.root:1::::
noproject:2::::
default:3::::
group.staff:10::::
user.me:115::testme::\
process.max-msg-messages=(priv,64000,deny);process.max-msg-qbytes=(priv,65536,deny)After a reboot I checked the values by loging in under my user and running prctl.
placer% prctl $$
process: 419: -csh
NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT
process.max-port-events
privileged 65.5K - deny -
system 2.15G max deny -
process.max-msg-messages
privileged 64.0K - deny -
system 4.29G max deny -
process.max-msg-qbytes
privileged 64.0KB - deny -
system 4.00GB max deny -
process.max-sem-ops
privileged 512 - deny -
system 2.15G max deny -
...Solaris 10 has different tunables and default values from 8 and 9. It's default tunables should be good for most applications per a given system's hardware. There are some great blog articles, and discussions on opensolaris.org and blogs.sun.com on tuning that explain the intent of tuning and why we shouldn't have to tune.
Cheers,
~~sa -
Unable to set kernel parameters using Reource Control in solaris 10
HI,
I'm trying to install DB2 8.2 on solaris 10.the problem i'm encountering in installation is unable to set MSGMAX and MSGMNB kernel parameters. I tried setting the new replacement parameter process.max-msq-qbytes through projects->Resource Control from the management console.but still uinable to set the parameters.
Can anyone help me in setting the above kernel parameters.
Its not possible to set it thru /etc/system.
thanxHI,
I'm trying to install DB2 8.2 on solaris 10.the problem i'm encountering in installation is unable to set MSGMAX and MSGMNB kernel parameters. I tried setting the new replacement parameter process.max-msq-qbytes through projects->Resource Control from the management console.but still uinable to set the parameters.
Can anyone help me in setting the above kernel parameters.
Its not possible to set it thru /etc/system.
thanx -
Using SET GET parameters in ITS
Hi All,
Is it possible to use set get parameters in ITS. We want to set some parameters in a BADI and read the value in ITS Template .
Or is there any other method to do this?
Thanks,
AnubhavSure. In your abap program use the following code
* ITS macros
INCLUDE avwrtcxm.
GET PARAMETER ID 'YOUR_PARAMETER' FIELD SAVE_PARAMETER.
field-set u2018~YOUR_PARAMETERu2019 1 SAVE_PARAMETER.
field-transport.
in the template you can now use ~YOUR_PARAMETER.
regards,
Klaus
Edited by: Klaus Layer on Feb 3, 2009 5:05 PM -
Problem with SET GET parameters
Hi all,
I am facing a problem using SET and GET parameters.
There is a Z transaction(Dialog program) where some fields of screen are having parameter ID's. That transaction is designed to diaplay/change status of only one inspection lot at a time.
Now I need to call that transaction in a loop using BDC. I mean i need to update the status of multiple inspection lots(one after the other). Before calling the transaction I am using
SET PARAMETER ID 'QLS' FIELD lv_prueflos.
Unfortunately the transaction is only changing the first inspection lot. When I debugged I found that the screen field is changing in PAI. Even though in PBO it shows the next value, when it goes to PAI it is automatically changing to the first value(inspection lot).
Example: Inspection Lots : 4100000234
4100000235
4100000236
Now first time when the call transaction is being made the status of insp lot 4100000234 is changed. For the second time when insp lot 4100000235 is being passed in PBO ican see this. But the moment it enters PAI the screen field changes to 4100000234.
Could you pls help me in solving this issue.
Thanks,
AravindHi,
Problem with SET GET parameters
Regarding on your query. Follow this below link.
It will help you.
Re: Problem with Set parameter ID
Re: Problem in Set parameter ID
I Hope it will helps to you.
Regards,
Sekhar -
How to use SET & GET Parameters in Module Pool
Hi Friends,
Can anyone please tell how to use SET / GET parameters and PARAMETER ID for a text box (Input / Output field ) in module pool? What is the purpose and where do we need to do coding for it?
Note : I will definitely give the marks for good responses.
Thanks in advance,
PradeepHi Pradeep,
You can save values in the SAP memory using a parameter ID. These
are user and terminal-session specific, but available to all internal and
external sessions.
SET Parameter copies the corresponding field contents into the SAP
System memory in the PAI processing block.
GET Parameter copies the corresponding field contents from the SAP
memory at the end of the PBO processing block, after data has been
transferred from the program, if the screen field still has its initial value
You can link an input/output field to an area of the SAP memory in the
ABAP Dictionary.
When you use an input/output field that is defined in the ABAP
Dictionary, its parameter ID is displayed in the Dictionary attribute
Parameter ID in the Screen Painter.
Usage
SET PARAMETER ID: CAR FIELD space,
CON FIELD space,
DAY FIELD space.
Here is the link that explains the usage of GET/SET in detail
<a href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/9f/db9e0435c111d1829f0000e829fbfe/content.htm">http://help.sap.com/saphelp_erp2005vp/helpdata/en/9f/db9e0435c111d1829f0000e829fbfe/content.htm</a>
Regards,
Sharadha -
Problem in setting the parameters for an OASingleSelectionBean
Hi,
I have created an advanced table, for which I have to allow single selection or mutliple selection according to my requirements ie dynamically. So, for single selection, I have created a OASingleSelectionBean dynamically and add this to my advanced table bean.
I also want to set Action for the single selection option. I have set the action using
setPrimaryClientAction() which takes an argument of oracle.cabo.ui.action.FirePartialAction class. Now I also want to pass certain parameters when the single selection event happens.
For that, I have taken an object of FirePartialAction class and but using the FirePartialAction class .setParameters(oracle.cabo.ui.collection.Parameter[]) function. I am setting the parameters using
Parameter class object.setKey
Parameter class object.setValue
But my problem is that I want the value for the parameters at runtime, for which I intend to use SPEL. But I am not able to use SPEL using the setValue method.
So it goes like this in short:
OAAdvancedTableBean.setTableSelection(OASingleSelectionBean)
OASingleSelectionBean.setPrimaryClientAction(FirePartialAction)
FirePartialAction.setParameters(Parameter[])
Parameters.setKey(String)
Parameters.setValue(String) --- In case of value I want to give SPEL as an argument as I get the value at rutime
Is that any other way in which I can set the value for the parameters using SPEL?Hi,
I got ur point.
Although i have never tried.........Can you try using method
Parameters.setValueBinding(new OADataBoundValueViewObject(<single selectionbean>,<vo attr>))
In this way without the use of SPEL, you will be able to achieve the functionality!
Try this and get back to me!
--Mukul
Message was edited by:
Mukul Gupta -
How does one set databse parameters in Tomcat to run a servlet?
Hi, I am trying to run a applet-servlet code, downloaded from the web. According to the installation instructions, the following is stated:
Database Parameters. You can provide different database parameters to the servlet. These parameters are set during the administration of the servlet.
dbDriver - name of the database driver class name (default = sun.jdbc.odbc.JdbcOdbcDriver)
dbURL - complete database URL (default = jdbc:odbc:StudentDatabase)
userid - user id (default = <none>)
passwd - password (default = <none>)
I am running TOMCAT on a Windows2000 machine. My question is how to does one set the parameters in TOMCAT. What is the default userid and password for TOMCAT.
Any help/advise is appreciated in advance. Thanks.Regards.May be parameters must be set in web.xml in your war
-
Hi all,
how to set oracle parameters in my sap 4.7 server. I need to know the procedure of parameter tune.
Regards,.
satish.
Edited by: satish k on Jun 17, 2008 5:07 AMHi
Please try this link.
http://oracle.basisconsultant.com/oracle_tuning_parameters.htm
http://www.orafaq.com/wiki/Oracle_database_Performance_Tuning_FAQ
But before doing this, check for all the probabilities as it requires lots of data and traces to do the parameter tuning. -
How to Set NLS parameters in SqlDeveloper for current and future connection
Hi
I've downloaded sqldeveloper version 1.5.4(build main-5940)
when I try to set NLS parameters as following it is thrwoing following error
TOOLS->PREFERENCES->DATABASE-->NLS parameters
on right side pane
I've changed
SORT----->BINARY_CI
COMP----->LINGUISTIC
then it is generating following log file
SEVERE 43 0 oracle.dbtools.raptor.nls.OracleNLSProvider Error loading nls:ORA-00600: internal error code, arguments: [qctosop:like transform], [], [], [], [], [], [], []
SEVERE 44 114 oracle.dbtools.raptor.nls.OracleNLSProvider Error loading nls:Closed Connection
SEVERE 45 7 oracle.dbtools.db.DBUtil Closed Connection
SEVERE 46 9 oracle.dbtools.db.DBUtil
SEVERE 47 1 oracle.dbtools.raptor.nls.OracleNLSProvider Error loading nls:Closed Connection
SEVERE 48 0 oracle.dbtools.raptor.nls.OracleNLSProvider Error loading nls:Closed Connection
SEVERE 49 5 oracle.dbtools.db.DBUtil Closed Connection
SEVERE 50 0 oracle.dbtools.db.DBUtil
SEVERE 51 1 oracle.dbtools.raptor.nls.OracleNLSProvider Error loading nls:Closed Connection
SEVERE 52 0 oracle.dbtools.raptor.nls.OracleNLSProvider Error loading nls:Closed Connection
SEVERE 53 5 oracle.dbtools.db.DBUtil Closed Connection
SEVERE 54 0 oracle.dbtools.db.DBUtil
SEVERE 55 0 oracle.dbtools.raptor.nls.OracleNLSProvider Error loading nls:Closed Connection
SEVERE 56 1 oracle.dbtools.raptor.nls.OracleNLSProvider Error loading nls:Closed Connection
SEVERE 57 4 oracle.dbtools.db.DBUtil Closed Connection
SEVERE 58 0 oracle.dbtools.db.DBUtil
SEVERE 59 1 oracle.dbtools.raptor.nls.OracleNLSProvider Error loading nls:Closed Connection
SEVERE 60 0 oracle.dbtools.raptor.nls.OracleNLSProvider Error loading nls:Closed Connection
SEVERE 61 4 oracle.dbtools.db.DBUtil Closed Connection
SEVERE 62 1 oracle.dbtools.db.DBUtil
SEVERE 63 0 oracle.dbtools.raptor.nls.OracleNLSProvider Error loading nls:Closed Connection
SEVERE 64 0 oracle.dbtools.raptor.nls.OracleNLSProvider Error loading nls:Closed Connection
SEVERE 65 5 oracle.dbtools.db.DBUtil Closed Connection
SEVERE 66 0 oracle.dbtools.db.DBUtil
SEVERE 67 0 oracle.dbtools.raptor.nls.OracleNLSProvider Error loading nls:Closed Connection
SEVERE 68 0 oracle.dbtools.raptor.nls.OracleNLSProvider Error loading nls:Closed Connection
SEVERE 69 6 oracle.dbtools.db.DBUtil Closed Connection
SEVERE 70 0 oracle.dbtools.db.DBUtil
SEVERE 71 0 oracle.dbtools.raptor.nls.OracleNLSProvider Error loading nls:Closed Connection
SEVERE 72 0 oracle.dbtools.raptor.nls.OracleNLSProvider Error loading nls:Closed Connection
please help me to set NLS parameters for current and future connections.
thanks,
harryHi -K-
actually I want to make SqlDeveloper to make case insensitive search.
when I google, I've found to make oracle as case insensitive I need to set NLS_SORT to Binary_CI and NLS_COMP to LINGUISTIC
Default SQLDEVELOPER NLSParmeters values are as NLS_SORT---->Binary and NLS_COMP--->Binary
Now I want to make these as NLS_SORT---->Binary_CI and NLS_COMP--->LINGUISTICS.
thanks,
harry -
How to set single parameters for two tables?
SELECT GM.GRNNO,GM.GRNDATE,SUM(GS.APPROVED),SM.ISSUENO,SM.ISSUEDATE,GS.ITEMCODE,SUM(SS.ISSUEDQTY)
FROM IMS_GRNM GM,IMS_GRNS GS, IMS_ISSUEM SM, IMS_ISSUES SS
WHERE GM.GRNMSERIAL=GS.GRNSSERIAL
AND SM.ISSUEMSERIAL=SS.ISSUESSERIAL
AND GM.POSTED='T'
AND SM.POSTED='T'
AND GS.ITEMCODE=SS.ITEMCODE
AND GS.ITEMCODE='01-01-02-019'
AND *******
GROUP BY GM.GRNNO,SM.ISSUENO,GM.GRNDATE,SM.ISSUEDATE,
GS.ITEMCODE ORDER BY GM.GRNDATE,SM.ISSUEDATE;
******* here i have to select the data from both the tables between two parameters named :P_1 and :P_2.
the date column in IMS_GRNM is named as GRNDATE.
the date column in IMS_ISSUEM is named as ISSUEDATE.
how to set such parameters???I think all you need is
Where table1.column1 between :p1 and :p2
and table2.column2 between :p1 and :p2 -
JVM parameters in MANIFEST file
I deployed my Swing app in a JAR file wih the following manifest file:
Manifest-Version: 1.0
Created-By: 1.4.0 (Sun Microsystems Inc.)
Main-Class: MainApplication
Class-Path: . jarfile1.jar ................ jarfilen.jar
Everything is ok except I don't know how to specify the following JVM parameters: -Xmx256M -Xms128M -Xss1M. Can someone help me, please ?
Thanks in advanceProbably these parameters ( -Xmx256M -Xms128M -Xss1M ) must be specified in the properties of the link that launch java -jar yourJar...
Fabio
Maybe you are looking for
-
HP envy 120 - scanning via aio app
Hello, I am having a problem using the HP All in One app for scanning. I am using an HP envy 120 printer/scanner. The printer and scanner work fine when operating directly on the printer device. However, when using the app, the printer works fine but
-
Need help restoring iPhone 4s to an older backup file instead of most recent backup
My year old iPhone 4 was stolen a few months ago, bought the new 4s in November, but due to a broken laptop screen i could not restore the new phone to my backup on itunes. Finally had the laptop fixed and I accidentally backed up the 4s, which only
-
How to convert Keynote presentation to PowerPoint, w/o losing formating?
Hi, I have a Macbook with iWork 08. I love creating presenations in Keynote, but when I export to Powerpoint and then try to run the presentation on my Windows XP (work) PC, the presentation is misconfigured with fonts running off the screen and picu
-
Blocking of Good Issue with respect to posting date
Hi Expert, Is there any way out in SAP B1 to block the Good Release with respect to posting date.i.e. If User receipt the Good in stock today then system should not allow the user to issue the same good on the back date. regards, Panka
-
How to handle the duplication of objects in two folders?
Hi, In my case, there are two folders and all the elemnts in both are same. As and when we try to change the property one template in first folder ,it gets changed in second folder too in same template. And if i try to create a new element it gets co