Problem with VIP

Hi All,
I need your help again. i have installed 11gR2 on two nodes cluster and facing strange issue.
Looks like , both node's vips are pointing to same ip address . when crs is starting it is plumbing only one ip as vip. even if other vip is not plumbed when i am using crs_stat to see the vip status it is giving online status for both vip but i am not able to ping the vip which is not plumbed. can anyone help me how to get rid of this issue.
Thanks.

Have you checked that the IP's are differently configured on the eth devices by running
Linux
ifconfigwindows
ipconfigAlso look at the following and see if it can be of help (if you want to change the VIP)
http://www.pythian.com/news/210/oracle-10g-r2-rac-vip-on-wrong-interface/
and
Metalink Note:276434.1
Regards

Similar Messages

  • Problem with redundancy in CSS 11051

    I have a problem with redundancy in CSS 11051. I use firewall load balancing and server load balancing. Load balancers which only load balance over 3 firewall switch from primary to master with no problems.
    problem is with load balancers which load balance over firewalls and over servers two. whene the master is shutdown, backup keeps master function, all services on backup LB are alive, but it is not possible to display web page on address 10.10.7.16. Even if I try from the network 10.10.7.0/24, so before firewalls. below my config. any help appreciate.
    ===primary LB=====
    !Generated on 10/30/2002 10:42:53
    !Active version: ap0500002
    configure
    !*************************** GLOBAL ***************************
    ip redundancy master
    no console authentication
    restrict ftp
    app
    app session 10.10.60.13
    ip firewall 1 10.10.7.1 10.10.8.1 10.10.8.10
    ip firewall 2 10.10.7.2 10.10.8.2 10.10.8.10
    ip firewall 3 10.10.7.3 10.10.8.3 10.10.8.10
    ip route 0.0.0.0 0.0.0.0 firewall 1 1
    ip route 0.0.0.0 0.0.0.0 firewall 2 1
    ip route 0.0.0.0 0.0.0.0 firewall 3 1
    ip route 10.10.1.0 255.255.255.0 10.10.3.1 1
    ip route 10.10.2.0 255.255.255.0 10.10.3.1 1
    ip route 10.10.12.0 255.255.255.0 10.10.3.1 1
    ip route 10.10.14.0 255.255.255.0 10.10.3.1 1
    ip route 10.10.22.0 255.255.255.0 10.10.3.1 1
    !************************* INTERFACE *************************
    interface e1
    phy 100Mbits-FD
    bridge vlan 62
    interface e2
    phy 100Mbits-FD
    bridge vlan 7
    interface e3
    bridge vlan 3
    interface e4
    phy 100Mbits-FD
    bridge vlan 7
    interface e5
    phy 100Mbits-FD
    interface e6
    phy 100Mbits-FD
    bridge vlan 6
    interface e7
    phy 100Mbits-FD
    interface e8
    phy 100Mbits-FD
    bridge vlan 6
    !************************** CIRCUIT **************************
    circuit VLAN62
    ip address 10.10.60.14 255.255.255.252
    redundancy-protocol
    circuit VLAN7
    redundancy
    ip address 10.10.7.10 255.255.255.0
    circuit VLAN3
    redundancy
    ip address 10.10.3.10 255.255.255.0
    no redirects
    circuit VLAN6
    redundancy
    ip address 10.10.6.10 255.255.255.0
    !************************** SERVICE **************************
    service cc1
    ip address 10.10.3.129
    keepalive type tcp
    keepalive port 443
    service cc2
    ip address 10.10.3.130
    keepalive type tcp
    keepalive port 443
    active
    service ssl1
    ip address 10.10.6.131
    keepalive port 443
    keepalive type tcp
    active
    service ssl3
    ip address 10.10.6.133
    keepalive port 443
    keepalive type tcp
    active
    service ssl4
    ip address 10.10.6.141
    keepalive type tcp
    keepalive port 443
    active
    service ssl6
    ip address 10.10.6.143
    keepalive port 443
    keepalive type tcp
    active
    service www1
    ip address 10.10.6.101
    keepalive type tcp
    keepalive port 443
    weight 2
    active
    service www3
    ip address 10.10.6.103
    keepalive type tcp
    keepalive port 443
    active
    service www4
    ip address 10.10.6.121
    keepalive port 443
    keepalive type tcp
    active
    service www6
    ip address 10.10.6.123
    keepalive type tcp
    keepalive port 443
    active
    !*************************** OWNER ***************************
    owner L5_Owner
    content L5_Rule
    vip address 10.10.7.6
    application ssl
    protocol tcp
    port 443
    url "/*"
    add service www1
    add service www3
    add service www4
    advanced-balance sticky-srcip
    add service www6
    balance weightedrr
    active
    content L5_Rule_CC
    vip address 10.10.3.120
    advanced-balance sticky-srcip
    add service cc1
    add service cc2
    active
    content L5_Rule_SSL
    vip address 10.10.7.16
    application ssl
    protocol tcp
    port 443
    url "/*"
    add service ssl1
    add service ssl3
    add service ssl4
    advanced-balance sticky-srcip
    add service ssl6
    active
    !*************************** GROUP ***************************
    group CC
    vip address 10.10.3.120
    add destination service cc1
    add destination service cc2
    active
    ======
    ===backup LB=====
    !Generated on 10/29/2002 20:47:30
    !Active version: ap0503015
    configure
    !*************************** GLOBAL ***************************
    ip redundancy
    console authentication primary none
    restrict ftp
    app
    app session 10.10.60.14
    ip firewall 1 10.10.7.1 10.10.8.1 10.10.8.10
    ip firewall 2 10.10.7.2 10.10.8.2 10.10.8.10
    ip firewall 3 10.10.7.3 10.10.8.3 10.10.8.10
    ip route 0.0.0.0 0.0.0.0 firewall 1 1
    ip route 0.0.0.0 0.0.0.0 firewall 2 1
    ip route 0.0.0.0 0.0.0.0 firewall 3 1
    ip route 10.10.1.0 255.255.255.0 10.10.3.1 1
    ip route 10.10.2.0 255.255.255.0 10.10.3.1 1
    ip route 10.10.12.0 255.255.255.0 10.10.3.1 1
    ip route 10.10.14.0 255.255.255.0 10.10.3.1 1
    !************************* INTERFACE *************************
    interface e1
    phy 100Mbits-FD
    bridge vlan 62
    interface e2
    phy 100Mbits-FD
    bridge vlan 7
    interface e3
    phy 100Mbits-FD
    bridge vlan 3
    interface e4
    phy 100Mbits-FD
    bridge vlan 7
    interface e5
    phy 100Mbits-FD
    interface e6
    phy 100Mbits-FD
    bridge vlan 6
    interface e7
    phy 100Mbits-FD
    interface e8
    phy 100Mbits-FD
    bridge vlan 6
    !************************** CIRCUIT **************************
    circuit VLAN62
    ip address 10.10.60.13 255.255.255.252
    redundancy-protocol
    circuit VLAN7
    redundancy
    ip address 10.10.7.10 255.255.255.0
    circuit VLAN3
    redundancy
    ip address 10.10.3.10 255.255.255.0
    no redirects
    circuit VLAN6
    redundancy
    ip address 10.10.6.10 255.255.255.0
    !************************** SERVICE **************************
    service cc1
    ip address 10.10.3.129
    active
    service cc2
    ip address 10.10.3.130
    active
    service ssl1
    ip address 10.10.6.131
    keepalive port 443
    keepalive type tcp
    active
    service ssl3
    ip address 10.10.6.133
    keepalive port 443
    keepalive type tcp
    active
    service ssl4
    ip address 10.10.6.141
    keepalive type tcp
    keepalive port 443
    active
    service ssl6
    ip address 10.10.6.143
    keepalive port 443
    keepalive type tcp
    active
    service www1
    ip address 10.10.6.101
    keepalive type tcp
    keepalive port 443
    weight 2
    active
    service www3
    ip address 10.10.6.103
    keepalive type tcp
    keepalive port 443
    active
    service www4
    ip address 10.10.6.121
    keepalive port 443
    keepalive type tcp
    active
    service www6
    ip address 10.10.6.123
    keepalive type tcp
    keepalive port 443
    active
    !*************************** OWNER ***************************
    owner L5_Owner
    content L5_Rule
    vip address 10.10.7.6
    protocol tcp
    port 443
    url "/*"
    add service www1
    add service www3
    add service www4
    advanced-balance sticky-srcip
    add service www6
    balance weightedrr
    active
    content L5_Rule_CC
    vip address 10.10.3.120
    advanced-balance sticky-srcip
    add service cc1
    add service cc2
    active
    content L5_Rule_SSL
    vip address 10.10.7.16
    protocol tcp
    port 443
    url "/*"
    add service ssl1
    add service ssl3
    add service ssl4
    advanced-balance sticky-srcip
    add service ssl6
    active
    !*************************** GROUP ***************************
    group CC
    vip address 10.10.3.120
    add destination service cc1
    add destination service cc2
    active
    =======

    Please visit the folloiwing page where you can find many configuration examples on configuring CSS for Load Balancing.
    http://www.cisco.com/en/US/products/hw/contnetw/ps789/prod_configuration_examples_list.html
    Hope it helps.

  • Problem with Amanda

    Hi All, i have a problem with the Amanda under soalris 10, the planner is not able to get an estimate, se below:
    AMANDA bex> /usr/local/libexec/planner daily
    planner: pid 3833 executable /usr/local/libexec/planner version 2.5.1
    planner: build: VERSION="Amanda-2.5.1"
    planner:        BUILT_DATE="Thu Sep 14 22:40:36 CEST 2006"
    planner:        BUILT_MACH="SunOS bex 5.10 Generic_118855-14 i86pc i386 i86pc"
    planner:        CC="gcc"
    planner:        CONFIGURE_COMMAND="'./configure' '--with-group=amanda' '--with-user=amanda' '--datadir=/opt/local/share' '--sysconfdir=/opt/local/etc' '--sharedstatedir=/opt/local/com' '--localstatedir=/opt/local/var'"
    planner: paths: bindir="/usr/local/bin" sbindir="/usr/local/sbin"
    planner:        libexecdir="/usr/local/libexec" mandir="/usr/local/man"
    planner:        AMANDA_TMPDIR="/tmp/amanda" AMANDA_DBGDIR="/tmp/amanda"
    planner:        CONFIG_DIR="/opt/local/etc/amanda" DEV_PREFIX="/dev/dsk/"
    planner:        RDEV_PREFIX="/dev/rdsk/" DUMP="/usr/sbin/ufsdump"
    planner:        RESTORE="/usr/sbin/ufsrestore" VDUMP=UNDEF VRESTORE=UNDEF
    planner:        XFSDUMP=UNDEF XFSRESTORE=UNDEF VXDUMP=UNDEF VXRESTORE=UNDEF
    planner:        SAMBA_CLIENT=UNDEF GNUTAR=UNDEF
    planner:        COMPRESS_PATH="/usr/bin/gzip"
    planner:        UNCOMPRESS_PATH="/usr/bin/gzip" LPRCMD="/usr/bin/lp"
    planner:        MAILER="/usr/bin/mailx"
    planner:        listed_incr_dir="/opt/local/var/amanda/gnutar-lists"
    planner: defs:  DEFAULT_SERVER="bex" DEFAULT_CONFIG="DailySet1"
    planner:        DEFAULT_TAPE_SERVER="bex" HAVE_MMAP HAVE_SYSVSHM
    planner:        LOCKING=POSIX_FCNTL SETPGRP_VOID DEBUG_CODE
    planner:        AMANDA_DEBUG_DAYS=4 BSD_SECURITY RSH_SECURITY USE_AMANDAHOSTS
    planner:        CLIENT_LOGIN="amanda" FORCE_USERID HAVE_GZIP
    planner:        COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="--fast"
    planner:        COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc"
    READING CONF FILES...
    DATE 20060919082701
    planner: timestamp 20060919082701
    planner: time 0.233: startup took 0.233 secs
    SENDING FLUSHES...
    ENDFLUSH
    ENDFLUSH
    SETTING UP FOR ESTIMATES...
    planner: time 0.234: setting up estimates for bex.martel-consulting.ch:d0
    bex.martel-consulting.ch:d0 overdue 13410 days for level 0
    setup_estimate: bex.martel-consulting.ch:d0: command 0, options: none    last_level -1 next_level0 -13410 level_days 0    getting estimates 0 (-2) -1 (-2) -1 (-2)
    planner: time 0.236: setting up estimates took 0.001 secs
    GETTING ESTIMATES...
    planner: time 0.420: got result for host bex.martel-consulting.ch disk d0: 0 -> -2K, -1 -> -2K, -1 -> -2K
    error result for host bex.martel-consulting.ch disk d0: missing estimate
    planner: time 0.421: getting estimates took 0.184 secs
    FAILED QUEUE:
      0: bex.martel-consulting.ch d0
    DONE QUEUE: empty
    ANALYZING ESTIMATES...
    planner: FAILED bex.martel-consulting.ch d0 20060919082701 0 [missing result for d0 in bex.martel-consulting.ch response]
    INITIAL SCHEDULE (size 2064):
    DELAYING DUMPS IF NEEDED, total_size 2064, tape length 30793728 mark 1000
      delay: Total size now 2064.
    PROMOTING DUMPS IF NEEDED, total_lev0 0, balanced_size 0...
    planner: time 0.421: analysis took 0.000 secs
    GENERATING SCHEDULE:
    I have a .amandahosts:
    AMANDA bex> ls -l .amandahosts
    -rw-------   1 amanda   amanda        11 Sep 16 22:25 .amandahosts
    AMANDA bex> more .amandahosts
    bex amanda
    the amanda service is defined
    bex> grep amanda /etc/services
    amanda          10080/udp
    amandaidx       10082/tcp
    bex> inetadm | grep amanda
    enabled   online         svc:/network/amandaidx/tcp:default
    enabled   online         svc:/network/amanda/udp:default
    bex> inetadm -l svc:/network/amanda/udp:default
    SCOPE    NAME=VALUE
             name="amanda"
             endpoint_type="dgram"
             proto="udp"
             isrpc=FALSE
             wait=TRUE
             exec="/usr/local/libexec/amandad"
             user="amanda"
    default  bind_addr=""
    default  bind_fail_max=-1
    default  bind_fail_interval=-1
    default  max_con_rate=-1
    default  max_copies=-1
    default  con_rate_offline=-1
    default  failrate_cnt=40
    default  failrate_interval=60
    default  inherit_env=TRUE
    default  tcp_trace=FALSE
    default  tcp_wrappers=FALSE
    bex>
    my config is
    bex> cat /opt/local/etc/amanda/daily/amanda.conf
    # amanda.conf - sample Amanda configuration file. See amanda.conf(5) for
    # details
    org      "BackupService"        # your organization name for reports
    mailto   "[email protected]"    # space separated list of operators at your site
    dumpuser "amanda"       # the user to run dumps under
    inparallel 4            # maximum dumpers that will run in parallel (max 63)
                            # this maximum can be increased at compile-time,
                            # modifying MAX_DUMPERS in server-src/driverio.h
    dumporder "sssS"        # specify the priority order of each dumper
                            #   s -> smallest size
                            #   S -> biggest size
                            #   t -> smallest time
                            #   T -> biggest time
                            #   b -> smallest bandwitdh
                            #   B -> biggest bandwitdh
                            # try "BTBTBTBTBTBT" if you are not holding
                            # disk constrained
    taperalgo first         # The algorithm used to choose which dump image to send
                            # to the taper.
                            # Possible values:
                            # [first|firstfit|largest|largestfit|smallest|last]
                            # Default: first.
                            # first         First in - first out.
                            # firstfit      The first dump image that will fit
                            #               on the current tape.
                            # largest       The largest dump image.
                            # largestfit    The largest dump image that will fit
                            #               on the current tape.
                            # smallest      The smallest dump image.
                            # last          Last in - first out.
    displayunit "k"         # Possible values: "k|m|g|t"
                            # Default: k.
                            # The unit used to print many numbers.
                            # k=kilo, m=mega, g=giga, t=tera
    netusage  600 Kbps      # maximum net bandwidth for Amanda, in KB per sec
    dumpcycle 4 weeks       # the number of days in the normal dump cycle
    runspercycle 20         # the number of amdump runs in dumpcycle days
                            # (4 weeks * 5 amdump runs per week -- just weekdays)
    #tapecycle 25 tapes     # the number of tapes in rotation
                            # 4 weeks (dumpcycle) times 5 tapes per week (just
                            # the weekdays) plus a few to handle errors that
                            # need amflush and so we do not overwrite the full
                            # backups performed at the beginning of the previous
                            # cycle
    #* vtapes
    define tapetype HARD-DISK {
    comment "Dump onto hard disk"
    length 30072 mbytes # specified in mbytes to get the exact size of 3GB
    tapecycle 20
    tapetype HARD-DISK
    tpchanger "chg-disk"
    changerfile "/opt/local/etc/amanda/daily/changer"
    tapedev "file:/backupdisk1/daily"
    bumpsize 20 Mb          # minimum savings (threshold) to bump level 1 -> 2
    bumppercent 20          # minimum savings (threshold) to bump level 1 -> 2
    bumpdays 1              # minimum days at each level
    bumpmult 4              # threshold = bumpsize * bumpmult^(level-1)
    etimeout 300            # number of seconds per filesystem for estimates.
    dtimeout 1800           # number of idle seconds before a dump is aborted.
    ctimeout 30             # maximum number of seconds that amcheck waits
                            # for each client host
    tapebufs 20             # A positive integer telling taper how many
                            # 32k buffers to allocate.  The default is 20 (640k).
    # By default, Amanda can only track at most one run per calendar day. When
    # the usetimestamps option is enabled, however, Amanda can track as many
    # runs as you care to make.
    # WARNING: This option is not backward-compatible. Do not enable it if you
    #          intend to downgrade your server installation to Amanda community
    #          edition 2.5
    usetimestamps yes
    # Specify tape device and/or tape changer.  If you don't have a tape
    # changer, and you don't want to use more than one tape per run of
    # amdump, just comment out the definition of tpchanger.
    # Some tape changers require tapedev to be defined; others will use
    # their own tape device selection mechanism.  Some use a separate tape
    # changer device (changerdev), others will simply ignore this
    # parameter.  Some rely on a configuration file (changerfile) to
    # obtain more information about tape devices, number of slots, etc;
    # others just need to store some data in files, whose names will start
    # with changerfile.
    # At most one changerfile entry must be defined; select the most
    # appropriate one for your configuration.  If you select man-changer,
    # keep the first one; if you decide not to use a tape changer, you may
    # comment them all out.
    runtapes 1                      # number of tapes to be used in a single run of amdump
    ##tpchanger "chg-manual"                # the tape-changer glue script
    ##tapedev ""    # the no-rewind tape device to be used
    rawtapedev "/dev/null"  # the raw device to be used (ftape only)
    #changerfile "/usr/local/etc/amanda/DailySet1/changer"
    #changerfile "/usr/local/etc/amanda/DailySet1/changer-status"
    ##changerfile "/usr/local/etc/amanda/DailySet1/changer.conf"
    changerdev "/dev/null"
    # If you want Amanda to automatically label any non-Amanda tapes it
    # encounters, uncomment the line below. Note that this will ERASE any
    # non-Amanda tapes you may have, and may also ERASE any near-failing tapes.
    # Use with caution.
    ## label_new_tapes "DailySet1-%%%"
    maxdumpsize -1          # Maximum number of bytes the planner will schedule
                            # for a run (default: runtapes * tape_length).
    ##tapetype HP-DAT               # what kind of tape it is (see tapetypes below)
    labelstr "^DailySet1-[0-9][0-9]*$"      # label constraint regex: all tapes must match
    amrecover_do_fsf yes            # amrecover will call amrestore with the
                                    # -f flag for faster positioning of the tape.
    amrecover_check_label yes       # amrecover will call amrestore with the
                                    # -l flag to check the label.
    amrecover_changer ""    # amrecover will use the changer if you restore
                                    # from this device.
                                    # It could be a string like 'changer' and
                                    # amrecover will use your changer if you
                                    # set your tape with 'settape changer'
    # Specify holding disks.  These are used as a temporary staging area for
    # dumps before they are written to tape and are recommended for most sites.
    # The advantages include: tape drive is more likely to operate in streaming
    # mode (which reduces tape and drive wear, reduces total dump time); multiple
    # dumps can be done in parallel (which can dramatically reduce total dump time.
    # The main disadvantage is that dumps on the holding disk need to be flushed
    # (with amflush) to tape after an operating system crash or a tape failure.
    # If no holding disks are specified then all dumps will be written directly
    # to tape.  If a dump is too big to fit on the holding disk than it will be
    # written directly to tape.  If more than one holding disk is specified then
    # they will all be used based on activity and available space.
    holdingdisk hd1 {
        comment "main holding disk"
        directory "/dumps/amanda"   # where the holding disk is
        use -100 Mb                 # how much space can we use on it
                                    # a non-positive value means:
                                    # use all space but that value
        chunksize 1Gb       # size of chunk if you want big dump to be
                            # dumped on multiple files on holding disks
                            #  N Kb/Mb/Gb split images in chunks of size N
                            #             The maximum value should be
                            #             (MAX_FILE_SIZE - 1Mb)
                            #  0          same as INT_MAX bytes
    #holdingdisk hd2 {
    #    directory "/dumps2/amanda"
    #    use 1000 Mb
    #holdingdisk hd3 {
    #    directory "/mnt/disk4"
    #    use 1000 Mb
    # If amanda cannot find a tape on which to store backups, it will run
    # as many backups as it can to the holding disks.  In order to save
    # space for unattended backups, by default, amanda will only perform
    # incremental backups in this case, i.e., it will reserve 100% of the
    # holding disk space for the so-called degraded mode backups.
    # However, if you specify a different value for the `reserve'
    # parameter, amanda will not degrade backups if they will fit in the
    # non-reserved portion of the holding disk.
    # reserve 30 # percent
    # This means save at least 30% of the holding disk space for degraded
    # mode backups.
    autoflush no #
    # if autoflush is set to yes, then amdump will schedule all dump on
    # holding disks to be flush to tape during the run.
    # The format for a ColumnSpec is a ',' seperated list of triples.
    # Each triple consists of
    #   + the name of the column (as in ColumnNameStrings)
    #   + prefix before the column
    #   + the width of the column, if set to -1 it will be recalculated
    #     to the maximum length of a line to print.
    # Example:
    #       "Disk=1:17,HostName=1:10,OutKB=1:7"
    # or
    #       "Disk=1:-1,HostName=1:10,OutKB=1:7"
    # You need only specify those colums that should be changed from
    # the default. If nothing is specified in the configfile, the
    # above compiled in values will be in effect, resulting in an
    # output as it was all the time.
    # The names of the colums are:
    # HostName, Disk, Level, OrigKB, OutKB, Compress, DumpTime, DumpRate,
    # TapeTime and TapeRate.
    #                                                       ElB, 1999-02-24.
    # columnspec "Disk=1:18,HostName=0:10,OutKB=1:7"
    # Amanda needs a few Mb of diskspace for the log and debug files,
    # as well as a database.  This stuff can grow large, so the conf directory
    # isn't usually appropriate.  Some sites use /usr/local/var and some /usr/adm.
    # Create an amanda directory under there.  You need a separate infofile and
    # logdir for each configuration, so create subdirectories for each conf and
    # put the files there.  Specify the locations below.
    # Note that, although the keyword below is infofile, it is only so for
    # historic reasons, since now it is supposed to be a directory (unless
    # you have selected some database format other than the `text' default)
    infofile "/opt/local/etc/amanda/daily/curinfo"  # database DIRECTORY
    logdir   "/opt/local/etc/amanda/daily"          # log directory
    indexdir "/opt/local/etc/amanda/daily/index"            # index directory
    #tapelist "/usr/local/etc/amanda/DailySet1/tapelist"    # list of used tapes
    # tapelist is stored, by default, in the directory that contains amanda.conf
    # tapetypes
    # Define the type of tape you use here, and use it in "tapetype"
    # above.  Some typical types of tapes are included here.  The tapetype
    # tells amanda how many MB will fit on the tape, how big the filemarks
    # are, and how fast the tape device is.
    # A filemark is the amount of wasted space every time a tape section
    # ends.  If you run `make tapetype' in tape-src, you'll get a program
    # that generates tapetype entries, but it is slow as hell, use it only
    # if you really must and, if you do, make sure you post the data to
    # the amanda mailing list, so that others can use what you found out
    # by searching the archives.
    # For completeness Amanda should calculate the inter-record gaps too,
    # but it doesn't.  For EXABYTE and DAT tapes this is ok.  Anyone using
    # 9 tracks for amanda and need IRG calculations?  Drop me a note if
    # so.
    # If you want amanda to print postscript paper tape labels
    # add a line after the comment in the tapetype of the form
    #    lbl-templ "/path/to/postscript/template/label.ps"
    # if you want the label to go to a printer other than the default
    # for your system, you can also add a line above for a different
    # printer. (i usually add that line after the dumpuser specification)
    # dumpuser "operator"     # the user to run dumps under
    # printer "mypostscript"  # printer to print paper label on
    # here is an example of my definition for an EXB-8500
    # define tapetype EXB-8500 {
    #     lbl-templ "/usr/local/etc/amanda/config/lbl.exabyte.ps"
    define tapetype QIC-60 {
        comment "Archive Viper"
        length 60 mbytes
        filemark 100 kbytes         # don't know a better value
        speed 100 kbytes            # dito
    define tapetype DEC-DLT2000 {
        comment "DEC Differential Digital Linear Tape 2000"
        length 15000 mbytes
        filemark 8 kbytes
        speed 1250 kbytes
    # [email protected]
    # in amanda-users (Thu Dec 26 01:55:38 MEZ 1996)
    define tapetype DLT {
        comment "DLT tape drives"
        length 20000 mbytes         # 20 Gig tapes
        filemark 2000 kbytes        # I don't know what this means
        speed 1536 kbytes           # 1.5 Mb/s
    define tapetype SURESTORE-1200E {
        comment "HP AutoLoader"
        length 3900 mbytes
        filemark 100 kbytes
        speed 500 kbytes
    define tapetype EXB-8500 {
        comment "Exabyte EXB-8500 drive on decent machine"
        length 4200 mbytes
        filemark 48 kbytes
        speed 474 kbytes
    define tapetype EXB-8200 {
        comment "Exabyte EXB-8200 drive on decent machine"
        length 2200 mbytes
        filemark 2130 kbytes
        speed 240 kbytes
    define tapetype HP-DAT {
        comment "DAT tape drives"
        # data provided by Rob Browning <[email protected]>
        length 1930 mbytes
        filemark 111 kbytes
        speed 468 kbytes
    define tapetype DAT {
        comment "DAT tape drives"
        length 1000 mbytes          # these numbers are not accurate
        filemark 100 kbytes         # but you get the idea
        speed 100 kbytes
    define tapetype MIMSY-MEGATAPE {
        comment "Megatape (Exabyte based) drive through Emulex on Vax 8600"
        length 2200 mbytes
        filemark 2130 kbytes
        speed 170 kbytes            # limited by the Emulex bus interface, ugh
    # dumptypes
    # These are referred to by the disklist file.  The dumptype specifies
    # certain parameters for dumping including:
    #   auth        - authentication scheme to use between server and client.
    #                 Valid values are "bsd", "krb4", "krb5" and "ssh".
    #                 Default: [auth bsd]
    #   comment     - just a comment string
    #   comprate    - set default compression rate.  Should be followed by one or
    #                 two numbers, optionally separated by a comma.  The 1st is
    #                 the full compression rate; the 2nd is the incremental rate.
    #                 If the second is omitted, it is assumed equal to the first.
    #                 The numbers represent the amount of the original file the
    #                 compressed file is expected to take up.
    #                 Default: [comprate 0.50, 0.50]
    #   compress    - specify compression of the backed up data.  Valid values are:
    #                 "none"        - don't compress the dump output.
    #                 "client best" - compress on the client using the best (and
    #                                 probably slowest) algorithm.
    #                 "client fast" - compress on the client using fast algorithm.
    #                 "client custom" - compress using your custom client compression program.
    #                                   use client_custom_compress "PROG" to specify
    #                                   the custom compression program.
    #                                   PROG must not contain white space.
    #                 "server best" - compress on the tape host using the best (and
    #                                 probably slowest) algorithm.
    #                 "server fast" - compress on the tape host using a fast
    #                                 algorithm.  This may be useful when a fast
    #                                 tape host is backing up slow clients.
    #                 "server custom" - compress using your server custom compression program.
    #                                   use server_custom_compress "PROG" to specify
    #                                   the custom compression program.
    #                                   PROG must not contain white space.
    #                 Default: [compress client fast]
    #   dumpcycle   - set the number of days in the dump cycle, ie, set how often a
    #                 full dump should be performed.  Default: from DUMPCYCLE above
    #   estimate      Determine the way AMANDA does it's estimate.
    #                 "client"      - Use the same program as the dumping program,
    #                               this is the most accurate way to do estimates,
    #                               but it can take a long time.
    #                 "calcsize"    - Use a faster program to do estimates, but the
    #                               result is less accurate.
    #                 "server"      - Use only statistics from the previous run to
    #                               give an estimate,
    #                               it takes only a few seconds but the result is not
    #                               accurate if your disk usage changes from day to day.
    #                 Default: [client]
    #   encrypt  - specify encryption of the backed up data. Valid values are:
    #                 "none"   - don't encrypt the dump output.
    #                 "client" - encrypt on the client using the program specified by
    #                            client_encrypt "PROG".
    #                            Use client_decrypt_option to specify the decrypt-
    #                            parameter, default is "-d".
    #                            PROG and decrypt-parameter must not contain white space.
    #                 "server" - encrypt on the server using the program specified by
    #                            server_encrypt "PROG".
    #                            Use server_decrypt_option to specify the decrypt-
    #                            parameter, default is "-d".
    #                            PROG and decrypt-parameter must not contain white space.
    #                 Default: [none]
    #   exclude     - specify files and directories to be excluded from the dump.
    #                 Useful with gnutar only; silently ignored by dump and samba.
    #                 Valid values are:
    #                 "pattern"       - a shell glob pattern defining which files
    #                                   to exclude.
    #                                   gnutar gets --exclude="pattern"
    #                 list "filename" - a file (on the client!) containing patterns
    #                                   re's (1 per line) defining which files to
    #                                   exclude.
    #                                   gnutar gets --exclude-from="filename"
    #                 Note that the `full pathname' of a file within its
    #                 filesystem starts with `./', because of the way amanda runs
    #                 gnutar: `tar -C $mountpoint -cf - --lots-of-options .' (note
    #                 the final dot!)  Thus, if you're backing up `/usr' with a
    #                 diskfile entry like ``host /usr gnutar-root', but you don't
    #                 want to backup /usr/tmp, your exclude list should contain
    #                 the pattern `./tmp', as this is relative to the `/usr' above.
    #                 Please refer to the man-page of gnutar for more information.
    #                 If a relative pathname is specified as the exclude list,
    #                 it is searched from within the directory that is
    #                 going to be backed up.
    #                 Default: include all files
    #   holdingdisk - should the holding disk be used for this dump.  Useful for
    #                 dumping the holding disk itself.  Default: [holdingdisk auto]
    #                 "never"    - Never use the holding disk.
    #                 "auto"     - Use the holding disk if possible.
    #                 "required" - Always use the holding disk.
    #   ignore      - do not back this filesystem up.  Useful for sharing a single
    #                 disklist in several configurations.
    #   index       - keep an index of the files backed up.  Default: [index no]
    #   kencrypt    - encrypt the data stream between the client and server.
    #                 Default: [kencrypt no]
    #   maxdumps    - max number of concurrent dumps to run on the client.
    #                 Default: [maxdumps 1]
    #   maxpromoteday - max number of day for a promotion, set it 0 if you don't
    #                 want promotion, set it to 1 or 2 if your disk get
    #                 overpromoted.
    #                 Default: [10000]
    #   priority    - priority level of the dump.  Valid levels are "low", "medium"
    #                 or "high".  These are really only used when Amanda has no
    #                 tape to write to because of some error.  In that "degraded
    #                 mode", as many incrementals as will fit on the holding disk
    #                 are done, higher priority first, to insure the important
    #                 disks are at least dumped.  Default: [priority medium]
    #   program     - specify the dump system to use.  Valid values are "DUMP",
    #                 or "GNUTAR".  Default: [program "DUMP"].
    #   record      - record the backup in the time-stamp-database of the backup
    #                 program (e.g. /etc/dumpdates for DUMP or
    #                 /usr/local/var/amanda/gnutar-lists for GNUTAR.).
    #                 Default: [record yes]
    #   skip-full   - skip the disk when a level 0 is due, to allow full backups
    #                 outside Amanda, eg when the machine is in single-user mode.
    #   skip-incr   - skip the disk when the level 0 is NOT due.  This is used in
    #                 archive configurations, where only full dumps are done and
    #                 the tapes saved.
    #   starttime   - delay the start of the dump?  Default: no delay
    #   strategy    - set the dump strategy.  Valid strategies are currently:
    #                 "standard" - the standard one.
    #                 "nofull"   - do level 1 dumps every time.  This can be used,
    #                              for example, for small root filesystems that
    #                              only change slightly relative to a site-wide
    #                              prototype.  Amanda then backs up just the
    #                              changes.
    #                 "noinc"    - do level 0 dumps every time.
    #                 "skip"     - skip all dumps.  Useful for sharing a single
    #                              disklist in several configurations.
    #                 "incronly" - do only incremental dumps. This is similar
    #                              to strategy 'nofull', but will increase
    #                              the dump level as usual. Full dumps will
    #                              only be performed when an 'amadmin force'
    #                              has been issued
    #                 Default: [strategy standard]
    # tape_splitsize - (optional) split dump file into pieces of a specified size.
    #                 This allows dumps to be spread across multiple tapes, and can
    #                 potentially make more efficient use of tape space.  Note that
    #                 if this value is too large (more than half the size of the
    #                 average dump being split), substantial tape space can be
    #                 wasted.  If too small, large dumps will be split into
    #                 innumerable tiny dumpfiles, adding to restoration complexity.
    #                 A good rule of thumb, usually, is 1/10 of the size of your
    #                 tape.  Default: [disabled]
    # split_diskbuffer - (optional) When dumping a split dump  in  PORT-WRITE
    #                 mode (usually meaning "no holding disk"), buffer the split
    #                 chunks to a file in the directory specified by this option.
    #                 Default: [none]
    # fallback_splitsize - (optional) When dumping a split dump  in  PORT-WRITE
    #                 mode, if no split_diskbuffer is specified (or if we somehow
    #                 fail to use our split_diskbuffer), we must buffer split
    #                 chunks in memory.  This specifies the maximum size split
    #                 chunks can be in this scenario, and thus the maximum amount
    #                 of memory consumed for in-memory splitting.  Default: [10m]
    # Note that you may specify previously defined dumptypes as a shorthand way of
    # defining parameters.
    define dumptype global {
        comment "Global definitions"
        # This is quite useful for setting global parameters, so you don't have
        # to type them everywhere.  All dumptype definitions in this sample file
        # do include these definitions, either directly or indirectly.
        # There's nothing special about the name `global'; if you create any
        # dumptype that does not contain the word `global' or the name of any
        # other dumptype that contains it, these definitions won't apply.
        # Note that these definitions may be overridden in other
        # dumptypes, if the redefinitions appear *after* the `global'
        # dumptype name.
        # You may want to use this for globally enabling or disabling
        # indexing, recording, etc.  Some examples:
        # index yes
        # record no
        # split_diskbuffer "/raid/amanda"
        # fallback_splitsize 64m
    define dumptype always-full {
        global
        comment "Full dump of this filesystem always"
        compress none
        priority high
        dumpcycle 0
    # Dumptypes for gnutar
    define dumptype root-tar {
        global
        program "GNUTAR"
        comment "                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          

    Auntbeee4 wrote:
    I just bought the LG ALLY and would love to have the Accuweather widget on the phone. My problem is while my phone shows the correct time, (I am on Eastern here, but about 15 miles away in Illinois they are on Central) the Accuweather Widget is off by an hour showing Central time. I tried to sync it, but I can't find it in my list of sync-able programs. If someone can help it would be greatly appreciated. It's frustrating both me and a co-worker with the same phone/problem.
    Thank you!
    Amanda
    I have the same issue, Amanda. The weather widget that comes with the Ally was poorly written. The time issue is bad enough, but it takes up more screen space than is visible. Try it, if you touch and hold on the space below the widget, it will select it. This also means you can't add widgets or icons directly below it, resulting in a great deal of wasted space. 

  • Preview problems with Adobe pdfs

    Hi all
    I hope this is in the right place ... I've checked through the forums, but couldn't find a problem like this anywhere.
    I have just upgraded from a PowerMac G4 dual to a PowerMac G5 dual-core, both running the latest version of Tiger and have managed to migrate across most things. However, there is one problem I'm having which is a bit frustrating.
    I use the Adobe CS2 for most of my work, but since changing machines, the Export/Save As PDF features aren't working properly. If I Export any document to pdf from InDesign, it will then not open in Preview, giving a particularly vague error: "File Error. Couldn't open the file." If I then open it up in Reader or Acrobat Pro it works, but when closing it afterwards, it asks me to Save the file (though to my knowledge I haven't made any changes). The file will then open in Preview.
    A similar thing happens in Illustrator, but with a twist ... a file Saved as pdf will open straight away in Preview, but once closed won't then open again, until I go through the same process with Acrobat. Having the tested the files on other Macs, the problem is with the files, as they don't open on any machine, nor on a PC (before realising the problem, I sent a pdf to a client).
    Does anyone have any ideas why this is happening? Any help will be much appreciated. Thanks in advance <d>

    Hi Vipir
    Thanks for the quick reply!
    When making the pdfs, I didn't use any of the standards (to maximise compatibility), but I tried every available version of Acrobat (from 4 to 7) and all produced the same result. When I started, I had them Optimised, but after reading a few things online, I tried without Optimising, and then without Tagging them, but still without success.
    The end result seems to be a pdf which will only open on Reader or Acrobat Pro, after being fixed by them in some way. If not opened in either of them, then they don't seem to be able to be opened by anyone (regardless of platform or program).
    Maybe I've been lucky in the past, but I've never experienced any problems with pdfs before, and I just got used to pdfs being fairly 'bullet-proof!'
    Thanks for your help <d>

  • CSS One Arm Configuration with VIP(non-shared)/IP Interface Redundancy

    With Reference to the following CCO documentation;
    1). "How to Configure the CSS to Load Balance Using 1 Interface"
    In this example, the Real Server's (10.10.10.2 etc) gateway are pointed to the router's gateway(10.10.10.1) and used the 'add destination service' command to NAT the RealServer's IP address back to the VIP (10.10.10.6).
    2). "Understanding and Configuring VIP and Interface Redundancy on the CSS11000".
    In the interface redundancy configuration, the gateway of the Real Server are configured as the CSS11000's Interface Redundancy Address (192.168.1.1), not the Router's gateway.
    Can anyone help to advise on the preferred one arm configuration with VIP/IP redundancy?
    (i). Is the reason for configuring the gateway of the Real Server to CSS11000's Interface Redundancy Address in 2) same as using 'add destination service' command in 1)? That is to make sure that the return path from Real Server back to Client passes through the CSS and is NAT back to the VIP.
    (ii). To configure VIP(non-shared)/IP Interface redundancy(Active/Backup Mode) in a one arm configuration, my understanding is that there are 2 methods of configuration. Is it correct? Which method is preferred?
    Method a)
    1.Configure the Real Server's gateway to Router's Gateway
    2.Configure 'add destination service' command on the CSS to NAT the RealServer's IP address back to the VIP
    3.Configure VIP(non-shared) redundancy for the VIP on the CSS
    4.IP Interface Redundancy on the CSS is not required as the Real Server's gateway is already pointing to the Router's gateway. (Assuming that HSRP redundancy is already running on the Router)
    Method b)
    1. Configure the Real Server's gateway to the CSS's IP Interface Redundancy IP Address
    2. Configure IP Interface Redundancy on the CSS (as the Real Server's gateway)
    3. Configure VIP(non-shared) redundancy for the VIP on the CSS

    if you use method a) (server gateway is the router) you need the CSS to nat
    the source ip address of the client in order to force the server to send traffic back to the CSS.
    The issue then is that the server does not see the IP address of real client.
    The server only see connections with source IP address = CSS ip address.
    With method b) you don't have the above problem, but connection initiated by the servers are sent to the CSS that will then send it to the router.
    You have a performance issue because the traffic will cross 2 times the one-armed interface.
    If this is a new design, it is strongly recommended not to use one-armed setup.
    Regards,
    Gilles.

  • I have 64 bit windows 7 and CS4 Production Premium. I have a problem with Premiere Pro CS4, it keeps

    I have 64 bit windows 7 and CS4 Production Premium. I have a problem with Premiere Pro CS4, it keeps freezing and Crashing. A simple thing like leaving the project idle for about 15 minutes, you come back and find that it has frozen. Also if you drag out a clip on the timeline you will find that the whole application freezes. Any possible solutions would be much appreciated.

    Could be several factors at play here. This ARTICLE might give you some tips on getting your computer ready for an editing session. Note that there are some added tips on Win7, thanks to Black Viper, near the end.
    If nothing is helping, then the tips in this ARTICLE might help you find some clues amongst the breadcrumbs left behind with a hang, or crash.
    The link in this ARTICLE will give you some general troubleshooting tips.
    If nothing improves, then please post back with more details. This ARTICLE will give you tips on what would be helpful.
    Good luck,
    Hunt

  • A problem with threads

    I am trying to implement some kind of a server listening for requests. The listener part of the app, is a daemon thread that listens for connections and instantiates a handling daemon thread once it gets some. However, my problem is that i must be able to kill the listening thread at the user's will (say via a sto button). I have done this via the Sun's proposed way, by testing a boolean flag in the loop, which is set to false when i wish to kill the thread. The problem with this thing is the following...
    Once the thread starts excecuting, it will test the flag, find it true and enter the loop. At some point it will LOCK on the server socket waiting for connection. Unless some client actually connects, it will keep on listening indefinatelly whithought ever bothering to check for the flag again (no matter how many times you set the damn thing to false).
    My question is this: Is there any real, non-theoretical, applied way to stop thread in java safely?
    Thank you in advance,
    Lefty

    This was one solution from the socket programming forum, have you tried this??
    public Thread MyThread extends Thread{
         boolean active = true;          
         public void run(){
              ss.setSoTimeout(90);               
              while (active){                   
                   try{                       
                        serverSocket = ss.accept();
                   catch (SocketTimeoutException ste){
                   // do nothing                   
         // interrupt thread           
         public void deactivate(){               
              active = false;
              // you gotta sleep for a time longer than the               
              // accept() timeout to make sure that timeout is finished.               
              try{
                   sleep(91);               
              }catch (InterruptedException ie){            
              interrupt();
    }

  • Problem with Threads and a static variable

    I have a problem with the code below. I am yet to make sure that I understand the problem. Correct me if I am wrong please.
    Code functionality:
    A timer calls SetState every second. It sets the state and sets boolean variable "changed" to true. Then notifies a main process thread to check if the state changed to send a message.
    The problem as far I understand is:
    Assume the timer Thread calls SetState twice before the main process Thread runs. As a result, "changed" is set to true twice. However, since the main process is blocked twice during the two calls to SetState, when it runs it would have the two SetState timer threads blocked on its synchronized body. It will pass the first one, send the message and set "changed" to false since it was true. Now, it will pass the second thread, but here is the problem, "changed" is already set to false. As a result, it won't send the message even though it is supposed to.
    Would you please let me know if my understanding is correct? If so, what would you propose to resolve the problem? Should I call wait some other or should I notify in a different way?
    Thanks,
    B.D.
    Code:
    private static volatile boolean bChanged = false;
    private static Thread objMainProcess;
       protected static void Init(){
            objMainProcess = new Thread() {
                public void run() {
                    while( objMainProcess == Thread.currentThread() ) {
                       GetState();
            objMainProcess.setDaemon( true );
            objMainProcess.start();
        public static void initStatusTimer(){
            if(objTimer == null)
                 objTimer = new javax.swing.Timer( 1000, new java.awt.event.ActionListener(){
                    public void actionPerformed( java.awt.event.ActionEvent evt){
                              SetState();
        private static void SetState(){
            if( objMainProcess == null ) return;
            synchronized( objMainProcess ) {
                bChanged = true;
                try{
                    objMainProcess.notify();
                }catch( IllegalMonitorStateException e ) {}
        private static boolean GetState() {
            if( objMainProcess == null ) return false;
            synchronized( objMainProcess ) {
                if( bChanged) {
                    SendMessage();
                    bChanged = false;
                    return true;
                try {
                    objMainProcess.wait();
                }catch( InterruptedException e ) {}
                return false;
        }

    Thanks DrClap for your reply. Everything you said is right. It is not easy to make them alternate since SetState() could be called from different places where the state could be anything else but a status message. Like a GREETING message for example. It is a handshaking message but not a status message.
    Again as you said, There is a reason I can't call sendMessage() inside setState().
    The only way I was able to do it is by having a counter of the number of notifies that have been called. Every time notify() is called a counter is incremented. Now instead of just checking if "changed" flag is true, I also check if notify counter is greater than zero. If both true, I send the message. If "changed" flag is false, I check again if the notify counter is greater than zero, I send the message. This way it works, but it is kind of a patch than a good design fix. I am yet to find a good solution.
    Thanks,
    B.D.

  • Problem with threads running javaw

    Hi,
    Having a problem with multi thread programming using client server sockets. The program works find when starting the the application in a console using java muti.java , but when using javaw multi.java the program doesnt die and have to kill it in the task manager. The program doesnt display any of my gui error messages either when the server disconnect the client. all works find in a console. any advice on this as I havent been able to understand why this is happening? any comment would be appreciated.
    troy.

    troy,
    Try and post a minimum code sample of your app which
    does not work.
    When using javaw, make sure you redirect the standard
    error and standard output streams to file.
    Graeme.Hi Graeme,
    I dont understand what you mean by redirection to file? some of my code below.
    The code works fine under a console, code is supposed to exit when the client (the other server )disconnects. the problem is that but the clientworker side of the code still works. which under console it doesnt.
    public class Server{
    ServerSocket aServerSocket;
    Socket dianosticsSocket;
    Socket nPortExpress;
    ClientListener aClientListener;
    LinkedList queue = new LinkedList();
    int port = 0;
    int clientPort = 0;
    String clientName = null;
    boolean serverAlive = true;
    * Server constructor generates a server
    * Socket and then starts a client threads.
    * @param aPort      socket port of local machine.
    public Server(int aPort, String aClientName, int aClientPort){
    port = aPort;
    clientName = aClientName;
    clientPort = aClientPort;
    try{
    // create a new thread
    aServerSocket = new ServerSocket(port) ;
    // connect to the nPortExpress
    aClientListener = new ClientListener(InetAddress.getByName(clientName), clientPort, queue,this);
    // aClientListener.setDaemon(true);
    aClientListener.start();
    // start a dianostic port
    DiagnosticsServer aDiagnosticsServer = new DiagnosticsServer(port,queue,aClientListener);
    // System.out.println("Server is running on port " + port + "...");
    // System.out.println("Connect to nPort");
    catch(Exception e)
    // System.out.println("ERROR: Server port " + port + " not available");
    JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Server port " + port + " not available", JOptionPane.ERROR_MESSAGE);
    serverAlive = false;
    System.exit(1);
    while(serverAlive&&aClientListener.hostSocket.isConnected()){
    try{
    // connect the client
    Socket aClient = aServerSocket.accept();
    //System.out.println("open client connection");
    //System.out.println("client local: "+ aClient.getLocalAddress().toString());
    // System.out.println("client localport: "+ aClient.getLocalPort());
    // System.out.println("client : "+ aClient.getInetAddress().toString());
    // System.out.println("client port: "+ aClient.getLocalPort());
    // make a new client thread
    ClientWorker clientThread = new ClientWorker(aClient, queue, aClientListener, false);
    // start thread
    clientThread.start();
    catch(Exception e)
    //System.out.println("ERROR: Client connection failure");
    JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Client connection failure", JOptionPane.ERROR_MESSAGE);
    }// end while
    } // end constructor Server
    void serverExit(){
         JOptionPane.showMessageDialog(null, "Server ","ERROR: nPort Failure", JOptionPane.ERROR_MESSAGE);
         System.exit(1);
    }// end class Server
    *** connect to another server
    public class ClientListener extends Thread{
    InetAddress hostName;
    int hostPort;
    Socket hostSocket;
    BufferedReader in;
    PrintWriter out;
    boolean loggedIn;
    LinkedList queue;      // reference to Server queue
    Server serverRef; // reference to main server
    * ClientListener connects to the host server.
    * @param aHostName is the name of the host eg server name or IP address.
    * @param aHostPort is a port number of the host.
    * @param aLoginName is the users login name.
    public ClientListener(InetAddress aHostName, int aHostPort,LinkedList aQueue,Server aServer)      // reference to Server queue)
    hostName = aHostName;
    hostPort = aHostPort;
    queue = aQueue;
    serverRef = aServer;      
    // connect to the server
    try{
    hostSocket = new Socket(hostName, hostPort);
    catch(IOException e){
    //System.out.println("ERROR: Connection Host Failed");
    JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Connection to nPort Failed", JOptionPane.ERROR_MESSAGE);     
    System.exit(0);
    } // end constructor ClientListener
    ** multi client connection server
    ClientWorker(Socket aSocket,LinkedList aQueue, ClientListener aClientListener, boolean diagnostics){
    queue = aQueue;
    addToQueue(this);
    client = aSocket;
    clientRef = aClientListener;
    aDiagnostic = diagnostics;
    } // end constructor ClientWorker
    * run method is the main loop of the server program
    * in change of handle new client connection as well
    * as handle all messages and errors.
    public void run(){
    boolean alive = true;
    String aSubString = "";
    in = null;
    out = null;
    loginName = "";
    loggedIn = false;
    while (alive && client.isConnected()&& clientRef.hostSocket.isConnected()){
    try{
    in = new BufferedReader(new InputStreamReader(client.getInputStream()));
    out = new PrintWriter(new OutputStreamWriter(client.getOutputStream()));
    if(aDiagnostic){
    out.println("WELCOME to diagnostics");
    broadCastDia("Connect : diagnostics "+client.getInetAddress().toString());
    out.flush();
    else {       
    out.println("WELCOME to Troy's Server");
    broadCastDia("Connect : client "+client.getInetAddress().toString());
         out.flush();
    String line;
    while(((line = in.readLine())!= null)){
    StringTokenizer aStringToken = new StringTokenizer(line, " ");
    if(!aDiagnostic){
    broadCastDia(line);
    clientRef.sendMessage(line); // send mesage out to netExpress
    out.println(line);
    out.flush();
    else{
    if(line.equals("GETIPS"))
    getIPs();
    else{
    clientRef.sendMessage(line); // send mesage out to netExpress
    out.println(line);
    out.flush();
    } // end while
    catch(Exception e){
    // System.out.println("ERROR:Client Connection reset");
                             JOptionPane.showMessageDialog(null, (e.toString()),"ERROR:Client Connection reset", JOptionPane.ERROR_MESSAGE);     
    try{
    if(aDiagnostic){
    broadCastDia("Disconnect : diagnostics "+client.getInetAddress().toString());
    out.flush();
    else {       
    broadCastDia("Disconnect : client "+client.getInetAddress().toString());
         out.flush();
    // close the buffers and connection;
    in.close();
    out.close();
    client.close();
    // System.out.println("out");
    // remove from list
    removeThreadQueue(this);
    alive = false;
    catch(Exception e){
    // System.out.println("ERROR: Client Connection reset failure");
    JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Client Connection reset failure", JOptionPane.ERROR_MESSAGE);     
    }// end while
    } // end method run
    * method run - Generates io stream for communicating with the server and
    * starts the client gui. Run also parses the input commands from the server.
    public void run(){
    boolean alive = true;
    try{
    // begin to life the gui
    // aGuiClient = new ClientGui(hostName.getHostName(), hostPort, loginName, this);
    // aGuiClient.show();
    in = new BufferedReader(new InputStreamReader(hostSocket.getInputStream()));
    out = new PrintWriter(new OutputStreamWriter(hostSocket.getOutputStream()));
    while (alive && hostSocket.isConnected()){
    String line;
    while(((line = in.readLine())!= null)){
    System.out.println(line);
    broadCast(line);
    } // end while
    } // end while
    catch(Exception e){
    //     System.out.println("ERRORa Connection to host reset");
    JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Connection to nPort reset", JOptionPane.ERROR_MESSAGE);
    try{
    hostSocket.close();
         }catch(Exception a){
         JOptionPane.showMessageDialog(null, (a.toString()),"ERROR: Exception", JOptionPane.ERROR_MESSAGE);
    alive = false;
    System.exit(1);
    } // end method run

  • Problem with threads and camera.

    Hi everybody!
    I've a problem with taking snapshot.
    I would like to display a loading screen after it take snapshot ( sometimes i
    have to wait few seconds after i took snapshot. Propably photo is being taken in time where i have to wait).
    I was trying to use threads but i didn't succeed.
    I made this code:
    display.setCurrent(perform);               
            new Thread(new Runnable(){
                public void run() {               
                    while((!performing.isShown()) && (backgroundCamera.isShown())){
                        Thread.yield();
                    notifyAll();
            }).start();
            new Thread(new Runnable(){
                public void run() {
                    try {
                        this.wait();                   
                    } catch(Exception e) {
                        exceptionHandler(e);
                    photo = camera.snapshot();                               
                    display.setCurrent(displayPhoto);
            }).start();This code is sometimes showing performing screen but sometimes no.
    I don't know why. In my opinion performing.isShown() method isn't working correctly.
    Does anyone have some idea how to use threads here?

    Hi,
    I've finally managed to work this fine.
    The code:
           Object o = new Object();
           display.setCurrent(perform);               
            new Thread(new Runnable(){
                public void run() {               
                    while(!performing.isShown()){
                        Thread.yield();
                   synchronized(o) {
                      o.notify();
            }).start();
            new Thread(new Runnable(){
                public void run() {
                    try {
                        synchronized(o) {
                           o.wait(1);
                    } catch(Exception e) {
                        exceptionHandler(e);
                    photo = camera.snapshot();                               
                    display.setCurrent(displayPhoto);
            }).start();

  • Problem with threads hanging

    We have a problem where our application stops responding after a few days of usage. Things will for fine for a day or two, and then pretty quickly threads will start getting hung up, usually in places where they are allocating memory
    We are running WebLogic 8.1 SP2 on Sun JDK 1.4.2_04 on Solaris 8 using the alternate threading model and the -server hotspot vm. We are running pretty much the same code that we had no problems with under WebLogic 6.1 SP4 and Sun JDK 1.3.1.
    A thread dump usually shows that some or all of our execute threads are in the state "waiting for monitor entry" even though they are not currently waiting on any java locks. Here is a sample thread from the thread dump (we have ~120 threads so I don't want to post the full dump).
    =============================================================================================
    "ExecuteThread: '8' for queue: 'itgCrmWarExecutionQueue'" daemon prio=5 tid=0x005941d0 nid=0x2c waiting for monitor entry [c807f000..c807fc28]
    at java.lang.String.substring(String.java:1446)
    at java.lang.String.substring(String.java:1411)
    at weblogic.servlet.internal.ServletRequestImpl.getRelativeUri(ServletRequestImpl.java:1872)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3492)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    =============================================================================================
    String.java line 1446 for this jdk allocates a new String object, and all the other threads in this state also are creating new objects or arrays, etc.
    We've done a pstack on this process when it's in this state, and the threads that are in the "waiting for monitor entry" that look like they're allocating memory are all waiting on the same lwp_mutex_lock with some allocation method that's calling into the native TwoGenerationCollectorPolicy.mem_allocate_work (see pstack output below for the same thread as in the thread dump above)
    =============================================================================================
    ----------------- lwp# 44 / thread# 44 --------------------
    ff31f364 lwp_mutex_lock (e3d70)
    fee92384 __1cNObjectMonitorGenter26MpnGThread__v_ (5000, 525c, 5000, 50dc, 4800, 4af0) + 2d8
    fee324d4 __1cSObjectSynchronizerKfast_enter6FnGHandle_pnJBasicLock_pnGThread__v_ (c807f65c, c807f7d4, 5941d0, 0, 35d654, fee328ec) + 68
    fee32954 __1cQinstanceRefKlassZacquire_pending_list_lock6FpnJBasicLock__v_ (c807f7d4, ff170000, d4680000, 4491d4, fee1bc2c,
    0) + 78
    fee3167c __1cPVM_GC_OperationNdoit_prologue6M_i_ (c807f7bc, 4400, ff170000, 2d2b8, 4a6268, c807fa18) + 38
    fee2e0b0 __1cIVMThreadHexecute6FpnMVM_Operation__v_ (c807f7bc, 963a8, 0, 0, 1, 0) + 90
    fed2c2a4 __1cbCTwoGenerationCollectorPolicyRmem_allocate_work6MIii_pnIHeapWord__ (962c0, ff1c29ec, ff1c297c, ff131a26, 4800, 4998) + 160
    fed22940 __1cNinstanceKlassRallocate_instance6MpnGThread__pnPinstanceOopDesc__ (ee009020, 5941d0, 15ca581, 3647f0, 4a6268, c807f8c8) + 180
    fed34928 __1cLOptoRuntimeFnew_C6FpnMklassOopDesc_pnKJavaThread__v_ (ee009018, 5941d0, 0, 0, 0, 0) + 28
    fa435a58 ???????? (ee009018, e86de, 15ca4de, 50dc, 5941d0, c807f9c8)
    fb36f9a4 ???????? (0, d412ccd8, ee046c28, ff170000, 0, 0)
    fad8b278 ???????? (ee046c28, d6000c90, ee046530, 8, db8e8450, c807f9e8)
    fad62abc ???????? (d412ccd8, ee046530, d6000c90, ee3bfa38, 8, c807fa18)
    fa4b3c38 ???????? (c807fb9c, 0, f2134700, fa415e50, 8, c807faa8)
    fa40010c ???????? (c807fc28, c807fe90, a, ee9e1e20, 4, c807fb40)
    fed5d48c __1cJJavaCallsLcall_helper6FpnJJavaValue_pnMmethodHandle_pnRJavaCallArguments_pnGThread__v_ (c807fe88, c807fcf0, c807fda8, 5941d0, 5941d0, c807fd00) + 27c
    fee4b784 __1cJJavaCallsMcall_virtual6FpnJJavaValue_nLKlassHandle_nMsymbolHandle_4pnRJavaCallArguments_pnGThread__v_ (ff170000, 594778, c807fd9c, c807fd98, c807fda8, 5941d0) + 164
    fee5e8dc __1cJJavaCallsMcall_virtual6FpnJJavaValue_nGHandle_nLKlassHandle_nMsymbolHandle_5pnGThread__v_ (c807fe88, c807fe84, c807fe7c, c807fe74, c807fe6c, 5941d0) + 6c
    fee6fc74 __1cMthread_entry6FpnKJavaThread_pnGThread__v_ (5941d0, 5941d0, 838588, 594778, 306d10, fee69254) + 128
    fee6927c __1cKJavaThreadDrun6M_v_ (5941d0, 2c, 40, 0, 40, 0) + 284
    fee6575c _start   (5941d0, fa1a1600, 0, 0, 0, 0) + 134
    ff3758c0 lwpstart (0, 0, 0, 0, 0, 0)
    =============================================================================================
    Also when it's having this problem, the "VM Thread" is always using a lot of processor time. We did a couple of pstacks today while it was having this problem, and this thread was stuck in the ONMethodSweeper.sweep for over 15 minutes when we finally killed the server.
    From the thread dump:
    "VM Thread" prio=5 tid=0x000e2d20 nid=0x2 runnable
    From the first pstack:
    =============================================================================================
    ----------------- lwp# 2 / thread# 2 --------------------
    fed40c04 __1cXvirtual_call_RelocationIparse_ic6FrpnICodeBlob_rpC5rppnHoopDesc_pi_nNRelocIterator__ (42a2f4, fa5fa46d, ffffffff, fc4ffcb8, 42a2f4, 42a324) + 124
    fed46318 __1cKCompiledIC2t5B6MpnKRelocation__v_ (42a2f0, fc4ffd24, fc4ffd4c, e802, 0, 6) + 38
    fed90c38 __1cHnmethodVcleanup_inline_caches6M_v_ (fa5f7f88, fa608940, 1, 0, fa400000, 6) + 1ac
    fede18b4 __1cONMethodSweeperFsweep6F_v_ (2cf38, 0, ffffffff, ff1cf1fc, ff1c66e8, fede1d44) + 1b0
    fede1e6c __1cUSafepointSynchronizeFbegin6F_v_ (2cf38, ff1ba138, 5000, 50dc, 5000, 525c) + 248
    feef1fd4 __1cIVMThreadEloop6M_v_ (4400, 4000, 4324, 4000, 42b0, 3800) + 3d4
    feef1ae4 __1cIVMThreadDrun6M_v_ (e2d20, 2, 40, 0, 40, 0) + 8c
    fee6575c _start   (e2d20, ff270200, 0, 0, 0, 0) + 134
    ff3758c0 lwpstart (0, 0, 0, 0, 0, 0)
    =============================================================================================
    Second pstack
    =============================================================================================
    ----------------- lwp# 2 / thread# 2 --------------------
    fed41180 __1cXvirtual_call_RelocationIparse_ic6FrpnICodeBlob_rpC5rppnHoopDesc_pi_nNRelocIterator__ (0, ff1b9664, ffffffff, fc4ffcb8, a6f2cc, fc4ffbd0) + 6a0
    fed46318 __1cKCompiledIC2t5B6MpnKRelocation__v_ (a6f2c8, fc4ffd24, fc4ffd4c, e802, 0, 6) + 38
    fed90c38 __1cHnmethodVcleanup_inline_caches6M_v_ (faded4c8, fadf2c80, 1, 0, fa400000, 6) + 1ac
    fede18b4 __1cONMethodSweeperFsweep6F_v_ (2cf38, 0, ffffffff, ff1cf1fc, ff1c66e8, fede1d44) + 1b0
    fede1e6c __1cUSafepointSynchronizeFbegin6F_v_ (2cf38, ff1ba138, 5000, 50dc, 5000, 525c) + 248
    feef1fd4 __1cIVMThreadEloop6M_v_ (4400, 4000, 4324, 4000, 42b0, 3800) + 3d4
    feef1ae4 __1cIVMThreadDrun6M_v_ (e2d20, 2, 40, 0, 40, 0) + 8c
    fee6575c _start   (e2d20, ff270200, 0, 0, 0, 0) + 134
    ff3758c0 lwpstart (0, 0, 0, 0, 0, 0)
    =============================================================================================
    Has anyone ever seen anything like this? I'm trying to figure out if this is caused by something we're doing, or something relating to our environment and jvm options. Any ideas?

    Thanks for the reply - I'm testing our app with the +UseConcMarkSweepGC now in our test environment to make sure it doesn't cause any problems there.  Unfortunately the only place we've had this problem is on the production server, so it's extra difficult debugging this. 
    We're using the following memory options:
    -ms512m -mx512m -XX:NewSize=128m -XX:PermSize=192m -XX:MaxNewSize=128m -XX:MaxPermSize=192m -XX:SurvivorRatio=8and the following debugging options, as we've also been seeing OutOfMemoryErrors ( see http://forum.java.sun.com/thread.jsp?forum=37&thread=522354&tstart=45&trange=15 )
    -verbosegc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintHeapAtGCBTW, which c++filt version and options are you using? Our Solaris boxes only seem to have the GNU version installed. I was trying to run that on some of the other stack traces and wasn't getting anywhere, and didn't know if because it was GNU version wouldn't work on something compiled with the Sun compiler.
    Thanks!
    --Andy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Problem with threads and ProgressMonitor

    Dear Friends:
    I have a little problem with a thread and a ProgressMonitor. I have a long time process that runs in a thread (the thread is in an separate class). The thread has a ProgressMonitor that works fine and shows the tasks progress.
    But I need deactivate the main class(the main class is the user interface) until the thread ends.
    I use something like this:
    LongTask myTask=new LongTask();
    myTask.start();
    myTask.join();
    Now, the main class waits for the task to end, but the progress monitor don`t works fine: it shows only the dialog but not the progress bar.
    What's wrong?

    Is the dialog a modal dialog? This can block other UI updates.
    In general, you should make sure that it isn't modal, and that your workThread has a fairly low priority so that the UI can do its updating

  • Problem with threads and/or memory

    I'm developing an application where there are 3 threads. One of them sends a request to the other, and if the 2nd can't answer it, it sends it to the 3rd (similar to CPU -> CACHE -> MEMORY). When i run the program with 1000-10.000 requests, no problem occurs. When i run it with 300.000-1.000.000 requests, it sometimes hangs. Is this a problem with the garbage collector, or should it be related to the threads mecanism.
    (note: eache thread is in execution using a finite state machine)

    i had been running the program inside Netbeans.
    Running the jar using the command line outside
    Netbeans i have no more problems... Does Netbeans use
    it's own JVM?Depends how you set it up, but look under the options. There are settings for the compiler and jvm that it uses.

  • Installation problem with NW'04 SR1: database connection failed

    Hi all,
    while installing NW '04 SR1 on Windows Server 2003 SP1 and MS SQL Server 2000 SP4 I ran into an error related to the database connection. While performing the step "Load Java Database content" SAPinst crashes with the message
    com.sap.sql.log.OpenSQLException: Could not load class com.ddtek.jdbc.sqlserver.SQLServerDriver.
    The connection to the SLQ Server with e.g. the Query Analyzer is OK. I had a problem with this installation setup before (have a look at the corresponding <a href="https://forums.sdn.sap.com/thread.jspa?threadID=338638&tstart=0">thread</a> ), the JDBC drivers where missing on the installation master but after copying them in the right direction the installation went on with no problem up to this point...
    Has anybody an idea what could have happened here? Is this maybe a problem connected to the one I recently had
    Below I attached the sapinst.log and jload.log with more detailed messages.
    sapinst.log ###########
    INFO 2007-03-12 22:06:24
    Working directory changed to C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_~1\ONE_HOST.
    INFO 2007-03-12 22:06:24
    Output of D:\Java/bin/java.exe '-classpath' './sharedlib/antlr.jar;./sharedlib/exception.jar;./sharedlib/jddi.jar;./sharedlib/jload.jar;./sharedlib/logging.jar;./sharedlib/offlineconfiguration.jar;./sharedlib/opensqlsta.jar;./sharedlib/tc_sec_secstorefs.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\base.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\util.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\sqlserver.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\spy.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_jce_export.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_jsse.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_smime.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_ssl.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/w3c_http.jar' '-showversion' '-Xmx512m' 'com.sap.inst.jload.Jload' '-sec' 'WPT,jdbc/pool/WPT,D:\usr\sap\WPT\SYS\global/security/data/SecStore.properties,D:\usr\sap\WPT\SYS\global/security/data/SecStore.key' '-dataDir' 'S:/D51030724\J2EE_OSINDEP\J2EE-ENG/JDMP' '-job' 'C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/IMPORT.XML' '-log' 'C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/jload.log' is written to the logfile C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_~1\ONE_HOST/jload.java.log.
    WARNING 2007-03-12 22:06:26
    Execution of the command "D:\Java/bin/java.exe '-classpath' './sharedlib/antlr.jar;./sharedlib/exception.jar;./sharedlib/jddi.jar;./sharedlib/jload.jar;./sharedlib/logging.jar;./sharedlib/offlineconfiguration.jar;./sharedlib/opensqlsta.jar;./sharedlib/tc_sec_secstorefs.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\base.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\util.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\sqlserver.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\spy.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_jce_export.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_jsse.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_smime.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_ssl.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/w3c_http.jar' '-showversion' '-Xmx512m' 'com.sap.inst.jload.Jload' '-sec' 'WPT,jdbc/pool/WPT,D:\usr\sap\WPT\SYS\global/security/data/SecStore.properties,D:\usr\sap\WPT\SYS\global/security/data/SecStore.key' '-dataDir' 'S:/D51030724\J2EE_OSINDEP\J2EE-ENG/JDMP' '-job' 'C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/IMPORT.XML' '-log' 'C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/jload.log'" finished with return code 1. Output:
    java version "1.4.2_13"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_13-b06)
    Java HotSpot(TM) Client VM (build 1.4.2_13-b06, mixed mode)
    12.03.2007 22:06:25 com.sap.inst.jload.Jload main
    INFO: Jload -sec WPT,jdbc/pool/WPT,D:\usr\sap\WPT\SYS\global/security/data/SecStore.properties,D:\usr\sap\WPT\SYS\global/security/data/SecStore.key -dataDir S:/D51030724\J2EE_OSINDEP\J2EE-ENG/JDMP -job C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/IMPORT.XML -log C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/jload.log
    12.03.2007 22:06:26 com.sap.inst.jload.Jload main
    SCHWERWIEGEND: couldn't connect to DB
    com.sap.sql.log.OpenSQLException: Could not load class com.ddtek.jdbc.sqlserver.SQLServerDriver.
    ERROR 2007-03-12 22:06:26
    CJS-20065  Execution of JLoad tool 'D:\Java/bin/java.exe '-classpath' './sharedlib/antlr.jar;./sharedlib/exception.jar;./sharedlib/jddi.jar;./sharedlib/jload.jar;./sharedlib/logging.jar;./sharedlib/offlineconfiguration.jar;./sharedlib/opensqlsta.jar;./sharedlib/tc_sec_secstorefs.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\base.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\util.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\sqlserver.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\spy.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_jce_export.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_jsse.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_smime.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_ssl.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/w3c_http.jar' '-showversion' '-Xmx512m' 'com.sap.inst.jload.Jload' '-sec' 'WPT,jdbc/pool/WPT,D:\usr\sap\WPT\SYS\global/security/data/SecStore.properties,D:\usr\sap\WPT\SYS\global/security/data/SecStore.key' '-dataDir' 'S:/D51030724\J2EE_OSINDEP\J2EE-ENG/JDMP' '-job' 'C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/IMPORT.XML' '-log' 'C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/jload.log'' aborts with returncode 1. Check 'C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/jload.log' and 'C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/jload.java.log' for more information.
    jload.log ###########
    12.03.07 22:06 com.sap.inst.jload.Jload main
    INFO: Jload -sec WPT,jdbc/pool/WPT,D:\usr\sap\WPT\SYS\global/security/data/SecStore.properties,D:\usr\sap\WPT\SYS\global/security/data/SecStore.key -dataDir S:/D51030724\J2EE_OSINDEP\J2EE-ENG/JDMP -job C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/IMPORT.XML -log C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/jload.log
    12.03.07 22:06 com.sap.inst.jload.Jload main
    SEVERE: couldn't connect to DB
    com.sap.sql.log.OpenSQLException: Could not load class com.ddtek.jdbc.sqlserver.SQLServerDriver.
    Best regards,
    Bernd

    Hello Kairat,
    Please follow the below mentioned guide to install it.
    Check all the parameters to set and run pre requisite checker before starting installation.
    Keep in mind that before starting any SAP installation you should always run prerequisite checker.
    https://websmp205.sap-ag.de/instguides --> SAP Netweaver -->SAP Netweaver 7.0 -- > Installations --> EHP2
    Regards,
    Amit Barnawal

  • My app store wont let me download apps, says the card is expired and theres a problem with previous purchase can someone help me pls?

    My app store wont let me download apps, asks me to update my payment details then says theres a problem with previous purchase and card is expired which is untrue someone help me pls

    This is a User to User Forum...
    See Here for
    Mac Apps Store Customer Service
    http://www.apple.com/support/mac/app-store/contact.html?form=account
    iTunes Customer Service Contact
    http://www.apple.com/support/itunes/contact.html

Maybe you are looking for

  • Why Is The Tool So Lame with AVIs

    Hi, I am using CS4 on XP. I imported an avi file from my Casio Elixim camera. I moved or dragged the avi around the time line a little, deciding where I wanted it. 1) The clip won't play through it's entirety. For some reason CS4 won't play the last

  • History works differently in 4.0 - how do I get it to work the proper way?

    In prior firefox history operation, I could click and select many individual links in the history list and then open them all in tabs. Now, in 4.0, it opens one tab as soon as I click on it and will not allow me to select multiples. This would be liv

  • Rich Black Color in AI CS3

    Hi, everyone! I am using AI CS3. I want to apply the rich black color to my name card as below. Please let me know whether it's good to apply a rich black color in this condition. If so, please tell me how to make it as a rich black color for CMYK Pr

  • Last Char on a line

    I have a file that cat -e shows that the last char of each line is M-J. (" Non-ASCII characters (with the high bit set) are printed as `M-' (for meta) followed by the character for the low 7 bits.) Now, I can remove this with sed 's/.$//' but, what i

  • Transfer order printing.

    Hi, To print the Picklist and labels we are using the sap standard Tcode LT31. Here we can print a single document. Is there any other hwere i can print multiple transfer orders or a series of transfer orders at a time