Help needed!!: Running two the same Ifs services on the same database.

Hello!
I would like to know if it is ok to have started two LibraryServices at the same time on the same database.
For example:
One LibraryService that is using "IfsDefault.properties" and running on default Apache Jserv (default IFS configuration).
Second LibraryService that is using the same "IfsDefault.properties" (the same database) and running on Tomcat.
I wanted to connect to LibraryService that is already started, but I have read in the documentation that I can do this by finding LibraryService, but only when it is running in the same process. So to have access I have to start my own service connecting to the same database as one that is already running in Jserv.
Is it ok to have such configuration?
Or maybe there is allowed only one LibraryService for one database?
Can somebody help?
Piotr Walendziak

you can have multiple LibraryService instances, each pointing to different databases, or all pointing to the same database. LibraryService instances are name-unique, however, so you must give each one its own name. also, they can all be active in the same process (JVM).

Similar Messages

  • Help needed to optimize the query

    Help needed to optimize the query:
    The requirement is to select the record with max eff_date from HIST_TBL and that max eff_date should be > = '01-Jan-2007'.
    This is having high cost and taking around 15mins to execute.
    Can anyone help to fine-tune this??
       SELECT c.H_SEC,
                    c.S_PAID,
                    c.H_PAID,
                    table_c.EFF_DATE
       FROM    MTCH_TBL c
                    LEFT OUTER JOIN
                       (SELECT b.SEC_ALIAS,
                               b.EFF_DATE,
                               b.INSTANCE
                          FROM HIST_TBL b
                         WHERE b.EFF_DATE =
                                  (SELECT MAX (b2.EFF_DATE)
                                     FROM HIST_TBL b2
                                    WHERE b.SEC_ALIAS = b2.SEC_ALIAS
                                          AND b.INSTANCE =
                                                 b2.INSTANCE
                                          AND b2.EFF_DATE >= '01-Jan-2007')
                               OR b.EFF_DATE IS NULL) table_c
                    ON  table_c.SEC_ALIAS=c.H_SEC
                       AND table_c.INSTANCE = 100;

    To start with, I would avoid scanning HIST_TBL twice.
    Try this
    select c.h_sec
         , c.s_paid
         , c.h_paid
         , table_c.eff_date
      from mtch_tbl c
      left
      join (
              select sec_alias
                   , eff_date
                   , instance
                from (
                        select sec_alias
                             , eff_date
                             , instance
                             , max(eff_date) over(partition by sec_alias, instance) max_eff_date
                          from hist_tbl b
                         where eff_date >= to_date('01-jan-2007', 'dd-mon-yyyy')
                            or eff_date is null
               where eff_date = max_eff_date
                  or eff_date is null
           ) table_c
        on table_c.sec_alias = c.h_sec
       and table_c.instance  = 100;

  • Urgent help needed(call_form in the web_form)

    Dear College,
    I have scussfully set up the form run in the web using
    Jinitiator.
    However, after I started a form in the client browser,
    I can not call another form using call_form.
    Can anyone advise me how to do it?
    Thanks in advance
    Ming Liu
    null

    If the system really needs to go in for service to remove the CD, then you don't need to sent it to Apple, you can simply take it to an Apple dealer, or a local Apple Approved Service Provider (usually listed in the phone book, but you can also locate them (in the UK) via the page at http://www.apple.com/uk/buy/locator/ changing 'you want to:' to 'find service' and then entering your postcode.
    You may, however, be able to get the stuck CD out yourself. You describe the system as sounding as if it's trying to eject, which sounds like the disc may be fouling the inside of the casing. When that happens, the system then tries to suck the disc back in because it can't eject it. Using something thin but fairly stiff (a business card sometimes works) insert that about half an inch, angled a little upwards to see if you can help guide the disc back out when it ejects. If that doesn't work, angle it downward and try again.

  • Help needed in understanding the concept of hierarchical queries

    I really need help in this matter. I have a flafile containing about 4000 rows. It is from my supplier, it's structure is as follows:
    create table Flatfile
    (Pgroup varchar2(30),
    Pclass varchar2(30),
    Manufacturer varchar2(30),
    Article varchar2(30),
    Price Number(6,2));
    Insert into Flatfile Values
    ('Application Software','Database Software','Oracle','Oracle 10G',115);
    Insert into Flatfile Values
    ('Application Software','Database Software','Microsoft','MS SQL Server 2000',200);
    Insert into Flatfile Values
    ('Application Software','Spreadsheet Software','Microsoft','Excel',100);
    Insert into Flatfile Values
    ('Monitor','15"','Acer','Acer 15"" TFT superscreen',199);
    Insert into Flatfile Values
    ('Monitor','15"','Sony','Sony R1500 flat',225);
    Insert into Flatfile Values
    ('Monitor','17"','Philips','Philips Flatscreen',250);
    Insert into Flatfile Values
    ('Monitor','19"','Viewsonic','Viewsonic PLasma Monitor',275);
    Insert into Flatfile Values
    ('Processor','AMD','AMD','FX-55',600);
    Insert into Flatfile Values
    ('Processor','Intel','Intel','P4 3 GHZ',399);
    My goal is to make a hierarchical query with the start with and connect by clauses. From what I have read is that I need to normalize the data of the flatfile.
    How do I achieve a table which I can query so that the query will represent the hierarchy that exists. Namely
    Pgroup
    ++Pclasse
    Application Software
    ++Database Software
    ++Spreadsheet Software
    So a 2-level hierarchy. I'd like to understand this simple concept first. I built on the knowledge that I gain. So the questions are:
    1.What do I need to do to make the table so that I can use a hierarchical query on it?
    2. How should the query syntax be?
    3. Is it also possible to get the data in the hierarchical query sorted asec?
    I would only like to use the simple structures of the start with and connect by clauses first. I've read there are some new additions to 10G. The problem with the examples used by the tutorials is that the tables are already made so that they are suitable for hierarchical queries. I hope to understand it by this example. And take it a step further.
    Sincerely,
    Pete

    Primarily hierarchy query serves to process tree-like structures which RDBMS simulates using through parent-child relation, often in a single table (see famoust
    EMP table where employee can have the manager who is an employee at the same time).
    In your case it could look like:
    SQL> select pgroup, pclass from flatfile;
    PGROUP                         PCLASS
    Application Software           Database Software
    Application Software           Database Software
    Application Software           Spreadsheet Software
    Monitor                        15"
    Monitor                        15"
    Monitor                        17"
    Monitor                        19"
    Processor                      AMD
    Processor                      Intel
                                   Application Software
                                   Monitor
                                   Processor
    12 rows selected.
    SQL> select decode(level,1,pclass,'  ' || pclass), Manufacturer from flatfile
      2  start with pgroup is null
      3  connect by prior pclass = pgroup
      4  /
    DECODE(LEVEL,1,PCLASS,''||PCLASS MANUFACTURER
    Application Software
      Database Software              Oracle
      Database Software              Microsoft
      Spreadsheet Software           Microsoft
    Monitor
      15"                            Acer
      15"                            Sony
      17"                            Philips
      19"                            Viewsonic
    Processor
      AMD                            AMD
      Intel                          Intel
    12 rows selected.The hierarchy syntax is described completely in the documentation including
    LEVEL and PRIOR keywords.
    As for the ordering question you can use siblings ordering:
    SQL> select decode(level,1,pclass,'  ' || pclass), Manufacturer from flatfile
      2  start with pgroup is null
      3  connect by prior pclass = pgroup
      4  order siblings by 1 desc
      5  /
    DECODE(LEVEL,1,PCLASS,''||PCLASS MANUFACTURER
    Processor
      Intel                          Intel
      AMD                            AMD
    Monitor
      19"                            Viewsonic
      17"                            Philips
      15"                            Acer
      15"                            Sony
    Application Software
      Spreadsheet Software           Microsoft
      Database Software              Oracle
      Database Software              Microsoft
    12 rows selected.Rgds.

  • Help needed in using the DocCheck utility

    Hi
    Can somebody help me to use the DocCheck utility.I need to check that all the java files have the required javadoc tags and they are correct.
    I have downloaded the zip file and I have been giving the following commands
    c:\javadoc -doclet com.sun.tools.doclets.doccheck.DocCheck -docletpath c:\svk\jdk1.2.2\bin\doccheck1.2b1\lib\doccheck.jar -sourcepath<full path with the file name>
    But I get the following error message : No package or class specified.
    I also tried giving the following command:
    D:\SegaSource\sega\src\com\sega\account>javadoc -doclet com.sun.tools.doclets.do
    ccheck.DocCheck -docletpath d:\jdk1.3\doccheck1.2b1\lib\doccheck.jar User.java
    But I get the following message:
    Loading source file User.java...
    Constructing Javadoc information...
    javadoc: warning - Import not found: com.sega.account.address.Address - ignoring
    javadoc: warning - Import not found: com.sega.account.icon.Icon - ignoring!
    javadoc: warning - Import not found: com.sega.common.DateUtil - ignoring!
    javadoc: warning - Import not found: atg.nucleus.GenericService - ignoring!
    javadoc: warning - Cannot find class com.sega.account.icon.Icon
    javadoc: warning - Cannot find class com.sega.account.address.Address
    javadoc: warning - Cannot find class com.sega.account.MasterManager
    7 warnings
    please help
    Thanks
    SVK

    I have never ran the DocCheck from the command prompt, so I really don't know how to do it, but I do run it succesfully using ant (build tool from apache - jakarta, if you use tomcat you already have it installed).
    So.. if you do use ant.. this will help:
    <target name="doccheck" depends="prepare">
         <javadoc
              packagenames="${packages}"
                    destdir="${doccheck.home}"
              doclet="com.sun.tools.doclets.doccheck.DocCheck"
              docletpath="${doccheck.path}" >
              <classpath refid="project.classpath"/>
              <sourcepath refid="project.classpath"/>
         </javadoc>
    </target>If you don't use it.. I guess I was of no help, sorry.
    Ylan

  • Help needed running catrep !!

    Hello,
    i need some help running the catrep sql file. Every time i get
    the error package STANDARD not created.
    Some error messages from the log file :
    ORA-1654: unable to extend index SYS.I_SOURCE1 by 100 in
    tablespace SY
    STEM
    Wed Jun 9 17:05:10 1999
    ORA-1654: unable to extend index SYS.I_SOURCE1 by 100 in
    tablespace SY
    STEM
    Where is the problem ?
    @catalog or @catproc produce also errors.
    i've created the database with the CREATE DATABASE command. So
    in the orainst i choose to start without the demo database.
    Please help.
    Olaf.
    null

    Olaf,
    first check whether SYSTEM tablespace has enough free space for
    the replication packages (should be something like 40M)
    if you did succeed with free space check the status of pl/sql
    system packages: select * from dba_errors; output should not
    contain references to dbms_* packages. if it does, re-run
    catalog.sql and catproc.sql
    null

  • Help needed in identifying the performance bottle neck

    Version: Oracle 11g
    I have application which accesses an Oracle DB. With only one application accessing the DB, the application is quite fast in retrieving the results from the DB or inserting results into the DB.
    But if another application is added accessing the same database but different data from the database, the speed of the application has reduced drastically..
    Can anybody tell me what are the possible reasons for such reductions in the speed of the application..

    Hi,
    Run statspack/AWR for each case for 5 minute and see the diffrencess.

  • Help needed in overriding the finalize() method!

    Hi
    I need some help in overwriting the finalize() method.
    I have a program, but at certain points, i would like to "kill" a particular object.
    I figured that the only way to do that is to make that object's class override the finalize method, and call it when i need to kill the object.
    Once that is done, i would call the garbage collector gc() to hopefully dispose of it.
    Please assist me?
    Thanks
    Regards

    To, as you put it, kill an object, just null it. This
    will be an indication for the garbage collector to
    collect the object. In the finalizer, you marely null
    all fields in the class. Like this:
    public class DummyClass
    String string = "This is a string";
    Object object = new Boolean(true);
    public void finalize() throws Throwable
    super.finalize();
    string = null;
    object = null;
    public static void main(String[] args)
    //Create a new object, i.e allocate an
    te an instance.
    DummyClass cls = new DummyClass();
    //Null the reference
    cls = null;
    This is a pointless exercise. If an object is being finalized, then all the references it contains are about to cease being relevant anyway, so there's no purpose to be served in setting them to null.
    All that clearing a reference to an object does is to clear the reference. Whether the object is subsequently finalized depends on whether the object has become unreachable.
    Directly calling finalize is permitted, but doesn't usually serve any purpose. In particular, it does not cause the object to be released. Further, calling the finalize method does not consitute finalization of the object. Finalization occurs when the method is called as a consequence of a garbage collector action.
    If a variable contains a reference to an object (say a table), and you want a new table instead, then create a new table object, and assign its reference to the variable. Assuming that the variable was the only place that the old table's reference was stored, the old table will, sooner or later, get finalized and collected.
    Sylvia.

  • Help needed in using the appropriate Trigger

    I have a master detail form.DEPT block is the master block and Employee is Detail block.I need to display the message when user is
    trying to enter the ENAME field in the Employee block(detail) when the DEPTNO in the DEPT block(master) is not equal to 10.
    Messgae should be displayed when user trying to type the value but not when the user navigates into the ENAME text field.
    What is the appropriate trigger that is useful here?
    Thanks.
    GSR

    If the DEPT block is table based in the block's POST-QUERY trigger you can simply set
      if :DEPT.DEPTNO !=10 then
        set_item_proerty('DEPT.ENAME', insert_allowed, property_false);
        set_item_proerty('DEPT.ENAME', update_allowed, property_false);
      else
        set_item_proerty('DEPT.ENAME', insert_allowed, property_true);
        set_item_proerty('DEPT.ENAME', update_allowed, property_true);
      end if;if the block is a non-database one then you can put that code in EMPNAME's WHEN-VALIDATE-ITEM trigger
    Luca
    Don't forget to mark the answer as helpful/correct if it is. please.

  • I am using a Hughes Satellite and I am having a problem with using all my bandwidth without even using my computer.  Is there a way to shut things off that I don't need running all the time in the background.

    I am using Hughes satellie for my internet provider.  I am having a problem using all my bandwidth each day.  Is there a way from using this bandwidth.  I am using even when I am not using my computer.  Is there a way to turn off things that are running in the background.

    It depends a lot on what you have installed and what apps you run. Here's a suggestion:  Get Little Snitch and see what processes are accessing your internet connection.
    charlie

  • Help needed in knowing the B2B Table strucure

    Hi All,
    I would like to know the tables in the B2B database that stores the ISA,GS,ST,Receiver ID and Ack flag data.
    Or any document which contains the description of all the tables and what data is stored in them .
    Thanks in advance.
    Regards,
    Kaavya

    Hi Kaavya,
    There is a view called b2b_instancemessage where you will get all the details. Please refer the post Getting the ISA Control Number and other details from a b2b generated file
    which has the view creation script. If you analyze the script you will get to know the relationship between tables in the b2b schema.
    Hope that it helps!!
    Thanks,
    Dibya Prakash Mohapatra

  • [SOLVED] Help Needed to find the name of the openbox theme

    Can anyone help me to find the name of the openbox theme ?.
    Thank you.
    It's Numix
    Last edited by bhante (2015-01-07 11:13:12)

    That looks a lot like the Numix GTK theme...

  • Please help - Unable to get the cluster database home page

    I have both the RACDB1 & RACDB2 instances running (and the 2 listeners also) . But I do not get the the cluster database home page. Instead I get startup/shutdown page. EM later confirms both instances are up.
    But how do I connect to the RACDB database to perform any admin work from within EM ?
    Any help is appreciated.
    Thank you.

    Ehm. Before placing? At that point ID doesn't know anything at all about the PDF.
    var myPDFFile = File.openDialog("Choose a PDF File");
    myPDFFile.execute();
    Then check the lower left bottom -- it should display the page size.
    Why not first place the file and then check its size? You can always move it to the right position after placing.
    Oh, by the way: "a PDF" doesn't have a "page size". Each single page in a PDF can have a page size of its own.

  • Help needed in designing the Web Service Interface

    Hi,
    In have a scenario where a client will be sending an XML file , which is a SOAP message to a webservice. I would like to know what the input datatype for this interface would be?
    Is the following correct?
    interface MyWebService{
    public String recieveMessage(String aSOAPMessage);
    Also once I get the SOAP message what is the best way to parse or iterate through its contents.
    Any pointers or examples would be highly appreciated.
    Thanks
    Murtuza

    Hi,
    In have a scenario where a client will be sending an XML file , which is a SOAP message to a webservice. I would like to know what the input datatype for this interface would be?
    Is the following correct?
    interface MyWebService{
    public String recieveMessage(String aSOAPMessage);
    Also once I get the SOAP message what is the best way to parse or iterate through its contents.
    Any pointers or examples would be highly appreciated.
    Thanks
    Murtuza

  • Help needed in getting the previous Quarter Data

    Hello folks,
    I have this procedure where i have to modify the current procedure in the following manner:
    I need to get rid of the variables p_start and p_end so that i cannot see them in the crystal report and include the Frequency in the procedure to get the Data based on the Dates.
    and Main requirement is" If the Frequency is Quarterly " it should get the previous quarter Data, if "Frequency is monthly" it should return the previous month data.Can anyone please let me know where shud i make changes. Am including the procedure for refernce. Any help is appreciated
    Thanks a millioin,
    CREATE OR REPLACE PROCEDURE hcsc_recovery_report_h(report_record in out cr_return_types.gen_cursor,
    p_start       string,
    p_end         string)
    IS
    v_startdate date;
    v_enddate date;
    BEGIN
    v_startdate := to_date(p_start, 'YYYY/MM');
    v_enddate := last_day(to_date(p_end, 'YYYY/MM'));
    open report_record for
    select --distinct r.recovery_id
    r.event_id,
    r.event_case_id,
    c.client_id,
    c.client_code,
    c.client_name,
    b.branch_group_code,
    b.branch_group_description,
    g.employer_group_code,
    g.employer_group_name,
    e.client_policy_identifier,
    e.date_of_incident,
    e.event_type_code,
    sum(nvl(r.amount, 0)) as amt_received,
    nvl(sum(case
    when r.amount >= 0 then
    rd.fees
    else
    rd.fees * (-1)
    end),
    0) as fees,
    ec.close_date, *001* commented
    (case
    when ec.close_date <= to_date(to_char(v_enddate, 'MMDDRRRR') || '235959',
    'MMDDRRRR HH24MISS') then
    ec.close_date
    else
    null
    end) as close_date, --*001*  added
    get_case_value(ec.event_id, ec.event_case_id, v_enddate) as case_value,
    nvl(etl.fee_percent_flag, 'N') workmans_comp,
    max(to_char(r.recovery_date, 'FMMonthYYYY')) Year_Month,
    max(to_char(r.recovery_date, 'YYYYMM')) Y_M,
    max(to_date(to_char(r.recovery_date, 'MMYYYY'), 'MM/YYYY')) date_MY
    from recovery r,
    recovery_detail rd,
    event e,
    client c,
    branch_group b,
    employer_group g,
    event_case ec,
    event_type_lookup etl
    where r.event_id = e.event_id
    and r.event_case_id = ec.event_case_id
    and ec.event_id = e.event_id
    and rd.recovery_id(+) = r.recovery_id
    and r.recovery_date between v_startdate and
    to_date(to_char(v_enddate, 'MMDDRRRR') || '235959',
    'MMDDRRRR HH24MISS')
    and e.client_id = c.client_id
    and g.client_id = c.client_id
    and b.client_id = c.client_id
    and g.employer_group_id(+) = e.employer_group_id
    and b.branch_group_id(+) = g.branch_group_id
    and e.event_type_code = etl.event_type_code -- SST 130852 04/14/09
    group by r.event_id,
    r.event_case_id,
    c.client_id,
    c.client_code,
    c.client_name,
    b.branch_group_code,
    b.branch_group_description,
    g.employer_group_code,
    g.employer_group_name,
    e.client_policy_identifier,
    e.date_of_incident,
    e.event_type_code,
    ec.close_date,
    get_case_value(ec.event_id, ec.event_case_id, v_enddate),
    nvl(etl.fee_percent_flag, 'N')
    having sum(nvl(r.amount, 0)) <> 0
    order by c.client_code,
    b.branch_group_code,
    g.employer_group_code,
    r.event_case_id;
    Edited by: user11961230 on Oct 20, 2009 9:02 AM

    user11961230 wrote:
    1. I want to get rid of the p_start and p_end. So how do i declare the v_startdate and v_enddate in the following part?
    v_startdate := to_date(p_start, 'YYYY/MM');
    v_enddate := last_day(to_date(p_end, 'YYYY/MM'));I'm not sure what you mean by "declare".
    In PL/SQL, "declare" means state (at the beginning of a block) that there will be a certain variable with a certain name (such as v_startdate) and datatype (such as DATE). You're already declaring the variables v_startdate and v_enddate correctly, right before the BEGIN statement.
    Declaring a variable is not the same as initializing it, that is, giving it a value for the first time. Your next question seems to be about initializing..
    2. where exactly shud i include the logic that u have mentioned. sorry a dumb questionIn place of the two assignment statments that reference p_start and p_end.
    3. This time am gonna use frequency instead of report_type so that i will get rid of the p_start and p_end from the procedure.Do you mean you want to pass an argument (called frequency) that tells if you want a quarterly or a mionthly report, just like the variable report_type in my example?
    If so, replace report_type in my example with frequency.
    I think you want something like this:
    CREATE OR REPLACE PROCEDURE hcsc_recovery_report_h
    (      report_record         in out     cr_return_types.gen_cursor
    ,      frequency         IN           VARCHAR2
    IS
         -- Declare local variables:
         v_startdate     date;
         v_enddate      date;
    BEGIN
         -- Initialize v_startdate and v_enddate, depending on frequency
         IF  frequency = 'QUARTERLY'
         THEN
              v_startdate := TRUNC ( ADD_MONTHS (SYSDATE, -3)
                                           , 'Q'
              v_enddate := TRUNC (SYSDATE, 'Q');
         ELSIF  frequency = 'MONTHLY'
         THEN
              v_startdate := TRUNC ( ADD_MONTHS (SYSDATE, -1)
                             , 'MM'
              v_enddate := TRUNC (SYSDATE, 'MM');
         END IF;
         --   Subtract one second from v_enddate
              v_enddate := v_enddate - ( 1
                                            / (24 * 60 * 60)
         open report_record for
         select --distinct r.recovery_id
                r.event_id,
         and     r.recovery_date  BETWEEN  v_startdate     
                         AND       v_enddate
         ...When you post formatted text on this site (and code should always be formatted), type these 6 characters:
    (small letters only, inside curly brackets) before and after sections of formatted text, to preserve spacing.
    Edited by: Frank Kulash on Oct 20, 2009 2:37 PM
    Changed query to use BETWEEN                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for

  • Creation of PM Notification based on UD Code

    Hi Seniors I am new to PM/QM module and facing an issue while configuring UD code follow-up actions. My requirement is once the Valution Code is set to "Rejected" in UD code then follow-up action should be generated and in this follow up action, coup

  • Jdcap, two different libraries with the same name?

    I am looking for a network packet capturer and I have found two libraries, both called "Jdcap": 1) [http://netresearch.ics.uci.edu/kfujii/jpcap/doc/index.html] 2) [http://jpcap.sourceforge.net/] What are the differences between them? Why do the have

  • Why can I only load https pages, Safari and Maverick?

    Hi I can't load http web pages in Safari, but can load https pages. Have similar problem with Opera, but no problem loading http web pages on my iPad. The problem started yesterday and is on my iMac.  So am guessing that it is a mavericks setting iss

  • Use two adapters?

    My MB has the mini DVI, I bought a VGA adapter and it works fine, but it occurred to me - I have several DVI-VGA adapters, including the one I received with my Mac Mini. I would have more flexibility if I used that in conjunction with a mini DVI -> D

  • Rebel x3i (600D) autofocus not working in Creative Zone mode. Works okay in the Basic modes.

    I bought a Canon refurbished x3i from Canon last Summer after my Ritz Camera extended warranty became useless and my xTi (400D) died. The camera has been excellent until very recently. About a week or so ago, the autofocus stopped working. I think it