How to config global JVM params?

I am completely new to Java, please bear with my terminologies if they are not correct.
I want to limit the maximum memory usage by JVM (-Xmx) globally, i.e., for every Java application/applet that does not have a local config file. I learned this from Borland C++Builder and JBuilder. The two products have config files to pass this param to JVM.
Thanks.

You can do that also. Set up a batch or shell program to run java.exe that accepts java runtime parameters, and has a default Xmx value that will be used if not overridden by an input value.

Similar Messages

  • How to config rman channel param when backup to tape

    Hi,I want to backup my DB to tape using rman, my tape drive is POWERVAULT 110T SDLT320 TAPE DRIVE, I've set the following line:
    configure default device type to sbt;
    I know I need to configure another line:
    configure channel device type sbt parms='env=(nsr_server=tape_svr,nsr_client=oracleclnt,nsr_group=oracle_tapes)'
    but what's tape_svr,what's oracle_tapes,what's oracleclnt,where can I get it, where can I get media management library? actually when I install tape driver, I don't install any software, it's self-detected, scsi, os automatically found that tape, so pls help me, thanks!!!

    Hi,
    I went through as per your action plan it is giving below error I found a solution on meta doc id 559190.1 but i am not able to understant how to start observiced as it is mentioned in the doc id.
    allocated channel: t1
    channel t1: sid=2386 devtype=SBT_TAPE
    channel t1: Data Protection for Oracle: version 5.4.1.0
    Starting restore at 09-MAY-10
    channel t1: looking for autobackup on day: 20100509
    released channel: t1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 05/09/2010 11:57:01
    ORA-27191: sbtinfo2 returned error
    Additional information: 2
    RMAN>
    Thanks,

  • How to config the web.xml file, when I use Richfaces + RI 1.2?

    Hi there:
    I want to use Richfaces + RI 1.2 to build a project. I don`t know how to config the web.xml file.
    By the way, my web server is Tomcat 6.0, my JDK's version is 6u6. I don`t want to use the facelets.
    thanks.
    lxm

    just add this before *</web-app>*
    <context-param>
           <param-name>org.richfaces.SKIN</param-name>
           <param-value>blueSky</param-value>
      </context-param>
      <filter>
           <display-name>RichFaces Filter</display-name>
           <filter-name>richfaces</filter-name>
           <filter-class>org.ajax4jsf.Filter</filter-class>
      </filter>
      <filter-mapping>
           <filter-name>richfaces</filter-name>
           <servlet-name>Faces Servlet</servlet-name>
           <dispatcher>REQUEST</dispatcher>
           <dispatcher>FORWARD</dispatcher>
           <dispatcher>INCLUDE</dispatcher>
      </filter-mapping>

  • How to config PKCS11.cfg during FAXs installation

    Hi guys,
    I am the rookie in Flash Access and want to setup environment on my local site. I have gone through steps from quickstart guide.
    I have a problem in installing license server now. I want to run Validator.bat to verify configuration, but I am getting error and paste it as below from flashaccess-global.log:
    2010-08-19 12:18:22,544 INFO  [com.adobe.flashaccess.server.license.keystore.PKCS11KeyStoreFactory] Unable to initialize the PKCS11 key store factory. If PKCS11 is to be supported, please ensure 'pkcs11.cfg' is configured correctly and is supported on the target platform.
    2010-08-19 12:18:22,575 DEBUG [com.adobe.flashaccess.server.license.keystore.PKCS11KeyStoreFactory] Exception thrown while initializing PKCS11 key store factory
    com.adobe.flashaccess.server.license.configuration.deployment.filebased.MultiTenantDeploym ent$DeploymentException: java.io.FileNotFoundException: C:\Program Files\Java\Tomcat\licenseserver\flashaccessserver\pkcs11.cfg
              at com.adobe.flashaccess.server.license.configuration.deployment.filebased.MultiTenantDeploy ment.getGlobalResource(MultiTenantDeployment.java:171)
              at com.adobe.flashaccess.server.license.keystore.PKCS11KeyStoreFactory.<init>(PKCS11KeyStore Factory.java:100)
              at com.adobe.flashaccess.server.license.keystore.PKCS11KeyStoreFactory.createSingleton(PKCS1 1KeyStoreFactory.java:59)
              at com.adobe.flashaccess.server.license.tools.Validator.process(Validator.java:138)
              at com.adobe.flashaccess.server.license.tools.Validator.main(Validator.java:112)
    Caused by: java.io.FileNotFoundException: C:\Program Files\Java\Tomcat\licenseserver\flashaccessserver\pkcs11.cfg
              at com.adobe.flashaccess.server.license.configuration.deployment.filebased.MultiTenantDeploy ment$UpdatableFileSystemResource.<init>(MultiTenantDeployment.java:263)
              at com.adobe.flashaccess.server.license.configuration.deployment.filebased.MultiTenantDeploy ment.getGlobalResource(MultiTenantDeployment.java:168)
              ... 4 more
    2010-08-19 12:20:22,568 INFO  [com.adobe.flashaccess.server.license.keystore.PKCS11KeyStoreFactory] Unable to initialize the PKCS11 key store factory. If PKCS11 is to be supported, please ensure 'pkcs11.cfg' is configured correctly and is supported on the target platform.
    2010-08-19 12:20:22,583 DEBUG [com.adobe.flashaccess.server.license.keystore.PKCS11KeyStoreFactory] Exception thrown while initializing PKCS11 key store factory
    java.lang.reflect.InvocationTargetException
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
              at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
              at java.lang.reflect.Constructor.newInstance(Unknown Source)
              at com.adobe.flashaccess.server.license.keystore.PKCS11KeyStoreFactory.<init>(PKCS11KeyStore Factory.java:105)
              at com.adobe.flashaccess.server.license.keystore.PKCS11KeyStoreFactory.createSingleton(PKCS1 1KeyStoreFactory.java:59)
              at com.adobe.flashaccess.server.license.tools.Validator.process(Validator.java:138)
              at com.adobe.flashaccess.server.license.tools.Validator.main(Validator.java:112)
    Caused by: java.security.ProviderException: Error parsing configuration
              at sun.security.pkcs11.Config.getConfig(Config.java:71)
              at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:110)
              at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:90)
              ... 8 more
    Caused by: sun.security.pkcs11.ConfigurationException: Unexpected value: Token['['], line 1
              at sun.security.pkcs11.Config.excToken(Config.java:339)
              at sun.security.pkcs11.Config.parseWord(Config.java:498)
              at sun.security.pkcs11.Config.parseLine(Config.java:546)
              at sun.security.pkcs11.Config.parseLibrary(Config.java:617)
              at sun.security.pkcs11.Config.parse(Config.java:362)
              at sun.security.pkcs11.Config.<init>(Config.java:194)
              at sun.security.pkcs11.Config.getConfig(Config.java:67)
              ... 10 more
    2010-08-19 12:20:23,990 DEBUG [org.apache.commons.configuration.ConfigurationUtils] ConfigurationUtils.locate(): base is null, name is null
    2010-08-19 12:20:24,162 DEBUG [root] Appender created with name: [Partition(flashaccessserver)]
    2010-08-19 12:20:24,552 DEBUG [org.apache.commons.configuration.ConfigurationUtils] ConfigurationUtils.locate(): base is null, name is null
    2010-08-19 12:20:24,584 DEBUG [org.apache.commons.configuration.ConfigurationUtils] ConfigurationUtils.locate(): base is null, name is null
    I have read documentation the pkcs11.cfg should not be used if doesn't enable HSM.
    I am not very familiar with java application server , so maybe it's a stupid question. I am wondering how to config it to avoid error ?
    Very appreciate your answer in advance.

    Hello Lewis,
    It is always a good idea to run the Validator tool to verify a deployment.
    The PKCS11.cfg file referenced below is an optional configuration file, that needs to be present/configured if-and-only-if HSM access needs to be enabled on the server.
    The error you are seeing below is not something to be concerned about unless you plan to enable HSM access on the server. The stack trace is a DEBUG level log message. If you notice, the INFO log message suggests that this is not a critical error. When such an error is encountered with the PKCS11 config file, the server automatically defaults to not using HSM.
    Hope that answers your question.
    Regards,
    Safdar

  • How to config JSSE for UDDI4J???

    Hi, i am using uddi4j to access uddi registries. As you know, when you use the publish api, it use the https connection.so we need to do some configurations for JSSE. I have downloaded JSSE,but i just don't know how to config it in the java.security file.please help,thanks:)

    If you are using java 1.4 > JSSE is now included in the release and you shouldn't have to do anything.
    If you are using an older JVM, you can also add the jsse.jar file into your classpath and register the appropriate provider implementation class:
    System.setProperty("java.protocol.handler.pkgs",
    "com.sun.net.ssl.internal.www.protocol");
    java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
    Or try googling the subject and look at links similar to the following:
    http://www-128.ibm.com/developerworks/webservices/library/ws-uddi4j2.html
    Cheers
    Todd

  • How to config a new remote on apple tv (first generation). I have lost my remote which came with the apple tv

    How to config a new remote on apple tv (first generation). I have lost my remote which came with the apple tv.

    Do you mean you've replaced your remote and it wont work because your AppleTV is paired to your lost remote?
    If so, http://support.apple.com/kb/HT1555 has you covered.

  • How to config OnDemand Report

    Hi,
    How to config OD Report if I want result display as below SQL command
    select a.accountname,count(b.salestage),
    (select count(b.salestage) from opportunity b where salestage in ('Closed/Did Nothing','Closed/Lost'))
    from account a,opportunity b group by a.accountname
    Thanks
    Pae

    if submit url with parameter
    http://hostname:7778/reports/rwservlet?destype=PRINTER&desname=lpSZ_R02_2&report=sticker.out
    error
    REP-50159: Executed successfully but there were some errors when distribute the output
    How to Solution?

  • How to configure global transaction wthin Oracle AS JMS and Oracle JMS

    How to configure global transaction if I take a message from Oracle JMS(AQ) and send it to the Oracle JMS?

    Which version of OC4J are you working on?
    In OC4J 10.1.3.x, presume your OC4J JMS listens messages via MDB which uses a resource adapter as a message listener. The resouce adaper could be the generic JMS adapter deployed in OC4J as the default.
    Resource adapter configuration to support MDBs is included in the standard ra.xml file, which lists the message listener types that the resource adapter supports.
    The MDB developer or deployer configures the MDB in the ejb-jar.xml file, through a <message-driven> element.
    In addition to above, configuration in the ejb-jar.xml file specifies whether an MDB uses transactions.
    1) The <transaction-type> subelement of <message-driven> in ejb-jar.xml has a value of Container, and the <trans-attribute> subelement of <container-transaction> (under the <assembly-descriptor> element) has a value of Required. In this circumstance, if there is an imported transaction, then message delivery and related work are performed within that transaction. If there is no imported transaction, OC4J creates a transaction, and message delivery and related work are performed within that transaction.
    2) The <transaction-type> subelement of <message-driven> in ejb-jar.xml has a value of Bean. In this circumstance, the MDB manages the transaction. If a transaction is imported, OC4J will suspend it before the message delivery method call to the MDB, in order to avoid conflict.
    Message delivery is not transacted if the <transaction-type> subelement of <message-driven> in ejb-jar.xml has a value of Container, but the <trans-attribute> element has a value of NotSupported. If there is an imported transaction in this circumstance, OC4J will suspend the transaction before the message delivery method call to the MDB.
    Details could be found from OC4J Resource Adapter Guide.

  • How to config ZFS in solaris 10

    hi,
    I'm testing solaris 10 x86 edition in my PC. but i don't
    find any information about how to config ZFS in 10 (X86).. ;-(
    if anybody know it, pls.give me some information.
    thanks a lot.

    ZFS has not yet been integrated into Solaris 10...
    At this time you need either the "Software Express for Solaris 2/06"
    ( http://www.sun.com/software/solaris/solaris-express/ ) or the
    "Solaris Express: Community Release"
    ( http://www.opensolaris.org/os/downloads/on/ ) to play with ZFS.
    .

  • How to config the telephony button in CRM 5.0 (win client)

    Dear Sir,
    I can't find the documents how to config the telephony button in CRM5.0 (win clicent). Please kindly advise.
    Thank you and best regards,
    Vimol

    i can find the solution

  • How to config the font size of rich pod?

    Hi,
    Does anyone know how to config the font size of rich pod? It's too small.
    Thanks!

    You can do that using the PRINT-CONTROL Statement.This will only work when you send the list to the printer.Sample code is as below :
    REPORT zfont NO STANDARD PAGE HEADING LINE-SIZE 80 LINE-COUNT 65.
    Start of print-control
    NEW-PAGE PRINT ON.
    PRINT-CONTROL FUNCTION 'SF000'.
    WRITE: / 'This is CPI 20'.
    SKIP.
    PRINT-CONTROL FUNCTION 'SF020'.
    WRITE: / 'This is CPI 6'.
    SKIP.
    PRINT-CONTROL FUNCTION 'SF008'.
    WRITE: / 'This is CPI 12'.
    Depending on your SAP printer device, this may also work
    PRINT-CONTROL FONT 1 LPI 6.
    you can try to change font and LPI numbers
    WRITE: / 'font 1 lpi 6'.
    PRINT-CONTROL FONT 2 LPI 6.
    WRITE: / 'font 2 lpi 6'.
    PRINT-CONTROL FONT 3 LPI 6.
    WRITE: / 'font 3 lpi 6'.
    End of print-control
    NEW-PAGE PRINT OFF.
    *--- End of Program

  • How to config the user and role in the runtime for executing in the GP?....

    Hi Experts,
    I am learning GP(Guided processor)according the document
    http://help.sap.com/saphelp_nw70/helpdata/en/44/0d5b8f250d5cfae10000000a155369/frameset.htmneed.
    I meet two question when I learn the GP.
    The first:
    This document don't tell me how to config the member framework of the company.  After I design the GP, I have to config the user and role in the runtime for executing. I hope I can use the WDA(webdynpro for java or webdynpro for java) to implement to config the user for executing in the runtime. Thus, the customer don't config the user when runing the GP. But I don't know how to do this.
    I need a document guide step by step to tell me how to do this.
    The second:
    If I use the workflow in the GP, I have to install and config the NWDI(Netweaver Development Infrastructure). Now I have installed the NWDI, but I don't know config it so that I can download it to my machine for develop the workfolw in the GP.
    Do you give me some hints? Thanks a lot.
    Thank a lot.
    Best regards,
    tao

    Hi, Mithu,
    Thanks a lot for your help in advance.
    I have carefully read the document: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6b66d7ea-0c01-0010-14af-b3ee523210b5.
    Now, I think I have to set the processor of every actions in every process if I use the GP for processing the workflow.
    I am better to hope that I can set the processor to the role for every actions in every process in the runtime through get the organizational structure in the WDA(webdynpro for java or webdynpro for java). Thus, the customer don't set the processor to the role for every action in every process when runing in the GP.   I don't know how to do this. 
    Whether the function is not supported in the GP? If so, I have to config two organizational structure: in the R/3 and in the Portal. I don't think our customer don't receipt this solution.
    Do you give me some hints? Thanks a lot.  My email: [email protected]
    Thanks again.
    Thanks & Regards,
    Tao

  • How to config SS7 in AS5300 connecting to PSTN

    Hi,
    AS5300----SS7 PSTN switch
    How to config SS7 trunk in AS5300?
    Thanks
    yytellmey

    AS5300 can only transport ss7 messages via ip to a device which supports ss7, it won't deal with ss7 directly. What you need perhaps is Cisco PGW2200, then you will be able to connect to ss7 through AS5300.
    Check out this link:
    http://www.cisco.com/application/pdf/en/us/guest/products/ps2027/c2001/ccmigration_09186a00800b4193.pdf

  • How to config status in Search in T-code : cic0

    Dear All
    We just upgrade from CRM 2.0c to CRM 5.0 . How to config status in Search in T-code : cic0, because the status in the Search transaction, is different from the Activity transaction . Please help.
    Thank and best regards,
    Vimol

    Hi Vimol,
    If you are talking about the custom search help, please follow the following steps to add a custom search criteria for CIC0.
            1.  Run transaction SPRO.
            2.  Click on SAP Reference IMG tab on application tool bar.
            3.  Select Customer Relationship Management node.
            4.  Select Interaction Center Winclient node.
            5.  Select Component Configuration node.
            6.  Select Visible Components node.
            7.  Select Navigation Area node.
            8.  Select Define search Profile IMG activity.
            9.  Select the relevant Profile, and click on node view search application
                 within the locator.
           10.  Save the settings.
           11.  Back to main tree.
           12.  Select define search in locator IMG activity. 
           13.  Click on Search id node.
           14.  Add the search id, text, function module, program name and screen in
                 the table.
    <b>Reward points if it helps.</b>

  • How to config helo in ims5.2

    hi
    how to config helo in ims5.2 and how to check the output of helo?
    thanks

    According to the SMTP protocol (from it's frist implementation RFC 821 - Aug. 1982, to the latest RFC 2821 - Apr 2001) , the HELO command is issued by a client to initiate a conversation with the server. Actually The HELO should be superseeded by the EHLO command but it's mantained for compatibility with earlier implementation as a fallback.
    Anyway if you intend to configure your server to use only the HELO command when initiating a conversation with another server, you could use the keyword nohelo on the channel, but it's not standard; instead you could use the keyword checkehlo that tries to initiate the conversation with the standard ehlo command, and if it doesn't succede, then it falls back to the old helo mechanism.
    give a look at the docs:
    http://docs.sun.com/source/816-6020-10/mta_conf.htm#1067326

Maybe you are looking for

  • How do I get at a variable set in the On Start macro?

    Within the On Start macro of an Access Web App, I set the variable CurrentUserEmailAddress to =UserEmailAddress.  I would like to be able to access this variable somehow from a table On Update event macro.  How can I pass this variable along?

  • PO with account assignment Category M

    Hi Friends, In an intercompany stock transer scenario for a PO with account assignment category M, can the receiving plant receive the goods before the supplyig plant issues it? In my case it's happening only for POs with account assignment category

  • Missing pages in PDF export

    In Indesign CS4, when I export a 48 page document to PDF the last few pages are always missing. I've trying anything but I can't make it print the whole document.

  • Query by exmaple in Apex 3.1

    Does Apex 3.1 support query by example? Does Apex 3.1 have query possibilities like Oracle Forms do? Tnx, in advance. Dejan

  • Can't update adobe photoshop extended past 13.0.6

    I Have been trying for the last couple of days to update my cs6 photoshop extended 13.0.6 to 13.1 but the updater says everything is up to date, I have re installed, wiped and deactivated the instal and yet nothing works. Any ideas?