Examples of setting up blazeds SharedServerSettings

Any one have any examples of using SharedServerSettings with
Blazeds.
I have an array collection that I want to share between user
in a flex - blazeDS app.
Thanks in advance
Dean

found the following information:
C:\Sun\studio_5\appserver7\domains\domain1\server1\config\server.xml
Note: java-home, server-classpath and ${java.home}
This looks and smells like the documentation is asking for.
<java-config
java-home="C:/Sun/studio_5/appserver7/jdk"
server-classpath="C:/Sun/studio_5/appserver7/lib/appserv-rt.jar;
${java.home}/lib/tools.jar;
C:/Sun/studio_5/appserver7/lib/appserv-ext.jar;
C:/Sun/studio_5/appserver7/lib/appserv-cmp.jar;
C:\Sun\studio_5\appserver7\share\lib/mail.jar;
C:/Sun/studio_5/appserver7/lib/appserv-ideplugin.jar;
C:\Sun\studio_5\appserver7\imq\lib/imq.jar;
C:\Sun\studio_5\appserver7\imq\lib/jaxm-api.jar;
C:\Sun\studio_5\appserver7\imq\lib/imqadmin.jar;
C:\Sun\studio_5\appserver7\imq\lib/imqutil.jar;
C:/Sun/studio_5/appserver7/lib/appserv-admin.jar;
C:\Sun\studio_5\appserver7\share\lib/jaxrpc-impl.jar;
C:\Sun\studio_5\appserver7\share\lib/jaxrpc-api.jar;
C:\Sun\studio_5\appserver7\share\lib/jaxr-impl.jar;
C:\Sun\studio_5\appserver7\share\lib/jaxr-api.jar;
C:\Sun\studio_5\appserver7\share\lib/activation.jar;
C:\Sun\studio_5\appserver7\share\lib/saaj-api.jar;
C:\Sun\studio_5\appserver7\share\lib/saaj-impl.jar;
C:\Sun\studio_5\appserver7\share\lib/commons-logging.jar;
C:\Sun\studio_5\appserver7\imq\lib/fscontext.jar;
C:\Sun\studio_5\appserver7\imq\lib/providerutil.jar;
C:/Sun/studio_5/appserver7/lib/appserv-jstl.jar"
classpath-suffix="C:/Sun/studio_5/appserver7/pointbase/client_tools/lib/pbclient42RE.jar"
env-classpath-ignored="true"
debug-options="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n"
debug-enabled="false"
javac-options="-g" rmic-options="-iiop -poa -alwaysgenerate -keepgenerated -g">

