Instantaneous application instances on Solaris

Hi,
I have a java application running on a Solaris 9 machine
with Java 1.5.0_07.
I can see the instance of the application in the process list by ps command however once in a while it displays both the original and another instance but a child one this time with the same jvm arguments I assigned for the original one.
When I run immediately ps command again this child instance vanishes.
What can be the reason for this kind of behavior? Is there possibility that thread creation are displayed as actual processes.
Thanks in advanced

Hi,
I have a java application running on a Solaris 9
machine
with Java 1.5.0_07.
I can see the instance of the application in the
process list by ps command however once in a while it
displays both the original and another instance but a
child one this time with the same jvm arguments I
assigned for the original one.
When I run immediately ps command again this child
instance vanishes.Can you post "ps" command and results?
You can try to send "kill -3" to the process periodically and look for a non-expected-thread on thread dumps.
>
What can be the reason for this kind of behavior? Is
there possibility that thread creation are displayed
as actual processes. Depending on your system configuration you will see lightweight processes for each thread instead of kernel processes.
>
Thanks in advanced

Similar Messages

  • Application instances and events

    If I'm streaming three related events such as football1, football2, football3 is it best practice to create a unique application instance for each football event?
    Or should all 3 events just be grouped under a single application instance?
    Example: C:\FMS\applications\football1\_definst_\football1, C:\FMS\applications\football2\_definst_\football2, etc...
    I was asking because the FMS Admin Console breaks down the connection information by application instance and then I could just pull it up and see how many users connected and total connects to each event without making a bunch of admin api calls.
    Does this make sense?

    Should we require the users to install Java(FX) AND THEN WebFX AND THEN type the URL of our appp AND THEN it will deliver the app to them ? why ? WHY ?
    Hi,
    I'm Bruno, the creator of the WebFX project.
    About the questions above, I would say first that this is just a concept, but instead of thinking about the "browser", it could actually be used by real projects today that want to provide a JavaFX experience, without having to push big JARs for clients that might be in a very distant location with really poor connectivity. Also, it would make it even easier for the developer to update the application "on the fly", and his users would have access to the new version instantaneously.
    Consider wrapping the "WebFX" concept in your "base" desktop application, and instead of using WebView to load parts of your app using HTML+JS, why not using a FXView (based on the WebFX concept) to render remote code?
    Again, it's a concept, but I'm sure it can be really useful :-)
    Hope I could clear all the questions!
    Thanks,
    Bruno Borges
    @brunoborges

  • Can we run two instances of solaris in 1 hardware (SunFire Server)

    Hi,
    There is a need for us to run two instance of Solaris in SunFire Server.
    Because we need to install Domino Servers in a Single Hardware.
    The hardware consist of Eight Processors.
    How to allocate the resource in such a way that the Domino Server should take 4 Processor and other application should take other four.
    Please be in more detail.
    Regards,
    C.Kumanan

    "Sunfire" is a product line that includes many different computer designs
    and many different capabilities. You will need to be more specific as to what model you actually have.
    The Sun Fire Midrange Systems are hardware designs that can be configured
    to run discrete domains in the same overall chassis.
    So, for those systems the answer to your question would be "Yes".
    For any Sun Fire computer syustem that is smaller than the Midrange systems,
    the answer to your question would be "No".
    So ... A Sun Fire 3800 with eight processors ??? "Yes"
    However, a Sunfire V880 with eight processors ??? "No"
    Any other configuration questions of the actual Solaris instance,
    such as Zones or processor thread affinity are outside the scope of this forum.
    Those issues would be discussed better in an OS forum.

  • Win JDeveloper war file to oc4j instance on solaris??

    Hi,
    I have been trying to get a war file that I deployed on JDeveloper (windows release candidate) set up on my solaris oc4j( version 2 dev release). I read on this forum these directions:
    "Right click on the myproject.jpr in the JDev navigator and select 'new...', go to Deployment Profiles and select J2EE Web Module (WAR File) - a general screen will pop up asking you to save the deployment profile (you can just use the default if you want). Once you select OK on that, you will get a screen that calls itself the J2EE Web Module Deployment Profile Settings. This is the screen that you can use to enter your information.
    Your servlet and javabean classes will go into WEB-INF/classes subdirectory that you see to your left in this window. Simply select the WEB-INF/classes entry and it will display a list of your java sources (it will only place the compiled output in this directory - there is a toggle for it).
    Once you have specified that your javabean and servlet classes go in this directory, you should be set. Go ahead and save / close. In your navigation screen under your project (myproject.jpr or whatever your project name is) you will see your files, jsps, etc and something called webapp1.deploy (if you accepted the default). If you right-click on that, you will get a menu that asks a number of things, one of which is to Deploy to EAR file. Select that entry and it will create an ear file for you. You can play with the various settings to change the name of the ear file, but that's about all you have to do. Once this is completed, you can put the EAR file on your linux box or wherever you want, adjust your server.xml and default-web-app.xml files and launch the app!
    EXCEPT...I did not deploy to EAR ; I deployed to war and then I just modified two config files (under j2ee/home/config)
    application.xml
    <web-module id="notesWar" path="../../home/applications/notesWar.war" />
    and default-web-app.xml
    <web-module id="notesWar" path="../../home/applications/notesWar.war" />
    This seems to work , but when I set up my project in JDeveloper, I specified a target file to run, and within JDeveloper it includes the directory not just the file (which is a windows directory) so I am thinking that when I try to deploy on unix, it doesn't know what target file to run bc it can't find it, but I don't know that that information is even included in the war file... is there somewhere else you specify when you are deploying the war file which html, jsp, etc. needs to be run first. By the way, when I launch the application on the solaris oc4j via war deployment, it goes to the first html file listed in the war (I need it to go the second html file first).

    Hi,
    I am sorry; I mistyped....
    I already configured default-web-site.xml with the above values.
    The war file will run on the solaris oc4j instance, but it just
    runs the wrong initial html. I need a login to be the target
    page, but I don't know how to specify that for my particular
    situation.
    If I run the application within JDeveloper on Windows
    without a war file, it works. I run like this...
    Right click on the (.jpr) project file and run...it will go to the
    correct run target bc I have specified within the project
    settings, the default run target, but when i try to run as a war,
    it does not go to the correct run target so I need to know how to
    specify a default run target for a war file. I did create the
    war after I specified the default run target.
    Thank you!

  • OIM11gR2 - How to migrate an Application Instance Form

    Hello,
    I'm trying to migrate an Application Instance Form from my Dev env to my QA env.
    My target system is SAP
    I performed the following steps in Dev:
    1. Installed and configured the SAP Connector (no problem here)
    2. Created a sandbox
    3. Created an Application Instance
    4. Created the Application Instance Form
    5. Ran a target reconciliation to confirm everything is working properly
    6. Exported the sandbox
    7. Published the sandbox
    8. Via Deployment Manager I exported all objects related to SAP (Resource object, Process Forms, Lookups etc.)
    In QA I did:
    9. Installed and configured the SAP Connector (no problem here)
    10. Via Deployment Manager I imported the objects related to SAP
    11. Imported the sandbox
    Problem:
    To my surprise, the Application Instance does not have a Form in the QA env.
    I had to create it manually by performing the following:
    12. Create a sandbox
    13. Open the Application Instance definition
    14. Click on create (to create a form)
    15. Entered the same name I used in my Dev environment
    16. Received an error message saying that the form already exists
    17. Entered a different name for the Form
    18. Saved
    19. Exported the sandbox (to import in Prd)
    20. Published the sandbox
    21. Ran a target reconciliation to confirm everything is working properly
    I tried to reproduce the problem with another (test) destination environment because I don't want to have the same problem when migrating to Prd.
    I repeated the steps 9,10,11 except that I imported the sandbox exported from QA (step 19) instead.
    The same problem: Application Instance definition has no Form attached to it in my test destination environment.
    If I try to create the form with the same name, it gives an error message saying it is already there.
    Is my procedure wrong?
    Is there an official procedure explaining how to migrate only Application Instance Form from one env to another?
    My env:
    OS: Windows 2008 R2 SP1
    OIM: 11gR2 BP7
    SAP connector: 9.1.2.2.0
    Thanks,
    Adr

    This is a bug: Bug:16027176
    Check the [Article ID 1515225.1] which proposes a workaround that might be useful in your case (it was not in mine).
    In short the workaround is:
    The following order should be observed to export :
    - IT Resource & Application instance in one xml
    - Request DataSet in another xml
    - SysAdmin Sandbox (the one defined while creating the Application Instance and the Form)
    - Identity URL Sandbox (defined while customizing the fields on the Form, in the Catalogue page)
    Adr

  • Populating the request attributes in Application Instance forms of OIM11gR2

    Hi,
    We have configured request based provisioning for the 3 target applications. As a process
    1) Manager is log in to OIM Identity console and selects the one user and provision the application Instance after selecting the required roles in the Application instance forms of Catologue page.
    2)With in the same login session, if manager selects another user and tried to provision the same application instance,details of first user is displaying in the application Instance forms.
    Actually differrent data need to populate in the application instance forms for each user.
    Please let us know the the solution for this issue.
    Thanks,
    RBM

    Hi,
    Whats  your exact version of OIM and BP? It can be issue with particular version.
    Also, it looks like your request form pre-pop may not be working properly. Can you put some sysout and try to check in your logs about what value is getting printed when you are selecting another user?
    We have used this scenario in OIM 11.1.2.0 + BP7 and it was working.
    ~J

  • OIM 11g R2 - API to add organization to an Application Instance

    Hi,
    In OIM 11g R2,we have a requirement to create application instance using API (from a csv file) and assign some default organizations to these application instance.We could able to create Application Instance but couldnt find any API to add organizations.Is it possible to do thia?.Thanks

    One of the ways to do it would be to decrypt the current password and then compare with the new password. Where are you doing this check? Depending upon where you want to do this, you can use different ways to decrypt the current password of the user.
    There are various posts in the forum about decryting the password.
    On a side note, if your policy does not allow same password, then new password validation against the policy should suffice your requirement.
    -Bikash

  • Failed to load application instance publishLive/live.

    Complete log error is (_defaultRoot_, _defaultVHost_) : Failed to load application instance publishLive/live..  Flash Admin Server and Flash Media Server are running on local machine.  When testing I get [object NetConnection]: NetConnection.Connect.Failed.  When I remove the main.asc file it works...what's going on there?  I had this working at one point...my main.asc is below.
    var nc;
    var ns;
    var nsr;
    // Called when a client connects
    application.onConnect = function(client) {
        // accept the new client's connection
         application.acceptConnection(client);
         // send a message
         trace(client.id + " is connected");   
    // Called when a client disconnects
    application.onDisconnect = function(client) {
        trace(client.id + "disconnecting at " + new Date());
    // Called when the client publishes
    application.onPublish = function(client, livestream) {
        trace(livestream.name + " is publishing into application " + application.name);
        // This is an example of using the multi-point publish feature to republish
        // streams to another application instance on the local server.
        if (application.name == "publishLive/live"){
            trace("Republishing the stream into ustream");
            nc = new NetConnection();
            nc.connect( "rtmp://1.616528.fme.ustream.tv/ustreamVideo/616528" );
            ns = new NetStream(nc);
            // called when the server NetStream object has a status
            ns.onStatus = function(info) {
                trace("Stream Status: " + info.code)
                if (info.code == "NetStream.Publish.Start") {
                    trace("The stream is now publishing");
            ns.setBufferTime(2);
            ns.attach(livestream);
            ns.publish( livestream.name, "live" );
    application.onUnpublish = function( client, livestream ) {
        trace(livestream.name + " is unpublishing");
    // RECORDING
    application.onAppStart = function() {
        this.nsr = Stream.get("livestreamSS");  " <-- this is the server-side instance name
        this.nsr.play("livestream", -1, -1);          " <-- this is the published instance name
        this.nsr.onStatus = function(info){
            if(info.code == "NetStream.Play.PublishNotify"){
                application.startRecording();
            if(info.code == "NetStream.Play.UnPublishNotify"){
                application.stopRecording();
            for(var i in info){
                trace("i: " + i);
                trace("info[i]: " + info[i]);
    application.startRecording = function() {
        var infoObject = Stream.getOnMetaData("livestream");
        trace("Metadata for myVideo.flv:");
        for( i in infoObject ){
            if infoObject[i] == "record" {
                trace("start recording");
                this.nsr.record();
    application.stopRecording = function() {
        trace("stop recording");
        this.nsr.record(false);

    that is my main.asc...if you mean in my client, then yes, here is the publish code for the client
    private function publishCamera():void {
                cam = Camera.getCamera();
                cw = cam.width;
                ch = cam.height;
                switch (cw) {
                    case 160:
                    cam.setMode(320, 180, 10);
                    break;
                    case 320:
                    cam.setMode(640, 360, 5);
                    break;
                    default:
                    cam.setMode(160, 90, 15);
                    break;
                cam.setQuality(0, 0);
                mic = Microphone.getMicrophone();
                ns = new NetStream(nc);
                ns.client = this;
                ns.addEventListener(NetStatusEvent.NET_STATUS, onNetStatus);
                ns.addEventListener(AsyncErrorEvent.ASYNC_ERROR, asyncErrorHandler);
                ns.attachCamera(cam);
                ns.attachAudio(mic);
                ns.publish("livestream", "live");
    is that what you are referring to?  Thank you for the reply.

  • How to get the list of application instance assigned to user

    Hi,
    I need to run the query in BI publisher to get the list of all the application instance assigned to a user in OIM 11g R2.
    Please let me know how to get this data. Also please let me know what is the table to see the list of application instance in OIM.
    Thanks

    Got this working..
    The table is APP_Instance to get the details of Application Instance present in OIM.

  • Getting list of application instance of an organization

    Hi,
    I need to get the list of application instance which are published to a specific organizations using API.
    Could you please let me know how to build search filter for this particular search.
    Thanks

    Please help how to solve this issue.
    Thanks

  • HELP!!: Two server application instances could work in the same port?

    Hi everybody!!!
    i have two server application instances over the same JVM and both of them need to get requests from the same port, how can i get this??
    I`m not interested on using RMI, and i wouldn`t like to use sockets, because i have already using XML-RPC, so if you can tell me how can i get this without using sockets nor RMI, please help me...
    I don�t if there any way using threads??
    thanks a lot,
    JCPARRAM

    Two sockets can't be bound to the same port on the same machine at the same time. This means that one application can't have two sockets listening on the same port and that two applications can't each have a socket listening on the same port (no matter what language they are written in, and, if they are in Java, no matter whether they are on the same JVM or not).
    Your only solution is to make one of the server applications listen on a different port.

  • Application running in Solaris 9 container generating core files. what to do?

    My solaris 9 zone configuration in solaris 10 looks like:
    zonecfg:sms> info
    zonename: sms
    zonepath: /zone/sms
    brand: solaris9
    autoboot: true
    bootargs:
    pool:
    limitpriv: default,proc_priocntl,proc_clock_highres,proc_lock_memory,sys_time,priv_proc_priocntl,priv_sys_time,net_rawaccess,sys_ipc_config,priv_proc_lock_memory
    scheduling-class:
    ip-type: exclusive
    hostid:
    [max-shm-memory: 4G]
    [max-shm-ids: 100]
    [max-sem-ids: 100]
    fs:
      dir: /var
      special: /dev/dsk/c1t0d0s5
      raw: /dev/rdsk/c1t0d0s5
      type: ufs
      options: []
    net:
      address not specified
      physical: bge0
      defrouter not specified
    device
      match: /dev/dsk/c1t0d0s5
    device
      match: /dev/rdsk/c1t0d0s5
    device
      match: /dev/dsk/c1t0d0s6
    device
      match: /dev/rdsk/c1t0d0s6
    device
      match: /dev/dsk/c1t0d0s7
    device
      match: /dev/rdsk/c1t0d0s7
    capped-cpu:
      [ncpus: 2.00]
    capped-memory:
      physical: 4G
      [swap: 8G]
      [locked: 2G]
    attr:
      name: hostid
      type: string
      value: 84b18f64
    attr:
      name: machine
      type: string
      value: sun4u
    rctl:
      name: zone.max-sem-ids
      value: (priv=privileged,limit=100,action=deny)
    rctl:
      name: zone.max-shm-ids
      value: (priv=privileged,limit=100,action=deny)
    rctl:
      name: zone.max-shm-memory
      value: (priv=privileged,limit=4294967296,action=deny)
    rctl:
      name: zone.max-swap
      value: (priv=privileged,limit=8589934592,action=deny)
    rctl:
      name: zone.max-locked-memory
      value: (priv=privileged,limit=2147483648,action=deny)
    rctl:
      name: zone.cpu-cap
      value: (priv=privileged,limit=200,action=deny)
    Solaris 9 zone /etc/system file looks like:
    * The directive below is not applicable in the virtualized environment.
    * The directive below is not applicable in the virtualized environment.
    * The directive below is not applicable in the virtualized environment.
    * The directive below is not applicable in the virtualized environment.
    * The directive below is not applicable in the virtualized environment.
    * The directive below is not applicable in the virtualized environment.
    set noexec_user_stack=1
    set semsys:seminfo_semmni=100
    set semsys:seminfo_semmns=1024
    set semsys:seminfo_semmsl=256
    set semsys:seminfo_semvmx=32767
    set shmsys:shminfo_shmmax=4294967295
    set shmsys:shminfo_shmmin=1
    set shmsys:shminfo_shmmni=100
    set shmsys:shminfo_shmseg=10
    set rlim_fd_max=65536
    set rlim_fd_cur=60000
    * The directive below is not applicable in the virtualized environment.
    My questions are:
    1. Application running in solaris 9 container generating core files. what to do???
    2. My prstat -Z for zone shows almost 95% percent cpu usage. what to do???
    3. Kindly can share how to move solaris 9 into solaris 10 containers ??

    Based on the new questions for the same post you wrote in the other communities, some posts are removed as duplicate, here is the answer :
    For the point #3, please look on table 17-1 in the following URL :
    Zone Components - System Administration Guide: Oracle Solaris Containers-Resource Management and Oracle Solaris Zones
    You can also customize your container /etc/system file but it cannot exceeds the global zone and the zone configuration value.
    For the other point, #2, this can be complicated without a complete image of what the complete system do.
    Try fist to check if you have not a busy process in your zone, then you can check if a bottleneck exists in the I/O side. You use maybe wrong parameters, a wrong configuration or your system configuration is insufficient in term of resources.
    What I can see in the outputs that you provided is that the S9 zone uses the half of the swap space. This can impact your zone performance and I/O activity, and can have in this case a side effect on some processes. Check why your zone uses the swap and how you can remedy this.

  • R12 test instance in solaris X86 OS

    Hi All,
    One of our customer is planning to upgrade their EBS 11i to r12 in solairs. Is it possible to keep the R12 test instance in solaris x86 os?
    Regards,
    Ram

    One of our customer is planning to upgrade their EBS 11i to r12 in solairs. Is it possible to keep the R12 test instance in solaris x86 os?No, as this OS is not supported for Oracle EBS.
    You can use Oracle Solaris on SPARC (64-bit) or Linux OS.
    Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.1.1) for Oracle Solaris on SPARC (64-bit) [ID 761568.1]
    Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.1.1) for Linux x86-64 [ID 761566.1]
    Thanks,
    Hussein

  • [ OIM 11gR2 PS1 ]How to add additional field on Application Instance Form ?

    Hi,
    In our scenario we have Disconnected applications in OIM. AI (Application Instance) form and PD editing is created by OIM.
    We want to add additional field in AI form.It is visible in back end. But,its not visible in OIM admin console for admin and as well for end user.
    Is there any property related to form field in AI ,where we need to make changes to make it visible ?
    Instance used is OIM 11gR2 PS1
    Thanks,
    RPB
    Edited by: RPB25 on May 29, 2013 9:46 PM

    I was able to resolve this issue . we need to click on "regenerate view".

  • Web service application instance

    I am building a LV2009 web services application (main.exe + web services).  The web service VI's share globals with the main.exe.  I think that the web services run under a separate application instance, therefore using globals will not work directly.  My idea was to wrap the global calls on the web service side inside of VI server calls to main.exe.
    Here's what I was thinking:
    So, to get this to work properly, I open an application reference (default port 3363) and VI reference (VI is in memory in the main.exe).  I read the global control value, close the references, and convert the control value into the correct data type.
    From all that I read, I should be able to do all this within the LabVIEW development environemnt with the service deployed to the local machine. My LV has both the web server and VI server (port 3363) enabled.
    I built and deployed the service VI after first disabling the VI server within the service's project (I'm not really sure that this really matters).
    I run my main.exe (.vi) and attempt to call the service, but I get error 1004 (Open VI Reference - VI not in memory).
    I guess my problem seems to lay around the "Open Application"...how should I open an application reference from a web services VI?
    TIA,
    James
    Solved!
    Go to Solution.

    Even though it's on the local machine, you need to supply the machine name or IP address ("localhost" should work).  Otherwise you'll just get a connection to the local application instance (see the help), which, of course, doesn't help you communicate across instances.

Maybe you are looking for