Linux server logs Cluster Ready Services completed waiting on dependencies

hi all
we run oracle 10g RAC on two nodes of SLES 10 SP2 Itanium.
on node 1 of the db node I see this message.
Mar 13 15:35:03 odbs1 logger: Cluster Ready Services completed waiting on dependencies.
This message has appeared for the second time in 3 days. the server is behaving normally. Could someone please let me know what exactly is the cause.
i tried to google a bit but i am not an expert in RAC
Could someone please let me know if this is a major issue or is it a generic message for something

Hi,
It means that the CRS not came up on startup and you put it online manualy.
Check your ocssd.log for messages like it
[ CSSD]2007-09-13 15:43:00.038 [1147169120] >TRACE: clsc_send_msg: (0x7271b0) NS err(12571, 12560), transport (530, 113, 0)
If they exists, the explanation is: The network on OS startup is slower than CRS and the CRS cannot communicate with others nodes with interconnect. To avoid split brain problem, it kills himself causing automatic start of CRS fails.
This problem could be solved add a sleep on /etc/rc.d/rc3.d/SXXXinit.crs before line $ID/init.cssd autostart. Try sleep 15, sleep 20 and test restart of node.
You can see it on My Oracle Suporte note ID 459169.1
I hope it helps!!
Best Regards,
Rodrigo Mufalani
www.mufalani.com

