Number of initial instances in SingleThreadModel

Just out of curiousity : When a servlet that implements the
          SingleThreadModel first is accessed, a number of instances are created.
          If I log every call to init(), I see 6 calls. However, WLS seems to be
          using only 5 of these instances. What is the 6'th instance used for ?
          jo
          

Hi David,
In order to find the total numbers of reports in the Enterprise fire the following query from the Query Builder tool.
SELECT
Count(SI_ID)
FROM
CI_INFOOBJECTS
WHERE
SI_KIND = u2018CrystalReportu2019
The queries above will return the total count of the CR reports which are present in the Enterprise.
In case you would like to find the WebI Or DeskI reports reports then use the following in the where clause respectively SI_KIND = u2018webiu2019 and SI_KIND = u2018fullclientu2019
I hope this helps you.
Regards,
Prashant

Similar Messages

  • How to count Number of  completed instances

    Hi all,
    I have one issue regarding *"How to Count Completed instances"* in SOA...
    How can i count the number of completed instances for a interface...Any idea or suggestion plzzzzzz....
    Thanks,
    Raj

    Hi Dariel Pérez ,
    By executing the Querey I'm able to get the State and num_cube instances but when I call this Query in BPEL by using DB adapter I get the following error
    BINDING.JCA-12563 Exception occured when binding was invoked. Exception occured during invocation of JCA binding: “JCA Binding execute of Reference operation ‘CountReq’ failed due to: Pure SQL Exception. Pure SQL Execute of SELECT (CASE WHEN STATE=1 THEN ‘OPEN AND RUNNING’ WHEN STATE=2 THEN ‘OPEN AND SUSPENDED’ WHEN STATE=3 THEN ‘OPEN AND FAULTED’ WHEN STATE=4 THEN ‘CLOSED AND PENDING’ WHEN STATE=5 THEN ‘CLOSED AND COMPLETED’ WHEN STATE=6 THEN ‘CLOSED AND FAUTED’ WHEN STATE=7 THEN ‘CLOSED AND CANCELLED’ WHEN STATE=8 THEN ‘CLOSED AND ABORTED’ WHEN STATE=9 THEN ‘CLOSED AND STALE’ WHEN STATE=10 THEN ‘NON-RECOVERABLE’ ELSE STATE || ” END) AS STATE, COUNT(*) AS NUM_OF_CUBE_INST FROM CUBE_INSTANCE GROUP BY STATE; failed. Caused by java.sql.SQLSyntaxErrorException: ORA-00911: invalid character . The Pure SQL option is for border use cases only and provides simple yet minimal functionality. Possibly try the “Perform an operation on a table” option instead. This exception is considered not retriable, likely due to a modelling mistake. To classify it as retriable instead add property nonRetriableErrorCodes with value “-911″ to your deployment descriptor (i.e. weblogic-ra.xml). To auto retry a retriable fault set these composite.xml properties for this invoke: jca.retry.interval, jca.retry.count, and jca.retry.backoff. All properties are integers. “. The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution.
    Any Suggetions.
    Thanks
    Mani

  • How can I know the number of ejb instances

    Hi all,
    We need to know how can we get the number of ejb instances (entity and session) while the application is running.
    We have a memory leak, so we need to know the amount opf memory used.
    Please, it´s quite urgent, can anybody help us? It seems like an Oracle 9ias 903 bug.
    Thanks

    I'm not sure if this will help you, but the "Spy" application that comes with OC4J stand-alone may help. I suggest you search this forum's archives for the words "Spy" and "AggreSpy".
    Good Luck,
    Avi.

  • Can I use ClassLoader to limit the number of running instances of my app?

    Hi
    I want to limit the number of running instances of my app to 1 (like what IDEA and... do), can I do that with a class loader? How?
    Thanks in advance,
    Behrang S.

    No.
    If you search the advanced forum you will find several discussions on how you can do it.

  • LOAD BALANCE (CSS) and Portal Port Number based on Instance Number

    Hi,
    My doubt is about LOAD BALANCE (CSS) and Portal Port Number based on Instance Number.
    I have to install 3 servers machines and 2 servers databases cluster. There will be a HIGH AVAILABILITY environment. There will be a MIGRATION and UPGRADE.
    Today there are 2 servers machines in Windows NLB. Today my production Portal is 6 6.20.
    Once, I did something for LABORATORY TEST. Migration (6 6.40) and Upgrade (7.0)in two other machines. But they were with Windows NLB. When I did the installation, for each server machine and during the instalation I had to give one Instance Number for each and in result there was a different Port Number for each.
    But I accessed both machines throught a virtual url(dns) with a specific port number. And it works!
    NOW, with a HARDWARE LOAD BALANCE _ CSS I don't know how to do.
    A guy who works with it  tell us that couldn't redirect one Port Number for different port numbers. He couldn't configure the CSS like this.
    My question is: Is he write? And if he is, there is a  way to give the same instance number for my 3 new Portal servers machines? Example: 5(02)00.
    Could you understand?
    I need help.
    Regards,
    cheers,
    Nivia

    Nivia,
    I have used F5 for load balancing, I am sure you can do the same with CSS. Yes, you can configure a virtual IP on the load balancer with standard ports (80 or 443) and load balancing the traffic to multiple servers with different ports. You can have different ports for each instance.
    -Regards
    RK

  • Maximum number of VPLS instances on ME3600X box

    Hi,
    Does anyone know what is the current maximum number of VPLS instances on ME3600X (Advanced Metro IP Access license)? I've found on one of the old presentations that this was only 26. And why is this limitation present?
    Best regards,
    Krzysztof

    Hi Ricardo,
    as for every platform, in the official limitations and restrictions there is a margin of prudence in what the platform can support. Let's say you can configure 40 VPLS instances (never tried) on your 3600X , and you do it with no apparent issue, this implementation would simply fall off the tests which Cisco did on that particular platform. Hence, any bad subsequent behaviour would not be "Cisco fault" and i actually see no reason for doing that.
    HTH
    Alessio

  • How I can change ipad mini mobile number I initially requested and to place the wrong number

    how I can change ipad mini mobile number I initially requested and to place the wrong number

    If you're refering to your uphone number thats set up to be used with imessage on your ipad, then that is associated with your apple id and has to be changed there first.
    My Apple ID
    https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/
    Then on your ipad, sign out of messages. Go to settings/messages/tap on send and receive/tap on apple id/sign out
    Then sign out of messages on phone and then back in.
    Then sign into messages on ipad again, number should appear
    http://support.apple.com/kb/HT5538

  • How to limit the number of parallel instances of a given event-based job?

    Hi,
    DB version : 11.2.0.3
    I'm using an event-based job with parallel_instances attribute set to true.
    It works perfectly fine, messages are enqueued then dequeued and processed simultaneously by separate instances of the same job.
    Now, I'd like to limit the number of parallel instances of this job running at the same time, say to an arbitrary number n.
    What would be the best way to do that?
    Maybe using a notification callback is a better option in this case?
    Thanks in advance for any input.

    Hi,
    DB version : 11.2.0.3
    I'm using an event-based job with parallel_instances attribute set to true.
    It works perfectly fine, messages are enqueued then dequeued and processed simultaneously by separate instances of the same job.
    Now, I'd like to limit the number of parallel instances of this job running at the same time, say to an arbitrary number n.
    What would be the best way to do that?
    Maybe using a notification callback is a better option in this case?
    Thanks in advance for any input.

  • EJB 3.0 Stateful - Limiting number of bean instances

    Hello EJB Experts,
    I have just started to learn EJB 3.0 and have some basic queries. The application server that I am using is Glassfish. Please find my queries below:
    1. To remove an bean instance from the container, we can use the annotation '@Remove'. I basically had 2 methods and annotated the 2nd method with '@Remove'. Whenever the 2nd method is called, the container is removing this instance also in my program. My problem is that, i might get some invalid parameter values in the 2nd method, so in that case I have to just log the error message and whenever the input parameters are correct, then only the instance should be removed. But lets say, if someone calls my 2nd method with invalid parameters, I log the message and the container removes it, but after some time if the 2nd method is called with correct parameters, then the instance will not be available. Can we programatically tell the container when to remove a bean instance?
    2. From the docs, I am clear that pooling works only for 'Stateless' beans. I however (I am using 'Statuful' bean), wanted to limit the max number of instance to 2. I did below mentioned configuration in the 'sun-ejb-jar.xml' file:
    <bean-cache>
                        <is-cache-overflow-allowed>false</is-cache-overflow-allowed>
                        <cache-idle-timeout-in-seconds>1</cache-idle-timeout-in-seconds>
                        <max-cache-size>2</max-cache-size>
                        <resize-quantity>0</resize-quantity>
                        <removal-timeout-in-seconds>2</removal-timeout-in-seconds>
                        <victim-selection-policy>LRU</victim-selection-policy>
              </bean-cache>
    But i think, it is still creating more that 2 instances of this bean.
    Please help me in getting answers to these questions. I will be very thankful for your replies.
    Regards,
    San
    Edited by: SolarisUser1 on Jun 27, 2010 11:00 PM

    @Remove is used for stateful EJBs and you call it when your client has finished using that instance of the stateful EJB.
    If you are passing in parameters to the method and letting it do some work with your parameters then perhaps it should not be a remove method at all. Make it a normal method and only put cleanup related logic in the remove method. You can also throw some application exception and rollback if the parameters are not correct.

  • Maximum number of database instance on Exadata V2

    Does any body know maximum of database instance can starting on Exadata V2, haft rack configuration. I can start only 13 instance but when start instance 14 it failed. I had try to increased number of semaphore but still not work.

    I would expect that the maximum number of instances would be covered by sanity rather than something Oracle has configured.
    Given that you've not posted the actual error message my recommendation would be that you either provide us with a lot more
    information or that you open an SR with MOS.
    Please also explain how you came to the presumption that the issue was semaphores.

  • Number of 10gR2 instances on a single server

    Good evening,
    this is my first post here.
    We want to create several 10gR2 instances (one per application) on a single linux server (Red Hat 4.0). We do not want to create one instance with separated tablespaces or schemas as the editors of the applications do not support it.
    We would like to know how many CPUs we need per instance (in terms of fractional CPU and frequency).
    We expect to have from 5 to 15 simultaneous users of these instances (rather OLTP work than decisional). Bigger ones have their own dedicated server.
    Do Enterprise edition and Standard edition require the same CPU number/power ?
    About multi-core CPUs, is the rule 1dual-core=1.5CPU correct ?
    I thank you in advance for your help.

    The amount of Oracle Instances you may create in the same box depends, mostly, on the amount of RAM available. You are required to properly configure the unix sempahores, otherwise, even if you have the required free memory, you won't be able to use it.
    You have to spread your applications among several instances, but the usage profile is the same among them?, or stated otherwise, are the instances required to be configured just exactly the same? then you can easily estimate the amount of required memory per each instance and the estimated amount of memory required by the users.
    Regarding the CPU there is not a thumb rule, you should gather usage statistics based on the current workload present in a typical instance on a typical day (cpu requirements constantly change for the same instance depending on the application usage), and build a baseline after the collected information.
    Regarding the kernel parameters (semaphores), I suggest you to continue with this thread where I summarize the semaphore meaning and settings --> Re: Semaphores
    ~ Madrid

  • Number of reports/instances in a BOE XI R2 environment

    Is there any tool, BusinessObjects or third-party, that can list a total number of reports and/or report instances in a specific environment.
    My goal is to get an idea of which one of our client folders has the most reports, and more specifically which is taking up the most space on in the file-repository.
    Any ideas?

    Hi David,
    In order to find the total numbers of reports in the Enterprise fire the following query from the Query Builder tool.
    SELECT
    Count(SI_ID)
    FROM
    CI_INFOOBJECTS
    WHERE
    SI_KIND = u2018CrystalReportu2019
    The queries above will return the total count of the CR reports which are present in the Enterprise.
    In case you would like to find the WebI Or DeskI reports reports then use the following in the where clause respectively SI_KIND = u2018webiu2019 and SI_KIND = u2018fullclientu2019
    I hope this helps you.
    Regards,
    Prashant

  • Initializing instance variables in a constructor that are used by super()

    I have a class that extends a standard class (ie JButton, but it doesn't matter what class). The constructor takes a parameter that I set to an instance variable. There is an overloaded method of the standard class that needs to use the variable.
    My problem is that since I must call super() first, my instance variable is not yet set, so when my overloaded method is called by the constructor it is unable to see the paramater value. How can my method see this value?
    public class MyClass extends somejavaclass {
    MyClass(int x) {
    super();
    myInt = x;
    // This overrides something in somejavaclass and is called by the constructor
    public void aJavaMethod() {
    // do some logic with myInt, but it has not been set to my paramater value
    int myInt;
    }

    If the variable in question is an object reference,
    you could compare it to null. A true result would tell
    you that it hadn't been initialized yet, and you could
    write code to behave accordingly (for example calling
    the init() method to do the initialization).That's a good solution but what if the instance in question is set in the sub-classes constructor?
    This is a very annoying feature of Java, and one that
    I have had to work around on several occasions. And as
    far as I'm concerned it's an unnecessary feature: why
    shouldn't a class be able to initialize its variables
    before it calls the superclass's constructor? Other OO
    languages permit that.I've wondered this also. I'd always assumed it was a way to make sure the super-class was completely initialized before anything tries to use it esp. to make sure the Object() constructor is finished before anything else happens.
    How is this dealt with in C++ or does it just leave open potential for errors?

  • Number of Oracle Instance

    Dear All,
    How to find the number of instances running in oracle server.....plz explain me with example.......im working in Windows Platform
    Using Oracle 8i
    Gita

    You can try the following Windows command that should be OK on Windows 2003:
    sc query | findstr OracleService | findstr SERVICE
    SERVICE_NAME: OracleServiceORCL
    SERVICE_NAME: OracleServiceorcl9See also Re: IDENTIFY ORACLE.EXE PID ON NT

  • To get page number reset at instance

    Hello everyone!
    When i having tons of Sale order to print at one time(i am feeding the start NO/end NO to report), i want the page number to be reset at every instance of Sale order but not reset at the whole report as now.
    There is a repeat frame with the source of Sale order query and my page number columns in put in this frame.
    How to do this? Thanks a lot!

    You create a field (in the margin) with source Page Number. On the Page Numbering property, you set the 'Reset at' property to the order repeating frame.

Maybe you are looking for