How to change the directory of apex - listener.xml using container startup options?

The option proposed in the thread Re: change the URL of earphone APEX (second post by Udo) seems attractive, but being not not Glassfish pro, I do not know how.
Anyone can indicate in which succession of menus Glassfish should I go to refer - Dconfig_dir =... parameter?

I run Apex listener on Glassfish 3.1 1.1

Igor

Hello Igor.

the setting -Dconfig_dir = is an option for the JVM, used similar to a shell environment setting.
You can set this parameter to GlassFish by editing the startserv.bat or shell startserv script, depending on the OS you are using.
Note that you can use any name, as config_rep is a name arbitrarily chosen for the parameter that I presented for the config file.

-Udo

Tags: Database

Similar Questions

  • How to change the directory on the Archives of parameter permanently? Try with change change is again after stopping

    Hi all

    I got this setting on the backup database

    SQL > parameters shows Archives;

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    ARCHIVE_LAG_TARGET integer 0

    log_archive_config string dg_config = (erpdb, stdby)

    Log_archive_dest chain

    location of string Log_archive_dest_1 = 'G:\ARC', valid_for =

    (ALL_LOGFILES, ALL_ROLES)

    LOG_ARCHIVE_DEST_10 string

    Service string LOG_ARCHIVE_DEST_2 = erpdb valid LGWR ASYNC

    _for = (online_logfiles, primary_

    db_unique_name role) = erpdb

    location of string log_archive_dest_3 = "F:\ARC", valid_for =

    (STANDBY_LOGFILE, STANDBY_ROLE)

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    log_archive_dest_4 string

    log_archive_dest_5 string

    log_archive_dest_6 string

    log_archive_dest_7 string

    log_archive_dest_8 string

    log_archive_dest_9 string

    log_archive_dest_state_1 string ENABLE

    allow the chain of log_archive_dest_state_10

    allow the chain of LOG_ARCHIVE_DEST_STATE_2

    log_archive_dest_state_3 string ENABLE

    allow the chain of log_archive_dest_state_4

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    allow the chain of log_archive_dest_state_5

    allow the chain of log_archive_dest_state_6

    allow the chain of log_archive_dest_state_7

    allow the chain of log_archive_dest_state_8

    allow the chain of log_archive_dest_state_9

    log_archive_duplex_dest string

    log_archive_format string %t_%s_%r.ARC

    log_archive_local_first Boolean TRUE

    log_archive_max_processes integer 2

    log_archive_min_succeed_dest integer 1

    log_archive_start boolean FALSE

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    log_archive_trace integer 0

    real chain of remote_archive_enable

    standby_archive_dest string F:\ARC

    SQL >

    I use this to change the directory to F:\ARC to G:\ARC\STANDBY

    SQL > alter system set standby_archive_dest = 'G:\ARC\STANDBY' scope = both;

    Modified system.

    SQL > alter system set log_archive_dest_3 =' location = G:\ARC\STANDBY' scope = both;

    Modified system.

    SQL >

    I checked the new parameter

    SQL > parameters shows Archives;

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    ARCHIVE_LAG_TARGET integer 0

    log_archive_config string dg_config = (erpdb, stdby)

    Log_archive_dest chain

    location of string Log_archive_dest_1 = 'G:\ARC', valid_for =

    (ALL_LOGFILES, ALL_ROLES)

    LOG_ARCHIVE_DEST_10 string

    Service string LOG_ARCHIVE_DEST_2 = erpdb valid LGWR ASYNC

    _for = (online_logfiles, primary_

    db_unique_name role) = erpdb

    location of string log_archive_dest_3 = G:\ARC\STANDBY

    log_archive_dest_4 string

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    log_archive_dest_5 string

    log_archive_dest_6 string

    log_archive_dest_7 string

    log_archive_dest_8 string

    log_archive_dest_9 string

    log_archive_dest_state_1 string ENABLE

    allow the chain of log_archive_dest_state_10

    allow the chain of LOG_ARCHIVE_DEST_STATE_2

    log_archive_dest_state_3 string ENABLE

    allow the chain of log_archive_dest_state_4

    allow the chain of log_archive_dest_state_5

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    allow the chain of log_archive_dest_state_6

    allow the chain of log_archive_dest_state_7

    allow the chain of log_archive_dest_state_8

    allow the chain of log_archive_dest_state_9

    log_archive_duplex_dest string

    log_archive_format string %t_%s_%r.ARC

    log_archive_local_first Boolean TRUE

    log_archive_max_processes integer 2

    log_archive_min_succeed_dest integer 1

    log_archive_start boolean FALSE

    log_archive_trace integer 0

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    real chain of remote_archive_enable

    standby_archive_dest string G:\ARC\STANDBY

    SQL > parameters shows Archives;

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    ARCHIVE_LAG_TARGET integer 0

    log_archive_config string dg_config = (erpdb, stdby)

    Log_archive_dest chain

    location of string Log_archive_dest_1 = 'G:\ARC', valid_for =

    (ALL_LOGFILES, ALL_ROLES)

    LOG_ARCHIVE_DEST_10 string

    Service string LOG_ARCHIVE_DEST_2 = erpdb valid LGWR ASYNC

    _for = (online_logfiles, primary_

    db_unique_name role) = erpdb

    location of string log_archive_dest_3 = G:\ARC\STANDBY

    log_archive_dest_4 string

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    log_archive_dest_5 string

    log_archive_dest_6 string

    log_archive_dest_7 string

    log_archive_dest_8 string

    log_archive_dest_9 string

    log_archive_dest_state_1 string ENABLE

    allow the chain of log_archive_dest_state_10

    allow the chain of LOG_ARCHIVE_DEST_STATE_2

    log_archive_dest_state_3 string ENABLE

    allow the chain of log_archive_dest_state_4

    allow the chain of log_archive_dest_state_5

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    allow the chain of log_archive_dest_state_6

    allow the chain of log_archive_dest_state_7

    allow the chain of log_archive_dest_state_8

    allow the chain of log_archive_dest_state_9

    log_archive_duplex_dest string

    log_archive_format string %t_%s_%r.ARC

    log_archive_local_first Boolean TRUE

    log_archive_max_processes integer 2

    log_archive_min_succeed_dest integer 1

    log_archive_start boolean FALSE

    log_archive_trace integer 0

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    real chain of remote_archive_enable

    standby_archive_dest string G:\ARC\STANDBY

    SQL >

    log_archive_dest_3 has changed from F to G

    standby_archive_dest changed from F to G

    I check again with the judgment

    SQL > alter database recover managed standby database cancel;

    Database altered.

    SQL > shutdown

    ORA-01109: database is not open

    The database is dismounted.

    ORACLE instance stops.

    SQL >

    start the DB again

    SQL > startup nomount;

    ORACLE instance started.

    Total System Global Area 9663676416 bytes

    Bytes of size 2093360 fixed

    2650803920 variable size bytes

    6996099072 of database buffers bytes

    Redo buffers 14680064 bytes

    SQL > alter database base_de_donnees eve of Mount;

    Database altered.

    SQL >

    I check again the parameter

    SQL > parameters shows Archives;

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    ARCHIVE_LAG_TARGET integer 0

    log_archive_config string dg_config = (erpdb, stdby)

    Log_archive_dest chain

    location of string Log_archive_dest_1 = 'G:\ARC', valid_for =

    (ALL_LOGFILES, ALL_ROLES)

    LOG_ARCHIVE_DEST_10 string

    Service string LOG_ARCHIVE_DEST_2 = erpdb valid LGWR ASYNC

    _for = (online_logfiles, primary_

    db_unique_name role) = erpdb

    location of string log_archive_dest_3 = "F:\ARC", valid_for =

    (STANDBY_LOGFILE, STANDBY_ROLE)

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    log_archive_dest_4 string

    log_archive_dest_5 string

    log_archive_dest_6 string

    log_archive_dest_7 string

    log_archive_dest_8 string

    log_archive_dest_9 string

    log_archive_dest_state_1 string ENABLE

    allow the chain of log_archive_dest_state_10

    allow the chain of LOG_ARCHIVE_DEST_STATE_2

    log_archive_dest_state_3 string ENABLE

    allow the chain of log_archive_dest_state_4

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    allow the chain of log_archive_dest_state_5

    allow the chain of log_archive_dest_state_6

    allow the chain of log_archive_dest_state_7

    allow the chain of log_archive_dest_state_8

    allow the chain of log_archive_dest_state_9

    log_archive_duplex_dest string

    log_archive_format string %t_%s_%r.ARC

    log_archive_local_first Boolean TRUE

    log_archive_max_processes integer 2

    log_archive_min_succeed_dest integer 1

    log_archive_start boolean FALSE

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    log_archive_trace integer 0

    real chain of remote_archive_enable

    standby_archive_dest string F:\ARC

    SQL >

    log_archive_dest_3 is back in G F

    standby_archive_dest is returning f G

    How do a perm

    Thank you

    Eddy

    Hello again;

    No matter how lucky you have configured DGMGRL and mix SQL with it? Broker would cause the problem you are reporting.

    Once you start using DGMGRL must stick to it, you cannot mix.

    Best regards

    mseberg

  • How to change the password of a schema by using Oracle SQL Developer

    Hi need to change the password of a schema by using Oracle SQL Developer, how can I do?

    or maybe http://www.thatjeffsmith.com/archive/2012/11/resetting-your-oracle-user-password-with-sql-developer/

  • How to change the settings of computer Image virtual using VI SDK 4

    Hello

    All the

    I just wanted to know how to change the setting of Image of computer virtual using VI SDK 4

    Setting virtual machine Image could be (memory setting etc.)

    (1) Yes (If yes or no do you while the virtual machine is online is totally based on the question of whether the operating system supports or not)

    (2) I don't know what ' TTL you are referring?

    I would say take a look at the previous documents, I've linked to familiarize yourself with what you can do and another great reference point is the vSphere API itself doc: http://www.vmware.com/support/developer/vc-sdk/visdk400pubs/ReferenceGuide/index.html and make use of Research to see what properties/attributes are available on the entities/objects.

    =========================================================================

    William Lam

    VMware vExpert 2009

    Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

    repository scripts vGhetto

    VMware Code Central - Scripts/code samples for developers and administrators

    150 VMware developer

    Twitter: @lamw

    If you find this information useful, please give points to "correct" or "useful".

  • How to change the default integrated weblogic listen IP address?

    Hi all
    Hopefully a simple question in my embedded weblogic Server jdev comes well: 127.0.0.1:7101
    question is - how can I change the IP address to the real IP address of this computer for example 192.168.0.10?
    If I replace the one in the browser then it fails and not specifically, netstat displays it listens on the 127.0.0.1:7101 * 7101.
    Is it possible to change this in jdeveloper? I found the WL Server integrated into navigation, tried right click
    but found no possibility to change... I confirm that/etc/hosts has 192.168.0.10 as the first line.
    (I need to do so that I can test servlet sessions via JSESSIONID from a PC and a browser on the different network).
    Thank you very much!

    Colin,

    In the Application-> Properties dialog box, select the 'Run' node (and if you use 11.1.2 click on the button "load the extension" if necessary). There will be a button "Application Server Properties". Click on that and then go to the Configuration tab - you can change the address of bind and port there.

    Edit: or more directly:

    Discover-> Application Server browser then right click on the server application integrated-> properties and change the configuration it.

    John

  • How to change the directory where the files are placed in other applications to access?

    ESR running on Centos (RedHat) 5 & 6. Because of the way my system is set up, I would change where Firefox updates a file when they need to be accessed by another application (for example, a .doc file). The default is to place them in / tmp, which works for most people, but does not work in my particular installation. (Among the programs that I use to read some files are actually on another computer, but can be started automatically from the computer, I'm browsing). I need to place these files in a network directory, so that the other computer can see.

    I looked into: config, but can't find anything pointing to/tmp. I hope that it is one of these "add a new line to about: config ' things that are supposed to be (from bones), but can be changed if necessary.

    Thank you
    Ted Miller

    You probably can make only by changing the variable of environment TMPDIR = / tmp to point to this network drive.

    You can start Firefox via a script file if you want to do this for all applications.

    #!/bin/sh
    
    export TMPDIR=<path to tmp directory>
    cd <path to Firefox>
    ./firefox
    
  • How to change the visibility of an indicator programmically using a checkbox

    1. How do I change the visibility of an indicator of programmically using a checkbox?

    2. How can I change the color of a thermometer? I mean, this is how I can change the color when the temperature reaches a certain value?

    Nodes property.

    Right-click on your indicator.  Create > property Node > Visible.  Your Boolean checkbox wire that.

    For the thermometer to create a property node and choose FillColor.  A constant color box wire to one that is in its graphics & > range of image feature.

  • How to change the paragraph style to each paragraph that contains only one anchored object?

    Hello

    I have a document in word that should be converted in indesign. The document contains instructions, each step followed by an image.

    I managed to import the document into Indesign and applied a paragraph with numbering style to everything (text, image).

    Now, how do I change the the paragraph style to each paragraph that contains only an image? I need to get rid of the numbering.

    Thanks in advance.

    If the images are all anchored objects, you can use find/replace to find the anchor point and change the paragraph style only once for all paragraphs.

  • How to change the URL dafault apex?

    I created Apex with XDB HTTP server, and the dafault URL is: http://localhost: 8080/apex/f?...
    It is running okay now.
    How can I change my link such as: http://localhost: 8080/myapplication/f?...

    Thanks for all your help.

    Hello

    I posted link where is example of how
    http://dbswh.webhop.NET/dbswh/f?p=blog:read:0:article:1000

    Kind regards
    Jari

    http://dbswh.webhop.NET/dbswh/f?p=blog:Home:0

  • How to change the directory in the subfolder named '%AppData%' in the command line?

    I get this question when I wrote a .bat file.

    Operating system: Windows 7 x 64

    Create a folder on the D partition named '%AppData%', I can open this folder in Explorer without any problem.
     
    the question is how can I change in this folder in command line.

    CD /d "D:\%APPDATA%", but it does not work.

    I will appreciate for any help.

    You must use the escape character ^ warns we %APPDATA%\microsoft\windows\sendto is interpreted as an environment variable:

    CD /d "D:\^%APPDATA^%".

  • How to change the address bar of search engine uses when you type in the search for something that is not Google

    I left all the Google services currently, I used Gmail, Chrome, etc... due to the recent sale of information to the Gov't and what not and even though she may or may not be true I'm sure and switched to Firefox and a different email provider. In any case so far, I like Firefox I use DuckDuckGo as my current default search and I would use as my search engine when I type a search in the address bar, by default it is Google, how can I change to a search provider I want as DuckDuckGo?

    Hello

    If you have installed DuckDuckGo on Firefox, you can follow these steps:

    1. Type of topic: config in the address bar.
    2. A warning appears, click on "I'll be careful, I promise!
    3. Type browser.search.defaultEngine in the search at the top of the page box.
    4. Double-click the item that appears.
    5. Set the value to DuckDuckGo or any search engine you want to use (the case I think).

    (I have attached a screenshot).

  • How to change the character set in an XML field

    Hello everyone.

    I have a table with an XML field, the table must be copied into a new, when I run:

    Insert into new_table

    Select * from ancienne_table;

    Delivery to the following error message:

    SQL error: ORA-64464: XML error event

    ORA-19202: there was an error in the treatment

    LSX-00234: decimals not valid "4,225714285714286."

    XML

    00000 64464. -"Error event XML.

    Can someone help me please, I need to convert the characters in "UTF8" that would solve the problem.

    Thank you very much

    Carlos

    SQL error: ORA-64464: XML error event

    ORA-19202: there was an error in the treatment

    LSX-00234: invalid decimal "4,225714285714286."

    XML

    00000 64464. -"Error event XML.

    Can someone help me please, I need to convert the characters in "UTF8" that would solve the problem.

    It seems that you have an XMLType column based on a pattern of failure revalidation.

    It's strange, but fortunately, the error has nothing to do with the database character set.

    Just change your NLS session parameters:

    ALTER session set nls_numeric_characters = ".";

    and try again.

  • How to extract the value of a tag XML using regular Expressions

    We get a response XML from a WEB SERVICE.

    I convert it to VARCHAR2.

    Now, I want to get the real answer that is inside the tag of the response.

    I tried this:

    DECLARE

    V_1 VARCHAR2 (30000): = ' < soap: Body > < ns:ProcessArgusFeedsResponse xmlns:ns = "urn: PegaRULES:SOAP:ArgusToPegaFeeds:Services" > ' |

    '< response > good < / answer >< / ns:ProcessArgusFeedsResponse > < / soap: Body > ';

    v_response VARCHAR2 (100);

    BEGIN

    DBMS_OUTPUT. PUT_LINE (V_1);

    v_response: = REGEXP_SUBSTR (v_1, ' / < >(.+?) < \/Response > answer /');

    dbms_output.put_line (v_response);

    END;

    It does not work.

    Any help would be greatly appreicated.

    Hello

    user12240205 wrote:

    We get a response XML from a WEB SERVICE.

    I convert it to VARCHAR2.

    Why?  XML has its own native ways of analysis; Why not use them?

    If you use regular expressions, then REGEXP_REPLACE, as shown above, is a good option in Oracle 10, but starting in Oracle 11.1, you can use REGEXP_SUBSTR like this:

    REGEXP_SUBSTR (v_1

    , '(.+?)'

    1

    1

    NULL

    1

    )

    The 6th argument is like a backreference; "He tells REGEXP_SUBSTR did not return to the entire organization, but only the part inside the 1st left '(' et correspondant à sa droite).

    The '?' to make it non-greedy is necessary only if v_1 can contain more than one response.

    Now, I want to get the real answer that is inside the tag of the response.

    I tried this:

    DECLARE

    V_1 VARCHAR2 (30000): = "" |

    'Good';

    v_response VARCHAR2 (100);

    BEGIN

    DBMS_OUTPUT. PUT_LINE (V_1);

    v_response: = REGEXP_SUBSTR (v_1, ' /(. +?)) <\ esponse="">/');

    dbms_output.put_line (v_response);

    END;

    It does not work.

    That's because it's looking for a slash ("/") before the '' tag and another after the ' tag.

    The backslash ("\") is not necessary here, but it is not nothing wrong.

  • How to change the path when Web server to my system time?

    Hello

    I downloaded a countdown of the Internet SWF file. It works very well with computers that have the Internet connection. But does not work without an Internet connection through the following line of code in an XML file:

    < PHPurl > http://www.flepstudio.org/utilita/countdown/GetTime.php < / PHPurl >

    When I opened the Web page by using the code above, it shows the time in a typical numbers:

    Monday, October 18, 2010 21:12:52 in my system-watch in the Web browser like: time = 1287425579

    How to change the code so that I can use my time system to work with countdown without an Internet connection.

    Here is the path from where I downloaded the file count:

    http://www.flepstudio.org/Forum/flepstudio-utilities/2960-Flash-CS3-countdown.html

    Please, help me run this countdown without internet access.

    Thank you.

    It seems that all this php file does is return a variable of time value =.  If you need to see where this time variable is implemented in the Flash file and assign it a value using the date.getTime method instead of having the PHP file called into play.  Look in the help documents or Google if you don't know how to use the class Date.

  • How to change the location of the listener of the Apex?

    Hi all
    After I changed the directory to the location of the listener of the Apex, I had
    Internal Error
    When I tried to go to Apex.

    How to solve this problem?

    Kind regards
    Val

    Hi Valerie,

    probably, this problem is caused by the access rights of the file on the apex.home (the place where the listener APEX stores its configuration). The default location is ${java.io.tmpdir}, which once again the default * / tmp/apex * in most cases. However, it is above all a global location, not a specific user. However, the files are created with write access to the owner and limited to the owner read access and group. So if you try to start with another user, the APEX listener tries to use the same location, but cannot access the files needed and therefore fails. root will obviously not have this problem, but I recommend not to use this account for any service that you run.
    You can set a startup option to resort the APEX listener to a different location for apex.home is reading - / writeable for the current user. This could as

    java -Dapex.home=/home/user/apex -jar ./apex.war
    

    Of course you can change the directory to anywhere that fits your system.
    For more information about the boot settings, you might take a look in the development Guide and apex listeners install.

    -Udo

Maybe you are looking for

  • How to remove email address incorrect autotyped for Amazon signin?

    When I connect to Amazon.com and I start to type in my email address / user ID, the feature 'autotype' indicates an e-mail address incorrect as one of the possibilities (I have created this through an accidental typing error). I have tried everything

  • Cannot replace the PXI embedded clock with clock oscillator PXI-6682 on PXI back plane

    I installed a module of synchronization PXI-6682 to slot 2 of a PXI-1031chassis with a PXI-8110 controller running hypervisor and RT.  The 6682 is installed on the RT system hypervisor for GPS sync during the measurements, but I would like to ask the

  • Trigger for USB-6251analog

    Hello Generate a rectangular signal of AO on AO0 (white) while playing a Sin on AO1 (red) signal. I want to record on AIx, while the tension of the rectangular signal is max. Currently I physically route AO0 to PFI0 and use it as a trigger for the an

  • Gaming area/hearts

    I have a new computer windows 7 and can't get into my msn gaming zone /hearts and want to know why

  • usb_bug_code blue screen

    I am using windows xp sp3 and often get a blue screen usb_bug code. Is there a permanent solution. Rgds.