Similar Messages

  • Error while installing Oracle Cluster Ready Services – Release 1 (10.1.0.2)

    Hi all,
    I am trying for RAC – 10gR1 (10.1.0.2) using two machines with Windows 2000 Server. For this I need to install Oracle Cluster Ready Services – Release 1 (10.1.0.2).
    Machine details are as follows:-
    Node 1:
    Computer Name:     RAC1
    Windows 2000 IP Configuration
    Ethernet adapter Local Area Connection 2: (Used for Public Interface)
    Connection-specific DNS Suffix . :
    IP Address. . . . . . . . . . . . : 192.168.1.65
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Default Gateway . . . . . . . . . :
    Ethernet adapter Local Area Connection: (Used for Private Interface between the two nodes)
    Connection-specific DNS Suffix . :
    IP Address. . . . . . . . . . . . : 10.10.10.11
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Default Gateway . . . . . . . . . :
    Node 2:
         Computer Name:     RAC2
    Windows 2000 IP Configuration
    Ethernet adapter Local Area Connection 2: (Used for Public Interface)
    Connection-specific DNS Suffix . :
    IP Address. . . . . . . . . . . . : 192.168.1.181
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Default Gateway . . . . . . . . . :
    Ethernet adapter Local Area Connection: (Used for Private Interface between the two nodes)
    Connection-specific DNS Suffix . :
    IP Address. . . . . . . . . . . . : 10.10.10.12
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Default Gateway . . . . . . . . . :
    I have made following entries in Hosts file of both the machines:-
    192.168.1.65     RAC1
    192.168.1.181     RAC2
    10.10.10.11     RAC01-PRIV
    10.10.10.12     RAC02-PRIV
    192.168.1.201     RAC01-VIP
    192.168.1.202     RAC02-VIP
    I have completed all the pre-installation steps, i.e. configuring the disk for storage, and both the machine are communicating each other through there Private and Public interfaces. Now the problem appears when I am installing Oracle Cluster Ready Services, at the end of Installation following message appears and the auto configuration steps fails.
    ================================================================================================================
    Output generated from configuration assistant "Oracle Cluster Ready Services Configuration Assistant":
    Successfully accumulated necessary OCR keys.
    Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
    node <nodenumber>: <nodename> <private interconnect name> <hostname>
    node 1: rac1 rac01-priv rac1
    node 2: rac2 rac02-priv rac2
    Creating OCR keys for user 'administrator', privgrp ''..
    Operation successful.
    Now formatting voting device: \\.\votedsk
    Successful in setting block0 for voting disk.
    Format complete.
    Step 1: checking status of CRS cluster
    Step 2: configuring OCR repository
    Step 3: configuring safe mode for CRS stack
    Step 4: Starting up CRS stack on all nodes
    RAC1 service OracleCSService in improper PENDING state, err(997)
    RAC2 service OracleCSService in improper PENDING state, err(997)
    Configuration assistant "Oracle Cluster Ready Services Configuration Assistant" failed
    ================================================================================================================
    Output generated from configuration assistant "Oracle Notification Server Configuration Assistant":
    Configuration assistant "Oracle Notification Server Configuration Assistant" failed
    ================================================================================================================
    Output generated from configuration assistant "Oracle Private Interconnect Configuration Assistant":
    PRIF-10: failed to initialize the cluster registry
    Configuration assistant "Oracle Private Interconnect Configuration Assistant" failed
    ===============================================================
    I would be highly obliged if any one tell me why it is happing like this and what could be the possible remedy.
    Waiting for the respone.
    With Regards
    Dinesh
    [email protected]

    Hi user478171,
    I have the same problem with two nodes in Windows 2003 with RAC 10g R2, but I don't have idea to solve.
    Please advice me
    Thanks advances
    regards,
    IvanR

  • Oracle Cluster Ready Service

    Hi
    I am using Ora10gR1 and SUSE Linux Enterprise Server 9. I am getting the following message in /var/log/messages
    Aug 27 09:48:41 (none) logger: Oracle Cluster Ready Services disabled by corrupt install
    Aug 27 09:48:41 (none) logger: Could not access /etc/oracle/scls_scr/ohare/root/crsstart.
    I did not install CRS. Can you help?
    Thx

    Hi,
    These don't have any affect on your database. If you want to disable these messages then comment following line in the inittab file
    #h1:35:respawn:/etc/init.d/init.cssd run >/dev/null 2>&1 </dev/null
    regards

  • CRS-4535: Cannot communicate with Cluster Ready Services

    [oracle@bnl11237dat01 ~]$ /u01/app/11.2.0/grid/bin/cluvfy stage -post crsinst -n bnl11237dat01,bnl11237dat02 -verbose
    Performing post-checks for cluster services setup
    Checking node reachability...
    Check: Node reachability from node "bnl11237dat01"
    Destination Node Reachable?
    bnl11237dat01 yes
    bnl11237dat02 yes
    Result: Node reachability check passed from node "bnl11237dat01"
    Checking user equivalence...
    Check: User equivalence for user "oracle"
    Node Name Comment
    bnl11237dat02 passed
    bnl11237dat01 passed
    Result: User equivalence check passed for user "oracle"
    ERROR:
    Unable to obtain network interface list from Oracle Clusterware (OIFCFG)
    Verification cannot proceed
    Post-check for cluster services setup was unsuccessful on all the nodes.
    [oracle@bnl11237dat01 ~]$ oifcfg iflist
    bond1 10.32.25.160
    bond2 10.32.17.200
    bond2 169.254.0.0
    bond0.1515 10.32.24.0
    bond0.1536 172.16.7.0
    [oracle@bnl11237dat01 ~]$ oifcfg iflist -p
    bond1 10.32.25.160 PRIVATE
    bond2 10.32.17.200 PRIVATE
    bond2 169.254.0.0 UNKNOWN
    bond0.1515 10.32.24.0 PRIVATE
    bond0.1536 172.16.7.0 PRIVATE
    [oracle@bnl11237dat01 ~]$ oifcfg iflist -p -n
    bond1 10.32.25.160 PRIVATE 255.255.255.240
    bond2 10.32.17.200 PRIVATE 255.255.255.248
    bond2 169.254.0.0 UNKNOWN 255.255.0.0
    bond0.1515 10.32.24.0 PRIVATE 255.255.255.192
    bond0.1536 172.16.7.0 PRIVATE 255.255.255.0
    [oracle@bnl11237dat01 ~]$ /u01/app/11.2.0/grid/bin/onsctl debug
    HTTP/1.1 200 OK
    Content-Length: 1923
    Content-Type: text/html
    Response:
    == bnl11237dat01:6200 8732 11/05/19 11:44:09 ==
    Home: /u01/app/11.2.0/grid
    ======== ONS ========
    IP ADDRESS PORT TIME SEQUENCE FLAGS
    127.0.0.1 6200 4dd4f2a3 00000000 00000008
    Listener:
    TYPE BIND ADDRESS PORT SOCKET
    Local 127.0.0.1 6100 5
    Remote any 6200 7
    Remote any 6200 -
    Connection Topology: (1)
    IP PORT VERS TIME
    127.0.0.1 6200 4 4dd4f2a3=
    Client connections:
    ID CONNECTION ADDRESS PORT FLAGS SENDQ REF SUB W
    0 internal 0 01008a 00000 001 002
    2 127.0.0.1 6100 01001a 00000 001 001
    1 127.0.0.1 6100 01001a 00000 001 001
    3 127.0.0.1 6100 01001a 00000 001 001
    4 127.0.0.1 6100 01001a 00000 001 001
    7 127.0.0.1 6100 01001a 00000 001 000
    request 127.0.0.1 6100 03201a 00000 001 000
    Worker Ticket: 10/10, Last: 11/05/19 11:42:21
    THREAD FLAGS
    40460940 00000012
    405b4940 00000012
    41280940 00000012
    Resources:
    Notifications:
    Received: Total 0 (Internal 0), in Receive Q: 0
    Processed: Total 0, in Process Q: 0
    Pool Counts:
    Message: 1, Link: 1, Ack: 1, Match: 1
    [oracle@bnl11237dat01 ~]$
    [root@bnl11237dat01 ~]# /u01/app/11.2.0/grid/bin/crsctl stop crs
    CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'bnl11237dat01'
    CRS-2673: Attempting to stop 'ora.crsd' on 'bnl11237dat01'
    CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'bnl11237dat01'
    CRS-2673: Attempting to stop 'ora.bnl11237dat01.vip' on 'bnl11237dat01'
    CRS-2673: Attempting to stop 'ora.oc4j' on 'bnl11237dat01'
    CRS-2673: Attempting to stop 'ora.cvu' on 'bnl11237dat01'
    CRS-2673: Attempting to stop 'ora.LISTENER_SCAN1.lsnr' on 'bnl11237dat01'
    CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'bnl11237dat01'
    CRS-2673: Attempting to stop 'ora.LISTENER_SCAN3.lsnr' on 'bnl11237dat01'
    CRS-2673: Attempting to stop 'ora.LISTENER_SCAN2.lsnr' on 'bnl11237dat01'
    CRS-2677: Stop of 'ora.bnl11237dat01.vip' on 'bnl11237dat01' succeeded
    CRS-2677: Stop of 'ora.cvu' on 'bnl11237dat01' succeeded
    CRS-2677: Stop of 'ora.LISTENER_SCAN1.lsnr' on 'bnl11237dat01' succeeded
    CRS-2673: Attempting to stop 'ora.scan1.vip' on 'bnl11237dat01'
    CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'bnl11237dat01' succeeded
    CRS-2673: Attempting to stop 'ora.bnl11237dat02.vip' on 'bnl11237dat01'
    CRS-2677: Stop of 'ora.LISTENER_SCAN3.lsnr' on 'bnl11237dat01' succeeded
    CRS-2673: Attempting to stop 'ora.scan3.vip' on 'bnl11237dat01'
    CRS-2677: Stop of 'ora.LISTENER_SCAN2.lsnr' on 'bnl11237dat01' succeeded
    CRS-2673: Attempting to stop 'ora.scan2.vip' on 'bnl11237dat01'
    CRS-2677: Stop of 'ora.scan1.vip' on 'bnl11237dat01' succeeded
    CRS-2677: Stop of 'ora.bnl11237dat02.vip' on 'bnl11237dat01' succeeded
    CRS-2677: Stop of 'ora.scan3.vip' on 'bnl11237dat01' succeeded
    CRS-2677: Stop of 'ora.scan2.vip' on 'bnl11237dat01' succeeded
    CRS-2677: Stop of 'ora.oc4j' on 'bnl11237dat01' succeeded
    CRS-2673: Attempting to stop 'ora.ons' on 'bnl11237dat01'
    CRS-2677: Stop of 'ora.ons' on 'bnl11237dat01' succeeded
    CRS-2673: Attempting to stop 'ora.net1.network' on 'bnl11237dat01'
    CRS-2677: Stop of 'ora.net1.network' on 'bnl11237dat01' succeeded
    CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'bnl11237dat01' has completed
    CRS-2677: Stop of 'ora.crsd' on 'bnl11237dat01' succeeded
    CRS-2673: Attempting to stop 'ora.mdnsd' on 'bnl11237dat01'
    CRS-2673: Attempting to stop 'ora.crf' on 'bnl11237dat01'
    CRS-2673: Attempting to stop 'ora.ctssd' on 'bnl11237dat01'
    CRS-2673: Attempting to stop 'ora.evmd' on 'bnl11237dat01'
    CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'bnl11237dat01'
    CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'bnl11237dat01' succeeded
    CRS-2677: Stop of 'ora.mdnsd' on 'bnl11237dat01' succeeded
    CRS-2677: Stop of 'ora.crf' on 'bnl11237dat01' succeeded
    CRS-2677: Stop of 'ora.evmd' on 'bnl11237dat01' succeeded
    CRS-2677: Stop of 'ora.ctssd' on 'bnl11237dat01' succeeded
    CRS-2673: Attempting to stop 'ora.cssd' on 'bnl11237dat01'
    CRS-2677: Stop of 'ora.cssd' on 'bnl11237dat01' succeeded
    CRS-2673: Attempting to stop 'ora.gipcd' on 'bnl11237dat01'
    CRS-2673: Attempting to stop 'ora.diskmon' on 'bnl11237dat01'
    CRS-2677: Stop of 'ora.gipcd' on 'bnl11237dat01' succeeded
    CRS-2673: Attempting to stop 'ora.gpnpd' on 'bnl11237dat01'
    CRS-2677: Stop of 'ora.diskmon' on 'bnl11237dat01' succeeded
    CRS-2677: Stop of 'ora.gpnpd' on 'bnl11237dat01' succeeded
    CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'bnl11237dat01' has completed
    CRS-4133: Oracle High Availability Services has been stopped.
    [root@bnl11237dat01 ~]# /u01/app/11.2.0/grid/bin/crsctl start crs
    CRS-4123: Oracle High Availability Services has been started.
    [root@bnl11237dat01 ~]# /u01/app/11.2.0/grid/bin/crsctl check crs
    CRS-4638: Oracle High Availability Services is online
    CRS-4535: Cannot communicate with Cluster Ready Services
    CRS-4530: Communications failure contacting Cluster Synchronization Services daemon
    CRS-4534: Cannot communicate with Event Manager
    I am unable to start Oracle Cluster Service on 11.2.0.2. Please can I know what the problem is and how to start CRS
    thanks.

    Hi,
    after the crsctl start crs you have to wait a while till the clusterstack is up. You just issued crsctl check crs a little to early.
    To see the startup stack do a crsctl stat res -t -init.
    If not everything in crsctl stat res -t -init goes to online after a while, then you have a problem, which has to be analyzed.
    However if crsctl stat res -t -init show everything is started use crsctl stat res -t to see the other processes coming online.
    Can you post the crsctl stat res -t -init (if not everything is online) or a crsctl stat res -t.
    Only thing which I find strange is that oifcfg does not list a PUBLIC interface...
    Regards
    Sebastian

  • Problems with Cluster Ready Service installation (RAC) in Oracle 10g R1

    Hello
    I have got problems with this installation. I am starting Oracle user
    At the end of the installation I get a mesage when all Configuration Assistants are failed
    I have got 2 computers with Windows 2000 PRO, two networks (private and public)
    As a shared disk I use one external disk (with USB) attached to one computer.
    What to do here?
    please for a reply
    Martin
    PROT-1: Failed to initialize ocrconfig
    SCLS error 1 reading current privileges.
    Internal Error Information:
    Category: 1234
    Operation: scls_iddb_has_privgrp_by_name
    Location: NetLocalGrou
    Other: get local group failed
    Dep: 0
    Step 1: checking status of CRS cluster
    Step 2: configuring OCR repository
    ignoring upgrade failure of ocr(-1)
    failed to configure Oracle Cluster Registry with CLSCFG, ret 102
    Result code for launching of configuration assistant is: 1
    The OUICA command is launched from D:\oracle\product\10.1.0\crs\oui\bin\ouica.bat.
    Launched configuration assistant 'Oracle Notification Server Configuration Assistant'
    Tool type is: Optional.
    The command being spawned is: 'D:\oracle\product\10.1.0\crs/bin/racgons.exe add_config migi:4948'
    Start output from spawned process:
    End output from spawned process.
    Configuration assistant "Oracle Notification Server Configuration Assistant" failed
    Result code for launching of configuration assistant is: 1
    The OUICA command is launched from D:\oracle\product\10.1.0\crs\oui\bin\ouica.bat.
    Launched configuration assistant 'Oracle Private Interconnect Configuration Assistant'
    Tool type is: Optional.
    The command being spawned is: 'D:\oracle\product\10.1.0\crs/bin/oifcfg.exe setif -global "public"/10.0.0.0:cluster_interconnect "public"/192.168.1.0:public'
    Start output from spawned process:
    PRIF-12: failed to initialize cluster support services
    End output from spawned process.
    Configuration assistant "Oracle Private Interconnect Configuration Assistant" failed
    PRIF-12: failed to initialize cluster support services
    Result code for launching of configuration assistant is: 1
    The OUICA command is launched from D:\oracle\product\10.1.0\crs\oui\bin\ouica.bat.
    Error:*** Alert: Some of the configuration assistants failed. However these are optional assistants, so they are not required for the correct configuration of your system. If you want to try to run those assistants again, select the failed assistants and click the 'Retry' button. ***
    User Selected: Yes/OK
    Starting to execute configuration assistants
    Launched configuration assistant 'Oracle Cluster Ready Services Configuration Assistant'
    Tool type is: Optional.
    The command being spawned is: 'D:\oracle\product\10.1.0\crs/install/crssetup.config.bat'

    Also you clusterware installation installs to an ORACLE_HOME.
    Oracle does only make a differentiation, if it has to be clear, that you got a clusterware home and a database home.
    Normally if a patch is referring to $ORACLE_HOME (and the patch can be used for clusterware & database), it just means the installation directory of the oracle software installed.
    Sebastian

  • Cluster Ready Services installation stall

    At the final step, when asked to execute:
    /u02/oradata/orcl/root.sh
    as the root user, I get the following output:
    Adding daemons to inittab
    Preparing Oracle cluster Ready Services (CRS):
    At this point, the script hangs indefinitely. I ran the script with "sh -x ./root.sh" and found that the script actuall is STALLING at this step:
    + /etc/init.d/init.crs start
    Preparing Oralce Cluster Ready Services (CRS):
    + /sbin/init q
    + /etc/init.d/init.cssd startcheck
    I've attempted an install on 2 seperate computers running both WhiteBox Linux 3 as well as Centos OS 3.4 with no luck.
    Any ideas would be GREATLY appreciated.

    I don't know, why this happens, I have only a kind of workaround.
    If you don't use Real Application Cluster and/or ASM (Automatic Storage Management) , you don't need CRS. So you could modify root.sh to exclude all CRS configuration and start statements.

  • Cluster ready services also for download?

    Hi,
    additionally to Oracle Database 10g (for Solaris) download, is it possible to download also "Cluster REady Services Release 1 CD-ROM"?
    Hi
    Michal

    Bring up the big Downloads page. (Big red button in the heading gets you there)
    Nowadays the product's called Clusterware, because "With Oracle Database 10g Release 2 (10.2), Cluster Ready Services, or CRS, is now called Oracle Clusterware.".

  • Cluster Ready Services Download

    Could someone tell me where to find the download for release 2 is. I have CRS for release 1 but I can't seem to find it for R2.(Is this something I must buy now?)
    Thank you

    Bring up the big Downloads page. (Big red button in the heading gets you there)
    Nowadays the product's called Clusterware, because "With Oracle Database 10g Release 2 (10.2), Cluster Ready Services, or CRS, is now called Oracle Clusterware.".

  • Want to download Oracle Cluster Ready Services Release 1...

    Hello Guys,
    I need to down load oracle cluster ready services, can any one specify the link where i can download from?
    Please help.
    Imran

    Bring up the big Downloads page. (Big red button in the heading gets you there)
    Nowadays the product's called Clusterware, because "With Oracle Database 10g Release 2 (10.2), Cluster Ready Services, or CRS, is now called Oracle Clusterware.".

  • Cluster Ready Service in LAN

    Hello
    Is it possible to make Cluster Ready Service in LAN (two computers having Windows 2000 professional having only one network adapter on each node connected through the router with each other)?

    two network adapters and Real Application Cluster

  • Content server log showing exception in stream

    Hi all,
    I am connecting to ecm with the follwoing cod eand error
    on transfere stream is ocurring
    after connection was paralyesd for about 4 minutes then
    ecxeption occure then server log shows
    a service exception
    the follwoing is the used code
    PLZ HELP ME
    * Copyright (c) 1997-2001 IntraNet Solutions, Incorporated. All rights reserved.
    * Copyright (c) 2001-2007 Stellent, Incorporated. All rights reserved.
    package com.stellent.cis.sdk.samples.checkin;
    import java.net.MalformedURLException;
    import java.rmi.RemoteException;
    import java.util.Date;
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.io.IOException;
    import com.stellent.cis.client.command.CommandException;
    import com.stellent.cis.client.io.ICISTransferStream;
    import com.stellent.cis.client.api.scs.ISCSContent;
    import com.stellent.cis.client.api.scs.ISCSContentID;
    import com.stellent.cis.client.api.scs.document.checkin.ISCSDocumentCheckinAPI;
    import com.stellent.cis.client.api.scs.document.checkin.ISCSCheckinFlags;
    import com.stellent.cis.client.api.scs.document.checkin.ISCSDocumentCheckinResponse;
    import com.twainconnect.sample.UCPMClient1;
    import java.io.FileInputStream;
    import java.io.InputStream;
    * This class shows how to check in a file into the content server. This takes a bunch of command line switches most of which is
    * optional. If some required values are not given, it creates random values for them.
    * -file : the absolute path to the file which is to be checked in (required)
    * -contentid : the content id of the document (auto generated)
    * -title : the title of the document (auto generated)
    * -type : the type of the document (defaults to ADACCT)
    * -securitygroup : the security group (defaults to Public)
    public class CheckinFile extends UCPMClient1 {
    // The path to the primary file of the document
    private String primaryFile = null;
    // The content id of the document
    private String contentId = null;
    // The title of the document
    private String title = null;
    // the type of the document
    private String type = null;
    // the security group of the document
    private String securityGroup = null;
    // The check in api from the cis
    private ISCSDocumentCheckinAPI api = null;
    public static void main(String[] args) {
    CheckinFile checkin = new CheckinFile();
    checkin.initialize(args);
    try {
    checkin.connect();
    checkin.execute();
    } catch (CommandException e) {
    e.printStackTrace();
    } catch (MalformedURLException e) {
    e.printStackTrace();
    } catch (RemoteException e) {
    e.printStackTrace();
    System.exit(0);
    * Executes the services to perform a content server check in.
    protected void execute() throws RemoteException, CommandException {
    // Get the Document check in api from the active api.
    api = getClient().getUCPMAPI().getActiveAPI().getDocumentCheckinAPI();
    // Perform a check in of the file with the values provided. The check in flags is generated in the method
    // getCheckinFlags(). Also see getActiveContent(), getActiveContentId()
    try {
    ICISTransferStream transferStream = getClient().getUCPMAPI().createTransferStream();
    transferStream.setFile(new File("D:\\ddd.doc"));
    System.out.println("read b4 get === "+transferStream.getInputStream().read());
    // InputStream inputStreamxx = new FileInputStream( );//transferStream.getInputStream();
    // FileInputStream inputStreamxx = new FileInputStream(new File("D:\\ddd.doc"));
    // transferStream.setInputStream(inputStreamxx);
    // System.out.println("after setting "+transferStream.getInputStream().read());
    // byte[] input = new byte[25];
    // for (int i = 0; i < input.length; i++) {
    // int b = transferStream.getInputStream().read(input);
    // if (b == -1)
    // break;
    // input[i] = (byte)b;
    // System.out.println("\n---------\n"+input.length);
    // System.out.println("Whole legnth= "+transferStream.getInputStream().read(input));
    // System.out.println(inputStream .read());
    // System.out.println(getPrimaryFile());
    // transferStream.setFileName("mmm");
    // transferStream.setContentType("text/plain");
    // transferStream.setContentLength(5);
    ISCSDocumentCheckinResponse result =
    api.checkinFileStream(getSCSContext(), getActiveContent(),
    transferStream);
    //getSCSContext().setCrendentials();
    // The message from the content server , if any
    String message = result.getMessage();
    // Print a status message to the console
    print("Checked in the file [" + getPrimaryFile() +
    "] with content id " + getContentId() + ". Message:" +
    message);
    } catch (FileNotFoundException exp) {
    throw new CommandException(exp);
    } catch (IOException exp) {
    throw new CommandException(exp);
    } catch (Exception exp) {
    exp.printStackTrace();
    * This creates a new SCSCheckinFlags object which can be used to define the check-in properties.
    * @return new SCSCheckinFlags object
    * @throws RemoteException
    * @throws com.stellent.cis.client.command.CommandException
    protected ISCSCheckinFlags getCheckinFlags() throws RemoteException,
    CommandException {
    log.fine("Entering getCheckinFlags");
    ISCSCheckinFlags checkinFlags =
    (ISCSCheckinFlags)getClient().getUCPMAPI().createObject(ISCSCheckinFlags.class);
    // Specify that the file should be copied, and not be deleted after the check in.
    checkinFlags.setFileCopy(true);
    // Specify this to true if this is a workflow step checkin.
    checkinFlags.setFinished(false);
    return checkinFlags;
    * Creates a new SCSContent object where all the document specific properties and meta-data values can be set for the
    * check-in process.
    * @return new SCSContent object with the properties set
    * @throws RemoteException
    * @throws com.stellent.cis.client.command.CommandException
    protected ISCSContent getActiveContent() throws RemoteException,
    CommandException {
    // Create a new content object for the executing context
    ISCSContent activeContent =
    (ISCSContent)getClient().getUCPMAPI().createObject(ISCSContent.class);
    ISCSContentID contentID =
    (ISCSContentID)getClient().getUCPMAPI().createObject(ISCSContentID.class);
    contentID.setContentID(getContentId());
    activeContent.setContentID(contentID);
    // Set the Title of the document
    activeContent.setTitle(getTitle());
    // set the type of the document
    activeContent.setType(getType());
    // set the security group of the document
    activeContent.setSecurityGroup(getSecurityGroup());
    return activeContent;
    * Override the initialize method to read in more document specific values from the command line.
    protected void initialize(String[] args) {
    log.fine("Entering initialize");
    super.initialize(args);
    // Provide a default value for the fields so that we don't have to enter it always. ;-)
    // Date is random enough for us.
    Date now = new Date();
    setPrimaryFile(readArgsAsString("-file", args, null));
    setTitle(readArgsAsString("-title", args,
    "Title By SDK " + now.getTime()));
    setContentId(readArgsAsString("-contentid", args,
    now.getTime() + "Content-Id-SDK"));
    setType(readArgsAsString("-type", args, "ADACCT"));
    setSecurityGroup(readArgsAsString("-securitygroup", args, "Public"));
    // Getters and setters for the variables
    public String getPrimaryFile() {
    primaryFile = "D:\\w.txt";
    return primaryFile;
    public void setPrimaryFile(String primaryFile) {
    this.primaryFile = primaryFile;
    public String getContentId() {
    return contentId;
    public void setContentId(String contentId) {
    this.contentId = contentId;
    public String getTitle() {
    return title;
    public void setTitle(String title) {
    this.title = title;
    public String getSecurityGroup() {
    return securityGroup;
    public void setSecurityGroup(String securityGroup) {
    this.securityGroup = securityGroup;
    public String getType() {
    return type;
    public void setType(String type) {
    this.type = type;
    Edited by: user7326470 on Oct 17, 2009 2:52 AM

    <?xml version="1.0" encoding="windows-1256" ?>
    <config>
    <adapter default="true" name="myadapter" type="scs">
    <config>
    <property name="type">web</property>
    <property name="vaultType">web</property>
    <property
    name="host">http://192.168.0.104/MIC_ECM/idcplg</propert
    y>
    <property name="port">4444</property>
    <property
    name="contentServerAdminID">sysadmin</property>
    <property
    name="contentServerAdminPassword">idc</property>
    <property
    name="eventPollingEnabled">true</property>
    <property
    name="persistentConnection">true</property>
    <property name="cacheEnabled">true</property>
    <property
    name="connectionTimeout">9999999999999999999999999999999
    9999999999999999999999999999999999999999999999999999</pr
    operty>
    <property
    name="contentServerMappedVault"></property>
    <property name="appserverMappedVault"></property>
    </config>
    <beans template="classpath:/META-
    INF/resources/adapter/adapter-services-scs.jxml"/>
    </adapter>
    <adapter name="checkin" type="scs">
    <config>
    <property name="type">web</property>
    <property
    name="host">http://192.168.0.104/MIC_ECM/idcplg</propert
    y>
    <property name="port">4444</property>
    <property
    name="contentServerAdminID">sysadmin</property>
    <property
    name="contentServerAdminPassword">idc</property>
    <property
    name="eventPollingEnabled">true</property>
    <property
    name="persistentConnection">false</property>
    <property name="cacheEnabled">true</property>
    <property
    name="connectionTimeout">9999999999999999999999999999</p
    roperty>
    <property
    name="contentServerMappedVault"></property>
    <property name="appserverMappedVault"></property>
    </config>
    <beans template="classpath:/META-
    INF/resources/adapter/adapter-services-scs.jxml"/>
    </adapter>
    </config>
    the JDeveloper exception is as foolows
    [2009-10-17 11:24:10,749] [SCS EventPoller [myadapter]]
    WARN
    (com.stellent.cis.server.api.scs.event.impl.SCSEventPoll
    er) - No password credentials supplied for background
    polling thread but adapter config 'myadapter' is set to
    type web which requires authentication will attempt to
    poll with no credentials
    [2009-10-17 11:24:10,811] [SCS EventPoller [myadapter]]
    WARN
    (com.stellent.cis.server.api.scs.event.impl.SCSEventPoll
    er) - Error in content server event poller
    com.stellent.cis.client.command.CommandException: Error
    reading the response from the Content Server: 401
         at
    com.stellent.cis.server.api.scs.impl.SCSCommand.executeR
    equest(SCSCommand.java:338)
         at
    com.stellent.cis.server.api.scs.impl.SCSCommand.execute
    (SCSCommand.java:222)
         at
    com.stellent.cis.client.command.impl.services.CommandExe
    cutorService.executeCommand
    (CommandExecutorService.java:57)
         at
    com.stellent.cis.client.command.impl.CommandFacade.execu
    teCommand(CommandFacade.java:158)
         at
    com.stellent.cis.client.command.impl.BaseCommandAPI.invo
    keCommand(BaseCommandAPI.java:84)
         at
    com.stellent.cis.client.api.scs.administrative.query.imp
    l.SCSAdministrativeQueryAPI.queryDocumentHistory
    (SCSAdministrativeQueryAPI.java:76)
         at
    com.stellent.cis.server.api.scs.event.impl.SCSEventPolle
    r$SCSFileCachePollingThread.run(SCSEventPoller.java:275)
    Caused by:
    com.stellent.cis.server.api.scs.request.SCSRequestExcept
    ion: Error reading the response from the Content Server:
    401
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestP
    rocessor.sendRequest(SCSRequestProcessor.java:156)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestP
    rocessor.processRequest(SCSRequestProcessor.java:112)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestF
    ilterChain.doRequestFilter
    (SCSRequestFilterChain.java:61)
         at
    com.stellent.cis.server.api.scs.request.stream.SCSOptimi
    zedPublishFilter.handleRequest
    (SCSOptimizedPublishFilter.java:128)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestF
    ilterChain.doRequestFilter
    (SCSRequestFilterChain.java:58)
         at
    com.stellent.cis.server.api.scs.request.stream.SCSOptimi
    zedRetrieveFilter.handleRequest
    (SCSOptimizedRetrieveFilter.java:250)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestF
    ilterChain.doRequestFilter
    (SCSRequestFilterChain.java:58)
         at
    com.stellent.cis.server.api.scs.request.rewrite.SCSRewri
    teURLFilter.handleRequest(SCSRewriteURLFilter.java:140)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestF
    ilterChain.doRequestFilter
    (SCSRequestFilterChain.java:58)
         at
    com.stellent.cis.server.api.scs.request.cache.impl.SCSSe
    rviceCacheFilter.handleRequest
    (SCSServiceCacheFilter.java:112)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestF
    ilterChain.doRequestFilter
    (SCSRequestFilterChain.java:58)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestE
    xecutorProxy.execute(SCSRequestExecutorProxy.java:105)
         at
    com.stellent.cis.server.api.scs.impl.SCSCommand.executeV
    iaProxy(SCSCommand.java:353)
         at
    com.stellent.cis.server.api.scs.impl.SCSCommand.executeR
    equest(SCSCommand.java:335)
         ... 6 more
    Caused by:
    com.stellent.cis.common.exception.HttpException: 401
         at
    com.stellent.cis.server.api.scs.protocol.impl.httpclient
    .HdaViaHttpProtocol.writeMessage
    (HdaViaHttpProtocol.java:171)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestP
    rocessor.sendRequest(SCSRequestProcessor.java:148)
         ... 19 more
    [2009-10-17 11:29:10,847] [SCS EventPoller [myadapter]]
    WARN
    (com.stellent.cis.server.api.scs.event.impl.SCSEventPoll
    er) - Error in content server event poller
    com.stellent.cis.client.command.CommandException: Error
    reading the response from the Content Server: 401
         at
    com.stellent.cis.server.api.scs.impl.SCSCommand.executeR
    equest(SCSCommand.java:338)
         at
    com.stellent.cis.server.api.scs.impl.SCSCommand.execute
    (SCSCommand.java:222)
         at
    com.stellent.cis.client.command.impl.services.CommandExe
    cutorService.executeCommand
    (CommandExecutorService.java:57)
         at
    com.stellent.cis.client.command.impl.CommandFacade.execu
    teCommand(CommandFacade.java:158)
         at
    com.stellent.cis.client.command.impl.BaseCommandAPI.invo
    keCommand(BaseCommandAPI.java:84)
         at
    com.stellent.cis.client.api.scs.administrative.query.imp
    l.SCSAdministrativeQueryAPI.queryDocumentHistory
    (SCSAdministrativeQueryAPI.java:76)
         at
    com.stellent.cis.server.api.scs.event.impl.SCSEventPolle
    r$SCSFileCachePollingThread.run(SCSEventPoller.java:275)
    Caused by:
    com.stellent.cis.server.api.scs.request.SCSRequestExcept
    ion: Error reading the response from the Content Server:
    401
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestP
    rocessor.sendRequest(SCSRequestProcessor.java:156)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestP
    rocessor.processRequest(SCSRequestProcessor.java:112)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestF
    ilterChain.doRequestFilter
    (SCSRequestFilterChain.java:61)
         at
    com.stellent.cis.server.api.scs.request.stream.SCSOptimi
    zedPublishFilter.handleRequest
    (SCSOptimizedPublishFilter.java:128)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestF
    ilterChain.doRequestFilter
    (SCSRequestFilterChain.java:58)
         at
    com.stellent.cis.server.api.scs.request.stream.SCSOptimi
    zedRetrieveFilter.handleRequest
    (SCSOptimizedRetrieveFilter.java:250)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestF
    ilterChain.doRequestFilter
    (SCSRequestFilterChain.java:58)
         at
    com.stellent.cis.server.api.scs.request.rewrite.SCSRewri
    teURLFilter.handleRequest(SCSRewriteURLFilter.java:140)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestF
    ilterChain.doRequestFilter
    (SCSRequestFilterChain.java:58)
         at
    com.stellent.cis.server.api.scs.request.cache.impl.SCSSe
    rviceCacheFilter.handleRequest
    (SCSServiceCacheFilter.java:112)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestF
    ilterChain.doRequestFilter
    (SCSRequestFilterChain.java:58)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestE
    xecutorProxy.execute(SCSRequestExecutorProxy.java:105)
         at
    com.stellent.cis.server.api.scs.impl.SCSCommand.executeV
    iaProxy(SCSCommand.java:353)
         at
    com.stellent.cis.server.api.scs.impl.SCSCommand.executeR
    equest(SCSCommand.java:335)
         ... 6 more
    Caused by:
    com.stellent.cis.common.exception.HttpException: 401
         at
    com.stellent.cis.server.api.scs.protocol.impl.httpclient
    .HdaViaHttpProtocol.writeMessage
    (HdaViaHttpProtocol.java:171)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestP
    rocessor.sendRequest(SCSRequestProcessor.java:148)
         ... 19 more
    com.stellent.cis.client.command.CommandException: Error
    reading the response from the Content Server: 500
         at
    com.stellent.cis.server.api.scs.impl.SCSCommand.executeR
    equest(SCSCommand.java:338)
         at
    com.stellent.cis.server.api.scs.impl.SCSCommand.execute
    (SCSCommand.java:222)
         at
    com.stellent.cis.client.command.impl.services.CommandExe
    cutorService.executeCommand
    (CommandExecutorService.java:57)
         at
    com.stellent.cis.client.command.impl.CommandFacade.execu
    teCommand(CommandFacade.java:158)
         at
    com.stellent.cis.client.command.impl.BaseCommandAPI.invo
    keCommand(BaseCommandAPI.java:84)
         at
    com.stellent.cis.client.api.scs.document.checkin.impl.SC
    SDocumentCheckinAPI.checkinFileStream
    (SCSDocumentCheckinAPI.java:663)
         at
    com.stellent.cis.sdk.samples.checkin.CheckinFile.execute
    (CheckinFile.java:118)
         at
    com.stellent.cis.sdk.samples.checkin.CheckinFile.main
    (CheckinFile.java:71)
    Caused by:
    com.stellent.cis.server.api.scs.request.SCSRequestExcept
    ion: Error reading the response from the Content Server:
    500
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestP
    rocessor.sendRequest(SCSRequestProcessor.java:156)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestP
    rocessor.processRequest(SCSRequestProcessor.java:112)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestF
    ilterChain.doRequestFilter
    (SCSRequestFilterChain.java:61)
         at
    com.stellent.cis.server.api.scs.request.stream.SCSOptimi
    zedPublishFilter.handleRequest
    (SCSOptimizedPublishFilter.java:128)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestF
    ilterChain.doRequestFilter
    (SCSRequestFilterChain.java:58)
         at
    com.stellent.cis.server.api.scs.request.stream.SCSOptimi
    zedRetrieveFilter.handleRequest
    (SCSOptimizedRetrieveFilter.java:250)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestF
    ilterChain.doRequestFilter
    (SCSRequestFilterChain.java:58)
         at
    com.stellent.cis.server.api.scs.request.rewrite.SCSRewri
    teURLFilter.handleRequest(SCSRewriteURLFilter.java:140)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestF
    ilterChain.doRequestFilter
    (SCSRequestFilterChain.java:58)
         at
    com.stellent.cis.server.api.scs.request.cache.impl.SCSSe
    rviceCacheFilter.handleRequest
    (SCSServiceCacheFilter.java:112)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestF
    ilterChain.doRequestFilter
    (SCSRequestFilterChain.java:58)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestE
    xecutorProxy.execute(SCSRequestExecutorProxy.java:105)
         at
    com.stellent.cis.server.api.scs.impl.SCSCommand.executeV
    iaProxy(SCSCommand.java:353)
         at
    com.stellent.cis.server.api.scs.impl.SCSCommand.executeR
    equest(SCSCommand.java:335)
         ... 7 more
    Caused by:
    com.stellent.cis.common.exception.HttpException: 500
         at
    com.stellent.cis.server.api.scs.protocol.impl.httpclient
    .HdaViaHttpProtocol.writeMessage
    (HdaViaHttpProtocol.java:171)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestP
    rocessor.sendRequest(SCSRequestProcessor.java:148)
         ... 20 more
    Process exited with exit code 0.
    the server exception in log of content server is as
    follows
    Event generated by user 'anonymous' at host
    '192.168.0.104'. Stream terminated before being able to
    read HTTP protocol line. Stream terminated before being
    able to read HTTP protocol line. [ Details ]
    An error has occurred. The stack trace below shows more
    information.
    !csUserEventMessage,anonymous,192.168.0.104!$!
    syStreamTerminatedBeforeProtocol!
    syStreamTerminatedBeforeProtocol
    intradoc.common.ServiceException: !
    syStreamTerminatedBeforeProtocol
         at
    intradoc.server.ServiceRequestImplementor.doRequest
    (ServiceRequestImplementor.java:628)
         at intradoc.server.Service.doRequest
    (Service.java:1709)
         at
    intradoc.server.ServiceManager.processCommand
    (ServiceManager.java:357)
         at intradoc.server.IdcServerThread.run
    (IdcServerThread.java:195)
    Caused by: java.io.IOException: !
    syStreamTerminatedBeforeProtocol
         at
    intradoc.serialize.DataBinderSerializer.readStreamLineBy
    teEx(DataBinderSerializer.java:1588)
         at
    intradoc.serialize.DataBinderSerializer.readStreamLineEx
    (DataBinderSerializer.java:1556)
         at
    intradoc.serialize.DataBinderSerializer.readLineEx
    (DataBinderSerializer.java:1528)
         at
    intradoc.serialize.DataBinderSerializer.parseForData
    (DataBinderSerializer.java:1336)
         at
    intradoc.serialize.DataBinderSerializer.parseMultiConten
    t(DataBinderSerializer.java:1283)
         at
    intradoc.serialize.DataBinderSerializer.continueParse
    (DataBinderSerializer.java:1244)
         at
    intradoc.data.DataSerializeUtils.continueParse
    (DataSerializeUtils.java:138)
         at intradoc.server.Service.continueParse
    (Service.java:415)
         at
    intradoc.server.ServiceRequestImplementor.doRequest
    (ServiceRequestImplementor.java:620)
         ... 3 more

  • Coldfusion 8 service will not start.  Server log is ending with "Starting license..." (Emergency)

    Our server has gone down and the Coldfusion 8 service will not start.  There is no information in any of the logs for anything today since its gone down.  Ive checked the root logs directory as well as the runtime logs directory.
    The server.log is the only file being updated and it shows "Starting logging..." and then "Starting license..." and hangs.  The service does not start and the log gets nothing more after this point.  Memory continues to go up slowly, we've increased the start timeout tremendously with no effect.  There is little to no CPU usage.
    Our server is licensed and has never had this problem before.  It is the standard version.
    Our server is completely down and we are losing clients.  From what we can tell a windows update occurred, which we have since removed in case it was the issue, and when the server restarted CF did not come back.  We have been working on this for hours with no results.
    Please help and let me know anything you may need which will help diagnose our issue.
    Thanks

    So that others who see this know the solution.
    I started Coldfusion from the command line: c:\Coldfusion8\runtime\bin\jrun -start coldfusion.  This brought up all the commands as it worked through them.  From that we found that CF was looking for license.properties in the C:\Coldfusion8\runtime\lib folder.  We found a copy in the C:\Coldfusion8\lib folder.  For now we've left it running under my account and then after hours are going to try and see if the service will run now that we've copied that properties file to the other direcory.
    Probably simple to everyone on here but was new and odd to us.  Wanted to put what we found out here in case it happens to anyone else.

  • Regarding mountain lion server: clients experience intermittent service connections. the server system log has the following error- Client handshake failed (6):113: Server not accepting client connections (any ideas???)

    regarding mountain lion server: clients experience intermittent service connections. the server system log has the following error- Client handshake failed (6):113: Server not accepting client connections. any suggestions would be greatly appreciated - thank you

    Hi Jason
    I was getting the same behavior after Apple support had me delete some plist files to get Airplay going. I was also getting the following error:
    the error occurred while processing a command of type 'writesettings' in the plug-in 'server vpn'
    I went into ~/Library/Preferences/ and /Library/Preferences/ and deleted every plist contating the word server. I had to re-set up my server (meaning walk through some intial steps) but all of my settings were still there after that and everything started working again.
    Just a thought, obviously try at your own risk but it worked for me.
    Kellen

  • Service Accounts for Reporting Service in SQL Server Failover Cluster setup

    I am setting up 2 Report Services (SSRS) in SQL Failover Clustering (Version: 2012SP1) on Windows 2012, as part of scale out architecture.
    There are 2 options to configure the service account for SSRS:
    Option 1) Using domain accounts, as what I have done for DB Engine and SQL Agent.
    Option 2) accept the default, which is virtual account for SSRS. Per documentation URL:
    http://msdn.microsoft.com/en-us/library/ms143504.aspx
    which is the recommended one? is it option 2?
    There is security note on above URL as well, but does not clearly mention that option 1 is not recommended.
    Security Note:  Always run SQL Server services by using the lowest possible user rights. Use a MSA or  virtual account when possible. When MSA and virtual accounts are not possible, use a specific low-privilege user account or domain account instead
    of a shared account for SQL Server services. Use separate accounts for different SQL Server services. Do not grant additional permissions to the SQL Server service account or the service groups. Permissions will be granted through group membership or granted
    directly to a service SID, where a service SID is supported.
    Thanks very much for your help!

    Hi Luo Donghua,
    In SQL Server Failover Cluster Instance, personally two options can run well. If you use the virtual account for SQL Server Reporting Service. Virtual accounts in Windows Server 2008 R2 and Windows 7 are managed local accounts that provide the features to
    simplify service administration. The virtual account is auto-managed, and the virtual account can access the network in a domain environment.
    Of cause, you can also use domain accounts in your clustering. 
    Just make sure your service account is set up here, or that it is using a proper built-in account.For more information, see:http://ermahblerg.com/2012/11/08/cluster-ssrs-in-2008/
    Thanks,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Java Program destroys Linux Server Display or Server logs out Automatically

    hi,
    i am facing problem when my servlet program is running.
    my servlet starts a process at server which is a simple java program which publishes PDF,
    XML, RTF files and lates long to run for about 45 minutes.
    i give a call to a shell file on the server (Red Hat Linux 9.0) which in turns calls a java
    program that runs on gnome-terminal.
    i have started Tomcat from SSh for that i have exported DISPLAY (Environment variable) from
    .bash_profile. i need to do this because i need graphics environment (X11 Windows) for jfor
    which is used print jpeg images in PDF and RTF reports.
    PROBLEM
    Some time my server display gets destroyed or the server gets Logout automatically, when my
    process is running.
    following is sode to start a gnome-terminal
    strCommand="gnome-terminal -x /root/PWAppSh/StartPartialRunOff.sh PartialRunOffApp "+
    strpubType + " "  +  strGroupNumber +" "+ id + " " + Cur_Time+" "+ strPubDate +" "+
    strFromDate +" "+ strToDate ;
    p = rt.getRuntime().exec(strCommand);
    BufferedReader br = new BufferedReader(new InputStreamReader(new FileInputStream(strRootPath
    + "/pw/WEB-INF/classes/pid.txt")));
                             pid= "";
                             while((pid = br.readLine()) != null)
                                  getPid=pid;
                             ses.setAttribute("process",getPid);
                             ses.setAttribute("RunType",strrunType);
                             System.out.println("#Get Process ID:"+getPid);
                             FileOutputStream fos = new
    FileOutputStream(strRootPath+"/pw/System/Mgmt/Sessions/RunoffOutput.txt");
                             Stdout_Stderr errorGobbler = new
                                  Stdout_Stderr(p.getErrorStream(), "ERROR");
                             // any output?
                             Stdout_Stderr outputGobbler = new
                                  Stdout_Stderr(p.getInputStream(), "OUTPUT",
    fos);
                             // kick them off
                             errorGobbler.start();
                             outputGobbler.start();
                             // any error???
                             int exitVal = p.waitFor();
                             System.out.println("StartRunoff ExitValue: " +
    exitVal);shell script that get executed from servlet is as followes
    cd /
    cd /share/Tomcat-4/jakarta-tomcat-4.1.31/webapps/pw/WEB-INF/classes
         echo $$ > pid.txt
         echo "Path: `pwd`"
         echo "Process ID:" $$
         chmod 777 pid.txt
         echo Redirecting ProcessID
         echo "Current shell : " $SHELL   
         export
    PATH=$PATH:$HOME/bin:/usr/java/j2sdk1.4.2_08/bin:/usr/java/j2sdk1.4.2_08/lib:.:/share/amol/l
    ib/.:
         export
    CLASSPATH=.:/share/amol/lib/activation-1.0.1.jar:/share/amol/lib/ant.jar:/share/amol/lib/ava
    lon-framework-cvs-20020806.jar:/share/amol/lib/batik.jar:/share/amol/lib/fop.jar:/share/amol
    /lib/jfor-0.7.2rc1.jar:/share/amol/lib/xalan-2.4.1.jar:/share/amol/lib/mail-1.2.jar:/share/a
    mol/lib/xerces-1.2.3.jar:/share/amol/lib/jimi-1.0.jar:/share/amol/lib/logkit-1.0.1.jar:/shar
    e/amol/lib/firebirdsql-full.jar:/share/amol/lib/xercesImpl-2.2.1.jar
         exec java -server -Xmx256m -Xoss200M PW/Runoff/$1 $2 $3 $4 $5 $6 $7setting that i have done in .bash_profile file
    DISPLAY=$HOST:0
    export DISPLAY HOSTcan any one suggest or any solution to problem why my linux server Logsout ar display gets
    destroyed when my Program is runnig on Gnome terminal.
    kindly help me,
    Thanks in advance for ur most important suggestion or solution.

    Sounds a lot like a bug in some of the native libraries you use (or even in AWT). Try looking into your log files (especially for X and for your tomcat) to find out if any error messages are printed.
    Additionally there are X servers out there that don't need any concrete display hardware to run (Xvfb comes to my mind, but IIRC there are more modern alternatives available). Usign that might or might not solve your problem, but would be a good idea either way.

Maybe you are looking for