Object configuration

Hi,
I have a class whose objects use a big data-structure and have different states.
The state definitions and the data-structure contents should reside in memory as long as the program is running, becasue of performance issues.
Currently I'm using a collection of XML files to configure the data structure and the states of such an object. These files are used to construct these different objects when the application first starts.
I need a way to define, in one file, which is not readable, the configuration of an object.
Should I just zip all the XML files and encrypt them, having the application read through the zip file? Or perhaps I should use serialization - reading the XML and saving the resultant object as a binary file? (another problem with XML is that it can take some time to load initially...).
Any recommendations?
Thanks
AI

What is your goal? Making it inconvenient for clients to read the XML files? If so, I would go with encryption. If you're trying to make it impossible for someone to read them, your only option is to not store the files on a machine accessible to the client. Otherwise, if your program can read them, then anyone with access to your class files can read them as well. For full security you would have to store the data on a server under your control, and have the client connect to it and request the data. Even then it might be possible to snoop the data from memory, but you wouldn't have any files laying around on the client machine.

Similar Messages

  • Export/Import  Object configuration

    hi gurus!
    I have the next landscape, and I´ll want to stop make manually the export of configuration objects:
    XI DEV    -
        XI QAS     -
        XI CORP   
    BS_DSP060          BS_QSP060               BS_SIF060
    The problem is that in each enviroment each Business system has diferent name. so that´s my problem, how could I make
    that this Business systems recognize in automatically at the export/import time?
    Thanks

    Hi,
    Refer this..
    How to handle SLD for XI
    https://websmp108.sap-ag.de/~form/sapnet?_SHORTKEY=01200252310000071155&_SCENARIO=01100035870000000202
    Preparation of SLD for Transports Using CMS in XI
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b01876ac-abbb-2a10-788e-95a7c5a5aeca
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/300e3ca7-31cd-2a10-a6ba-87c7447d5fd7
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9e76e511-0d01-0010-5c9d-9f768d644808
    Might help you..
    Regards,
    vasanth.

  • Function module to get the configuration of Individual objects

    Hi all,
    Is there is any std function module to get the data of individual object configuration.
    In table COM_TA_R3_ID, I can able to get the PRODUCT_GUID (for material and serial number) and I dont know how to get the configuration of the product by using the PRODUCT_GUID.
    Pl  through some light on this.
    Regards
    A.Sureshbabu.

    Hi,
    You can get the item configuration using FM CRM_CONFIG_READ_OW.
    This is used to read the product configurations for IPC calls.
    Just pass the configured item guid and it will return the configuration data.
    Use FM CRM_PRODUCT_I_READ_OW to get the product configurations but this FM checks whether any item has this product guid.
    Regards,
    Arun Kumar
    Edited by: Arun Kumar on May 12, 2010 10:20 AM

  • How to delete design time & configuration time objects permanently

    Hi All,
    how to delete the design time objects & configuration objects permanently, because i have created some objects repeatedly in different scenarios. there was some confliction, that's why i am going to delete the objects. Is it possible, if yes revert back to me asap.
    Thanks & Regards,
    Nag.

    hi,
    Check tis for how to delete IR objects.
    /people/siva.maranani/blog/2005/05/22/how-to-delete-software-component-from-integration-builder
    and to delete it from ID delete it from the OBjects TAb.
    Activate the change list.
    Sachin

  • Parsing Generic Configuration Object

    Hi,
    i tried to parse a generic Configuration Object and to get objects and attributes. Unfortunately i got allways null.
    How is the syntax to get the specify objects?
    my Configuration object:
    <Configuration id='#ID#Configuration:SpecialSystemSettings' name='Special System Settings'>
      <Extension>
        <Object>
          <Attribute name='Profile'>
             <List>
              <Object name='ABC'>
                 <Attribute name='regx' value='(\w){8}'/>
                 <Attribute name='description' value='Wrong value!'/>
               </Object>
              <Object name='DEF'>
                <Attribute name='regx' value='(\w){8}'/>
                <Attribute name='description' value='Wrong value!'/>
                </Object>
            </List>
          </Attribute>
          <Attribute name='Role'>
            <List>
              <Object name='GHI'>
                <Attribute name='regx' value='(\w){8}'/>
                <Attribute name='description' value='Der Wert muss 8 stellig sein!'/>
                <Attribute name='lang' value='de'/>
              </Object>
            </List>
          </Attribute>
    </Object>
      </Extension>
      <MemberObjectGroups>
        <ObjectRef type='ObjectGroup' id='#ID#All' name='All'/>
      </MemberObjectGroups>
    </Configuration>statements:
    <set name='systemObject'>
            <new class='com.waveset.object.GenericObject'>
                     <invoke name='toXml'>                           
                             <invoke name='getObject'>
                                    <ref>context</ref>
                                    <s>Configuration</s>
                                    <s>Special System Settings</s>
                              </invoke>           
                    </invoke>
            </new>
    </set>
    <invoke name='dump' class='de.im.idm.ViewTool'>
         <concat>
                <s>Output:</s>
                <ref>systemObject[Profile].name</ref>
         </concat>
    </invoke>The Output is still null. I also tried with some other combinations also without success.
    <get>
       <ref>systemObject</ref>
       <s>Profile</s>
    </get> 
    <ref>systemObject.Profile[*].name</ref>
    <ref>systemObject[name=Profile]</ref>                       
    <ref>systemObject.Profile.ABC.description</ref>                       
    <ref>systemObject.Profile[ABC].description</ref>     My question: How is the syntax to get the List of Profiles or to get single attribute-values?
    Thanks,
    Best Regards

    You need to use the getExtension and then set it to systemObject in that way it will have access to all attributes.
    <set name='systemObject'>
                <invoke name='getExtension'>
                    <invoke name='getObject' class='com.waveset.ui.FormUtil'>
                                    <ref>context</ref>
                                    <s>Configuration</s>
                                    <s>Special System Settings</s>
                              </invoke>           
                    </invoke>
    </set>and then
    <get>
       <ref>systemObject</ref>
       <s>Profile</s>
    </get>  will get you the profile.

  • Configuring port-object in ASA

    Hi Everyone,
    I need to config port-object eq 17800 etc in ASA.
    I tried command object-group   service  xyz
    but there is no option for port-object eq ?
    Regards
    Mahesh

    Hi,
    I think you have probably configured the "object-group service " without defining the protocol used
    For example
    ASA(config)# object-group service TEST
    ASA(config-service-object-group)# ?
      description          Specify description text
      group-object        Configure an object group as an object
      help                    Help for service object-group configuration commands
      no                       Remove an object or description from object-group
      service-object       Configure a service object
    ASA(config-service-object-group)#
    However if we specify the "object-group service " with either "tcp" or "udp" or "tcp-udp" at the end then you will have the option of "port-object" command
    ASA(config)# object-group service TEST tcp-udp
    ASA(config-service-object-group)# ?
      description    Specify description text
      group-object  Configure an object group as an object
      help              Help for service object-group configuration commands
      no                 Remove an object or description from object-group
      port-object     Configure a port object
    ASA(config-service-object-group)#
    Though even if you used the original "object-group service " configuration you could still define it as an "object-group" which for example contains the allowed destination ports in some ACL.
    For example the following would group TCP/17800 and UDP/17800 in one "object-group" and use them in an ACL
    object-group service TEST
    service-object tcp destination eq 17800
    service-object udp destination eq 17800
    access-list TEST extended permit object-group TEST any any
    When we look how the actual ACL looks like we see the following
    ASA(config)# show access-list TEST
    access-list TEST; 2 elements; name hash: 0xd37fdb2b
    access-list TEST line 1 extended permit object-group TEST any any (hitcnt=0) 0x0abc0954
      access-list TEST line 1 extended permit tcp any any eq 17800 (hitcnt=0) 0x25ac5419
      access-list TEST line 1 extended permit udp any any eq 17800 (hitcnt=0) 0xc6e32e33
    Hope this helps
    - Jouni

  • ARCHIVING OBJECT : CO_TOTAL  - Fiscal year issue regarding

    Hi,
    I am trying to archive  (01.04.2007 - 31.03.21008).    - fiscal year : 2008
    when i give the fiscal year : 2008  ( period 1 - 12)
    it 's archiving all the datas relevant to 01.04.2007 - 31.03.2008.  which  is correct.
    but some of company codes following a  calendar year as financial year .
    in that case  if i give 2008 (period 1 -12)  ( it is archiving jan'2008 - dec'2008) data.
    which is incorrect.
    in the archiving object configuration , there is no way for company code wise processing....
    *the company code which follows a calendar year is having different controlling area....
    Your inputs are useful to us.
    Thanking you.
    Regards
    Giri

    Hi Soyab,
    Before archiving these CO archiving objects please check whether DaRT is taken care. As CO_ITEM is already ongoing then i thing DaRT is done.
    1. CO_TOTAL: This archiving object is dependent on CO_ITEM, so first archive this AO and later with CO_TOTAL.
    - Controlling area, Order type, Fiscal year and Value type are the major selection criteria for restricting it for archiving.
    2. CO_CCMAST: Dependent on CO_ITEM and CO_TOTAL.
    - Controlling area, Cost center group and Fiscal year are the major selection criteria for restricting for archiving.
    Apart for this there are no other reports to execute before archiving these archiving objects.
    Reward if it benifits.
    -Thanks,
    Ajay

  • Obj.conf configuration behaving differently

    hi I have Sun Web Server update 8 installed which will talk to my weblogic server on which I have deployed two applications. The problem is that when I try and access one application from Sun web server it goes fine, however when I try and access the other application I will get a message "Not Found
    The requested object does not exist on this server. The link you followed is either outdated, inaccurate, or the server has been instructed not to let you have it. "
    To mention here, the application which I can access finally goes in to display a gif whereas the one which I am getting this error for goes on to display something like this ../manager/jsp/index.jsp
    In the logs its shows a message like:
    [17/Sep/2010:21:16:56] finest (16244): for host 135.209.101.44 trying to GET /manager, func_exec reports: executing method="(GET|HEAD|POST)" type="*~magnus-internal/*" fn="send-file" Directive="Service"
    [17/Sep/2010:21:16:56] warning (16244): for host 135.209.101.44 trying to GET /manager, send-file reports: HTTP4142: can't find /opt/app/p1cmt1w1/Sun/SJWebServer7u8/https-p1cmt1w1.bhdc.att.com/docs/manager (File not found)
    [17/Sep/2010:21:16:56] finest (16244): for host 135.209.101.44 trying to GET /manager, func_exec reports: method="(GET|HEAD|POST)" type="*~magnus-internal/*" fn="send-file" Directive="Service" returned -1 (REQ_ABORTED)
    The obj.conf definition is like this:
    ==================================
    "obj.conf" 55 lines, 1799 characters
    # Copyright 2008 Sun Microsystems, Inc. All rights reserved.
    # Use is subject to license terms.
    # You can edit this file, but comments and formatting changes
    # might be lost when you use the administration GUI or CLI.
    <Object name="default">
    AuthTrans fn="match-browser" browser="*MSIE*" ssl-unclean-shutdown="true"
    NameTrans fn="assign-name" from="*/Calendar/" name="WLSTEST"
    # Copyright 2008 Sun Microsystems, Inc. All rights reserved.
    # Use is subject to license terms.
    # You can edit this file, but comments and formatting changes
    # might be lost when you use the administration GUI or CLI.
    <Object name="default">
    AuthTrans fn="match-browser" browser="*MSIE*" ssl-unclean-shutdown="true"
    NameTrans fn="ntrans-j2ee" name="j2ee"
    NameTrans fn="pfx2dir" from="/mc-icons" dir="/opt/app/p1cmt1w1/Sun/SJWebServer7u8/lib/icons" name="es-internal"
    PathCheck fn="uri-clean"
    PathCheck fn="check-acl" acl="default"
    PathCheck fn="find-pathinfo"
    PathCheck fn="find-index-j2ee"
    PathCheck fn="find-index" index-names="index.html,home.html,index.jsp"
    ObjectType fn="type-j2ee"
    ObjectType fn="type-by-extension"
    ObjectType fn="force-type" type="text/plain"
    Service method="(GET|HEAD)" type="magnus-internal/directory" fn="index-common"
    Service method="(GET|HEAD|POST)" type="*~magnus-internal/*" fn="send-file"
    Service method="TRACE" fn="service-trace"
    Error fn="error-j2ee"
    AddLog fn="flex-log"
    </Object>
    <Object name="j2ee">
    Service fn="service-j2ee" method="*"
    </Object>
    <Object name="es-internal">
    PathCheck fn="check-acl" acl="es-internal"
    </Object>
    <Object name="cgi">
    ObjectType fn="force-type" type="magnus-internal/cgi"
    Service fn="send-cgi"
    </Object>
    <Object name="send-precompressed">
    PathCheck fn="find-compressed"
    </Object>
    <Object name="compress-on-demand">
    Output fn="insert-filter" filter="http-compression"
    </Object>
    <Object name="Campaign" ppath="*/Campaign/*">
    Service fn="wl_proxy" WebLogicCluster="weblogic_server:port,weblogic_server2:port" WLTempDir="/opt/app/p1cmt1w1/temp"
    </Object>
    <Object name="manager" ppath=*/manager/*>
    Service fn="wl_proxy" WebLogicCluster="weblogic_server:port,weblogic_server2:port" WLTempDir="/opt/app/p1cmt1w1/temp"
    </Object>
    =================================================================
    The magnus.conf is like this :
    # Copyright 2008 Sun Microsystems, Inc. All rights reserved.
    # Use is subject to license terms.
    Init fn="load-modules" shlib="libj2eeplugin.so"
    Init fn="load-modules" funcs="wl_proxy,wl_init" shlib="/opt/app//Sun/SJWebServer7u8/https-abcd.xyz.net/plugins/lib/libproxy_61.so"
    Init fn="wl_init"
    Please help me someone on this.

    please upgrade to 7.0.9 as it includes fix for potential security vulnerabilities. you can download oracle iplanet web server 7.0.9 * formerly sun one / sun java system web server * from here -http://bit.ly/aPphqr
    this is what you could do
    edit <install-root>/https-<hostname>/config/obj.conf or <install-root>/https-<hostname>/<hostname>-obj.conf (depending on your configuration)
    and add the following
    <Object name="default">
    NameTrans fn="assign-name" from="<context-root-of-app1>" name="app1"
    NameTrans fn="assign-name" from="<context-root-of-app2>" name="app2"
    </Object>
    <Object name="app1">
    Service fn="wl_proxy" WebLogicCluster="weblogic_server:port,weblogic_server2:port" WLTempDir="/opt/app/p1cmt1w1/temp"
    </Object>
    <Object name="app2>
    Service fn="wl_proxy" WebLogicCluster="weblogic_server:port,weblogic_server2:port" WLTempDir="/opt/app/p1cmt1w1/temp"
    </Object>
    and comment out these existing object configurations.
    #<Object name="Campaign" ppath="/Campaign/">
    #Service fn="wl_proxy" WebLogicCluster="weblogic_server:port,weblogic_server2:port" WLTempDir="/opt/app/p1cmt1w1/temp"
    #</Object>
    #<Object name="manager" ppath=/manager/*>
    #Service fn="wl_proxy" WebLogicCluster="weblogic_server:port,weblogic_server2:port" WLTempDir="/opt/app/p1cmt1w1/temp"
    #</Object>
    and now save this file and can either run bin/reconfig (for dynamically reloading the configuration changes without any server downtime) or bin/restart -> for simply restarting the server and verify if this works out for you
    if it does address your concern then you might have to manually pull your manual configuration changes into admin config repository by running
    <install-root>/bin/wadm pull-config --user=admin --config=<hostname> <hostname>
    for more information on what how to configure web server 7, please refer to obj.conf guide.
    http://docs.sun.com/app/docs/doc/819-2630/gbysz?l=en&q=security&a=view
    http://docs.sun.com/app/docs/doc/819-2630/abvar?l=en&q=security&a=view
    http://docs.sun.com/app/docs/doc/819-2630/abuik?l=en&a=view
    http://docs.sun.com/app/docs/doc/819-2630/gdaer?l=en&a=view
    hope this helps

  • ADF BC Entity Object read security

    hi
    Please consider the example application in this blog post by Andrejus Baranovskis:
    "ADF Security 11g and ADF Business Components"
    http://andrejusb.blogspot.com/2008/10/adf-security-11g-and-adf-business.html
    What is the "read" operation used for in the Security section of the "Jobs" Entity Object configuration?
    I modified the example application and checked the enabled checkbox for the "read" operation on the "Jobs" Entity Object. After that, using the "Edit Authorization..." dialog (from the context menu on the "Jobs" Entity Object in the Structure Panel), I checked the "Read" checkbox for the "clerk" role.
    This looks to me like a configuration from which one could expect that only a "clerk" can read.
    After that I run the "HrModule" Application Module and authenticate as a "developer" (user "steve"), which has no privileges granted, and I can still read all the attributes for the rows in the "JobsView1" View Object instance (which is based on the "JobsView" View Object for which all the attributes come from the "Jobs" Entity Object).
    How can this be explained?
    many thanks
    Jan Vervecken

    Thanks for your reply Brenden.
    Yes, my question seems to be the same as in the forum thread you refer to,
    "11g ADF BC security - read operation?".
    In that thread Frank Nimphius points out "this seems to be malfunctioning and will be bugged",
    and also Chris Muir writes "... the documentation is a little misleading then ...".
    regards
    Jan

  • NAT configuration on PIX to ASA

    Hi,
    I have below configuration on my PIX 8.0 which I want to convert into ASA 9.1 :
     nat (Cust-DMZ) 0 access-list Cust-DMZ_nat0_outbound
    access-list Cust-DMZ_nat0_outbound extended permit ip host 10.2.1.175 host 10.10.49.30
    access-list Cust-DMZ_nat0_outbound extended permit ip host 1.1.1.58 host 1.1.1.57
    access-list Cust-DMZ_nat0_outbound extended permit ip host 172.29.83.2 host 172.29.83.1
    access-list Cust-DMZ_nat0_outbound extended permit ip host 202.138.123.75 host 10.10.11.20
    access-list Cust-DMZ_nat0_outbound extended permit ip host 10.14.1.11 host 10.10.50.150
    And, there is no "NAT (global) 0 " command in PIX for this configuration.
    How can I use this in ASA..?
    Regards,
    Ninad

    Hi,
    The configurations is going to be bigger atleast. I did like the NAT0 more in the old software when you could use the ACL configuration to handle it and not bloat the NAT configuration needlesly.
    There are some strange ACEs in that ACL. I mean the rules where the source and destination seem to be either from the same subnet or just simply host address (perhaps loopback interface IP addresses somewhere in the network?) that wouldnt expect to use the firewall to communicate? Though I will assume those configurations are needed.
    You could try the following configuration though I naturally suggest perhaps coming with some other naming policy for the "object" configuration if needed.
    object network HOST-10.2.1.175
     host 10.2.1.175
    object network HOST-10.10.49.30
     host 10.10.49.30
    object network HOST-1.1.1.58
     host 1.1.1.58
    object network HOST-1.1.1.57
     host 1.1.1.57
    object network HOST-172.29.83.2
     host 172.29.83.2
    object network HOST-172.29.83.1
     host 172.29.83.1
    object network HOST-202.138.123.75
     host 202.138.123.75
    object network HOST-10.10.11.20
     host 10.10.11.20
    object network HOST-10.14.1.11
     host 10.14.1.11
    object network HOST-10.10.50.150
     host 10.10.50.150
    nat (Cust-DMZ,any) source static HOST-10.2.1.175 HOST-10.2.1.175 destination static HOST-10.10.49.30 HOST-10.10.49.30
    nat (Cust-DMZ,any) source static HOST-1.1.1.58 HOST-1.1.1.58 destination static HOST-1.1.1.57 HOST-1.1.1.57
    nat (Cust-DMZ,any) source static HOST-172.29.83.2 HOST-172.29.83.2 destination static HOST-172.29.83.1 HOST-172.29.83.1
    nat (Cust-DMZ,any) source static HOST-202.138.123.75 HOST-202.138.123.75 destination static HOST-10.10.11.20 HOST-10.10.11.20
    nat (Cust-DMZ,any) source static HOST-10.14.1.11 HOST-10.14.1.11 destination static HOST-10.10.50.150 HOST-10.10.50.150
    Notice that I configured the destination interface as "any". With that setting it should define the destination interface based on your ASAs routing table. I personally tend to define that interface but can't do that in this case as I cant see your routing configuration or routing table.
    If you want to read up some on the new NAT configuration format you  can check a document that I wrote in 2013.
    Sadly the update to these forums also changed the layout of the document a bit some things aren't really as I wish them to be.
    https://supportforums.cisco.com/document/132066/asa-nat-83-nat-operation-and-configuration-format-cli
    Hope this helps :)
    - Jouni

  • Integration Builder configuration.

    Dear All,
        I am new to XI as Basis Administrator. I need to configure Integration Builder for developers. All I have access is to SLD http://<hostname>/sld and SAP GUI.
          All I know is I need to install JRE with version > 1.4.* and configure web proxy to access XI server.
         My question is what will developers expect me to configure, and what will developer be doing with integration builder ? (tasks in broad terms)
          Do I need to perfrom any tasks on Visual administrator to make some settings ? what are minimum authorizations should I give to developer ?
          Any reasonable advice will be helpful get start configuring integration builder.
    Thanks,
    N

    Hi,
    >>My question is what will developers expect me to  configure, and what will developer be doing with   integration builder ? (tasks in broad terms)
    XI Developers needs Rights for
    1 Usually the technical system configuration is carried out by basis or admin team
    2 Integration builder - creating all design objects, configuration objects
    3. You have to provide access for the developer to monitor in RWB
    > Do I need to perfrom any tasks on Visual administrator to make some settings ? what are minimum authorizations should I give to developer ?
    check this links of XI Authorizations
    http://www.erpgenie.com/sap/netweaver/xi/xiauthorizations.htm
    Dialog Users role in XI:
    http://help.sap.com/saphelp_nw04/helpdata/en/58/d22940cbf2195de10000000a1550b0/content.htm
    Service User Role in XI:
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/d12940cbf2195de10000000a1550b0/content.htm
    Messaging Component & Role:
    http://help.sap.com/saphelp_nw04/helpdata/en/d4/d12940cbf2195de10000000a1550b0/content.htm
    regards
    Ramesh P

  • How do I specify if the PID object is direct or reverse acting?

    I have a process that requires a reverse acting controller - eg if the PV is above the setpoint, I need to increase the controller output to lower the PV. Where in the PID object configuration do I specify this?

    Pat,
    I think - you can achieve a "reverse acting" PID controller by setting the Gain value negative. However, if you manipulate the PID parameters you should know what effect it will have on your system. If you want to be sure you should simulate the parameter before you apply them to the "real" world. In addition you could verify the -Gain setting with the formula (position/velocity control equations) given in the Lookout online help of the PID control object.
    Hope this helps
    Roland
    PS: I always keep in mind what my control profssor told us once - "just a minus sign (sign change) in contol theory could mean a lot"

  • Configuration assistant "Oracle Net Configuration Assistant" failed

    I was installing Oracle 10g Enterprise and received the following failure notificaiton. How can I resolve this?
    Output generated from configuration assistant "Oracle Net Configuration Assistant":
    Command = C:\oraclexe\app\oracle;\oracle\product\10.2.0\db_2\jdk\jre\bin/java.exe -Dsun.java2d.noddraw=true -Duser.dir=C:\oraclexe\app\oracle;\oracle\product\10.2.0\db_2\bin -classpath ";C:\oraclexe\app\oracle;\oracle\product\10.2.0\db_2\jdk\jre\lib\rt.jar;C:\oraclexe\app\oracle;\oracle\product\10.2.0\db_2\jlib\ldapjclnt10.jar;C:\oraclexe\app\oracle;\oracle\product\10.2.0\db_2\jlib\ewt3.jar;C:\oraclexe\app\oracle;\oracle\product\10.2.0\db_2\jlib\ewtcompat-3_3_15.jar;C:\oraclexe\app\oracle;\oracle\product\10.2.0\db_2\network\jlib\NetCA.jar;C:\oraclexe\app\oracle;\oracle\product\10.2.0\db_2\network\jlib\netcam.jar;C:\oraclexe\app\oracle;\oracle\product\10.2.0\db_2\jlib\netcfg.jar;C:\oraclexe\app\oracle;\oracle\product\10.2.0\db_2\jlib\help4.jar;C:\oraclexe\app\oracle;\oracle\product\10.2.0\db_2\jlib\jewt4.jar;C:\oraclexe\app\oracle;\oracle\product\10.2.0\db_2\jlib\oracle_ice.jar;C:\oraclexe\app\oracle;\oracle\product\10.2.0\db_2\jlib\share.jar;C:\oraclexe\app\oracle;\oracle\product\10.2.0\db_2\jlib\swingall-1_1_1.jar;C:\oraclexe\app\oracle;\oracle\product\10.2.0\db_2\jdk\jre\lib\i18n.jar;C:\oraclexe\app\oracle;\oracle\product\10.2.0\db_2\jlib\srvmhas.jar;C:\oraclexe\app\oracle;\oracle\product\10.2.0\db_2\jlib\srvm.jar;C:\oraclexe\app\oracle;\oracle\product\10.2.0\db_2\oui\jlib\OraInstaller.jar;C:\oraclexe\app\oracle;\oracle\product\10.2.0\db_2\lib\xmlparserv2.jar;C:\oraclexe\app\oracle;\oracle\product\10.2.0\db_2\network\tools" oracle.net.ca.NetCA /orahome C:\oraclexe\app\oracle;\oracle\product\10.2.0\db_2 /orahnam OraDb10g_home1 /instype typical /inscomp client,oraclenet,javavm,server,ano /insprtcl tcp,nmp /cfg local /authadp NO_VALUE /nodeinfo NO_VALUE /responseFile C:\oraclexe\app\oracle;\oracle\product\10.2.0\db_2\network\install\netca_typ.rsp
    Error occurred during initialization of VM
    java/lang/NoClassDefFoundError: java/lang/Object
    Configuration assistant "Oracle Net Configuration Assistant" failed
    The "C:\oraclexe\app\oracle;\oracle\product\10.2.0\db_2\cfgtoollogs/configToolFailedCommands" script contains all commands that failed, were skipped or were cancelled. This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same.-----------------------------------------------------------------------------
    Edited by: BenS on May 20, 2009 6:05 PM
    The following information was found in the installActions...log file.
    INFO: cf session hashcode: 13785219
    INFO: cf session saved with key: OraDb10g_home1 oracle.server
    INFO: cf session is ok
    INFO: created and saved cf session for oh: OraDb10g_home1
    INFO: passing params to cf
    INFO: ORACLE_HOME is not settable, hence not setting the value
    INFO: ORACLE_HOME is not settable, hence not setting the value
    INFO: ORACLE_HOME is not settable, hence not setting the value
    INFO: ORACLE_HOME is not settable, hence not setting the value
    INFO: {Parameter:TOPLEVEL_COMPONENT in {Aggregate:OuiConfigVariables:1.0.0.0.0:common}}: Parameter data type is not compatible with the provided String Array.
    INFO: passing params to cf done
    INFO: done saving info by cf
    INFO: This is a shared oracle home or remote nodes are null. No copy required.
    INFO: cf session retrieved for key: OraDb10g_home1 oracle.server
    INFO: cf session retrieved for key: OraDb10g_home1 oracle.server
    INFO: cf session retrieved for key: OraDb10g_home1 oracle.server
    INFO: cf session retrieved for key: OraDb10g_home1 oracle.server
    INFO: RUN_RECOMMENDED_TOOLS FIRST is set to false
    INFO: No of Recommended Tools3
    INFO: plugin-list is created
    INFO: pluginlist is updated for: Oracle Database 10g current size: 1
    INFO: No of ExitOnly Tools in this session: 1
    INFO: cf session for perform has hashcode: 13785219
    INFO: detached tool list getting prepared fo comp: Oracle Database 10g
    INFO: cfsession hashcode for exit only tools: 13785219
    INFO: hashcode for action: 8813601
    INFO: No of ExitOnly Tools: 1
    INFO: exit-tool: Launch browser
    INFO: saving exit only tools ...
    INFO: no detached only tools in this session
    INFO: exit-only tools are created in single installation
    INFO: no. of sets of tools to be run: 1
    INFO: ca page to be shown: true
    INFO: exitonly tools to be excuted passed: 1
    INFO: Starting to execute configuration assistants
    INFO: Command = C:\oraclexe\app\oracle;\oracle\product\10.2.0\db_2\jdk\jre\bin/java.exe -Dsun.java2d.noddraw=true -Duser.dir=C:\oraclexe\app\oracle;\oracle\product\10.2.0\db_2\bin -classpath ";C:\oraclexe\app\oracle;\oracle\product\10.2.0\db_2\jdk\jre\lib\rt.jar;C:\oraclexe\app\oracle;\oracle\product\10.2.0\db_2\jlib\ldapjclnt10.jar;C:\oraclexe\app\oracle;\oracle\product\10.2.0\db_2\jlib\ewt3.jar;C:\oraclexe\app\oracle;\oracle\product\10.2.0\db_2\jlib\ewtcompat-3_3_15.jar;C:\oraclexe\app\oracle;\oracle\product\10.2.0\db_2\network\jlib\NetCA.jar;C:\oraclexe\app\oracle;\oracle\product\10.2.0\db_2\network\jlib\netcam.jar;C:\oraclexe\app\oracle;\oracle\product\10.2.0\db_2\jlib\netcfg.jar;C:\oraclexe\app\oracle;\oracle\product\10.2.0\db_2\jlib\help4.jar;C:\oraclexe\app\oracle;\oracle\product\10.2.0\db_2\jlib\jewt4.jar;C:\oraclexe\app\oracle;\oracle\product\10.2.0\db_2\jlib\oracle_ice.jar;C:\oraclexe\app\oracle;\oracle\product\10.2.0\db_2\jlib\share.jar;C:\oraclexe\app\oracle;\oracle\product\10.2.0\db_2\jlib\swingall-1_1_1.jar;C:\oraclexe\app\oracle;\oracle\product\10.2.0\db_2\jdk\jre\lib\i18n.jar;C:\oraclexe\app\oracle;\oracle\product\10.2.0\db_2\jlib\srvmhas.jar;C:\oraclexe\app\oracle;\oracle\product\10.2.0\db_2\jlib\srvm.jar;C:\oraclexe\app\oracle;\oracle\product\10.2.0\db_2\oui\jlib\OraInstaller.jar;C:\oraclexe\app\oracle;\oracle\product\10.2.0\db_2\lib\xmlparserv2.jar;C:\oraclexe\app\oracle;\oracle\product\10.2.0\db_2\network\tools" oracle.net.ca.NetCA /orahome C:\oraclexe\app\oracle;\oracle\product\10.2.0\db_2 /orahnam OraDb10g_home1 /instype typical /inscomp client,oraclenet,javavm,server,ano /insprtcl tcp,nmp /cfg local /authadp NO_VALUE /nodeinfo NO_VALUE /responseFile C:\oraclexe\app\oracle;\oracle\product\10.2.0\db_2\network\install\netca_typ.rsp
    Error occurred during initialization of VM
    java/lang/NoClassDefFoundError: java/lang/Object
    Command = C:\oraclexe\app\oracle;\oracle\product\10.2.0\db_2\jdk\jre\bin/java.exe has failed
    INFO: Configuration assistant "Oracle Net Configuration Assistant" failed
    INFO: The "C:\oraclexe\app\oracle;\oracle\product\10.2.0\db_2\cfgtoollogs/configToolFailedCommands" script contains all commands that failed, were skipped or were cancelled. This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same.
    SEVERE: OUI-25031:Some of the configuration assistants failed. It is strongly recommended that you retry the configuration assistants at this time. Not successfully running any "Recommended" assistants means your system will not be correctly configured.
    1. Check the Details panel on the Configuration Assistant Screen to see the errors resulting in the failures.
    2. Fix the errors causing these failures.
    3. Select the failed assistants and click the 'Retry' button to retry them.
    INFO: User Selected: Yes/OK

    I had Oracle 10g XE (Express installed but uninstalled it in case it was causing conflicts with the installation of 10 Enterprise). It appeared to have uninstalled cleanly.
    However, I was looking at my Environment variables and noticed the following:
    Oracle in OraDb10g_home1 points to a directory that doesn't exists since the uninstall.  I deleted this variable.
    I also receive the following warning during prerequiste check (but I appeared to have a solution according ot the documentation)
    Checking Network Configuration requirements ...
    Check complete. The overall result of this check is: Failed <<<<
    Problem: The install has detected that the primary IP address of the system is DHCP-assigned.
    Recommendation: Oracle supports installations on systems with DHCP-assigned IP addresses; However, before you can do this, you must configure the Microsoft LoopBack Adapter to be the primary network adapter on the system. See the Installation Guide for more details on installing the software on systems configured with DHCP.
    After delete the environment variable I restarted the Install and it installed fine.
    Thank you for the help...

  • Nagios Configuration

    Hello,
    I'm having some difficulty getting Nagios configured.  The following configuration gives this error:
    Error: Invalid notification_interval value for host '12monkeys.wyattnetworks.com'
    Error: Could not register host (config file '/usr/local/etc/nagios/localhost.cfg', starting on line 272)
    I also believe there are probably other mistakes with my configuration...
    Any ideas?
    # LOCALHOST.CFG - SAMPLE OBJECT CONFIG FILE FOR MONITORING THIS MACHINE
    # Last Modified: 11-27-2006
    # NOTE: This config file is intended to servce as an *extremely* simple
    # example of how you can create your object configuration file(s).
    # TIME PERIODS
    # This defines a timeperiod where all times are valid for checks,
    # notifications, etc. The classic "24x7" support nightmare. :-)
    define timeperiod{
    timeperiod_name 24x7
    alias 24 Hours A Day, 7 Days A Week
    sunday 00:00-24:00
    monday 00:00-24:00
    tuesday 00:00-24:00
    wednesday 00:00-24:00
    thursday 00:00-24:00
    friday 00:00-24:00
    saturday 00:00-24:00
    # 'workhours' timeperiod definition
    define timeperiod{
    timeperiod_name workhours
    alias "Normal" Working Hours
    monday 09:00-17:00
    tuesday 09:00-17:00
    wednesday 09:00-17:00
    thursday 09:00-17:00
    friday 09:00-17:00
    # 'nonworkhours' timeperiod definition
    define timeperiod{
    timeperiod_name nonworkhours
    alias Non-Work Hours
    sunday 00:00-24:00
    monday 00:00-09:00,17:00-24:00
    tuesday 00:00-09:00,17:00-24:00
    wednesday 00:00-09:00,17:00-24:00
    thursday 00:00-09:00,17:00-24:00
    friday 00:00-09:00,17:00-24:00
    saturday 00:00-24:00
    # 'none' timeperiod definition
    define timeperiod{
    timeperiod_name none
    alias No Time Is A Good Time
    # COMMANDS
    # NOTE: Sample command definitions can now be found in the sample commands.cfg
    # file
    # CONTACTS
    # In this simple config file, a single contact will receive all alerts.
    # This assumes that you have an account (or email alias) called
    # "nagios-admin" on the local host.
    define contact{
    contact_name nagios-admin
    alias Nagios Admin
    service_notification_period 24x7
    host_notification_period 24x7
    service_notification_options w,u,c,r
    host_notification_options d,r
    service_notification_commands notify-by-email
    host_notification_commands host-notify-by-email
    email [email protected]
    # CONTACT GROUPS
    # We only have one contact in this simple configuration file, so there is
    # no need to create more than one contact group.
    define contactgroup{
    contactgroup_name admins
    alias Nagios Administrators
    members nagios-admin
    # HOSTS
    # Generic host definition template - This is NOT a real host, just a template!
    define host{
    name 12monkeys.wyattnetworks.com ; The name of this host template
    notifications_enabled 1 ; Host notifications are enabled
    event_handler_enabled 1 ; Host event handler is enabled
    flap_detection_enabled 1 ; Flap detection is enabled
    failure_prediction_enabled 1 ; Failure prediction is enabled
    process_perf_data 1 ; Process performance data
    retain_status_information 1 ; Retain status information across program restarts
    retain_nonstatus_information 1 ; Retain non-status information across program restarts
    notification_period 24x7 ; Send host notifications at any time
    max_check_attempts 3
    register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE!
    define host{
    name ns.lowcostdomains.com ; The name of this host template
    notifications_enabled 1 ; Host notifications are enabled
    event_handler_enabled 1 ; Host event handler is enabled
    flap_detection_enabled 1 ; Flap detection is enabled
    failure_prediction_enabled 1 ; Failure prediction is enabled
    process_perf_data 1 ; Process performance data
    retain_status_information 1 ; Retain status information across program restarts
    retain_nonstatus_information 1 ; Retain non-status information across program restarts
    notification_period 24x7 ; Send host notifications at any time
    max_check_attempts 3
    register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE!
    define host{
    name ns2.lowcostdomains.com ; The name of this host template
    notifications_enabled 1 ; Host notifications are enabled
    event_handler_enabled 1 ; Host event handler is enabled
    flap_detection_enabled 1 ; Flap detection is enabled
    failure_prediction_enabled 1 ; Failure prediction is enabled
    process_perf_data 1 ; Process performance data
    retain_status_information 1 ; Retain status information across program restarts
    retain_nonstatus_information 1 ; Retain non-status information across program restarts
    notification_period 24x7 ; Send host notifications at any time
    max_check_attempts 3
    register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE!
    define host{
    name ml2.myemail.com ; The name of this host template
    notifications_enabled 1 ; Host notifications are enabled
    event_handler_enabled 1 ; Host event handler is enabled
    flap_detection_enabled 1 ; Flap detection is enabled
    failure_prediction_enabled 1 ; Failure prediction is enabled
    process_perf_data 1 ; Process performance data
    retain_status_information 1 ; Retain status information across program restarts
    retain_nonstatus_information 1 ; Retain non-status information across program restarts
    notification_period 24x7 ; Send host notifications at any time
    max_check_attempts 3
    register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE!
    define host{
    name ml3.myemail.com ; The name of this host template
    notifications_enabled 1 ; Host notifications are enabled
    event_handler_enabled 1 ; Host event handler is enabled
    flap_detection_enabled 1 ; Flap detection is enabled
    failure_prediction_enabled 1 ; Failure prediction is enabled
    process_perf_data 1 ; Process performance data
    retain_status_information 1 ; Retain status information across program restarts
    retain_nonstatus_information 1 ; Retain non-status information across program restarts
    notification_period 24x7 ; Send host notifications at any time
    max_check_attempts 3
    register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE!
    define host{
    name ml4.myemail.com ; The name of this host template
    notifications_enabled 1 ; Host notifications are enabled
    event_handler_enabled 1 ; Host event handler is enabled
    flap_detection_enabled 1 ; Flap detection is enabled
    failure_prediction_enabled 1 ; Failure prediction is enabled
    process_perf_data 1 ; Process performance data
    retain_status_information 1 ; Retain status information across program restarts
    retain_nonstatus_information 1 ; Retain non-status information across program restarts
    notification_period 24x7 ; Send host notifications at any time
    max_check_attempts 3
    register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE!
    define host{
    name mailserver.lowcostdomains.com ; The name of this host template
    notifications_enabled 1 ; Host notifications are enabled
    event_handler_enabled 1 ; Host event handler is enabled
    flap_detection_enabled 1 ; Flap detection is enabled
    failure_prediction_enabled 1 ; Failure prediction is enabled
    process_perf_data 1 ; Process performance data
    retain_status_information 1 ; Retain status information across program restarts
    retain_nonstatus_information 1 ; Retain non-status information across program restarts
    notification_period 24x7 ; Send host notifications at any time
    max_check_attempts 3
    register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE!
    define host{
    name neo.lowcostdomains.com ; The name of this host template
    notifications_enabled 1 ; Host notifications are enabled
    event_handler_enabled 1 ; Host event handler is enabled
    flap_detection_enabled 1 ; Flap detection is enabled
    failure_prediction_enabled 1 ; Failure prediction is enabled
    process_perf_data 1 ; Process performance data
    retain_status_information 1 ; Retain status information across program restarts
    retain_nonstatus_information 1 ; Retain non-status information across program restarts
    notification_period 24x7 ; Send host notifications at any time
    max_check_attempts 3
    register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE!
    define host{
    name 5thelement.lowcostdomains.com ; The name of this host template
    notifications_enabled 1 ; Host notifications are enabled
    event_handler_enabled 1 ; Host event handler is enabled
    flap_detection_enabled 1 ; Flap detection is enabled
    failure_prediction_enabled 1 ; Failure prediction is enabled
    process_perf_data 1 ; Process performance data
    retain_status_information 1 ; Retain status information across program restarts
    retain_nonstatus_information 1 ; Retain non-status information across program restarts
    notification_period 24x7 ; Send host notifications at any time
    max_check_attempts 3
    register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE!
    # Since this is a simple configuration file, we only monitor one host - the
    # local host (this machine).
    define host{
    use 12monkeys.wyattnetworks.com ; Name of host template to use
    ; This host definition will inherit all variables that are defined
    ; in (or inherited by) the freebsd-server host template definition.
    host_name 12monkeys.wyattnetworks.com
    alias 12monkeys.wyattnetworks.com
    address 69.4.242.110
    define host{
    use ns.lowcostdomains.com ; Name of host template to use
    ; This host definition will inherit all variables that are defined
    ; in (or inherited by) the freebsd-server host template definition.
    host_name ns.lowcostdomains.com
    alias ns.lowcostdomains.com
    address 69.4.242.108
    define host{
    use ns2.lowcostdomains.com ; Name of host template to use
    ; This host definition will inherit all variables that are defined
    ; in (or inherited by) the freebsd-server host template definition.
    host_name ns2.lowcostdomains.com
    alias ns2.lowcostdomains.com
    address 69.4.242.100
    define host{
    use ml2.myemail.com ; Name of host template to use
    ; This host definition will inherit all variables that are defined
    ; in (or inherited by) the freebsd-server host template definition.
    host_name ml2.myemail.com
    alias ml2.myemail.com
    address 69.4.242.102
    define host{
    use ml3.myemail.com ; Name of host template to use
    ; This host definition will inherit all variables that are defined
    ; in (or inherited by) the freebsd-server host template definition.
    host_name ml3.myemail.com
    alias ml3.myemail.com
    address 69.4.242.103
    define host{
    use ml4.myemail.com ; Name of host template to use
    ; This host definition will inherit all variables that are defined
    ; in (or inherited by) the freebsd-server host template definition.
    host_name ml4.myemail.com
    alias ml4.myemail.com
    address 69.4.242.104
    define host{
    use mailserver.lowcostdomains.com ; Name of host template to use
    ; This host definition will inherit all variables that are defined
    ; in (or inherited by) the freebsd-server host template definition.
    host_name mailserver.lowcostdomains.com
    alias mailserver.lowcostdomains.com
    address 69.4.242.105
    define host{
    use neo.lowcostdomains.com ; Name of host template to use
    ; This host definition will inherit all variables that are defined
    ; in (or inherited by) the freebsd-server host template definition.
    host_name neo.lowcostdomains.com
    alias neo.lowcostdomains.com
    address 69.4.242.106
    define host{
    use 5thelement.lowcostdomains.com ; Name of host template to use
    ; This host definition will inherit all variables that are defined
    ; in (or inherited by) the freebsd-server host template definition.
    host_name 5thelement.lowcostdomains.com
    alias 5thelement.lowcostdomains.com
    address 69.4.242.108
    # HOST GROUPS
    # We only have one host in our simple config file, so there is no need to
    # create more than one hostgroup.
    define hostgroup{
    hostgroup_name all
    alias all
    members 12monkeys.wyattnetworks.com,ns.lowcostdomains.com,ns2.lowcostdomains.com,ml2.myemail.com,ml3.myemail.com,ml4.myemail.com,mailserver.lowcostdomains.com,neo.lowcostdomains.com,5thelement.lowcostdomains.com
    # SERVICES
    # Generic service definition template - This is NOT a real service, just a template!
    define service{
    name all ; The 'name' of this service template, referenced in other service definitions
    active_checks_enabled 1 ; Active service checks are enabled
    passive_checks_enabled 1 ; Passive service checks are enabled/accepted
    parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems)
    obsess_over_service 1 ; We should obsess over this service (if necessary)
    check_freshness 0 ; Default is to NOT check service 'freshness'
    notifications_enabled 1 ; Service notifications are enabled
    event_handler_enabled 1 ; Service event handler is enabled
    flap_detection_enabled 1 ; Flap detection is enabled
    process_perf_data 1 ; Process performance data
    retain_status_information 1 ; Retain status information across program restarts
    retain_nonstatus_information 1 ; Retain non-status information across program restarts
    max_check_attempts 3
    register 1 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE!
    define service{
    use all ; Name of service template
    hostgroup_name all
    service_description SSH
    is_volatile 0
    check_period 24x7
    max_check_attempts 3
    normal_check_interval 3
    retry_check_interval 1
    contact_groups admins
    notification_interval 30
    notification_period 24x7
    notification_options w,u,c,r
    check_command check_ssh
    define service{
    use all ; Name of service template
    hostgroup_name all
    service_description DNS
    is_volatile 0
    check_period 24x7
    max_check_attempts 3
    normal_check_interval 3
    retry_check_interval 1
    contact_groups admins
    notification_interval 30
    notification_period 24x7
    notification_options w,u,c,r
    check_command check_dns
    define service{
    use all ; Name of service template
    hostgroup_name all
    service_description SMTP
    is_volatile 0
    check_period 24x7
    max_check_attempts 3
    normal_check_interval 3
    retry_check_interval 1
    contact_groups admins
    notification_interval 30
    notification_period 24x7
    notification_options w,u,c,r
    check_command check_smtp
    define service{
    use all ; Name of service template
    hostgroup_name all
    service_description POP3
    is_volatile 0
    check_period 24x7
    max_check_attempts 3
    normal_check_interval 3
    retry_check_interval 1
    contact_groups admins
    notification_interval 30
    notification_period 24x7
    notification_options w,u,c,r
    check_command check_pop
    define service{
    use all ; Name of service template
    hostgroup_name all
    service_description HTTP
    is_volatile 0
    check_period 24x7
    max_check_attempts 3
    normal_check_interval 3
    retry_check_interval 1
    contact_groups admins
    notification_interval 30
    notification_period 24x7
    notification_options w,u,c,r
    check_command check_http
    define service{
    use all ; Name of service template
    hostgroup_name all
    service_description FTP
    is_volatile 0
    check_period 24x7
    max_check_attempts 3
    normal_check_interval 3
    retry_check_interval 1
    contact_groups admins
    notification_interval 30
    notification_period 24x7
    notification_options w,u,c,r
    check_command check_ftp

    Thanks very much - I've fixed it all up a bit now.  Anything else you notice wrong?  I can't actually test it locally and am getting someone else to which is becoming quite tedious.
    # LOCALHOST.CFG - SAMPLE OBJECT CONFIG FILE FOR MONITORING THIS MACHINE
    # Last Modified: 11-27-2006
    # NOTE: This config file is intended to servce as an *extremely* simple
    # example of how you can create your object configuration file(s).
    # TIME PERIODS
    # This defines a timeperiod where all times are valid for checks,
    # notifications, etc. The classic "24x7" support nightmare. :-)
    define timeperiod{
    timeperiod_name 24x7
    alias 24 Hours A Day, 7 Days A Week
    sunday 00:00-24:00
    monday 00:00-24:00
    tuesday 00:00-24:00
    wednesday 00:00-24:00
    thursday 00:00-24:00
    friday 00:00-24:00
    saturday 00:00-24:00
    # 'workhours' timeperiod definition
    define timeperiod{
    timeperiod_name workhours
    alias "Normal" Working Hours
    monday 09:00-17:00
    tuesday 09:00-17:00
    wednesday 09:00-17:00
    thursday 09:00-17:00
    friday 09:00-17:00
    # 'nonworkhours' timeperiod definition
    define timeperiod{
    timeperiod_name nonworkhours
    alias Non-Work Hours
    sunday 00:00-24:00
    monday 00:00-09:00,17:00-24:00
    tuesday 00:00-09:00,17:00-24:00
    wednesday 00:00-09:00,17:00-24:00
    thursday 00:00-09:00,17:00-24:00
    friday 00:00-09:00,17:00-24:00
    saturday 00:00-24:00
    # 'none' timeperiod definition
    define timeperiod{
    timeperiod_name none
    alias No Time Is A Good Time
    # COMMANDS
    # NOTE: Sample command definitions can now be found in the sample commands.cfg
    # file
    # CONTACTS
    # In this simple config file, a single contact will receive all alerts.
    # This assumes that you have an account (or email alias) called
    # "nagios-admin" on the local host.
    define contact{
    contact_name nagios-admin
    alias Nagios Admin
    service_notification_period 24x7
    host_notification_period 24x7
    service_notification_options w,u,c,r
    host_notification_options d,r
    service_notification_commands notify-by-email
    host_notification_commands host-notify-by-email
    email [email protected]
    # CONTACT GROUPS
    # We only have one contact in this simple configuration file, so there is
    # no need to create more than one contact group.
    define contactgroup{
    contactgroup_name admins
    alias Nagios Administrators
    members nagios-admin
    # HOSTS
    # Generic host definition template - This is NOT a real host, just a template!
    define host{
    name default
    check_command check-host-alive
    check_period 24x7 ; Monitor 24/7
    normal_check_interval 1 ; Check host every X minutes
    max_check_attempts 3 ; Check X times before sending notifications
    notifications_enabled 1 ; Host notifications are enabled
    notification_interval 0 ; Never resend notifications
    notification_period 24x7 ; Send notifications 24/7
    notification_options d,r,u
    check_freshness 1 ; Make sure we always have fresh information
    freshness_threshold 900 ; Data should only be up to 15 minutes old
    event_handler_enabled 1 ; Host event handler is enabled
    flap_detection_enabled 1 ; Flap detection is enabled
    failure_prediction_enabled 1 ; Failure prediction is enabled
    process_perf_data 1 ; Process performance data
    retain_status_information 1 ; Retain status information across program restarts
    retain_nonstatus_information 1 ; Retain non-status information across program restarts
    register 1 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE!
    # Since this is a simple configuration file, we only monitor one host - the
    # local host (this machine).
    define host{
    use default ; Name of host template to use
    ; This host definition will inherit all variables that are defined
    ; in (or inherited by) the freebsd-server host template definition.
    host_name 12monkeys.wyattnetworks.com
    alias 12monkeys.wyattnetworks.com
    address 69.4.242.110
    define host{
    use default ; Name of host template to use
    ; This host definition will inherit all variables that are defined
    ; in (or inherited by) the freebsd-server host template definition.
    host_name ns.lowcostdomains.com
    alias ns.lowcostdomains.com
    address 69.4.242.108
    define host{
    use default ; Name of host template to use
    ; This host definition will inherit all variables that are defined
    ; in (or inherited by) the freebsd-server host template definition.
    host_name ns2.lowcostdomains.com
    alias ns2.lowcostdomains.com
    address 69.4.242.100
    define host{
    use default ; Name of host template to use
    ; This host definition will inherit all variables that are defined
    ; in (or inherited by) the freebsd-server host template definition.
    host_name ml2.myemail.com
    alias ml2.myemail.com
    address 69.4.242.102
    define host{
    use default ; Name of host template to use
    ; This host definition will inherit all variables that are defined
    ; in (or inherited by) the freebsd-server host template definition.
    host_name ml3.myemail.com
    alias ml3.myemail.com
    address 69.4.242.103
    define host{
    use default ; Name of host template to use
    ; This host definition will inherit all variables that are defined
    ; in (or inherited by) the freebsd-server host template definition.
    host_name ml4.myemail.com
    alias ml4.myemail.com
    address 69.4.242.104
    define host{
    use default ; Name of host template to use
    ; This host definition will inherit all variables that are defined
    ; in (or inherited by) the freebsd-server host template definition.
    host_name mailserver.lowcostdomains.com
    alias mailserver.lowcostdomains.com
    address 69.4.242.105
    define host{
    use default ; Name of host template to use
    ; This host definition will inherit all variables that are defined
    ; in (or inherited by) the freebsd-server host template definition.
    host_name neo.lowcostdomains.com
    alias neo.lowcostdomains.com
    address 69.4.242.106
    define host{
    use default ; Name of host template to use
    ; This host definition will inherit all variables that are defined
    ; in (or inherited by) the freebsd-server host template definition.
    host_name 5thelement.lowcostdomains.com
    alias 5thelement.lowcostdomains.com
    address 69.4.242.108
    # HOST GROUPS
    # We only have one host in our simple config file, so there is no need to
    # create more than one hostgroup.
    define hostgroup{
    hostgroup_name all
    alias all
    members 12monkeys.wyattnetworks.com,ns.lowcostdomains.com,ns2.lowcostdomains.com,ml2.myemail.com,ml3.myemail.com,ml4.myemail.com,mailserver.lowcostdomains.com,neo.lowcostdomains.com,5thelement.lowcostdomains.com
    # SERVICES
    # Generic service definition template - This is NOT a real service, just a template!
    define service{
    name all ; The 'name' of this service template, referenced in other service definitions
    active_checks_enabled 1 ; Active service checks are enabled
    passive_checks_enabled 1 ; Passive service checks are enabled/accepted
    parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems)
    obsess_over_service 1 ; We should obsess over this service (if necessary)
    check_freshness 0 ; Default is to NOT check service 'freshness'
    notifications_enabled 1 ; Service notifications are enabled
    event_handler_enabled 1 ; Service event handler is enabled
    flap_detection_enabled 1 ; Flap detection is enabled
    process_perf_data 1 ; Process performance data
    retain_status_information 1 ; Retain status information across program restarts
    retain_nonstatus_information 1 ; Retain non-status information across program restarts
    max_check_attempts 3
    register 1 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE!
    define service{
    use all ; Name of service template
    hostgroup_name all
    service_description SSH
    is_volatile 0
    check_period 24x7
    max_check_attempts 3
    normal_check_interval 3
    retry_check_interval 1
    contact_groups admins
    notification_interval 30
    notification_period 24x7
    notification_options w,u,c,r
    check_command check_ssh
    define service{
    use all ; Name of service template
    hostgroup_name all
    service_description DNS
    is_volatile 0
    check_period 24x7
    max_check_attempts 3
    normal_check_interval 3
    retry_check_interval 1
    contact_groups admins
    notification_interval 30
    notification_period 24x7
    notification_options w,u,c,r
    check_command check_dns
    define service{
    use all ; Name of service template
    hostgroup_name all
    service_description SMTP
    is_volatile 0
    check_period 24x7
    max_check_attempts 3
    normal_check_interval 3
    retry_check_interval 1
    contact_groups admins
    notification_interval 30
    notification_period 24x7
    notification_options w,u,c,r
    check_command check_smtp
    define service{
    use all ; Name of service template
    hostgroup_name all
    service_description POP3
    is_volatile 0
    check_period 24x7
    max_check_attempts 3
    normal_check_interval 3
    retry_check_interval 1
    contact_groups admins
    notification_interval 30
    notification_period 24x7
    notification_options w,u,c,r
    check_command check_pop
    define service{
    use all ; Name of service template
    hostgroup_name all
    service_description HTTP
    is_volatile 0
    check_period 24x7
    max_check_attempts 3
    normal_check_interval 3
    retry_check_interval 1
    contact_groups admins
    notification_interval 30
    notification_period 24x7
    notification_options w,u,c,r
    check_command check_http
    define service{
    use all ; Name of service template
    hostgroup_name all
    service_description FTP
    is_volatile 0
    check_period 24x7
    max_check_attempts 3
    normal_check_interval 3
    retry_check_interval 1
    contact_groups admins
    notification_interval 30
    notification_period 24x7
    notification_options w,u,c,r
    check_command check_ftp

  • Value Object pattern implementation problem

    Hi All!
    I try to implement value object pattern in my bean as follows:
    /* Simplified code */
    public class Value implements Serializable {
    private String s;
    public setS(String value){
    s = value
    public getS(){return s}
    bean class:
    public class Bean extends Value implemets EntityBean {
    public Value getValue(){return this}
    Now question.
    When I try run this code I get next message
    org.omg.CORBA.MARSHAL: minor code: 0 completed: No
    org.omg.CORBA.portable.InputStream com.visigenic.vbroker.orb.GiopStubDelegate.invoke(org.omg.CORBA.Object, org.omg.CORBA.portable.OutputStream, org.omg.CORBA.StringHolder, org.omg.CORBA.Context, org.omg.CORBA.ContextList)
    org.omg.CORBA.portable.InputStream com.visigenic.vbroker.orb.GiopStubDelegate.invoke(org.omg.CORBA.Object, org.omg.CORBA.portable.OutputStream, org.omg.CORBA.StringHolder)
    org.omg.CORBA.portable.InputStream com.inprise.vbroker.CORBA.portable.ObjectImpl._invoke(org.omg.CORBA.portable.OutputStream, org.omg.CORBA.StringHolder)
    com.retailpro.cms.common.InventoryValue com.retailpro.cms.ejb._st_Inventory.getValue()
    void com.retailpro.cms.inventory.SetInventory._jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
    void oracle.jsp.runtime.HttpJsp.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
    void oracle.jsp.app.JspApplication.dispatchRequest(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
    void oracle.jsp.JspServlet.doDispatch(oracle.jsp.app.JspRequestContext)
    void oracle.jsp.JspServlet.internalService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
    void oracle.jsp.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
    void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
    void oracle.lite.web.JupServlet.service(oracle.lite.web.JupRequest, oracle.lite.web.JupResponse)
    void oracle.lite.web.MimeServletHandler.handle(oracle.lite.web.JupApplication, java.lang.String, int, oracle.lite.web.JupRequest, oracle.lite.web.JupResponse)
    void oracle.lite.web.JupApplication.service(oracle.lite.web.JupRequest, oracle.lite.web.JupResponse)
    void oracle.lite.web.JupHandler.handle(oracle.lite.web.JupRequest, oracle.lite.web.JupResponse)
    void oracle.lite.web.HTTPServer.process(oracle.lite.web.JupRequest, oracle.lite.web.JupResponse)
    boolean oracle.lite.web.HTTPServer.handleRequest(oracle.lite.web.JupInputStream, oracle.lite.web.JupOutputStream)
    boolean oracle.lite.web.JupServer.handle(oracle.lite.web.JupInputStream, oracle.lite.web.JupOutputStream)
    void oracle.lite.web.SocketListener.process(java.net.Socket)
    void oracle.lite.web.SocketListener$ReqHandler.run()
    Seems like object can't be serialized.
    But when I change my getValue() to next
    public Value getValue(){
    Value result = new Value();
    result.setS(s);
    return result;
    Everything goes fine!
    Can anybody comments this situation?
    Any information will be appreciated!
    Mike
    null

    Have you tried using our Business Components for Java framework to assist in developing your EJB components. BC4J is a design pattern framework that implements the J2EE Blueprints design patterns out of the box:
    [list][*]Session-Entity Fagade
    [*]Paged-List
    [*]Unified Data Access & Logic
    [*]Value Object
    [*]Model View Controller
    [list]
    and more...
    So many things you don't have to code yourself when you use BC4J to turbocharge your development... Also, using BC4J insulates you from having to choose once and for all at the beginning of your project that you ARE USING EJB AT ALL COSTS on your project.
    Many projects discover that they don't require a distributed objects configuration, but end up paying for it in architectural complexity and EJB's assumption that all beans might be located on remote VM's.
    With BC4J, you can build an app, deploy to EJB if you need EJB for a given project, or deploy to CORBA, or just to simple Java classes for improved performance without the remoting overheads. All without touching your application code.
    Pretty cool, I think. But of course, I'm biased :-)
    Steve Muench
    Lead Product Manager for BC4J and Lead XML Evangelist, Oracle Corp
    Author, Building Oracle XML Applications

Maybe you are looking for