Similar Messages

  • Anybody has example of setting up bi-direction streams DB replication?

    I am looking for a solid example of setting up bi-direction replication at database level (global), using RMAN duplicate for instantiation and possible using MAINTAIN_GLOBAL package. This will be single source in 2 databases environment. The 2 databases should be in sync. I would like to know if we need to setup tag for it as it is bi-directional. Anybody has any link to it, please let me know.
    Thanks!

    I have bidirectional going.. here's my scripts... I replicate between two machines, AMS1 and AMS2
    On both machines, create the strmadmin user:
    connect / as sysdba;
    -- drop user strmadmin
    drop user strmadmin cascade;
    -- drop tablespace for streams
    DROP TABLESPACE streams_tbs including contents and datafiles;
    -- create tablespace for streams
    CREATE TABLESPACE streams_tbs DATAFILE '/oradata2/AMS/streams_tbs_01.dbf' SIZE 100M REUSE AUTOEXTEND ON MAXSIZE UNLIMITE
    D;
    -- create strmadmin user
    CREATE USER strmadmin IDENTIFIED BY strmadmin
    DEFAULT TABLESPACE streams_tbs
    QUOTA UNLIMITED ON streams_tbs;
    -- grants
    GRANT DBA TO strmadmin;
    BEGIN
    DBMS_STREAMS_AUTH.GRANT_ADMIN_PRIVILEGE(
    grantee => 'strmadmin',
    grant_privileges => true);
    END;
    SELECT * FROM dba_streams_administrator;
    Next, I do all the setup (capture, propagation, apply).
    The following is done on AMS1
    -- supplemental logging
    connect / as sysdba
    alter database force logging;
    alter database add supplemental log data;
    -- create database link
    conn / as sysdba
    create public database link AMS2.ttv.com using 'AMS2.ttv.com';
    connect strmadmin/strmadmin;
    create database link AMS2.ttv.com connect to strmadmin identified by strmadmin;
    -- setup capture queues
    conn strmadmin/strmadmin
    -- setup capture process to propagate to
    -- ams schema downstream
    begin
    dbms_streams_adm.set_up_queue(
    queue_table => 'cature_src_ams_tab',
    queue_name => 'capture_src_to_ams_q',
    queue_user => 'strmadmin');
    end;
    -- configure capture process
    conn strmadmin/strmadmin
    begin
    dbms_streams_adm.add_schema_rules (
    schema_name => 'ams',
    streams_type => 'capture',
    streams_name => 'capture_src_to_ams',
    queue_name => 'capture_src_to_ams_q',
    include_dml => true,
    include_ddl => true,
    inclusion_rule => true,
    source_database => 'AMS.ttv.com');
    end;
    BEGIN
    dbms_streams_adm.add_schema_propagation_rules (
    schema_name => 'ams',
    streams_name => 'prop_src_to_ams',
    source_queue_name => 'capture_src_to_ams_q',
    destination_queue_name => '[email protected]',
    include_dml => true,
    include_ddl => true,
    source_database => 'AMS.ttv.com');
    END;
    -- set instantiation scn
    conn strmadmin/strmadmin
    declare
    v_scn number;
    begin
    v_scn := dbms_flashback.get_system_change_number();
    [email protected](
    source_schema_name => 'ams',
    source_database_name => 'AMS.ttv.com',
    instantiation_scn => v_scn,
    recursive => true);
    end;
    -- setup apply queues
    conn strmadmin/strmadmin
    begin
    dbms_streams_adm.set_up_queue(
    queue_table => 'apply_src_ams_tab',
    queue_name => 'apply_src_ams_q',
    queue_user => 'strmadmin');
    end;
    begin
    dbms_streams_adm.add_schema_rules (
    schema_name => 'ams',
    streams_type => 'apply',
    streams_name => 'apply_src_ams',
    queue_name => 'apply_src_ams_q',
    include_dml => true,
    include_ddl => true,
    source_database => 'AMS2.ttv.com');
    end;
    -- SET parameter disable_on_error to 'N' to continue processing row LCR even it
    -- encounters errors
    begin
    dbms_apply_adm.set_parameter (
    apply_name => 'apply_src_ams',
    parameter => 'disable_on_error',
    value => 'N');
    end;
    -- increase memopry to 50M then start capture
    exec dbms_capture_adm.set_parameter('capture_src_to_ams','_SGA_SIZE','50');
    exec dbms_capture_adm.start_capture (capture_name=>'capture_src_to_ams');
    -- start apply processes
    exec dbms_apply_adm.start_apply (apply_name=> 'apply_src_ams');
    Then on AMS2:
    -- supplemental logging
    connect / as sysdba;
    alter database force logging;
    ALTER DATABASE ADD SUPPLEMENTAL LOG DATA;
    -- create database link
    conn / as sysdba
    create public database link AMS.ttv.com using 'AMS.ttv.com';
    connect strmadmin/strmadmin;
    create database link AMS.ttv.com connect to strmadmin identified by strmadmin;
    -- setup capture queues
    connect strmadmin/strmadmin
    begin
    dbms_streams_adm.set_up_queue(
    queue_table => 'capture_dest_ams_tab',
    queue_name => 'capture_dest_to_ams_q',
    queue_user => 'strmadmin');
    end;
    -- configure capture processes
    conn strmadmin/strmadmin
    begin
    dbms_streams_adm.add_schema_rules (
    schema_name => 'ams',
    streams_type => 'capture',
    streams_name => 'capture_dest_to_ams',
    queue_name => 'capture_dest_to_ams_q',
    include_dml => true,
    include_ddl => true,
    inclusion_rule => true);
    end;
    -- configure propagation process
    begin
    dbms_streams_adm.add_schema_propagation_rules (
    schema_name => 'ams',
    streams_name => 'prop_dest_to_ams',
    source_queue_name => 'capture_dest_to_ams_q',
    destination_queue_name => '[email protected]',
    include_dml => true,
    include_ddl => true,
    source_database => 'AMS2.ttv.com');
    end;
    -- setup apply queues
    begin
    dbms_streams_adm.set_up_queue(
    queue_table => 'apply_dest_ams_tab',
    queue_name => 'apply_dest_ams_q',
    queue_user => 'strmadmin');
    end;
    -- configure the apply process
    begin
    dbms_streams_adm.add_schema_rules (
    schema_name => 'ams',
    streams_type => 'apply',
    streams_name => 'apply_dest_ams',
    queue_name => 'apply_dest_ams_q',
    include_dml => true,
    include_ddl => true,
    source_database => 'AMS.ttv.com');
    end;
    -- SET parameter disable_on_error to 'N' to continue processing row LCR even it
    -- encounters errors
    begin
    dbms_apply_adm.set_parameter (
    apply_name => 'apply_dest_ams',
    parameter => 'disable_on_error',
    value => 'N');
    end;
    -- set instantiation scn
    conn strmadmin/strmadmin
    declare
    v_scn number;
    begin
    v_scn := dbms_flashback.get_system_change_number();
    [email protected](
    source_schema_name => 'ams',
    source_database_name => 'AMS2.ttv.com',
    instantiation_scn => v_scn,
    recursive => true);
    end;
    -- increase memopry to 50M then start capture
    exec dbms_capture_adm.set_parameter('capture_dest_to_ams','_SGA_SIZE','50');
    exec dbms_capture_adm.start_capture (capture_name=>'capture_dest_to_ams');
    -- start apply processes
    exec dbms_apply_adm.start_apply (apply_name=> 'apply_dest_ams');
    You can use whatever names you want, those are just what I chose for my system. The thing where I set the size to 50M is due to a bug where the LOGMINER runs out of memory.
    Hope this helps!

  • Need some example of  'SET DATE MASK'.

    Hi Gurus,
    I need come example of 'SET DATE MASK ' & 'SET TIME MASK'.
    Thanking you.
    Subash

    Hi Subasha,
    / : SET DATE MASK = 'MMMM DD, YY'
    This displays the date as : September 26, 07.
    YY Year (2 digits)
    YYYY Year (4 Digits)
    MM Month (2 Digits)
    MMM Month Name (Abbreviated)
    MMMM Month Name (Full)
    DD Day as two digits
    DDD Day name (Abbreviated)
    DDDD Day name
    Using the SET DATE MASK causes the subsequent date fields to be displayed using the same formatting. To return to the default formatting use the following command:
    /: SET DATE MASK = ' '
    /: SET TIME MASK = 'HH hrs MM min SS sec'
    This displays the time as : 11 hrs 43 min 37 sec'
    The following are the codes that can be used in the time mask:
    HH Hours
    MM Minutes
    SS Seconds
    The time formatting can be reset to the default setting using:
    /: SET TIME MASK = ' '

  • Example of setting page item using javascript

    Does anyone have an example of setting the value of a page item (hidden) using javascript? I have seen the following in the Forum but I am having trouble implementing it. If someone could show an example of a region it is called from, and the javascript (and where it is placed), that would be great.
    I have tried something similar to this without luck so far:
    function setValue(){
    $x('P1_FIELD').value = 'Oracle';
    Thanks!
    John

    Hi VS,
    you should really use a "Set Value" dynamic action for that, that's much more transparent than using the onclick definition in the button attributes.
    Regards
    Patrick
    Member of the APEX development team
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • How to set up BlazeDS project in FB3?

    Hi ,
    I want to start a new project with Flex,BlazDS and web
    service. web servces are located in other server by SOAP.
    I have install BlazeDS in local pc and I do not have a idea
    how to start set up in Flex Builder and do the project.
    Please help me .Thanks a lot
    Mark

    Hi,
    You don't need BlazeDS for accessing web service unless you
    want to use the proxy service of BlazeDS, for accessing the web
    service. Please check out the URL below for details on how to
    configure FB3 for projects that use server technologies.
    http://learn.adobe.com/wiki/display/Flex/Creating+Flex+Builder+Projects+that+Use+Server+Te chnologies
    Hope this helps.

  • Testing standard delivered "example objective setting"

    Hello. I am new to OSA and just wanted to test the standard SAP to see how OSA works. I have changed nothing in the supplied category group, xategory, template etc. My understanding is that this example is supposed to be for 2 part appraisers to do the appraisal followed by a final appriasal. In creating a document based on this template, the form goes into "in process / part appraisal in process". When I try to log on as the "part appraiser" all fields are display only. What am I missing since I have changed no configuration? Thanks for any insights

    Mr.Hedingly
    For the part appraiser to rate a criterion, the "column access" for the part appraiser should be set to "change" in the template definition. In many cases the part appraiser is merely allowed to approve the ratings of the previous appraiser and hence the part appraiser gets just a "display" of ratings.
    To allow the part appraiser to change or enter new ratings, the column access should be set to "change".
    To check the kind of column access given to the part appraiser go to PHAP_CATALOG and check the template for column access.

  • Help modifying example that sets screen resolution programmatically

    Hello,
    I'm wondering if anyone could help modify the following example: http://www.ni.com/example/27650/en/. Currently, it sets different screen parameters (ie: resolution, pixel depth and refresh rate) for a default screen. I'd like to use it with two monitors. I found the function calls needed to do this; unfortunately, I'm unable to piece it together due to lack of function prototype translation knowhow.
    You'll quickly notice that the first CLF would change from EnumDisplaySettingsA to EnumDisplaySettingsExA (http://msdn.microsoft.com/en-us/library/dd162612(v=vs.85).aspx).
    The second CLF changes from ChangeDisplaySettingsA to ChangeDisplaySettingsExA (http://msdn.microsoft.com/en-us/library/dd183413(v=vs.85).aspx). The key implementation I'm after is the C++ example code shown almost at the bottom of this MSDN page - it first enters the desired resolutions for both monitors and then sets both simultaneously.
    Any help anyone can offer is greatly appreciated. The final example, of course, can be made available for the community to benefit from.
    Jorge

    Well, unfortunately this isn't as simple as it seems.
    If your example code works properly, all you should need to do is reference system.windows.forms.screen in .net. Using property nodes you can get all screens, then use the device name property within a for-loop to come up with an array of the actual device names.
    Then you just need to feed those device names in to the example code, but encased in a for-loop so that they displays are accessed individually. 
    Unfortunately, I'm currently getting a complete crash when I do this. I think it's due to a problem with changes in the EnumDisplaySetttingsA function since this code was originally written (which was quite some time ago). 
    Either way, this is not a recommended procedure for most situations. I would recommend consulting the MSDN documentation you referenced and pursuing this further if it's something that you really need to do.
    Christopher S. | Applications Engineer
    Certified LabVIEW Developer
    "If in doubt... flat out." - Colin McRae

  • Worked Example on SET TRANSACTION, SAVEPOINT, ROLLBACK, COMMIT

    Does any one know if there is any worked examples on the use of SET TRANSACTION, SAVEPOINT, ROLLBACK, COMMIT?

    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/statements_106a.htm#2067249
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/statements_102a.htm#2065561

  • Need code example for setting a label text

    Hello,
    Lets say I have a label called testLabel and I would like to put it's text at the doInit() method of my view.
    How do I do that?

    Hi Roy,
    if you want to set the label directly without setting it thru context variable then its part of the dynamic programming of WD. So u can do that only in wdDoModifyView method. Obtain the reference of the label object from the view object and set the text property of it with the desired value.. like below
    public static void wdDoModifyView(IPrivateImageAppView wdThis, IPrivateImageAppView.IContextNode wdContext, com.sap.tc.webdynpro.progmodel.api.IWDView view, boolean firstTime)
        //@@begin wdDoModifyView
        IWDLabel myLabel = (IWDLabel)view.getElement("testLabel");
        myLabel.setText("Hello this is a Label");
        //@@end
    this should solve ur problem...
    regards,
    Shubhadip

  • Example for setting up application users

    I would like to see an example application that handles the user access to that application (creat user,edit user, etc).
    I've done a few searches here and seen what appear to be various parts of this issue but I must be missing the big picture, that is a complete howto of how to do that.
    I follow the links through the messages and wind up with several windows open but no clear cut example that I've found.
    I appologize in advance if I just missed an obvious link to such an example.

    Bill,
    Just a few comments about user accounts. I may be the loudest voice against using HTML DB user accounts for full-fledged production applications, mainly because it usually means more work (one more place to reset passwords, to maintain email addresses, to let the help desk know about, etc.), less security, and less utility than an LDAP directory, especially when a Single Sign-On solution is implemented around the latter in the enterprise.
    For informal workgroup applications, development environments, one-off prototypes, all that stuff, we don't care what you use, that's why the developer accounts can be used to authenticate users into the applications that you build. Developers should take that capability as a "starter" solution, without expecting it to meet anything more than basic functional and security requirements. Hence the absence of recommendations from us about how to manage accounts; these chores are tangential to application development and there are already industrial-strength solutions available that we aren't trying to compete with.
    I hope that sheds a bit more light.
    Scott
    P.S. Thanks for showing your name.

  • Can someone help point me to a illustrated example of set-up?

    Are there any illustrated resources ie: screen shots of sample step-by-step setup for either standalone or work group set-ups? I am in desperate need of help and am not a network guy, so many responses seem like a foreign language to me. PLEASE ANYONE, HELP!
    Thanks

    Thanks for responding, here is a link to my original posted question, i hope this thread will explain: http://discussions.apple.com/thread.jspa?threadID=1385113&tstart=0
    Thanks for taking the time to respond!

  • Needed: A BlazeDS/Remoting/AIR example app

    As far as I can see there are no examples available that use BlazeDS remoting in AIR. I'm trying to implement this and am running into problems. A sample would help.
    I suspect that my problems have to do with this note which I found at:
    http://livedocs.adobe.com/blazeds/1/blazeds_devguide/help.html?content=services_config_2.h tml
    It says "If you use server tokens (for example, {server.name} and {server.port}) in a configuration file for an Adobe AIR application and you compile using that file, the application will not be able to connect to the server. You can avoid this issue, by configuring Channel objects in ActionScript rather in a configuration file; for more information, see Channel configuration."
    I've tried to follow the instructions under "Channel configuration" but haven't succeeded yet.
    Douglas

    Hi Mete - Thanks for your response. I was aware of the problems with tokens and have made some progress. I've converted the testdrive-remoting example so that it works as an AIR app (and have blogged about it here: http://www.brightworks.com/flex_ability/?p=74). I suggest that Adobe include an example like this with BlazeDS.
    I have now encountered another problem but I think I'll create a new thread for that...
    Thanks,
    Douglas

  • Question about blazeds turnkey, tomcat and directory structure

    hi. this question is pretty basic...been reading sujit reddy g's blog on installing/setting up blazeds.
    in one article he creates a samplewebapps directory in C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\samplewebapps and copies the blazeds WEB-INF/lib into that directory and the configuration files in the flex folder across as well...http://sujitreddyg.wordpress.com/2009/04/07/setting-up-blazeds/
    in another article on invoking java methods from flex he configures the remote-config.xml file directly in the blazeds\WEB-INF\flex folder....http://sujitreddyg.wordpress.com/2008/01/14/invoking-java-methods-from-adobe-fle x/
    wasn't sure why in the first example he copied the files and folders to the samplewebapps directory while in the second example he just configured the files within the blazeds directory...thanx...(i'm a newbie at server side development)

    I'll take a stab at it. The key thing to realize is the BlazeDS code is ADDED on
    to the appserver. E.g. for Tomcat/WebLogic/et al one adds the reference in the web.xml file in WEB-INF.
    So, what is that add-on?
    1. Executable files. These are jar files and typically stuck into WEB-INF/lib
    2. Configuration files. flex/services-config.xml is specified in web.xml. It refers to the other config files in WEB-INF/flex
    So, the config in web.xml tells Tomcat (and its forked commercial products) to load up the Flex jars and run some classes. By standard, the "run some classes" follows the servlet lifecycle and runs specific methods in the class when the servlet is loaded, called, destroyed. So, Flex jars have a class which implements the servlet interface.
    Incidentally, you may also see references to log4j, Spring, and other frameworks in the web.xml as well. They do the same sort of stuff. So, Tomcat does the passing of the HTTP packets and stages them into Java classes and the hooked in frameworks do add their own behaviours to the setup.
    HTH,
    TimJowers
    P.S> Also note in Flex when you setup the project properties for a Flex Project then you need to match up your URL and "context" to what you have on your server. In his exampe, the "samples" context may have already been setup so easier to use. What is a "context"? The idea is to have more than one webapp running on an appserver. In Tomcat, its basically just the subdirectory under "webapps". That directory name becomes part of the URL. E.g. webapps/samples -> http://localhost:8080/samples  or webapps/mytest -> http://localhost:8080/mytest

  • Question about blazeds turnkey installation and directory structure

    hi. this question is pretty basic...been reading sujit reddy g's blog on installing/setting up blazeds.
    in one article he creates a samplewebapps directory in C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\samplewebapps and copies the blazeds WEB-INF/lib into that directory and the configuration files in the flex folder across as well...http://sujitreddyg.wordpress.com/2009/04/07/setting-up-blazeds/
    in another article on invoking java methods from flex he configures the remote-config.xml file directly in the blazeds\WEB-INF\flex folder....http://sujitreddyg.wordpress.com/2008/01/14/invoking-java-methods-from-adobe-flex/
    wasn't sure why in the first example he copied the files and folders to the samplewebapps directory while in the second example he just configured the files within the blazeds directory...thanx...(i'm a newbie at server side development)

    There's really not much difference. In some cases, you might already have a web application you are using so you could just copy the contents of the blazeds web app into your existing web application.
    Application servers can host more than one web application and a Flex application that uses BlazeDS can be deployed on a different web app than the one where BlazeDS is running or a different server entirely so it really just depends how you want to set things up.
    Hope I'm not just making things more confusing for you. . .
    -Alex

  • Do you know how to set up LifeCycle Data Services

    I have wamp server and I am trying to fallow Shashank Tiwari tutorial about installing blazeDS, http://http://www.adobe.com/devnet/flex/articles/data_mediaservices.html I downloaded the blazeds.war file but I don't know how to add it to my server and where is the example file on the blazeDS site, http://opensource.adobe.com/wiki/display/blazeds/BlazeDS
    this is the very first step of setting up LifeCycle Data Services so I believe I will have more questions in the future, when I do I will post them here, so just read my last reply.

    I found the best way to handle using the program between networked computers is to use extension arguments.
    Simply.
    Install the program as administrator BUT do not let it start when installed.
    Then edit the properties of the desktop icon so that it has properties so that you run firefox with command line arguments (www.kb.mozillazine.org/command_line_arguments)
    Thus if your desktop icon on each Pc is firefox.exe -profile "h:\firefox\profile"
    Firefox when started with this desktop icon will always use the profile on the server drive H
    Once this is completed you can run the program and it will create the profile in the selected drive location.
    if you delete the profile it will create another in the same location.
    This also works for Mozilla Thunderbird.
    Hope this helps anyone that had the same problem as me.
    Berni

Maybe you are looking for

  • How to use JNI in an Applet?

    Can a native method can be invoken in an Applet?If it can,which knowledge of Java should be used and how to use it?

  • Foreign Currency & Essbase

    How do any of you folks handle foreign currency in Essbase? I had heard about doing all of the currency calcs in a seperate cube and then transferring them to a main cube.Any insights/experiences would be great!

  • Premiere PRO CS4 " unexpectedly quit error" since loaded Sorenson squeeze 8.5 is there a bug fix

    Premiere PRO CS4 " unexpectedly quit error" since loaded Sorenson squeeze 8.5 is there a bug fix

  • Rendering nodes not showing up in Qadministrator

    Hello, i am new to the Apple Discussion Forums. I have a question regarding my Qmaster setup. I have a Mac Pro model 1,1 connected to two Mac Mini's (Core 2 Solo, Snow Leopard and Leopard respectively). I have installed Qmaster on all machines, and i

  • Bashing my Head off a Wall here

    Sorry BT, but it's time you brought ALL of your Customer Service and Tech Help back to the UK. Dealing with people in Live Chat who have not got a clue is really like knocking my head off a wall until it hurts! Anyway!! All I want to know is, as you