How to check java instance in solaris

Dear All,
I am running one java client application in solaris machine.
Now my query is that if my application is already running ,how can i check that instance that whether that application is already running on machine or now so that i can restrict the operator to run multiple java application.
Waiting for your reply
Gaurav

Open a ServerSocket with a fixed port number.

Similar Messages

  • How to installed java comm in solaris

    I have installed borland jbuilder5 enterprise edition,and
    put the libSolarisSerialParallel.so in LD_LIBRARY_PATH
    (LD_LIBRARY_PATH=/usr/lib), the comm.jar in jre\lib\,javax.comm.properties in jre\lib .
    But when I Open the serial port, the program always raise a exception "null".
    What can i do ?

    sorry :
    how to "installed" java comm in solaris
    --->
    how to install java comm in solaris

  • How to check java disable

    Hello Friends,
    i have desktop application...
    i am technically not that much experince..
    i have one problem in my pc.
    i don't know how to check java disable or not?
    can any one guide me for the same
    Thanks in advanced,
    <Link Edited By Host>

    The automatic disable is for Java (not javascript) INSIDE Safari.
    Safari > Preferences > Security > [√] Enable Java
    To check that Java is installed, open Java Preferences.app, available in your /Applications/Utilities folder
    If Java is installed, it will show the version. If not Installed, you should be offered the option to download and Install it.
    There is also a checkbox in Java Preferences for:
    [√] Enable applet Plug-in and Web Start Applications (unchecked by default).
    If you do not use Java inside your Browser for a few weeks, it will become disabled to protect against malware that downloads java.

  • How to check Java Card CC EAL version?

    Hi friends..
    I want to know, how to check the CC EAL version of our Java Card?..
    Roughly, What is the different between Java Card CC EAL4 and Java Card CC EAL5?
    Are both of them differentiated by Cryptography supported by each chip?..
    I mean, whether or not Java Card CC EAL 4 support only Symmetric Key, while Java Card CC EAL 5 support both Symmetric and Asymmetric Key?..
    Please correct me if i'm wrong.
    Thanks

    Hi,
    I want to know, how to check the CC EAL version of our Java Card?..Check out following website. All CC certified products are listed here. Assurance level is also mentioned with the product description.
    http://www.commoncriteriaportal.org/products/
    Are both of them differentiated by Cryptography supported by each chip?..
    I mean, whether or not Java Card CC EAL 4 support only Symmetric Key, while Java Card CC EAL 5 support both Symmetric and Asymmetric Key?..
    CC assurance level has nothing to do with support of cryptographic feature. Check out following link for more more information.
    http://en.wikipedia.org/wiki/Common_Criteria
    Regards,

  • How to execute Java program in Solaris 8 (Intel Platform).

    Hello All,
    I have installed Solaris 8 on my Intel based PC. JDk 1.1 and JDK 1.2 is installed by default. When I compile any Java applet or Application, it successfull complies but when I try run that applet or application (java Appletname or applicationname), It gives the error message .... File not found...Check whether file exist in the directory or not.
    Can someone tell me the reason of this error and how to correct it. Where to set the CLASSPATh etc. under Solaris 8 for successful compilation and run of programs. I do not have any problem under Windows/2000.
    Thanks in advance,
    Amoid

    [amoyeed],
    Hello All,
    I have installed Solaris 8 on my Intel based PC. JDk
    1.1 and JDK 1.2 is installed by default. When I
    compile any Java applet or Application, it successfull
    compliesI will assume that you executed this command:
    #javac <java source code filename>.java
    In order to find out which version of the javac you are using to compile the program, execute the following:
    #/usr/bin/which javac
    The output will tell the exact path to the javac binary file.
    but when I try run that applet or application
    (java Appletname or applicationname), It gives the
    error message .... File not found...Check whether file
    exist in the directory or not.You probably have not set the current directory to your environment variable PATH for the Unix shell that you are using.
    You can do the following:
    #java ./<standalone application or applet name>
    Can someone tell me the reason of this error and how
    to correct it. Where to set the CLASSPATh etc. under
    Solaris 8 for successful compilation and run of
    programs.In the shell environment settings file. Which Unix shell are you using? Bourne, Korn or C?
    I do not have any problem under Windows/2000.
    Thanks in advance,
    AmoidHTH.
    Allen Lai
    Developer Technical Support
    SUN Microsystems
    http://www.sun.com/developers/support/

  • How to check Java Version while showing applet in browser?

    Hello All,
    We have an application which has client and server mechanism.
    Our application can be accessed by any internet browser on any machine of the network but there is only one server in the network.
    One of the functionality in the application is described below.
    We do have one link in our application webpage. When user clicks on that link, the request goes to the server component which is running on different machine. Now server process the request and in responce we do show some images in applet window at the customer webpage.
    Now problem is, when the client machine browser has some lower version of Java, we are not able to show the image but only shows a blank page.
    What we want to do is to show some specific warning message when we find that the Java version at client machine is lower than required.
    Can anybody please let me know how can I achieve this?
    Thanks in Advance,
    Jenish

    Sun's latest versioning solution for applets and JWS apps. is [deployJava.js|http://java.sun.com/javase/6/docs/technotes/guides/jweb/deployment_advice.html]. I also offer the [Java Version Checker Applet|http://pscode.org/jre.html] as an alternate way of ensuring a minimum major version of the JRE.

  • How to check running instance of a program, when its run by a job

    Hello,
    I have a report run by a job, twice a day. The thing is, the second run cannot start, if the first one hasn't finished (quite possible).
    So i would like in my report to check if an instance of this report is already running.
    I tried the solutions supplied by Rich Heilman with:
    'ENQUEUE_E_TRDIR' and 'ENQUEUE_ESINDX'
    i also tried locking an entry in table TVARV
    One more thing is, if the program stops with an error, or doesnt finish execution, it shouldnt need any manual reseting - i though of making an entry in tavrv and correcting it at the end of execution, but that would be the issue.
    Thanks for any help,
    Edited by: Michal Szczerbowski on Nov 17, 2008 3:08 PM

    Instead of locking the entry and leaving it unattented incase of error, you may give a try to implement solution like:
    1. Get the all running processes on the server by executing the FM TH_WPINFO.
    2. Check the Exporting table WPLIST with:
    WP_ITYPE = 4
    WP_REPORT = program_name_for_job
    If you find any entry in the table WPLIST that gives you the running instance of the that program in the job.
    Regards,
    Naimesh Patel

  • How to check Java installed in my system

    Hi All
    I new to java i have not some doubts
    1)In my system I have this many JDK i dont know for this JDK what IDE version i need to download. I like to use netbeans which one should i need to download?
    C:\Program Files\Java\jdk1.5.0_01
    C:\Program Files\Java\jdk1.6.0_22
    C:\Program Files\Java\jre1.5.0_01
    C:\Program Files\Java\jre6
    But i dont have any IDE to develop my java like eclipse or Netbean etc ,I have Only Jdeveloper 9.0.3.5
    2)How to find apache tomcat server is installed in by PC or not how to test that ?
    please know the installion steps also in need to install ..
    Advance Thanks
    Aarasu

    I like to use netbeans which one should i need to download?You'd think you would go to the Netbeans website and find out, but I'm silly like that. Either a recent JDK 6 or the latest JDK 7 will do just fine. I would install Java anywhere except in program files. I install all my Java stuff in a directory called "java" myself, so I have C:\java\jdk6, c:\java\eclipse37, c:\java\tomcat7, etc. I never have to search for my stuff that way.
    (of course being a proper computer savvy user I partioned my harddrive to reserve the C drive specifically for the OS only, so it is in fact e:\java).
    2)How to find apache tomcat server is installed in by PC or not how to test that ?Use the search function of your OS of course. Its not even a Java related question.

  • How to check hanged process in solaris

    Hi every one ...
    I have a 10 processes running in my server .. suddenly on process got hanged ..
    How can i check the hanged process...is there any specific command or ehat does the notation it shows in prstat command
    Thanks in Advance

    First, if the process is not showing 0% CPU utilization in prstat, it's not hung, although it may be stuck in an infinite loop. That's actually a significant difference, as an infinite loop is a logic error, whereas getting stuck could be a failure of some type.
    To see if it's really hung, you can use the "truss" or "pstack" commands:
    truss -p PID &or
    pstack PID &where PID is the process ID of the process you want to check. Note the ampersand to background the process. That's because if the process is indeed stuck in an unkillable wait for a kernel lock, your truss or pstack process will also be stuck and unkillable.
    The pstack call should just run and return. It will show the current call stack for all threads in the process. Run it several times and see if it changes. The truss call will run as long as the target process is running, and it will show all system calls made by the process. If it doesn't output anything at all the process is running in user space and should still be getting CPU time, or it's stuck.

  • How to check Java engine message port

    i need to configure nwds for that i need J2EE message port number
    i tried with 36<nr> which is not working plese guide me.

    go to http://<host>:<port>/index.html.
    Click on system information
    Enter Administrator Login ID & PW
    On top left corner u will find message port number.
    Do reward points if it helps.

  • Java Home on Solaris 10

    Hi All ,
    Config tool and JSPM are not opening for PI 7.1 on Solaris 10.
    It was working fine before.Seems the issue is with Java home .
    But i am not sure how to check Java home in Solaris.
    Also PI 7.1 ,JDK is inbuilt and we didn't set Java Home.
    But now i want to recheck the Java home environment variable.
    Can you pls help me with the relevant commands to do so.
    #setenv didn't provided any info or Java home.
    Regards
    Ajay

    Thanks Anjali
    Hi  Markus
    Config tool is hanging.Actually its a P1 7.1 system and we never set the Java home .
    Now patched SAP JVM manually.But now entire java (server node etc ) are not coming up..
    logs are here :JVM_bootstrap.out
    ============
       INFO: Loading tool launcher...
       INFO: [OS: SunOS] [VM vendor: SAP AG] [VM version: 5.1.034] [VM type: SAP Java Server VM]
       INFO: Main class to start: "com.sap.engine.bootstrap.Bootstrap"
       INFO: Loading 15 JAR files: [./bootstrap/sap.comtcbliqlibimpl.jar, ./bootstrap/sap.comtcexceptionimpl.jar, ./bootstrap/sap.comtcjeofflineconfigurationimpl.jar, ./bootstrap/sap.comtcbloffline_launcherimpl.jar, ./bootstrap/sap.comtcsecsecstorefsjavacore.jar, ./bootstrap/jdbc.jar, ./bootstrap/sap.comtcblconfigimpl.jar, ./bootstrap/sap.comtcjeflightrecorder.jar, ./bootstrap/sap.comtcsapxmltoolkitsapxmltoolkit.jar, ./bootstrap/sap.comtcloggingjavaimpl.jar, ./bootstrap/sap.comtcbljdsrjdsr.jar, ./bootstrap/sap.comtcjebootstrapimpl.jar, ./bootstrap/jperflib.jar, ./bootstrap/sap.comtcbldeployofflineimpl.jar, ./bootstrap/sap.comtcblopensql~implStandalone.jar]
       INFO: Start
    Component: [internal/unkown] of type [unkown]
    Message: [Exception occurred:]
    com.sap.engine.bootstrap.SynchronizationException: Unknown value [FORCE ] of [element.resynch] property.
         at com.sap.engine.bootstrap.BootstrapProperties.parseResynchMode(BootstrapProperties.java:180)
         at com.sap.engine.bootstrap.BootstrapProperties.parseProperties(BootstrapProperties.java:200)
         at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:175)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:161)
    [Bootstrap]> Problem occurred while performing synchronization. For more details see the logs above.
    =============
    Regards
    Ajay

  • How to Find Oracle instances?

    Hi all,
    Could you please guide how to check oracle instances?
    Thanks in advance!!

    Hi all,
    Could you please guide how to check oracle
    instances?
    Thanks in advance!!Hi,
    If you mean "how to find out running instances?" then the answer is OS dependent.
    On Windows, you can look for windows services for service names starting with "OracleService...".
    On UNIX, you can inquire the same using
    ps -ef|grep pmon
    Regards

  • How to check for bootblk on Disk

    Does someone know how to check for bootblk on solaris disk.

    If your system is booting then u can say that your bootblks are installed.Usually BootBlks are present in 0 & 1 slice of UFS Filesystem
    /usr/platform/platform-name/lib/fs/ufs
    directory where ufs boot objects reside.
    An x86 FDISK partition for the Solaris software begins with a one-cylinder boot slice, which contains the partition boot program (pboot) in the first sector, the standard Solaris disk label and volume table of contents (VTOC) in the second and third sectors, and the bootblk program in the fourth and subsequent sectors. When the FDISK partition for the Solaris software is the active partition, the master boot program (mboot) reads the partition boot program in the first sector into memory and jumps to it. It in turn reads the bootblk program into memory and jumps to it. Regardless of the type of the active partition, if the drive contains multiple FDISK partitions, the user is given the opportunity to reboot another partition.

  • How to check actual allocated and used memory for java process in solaris?

    Hi,
    I'm testing performance for java application on solaris 10. And I would like to know how to measure actual memory allocated and used for java process.
    I'm setting -Xms512m -Xmx512m for my java process and I use prstat command to monitor it's memory. But I found that when I run prstat to check, in SIZE column is more than I setting (found 644).
    So I'm don't know the actual memory that java process used. (In this case,is it mean the process use memory (644) more than setting (512)?)
    Thank you.

    With Xms/Xmx you specify the Java heap size. On top of that comes the permanent generation (default max size 64m) and the C part of the process (the JVM itself with all its libraries and data).
    With "ps -e -o pid,vsz,rss,args" you get the virtual and set resident size of your processes.
    Nick.

  • How to check whether a Document in KM is classified or not using JAVA API

    Hello Everyone,
      Can anyone tell me, How to check whether a Document in KM is classified or not, using JAVA API's??
    Thanks & Regards,
    Adren D'Souza

    Hi,
    The code is as follows:
    IIndexService indexService = null;
    try {
       indexService = (IIndexService) ResourceFactory.getInstance().getServiceFactory().getService(IServiceTypesConst.INDEX_SERVICE);
    } catch (ResourceException e) {
       if (indexService == null) {
         log.errorT("Error on instanciating the index service");
         return this.renderMessage(this.getBundleString(RES_NO_INDEX_SERVICE), StatusType.ERROR);
    // get index
    IIndex index = null;
    try {
       index = indexService.getIndex("YourIndexID");
    } catch (WcmException e1) {
       log.errorT("Error when trying to get the index");
       return this.renderMessage(this.getBundleString(RES_NO_INDEX), StatusType.ERROR);
    // check if the index is a instance of AbstractClassificationIndex
    AbstractClassificationIndex classiIndex = null;
    if (index instanceof AbstractClassificationIndex) {
       classiIndex = (AbstractClassificationIndex) index;
    } else {
       log.errorT("The index " + index.getIndexName() + " is no classification index");
       return this.renderMessage(this.getBundleString(RES_NO_CLASSIFICATION_INDEX), StatusType.WARNING);
    //give your KM Resource here for which you want to know if it is classified or not
    boolean classified = classiIndex.isDocClassifiedInAnyTax(resource);
    Regards,
    Praveen Gudapati

Maybe you are looking for

  • Can't get the Express to connect to the internet.

    So for whatever reason, my express, which was working fine for a long time, jsut stopped working today. I had to do a hard restart (pushing the restart button then plugging the unit in till the light flashed green) and I ran Airport Utility to reset

  • Opening quicklook with spacebar from Apple Full Keyboard

    Hi, I have a problem with "Opening quicklook with the spacebar on AppleFullsize keyboard from my local machine" And yes, I only have that exact problem.... Things that work: - Opening quicklook with the spacebar from my Macbook's keyboard on my local

  • Sql query runing slow with lower cost

    Hello I am working on Oracle 11g and AIX.I have one sql query which is ruing slow as reported by user. When i am commenting few line of code it is runing fast. I noticed that the execution plan cost of first query is less and second ...as cost of scc

  • Regarding Array to Multicolumn Listbox data's manipulation

    Hi  - I want to display the above mentioned array in muticolumn listbox with 2 columns , first column needs to be belongs to array [0] (Date and time ) and second column needs to be belongs to array [1] and array [2] ( Cone and Vane strings). I have

  • Jobs fail in xgrid

    Hi there, I've been working with trying to get PP2 up and running for our organization, but with zero luck. I'm able to successfully capture and upload a podcast to our server, but the job always fails while being processed in xgrid. PP2 is setup to