Uncommenting SSABWT

Dear Guru,
How we can un-comment /SSA/BWT.
Please suggest on this.
I tried the following but when tried executing the custom program the selection screen went missing.
Copied Standard program SSA/BWT into a customer name space program, new program named ZBW_SSABWT.
Provided the necessary details like package information, status, and description of the new program.Un-commented it Activated the program.
Thanks, Dhruv

see if this helps http://forums.sdn.sap.com/thread.jspa?threadID=1976320
http://forums.sdn.sap.com/thread.jspa?threadID=2076753

Similar Messages

  • How to uncomment code in Standard SAP Programs

    Hi Experts,
    how to uncomment entire code  of standard SAP programs  which is commented .
    Standard SAP Program is fully commented,i have to uncomment it ,to work it as normal.
    i saw that some lines * / * like  this are there in the commented code .
    what is the way to un comment this ?
    Thanks in advance,
    Regards,
    Hitu

    Well, if it is commented by your company - This doesnt ask for access key but if it is commented by SAP and you want to uncomment, you need access key.
    You can ask basis guys to get access key for the object. you need to provide the program name and other information.
    Other information: - go to the GOTO on application tool bar and select object direct entry.... you need to provide the full object key.
    To uncomment the code - select the lines and right click - uncomment . This can only be done in editable mode.

  • How to comment/uncomment section of XML file with JAXP?

    Hi,
    I need to periodically under some condition, comment or uncomment a section of my XML file. I want to know is there a way that I can do it with JAXP?
    I am using JDK 1.5
    Thanks,

    Hi Sachi,
    >>Now I have to pupulate flat file where 1st row of the file should always be field names.
    Duplicate the target node and map you field names to the first instance and the mapping logic to the next instance
    eg:
    Suppose your target structure is:
    -root
    -->Details
    >FName
    >LName
    Do a Mapping like this:
    -root
    -->Details
    ><FName>FName </FName>
    ><LName>LName </LName>
    -->Details (use mapping logic hereafter)
    ><FName>
    ><LName>
    Regards
    Suraj

  • Dhcpcd needs clientid option in dhcpcd.conf to be uncommented

    Problem: neither dhcpcd nor dhclient allow me to access the internet with default options. With dhcpcd I can only get internet access by uncommenting the "clientid" line in /etc/dhcpcd.conf. This works, but the reason for its necessity remains a mystery to me. I don't know if it is a true solution or just a crude workaround. Using a fixed IP address works. Windows XP/7 dhcp and udhcpc (from tinycore linux) both work without any tinkering. The problem remains with 4 different NICs. So, not a driver or faulty NIC issue. The problem remains on at least 5-6 other distros besides Arch. Every other distro I've tried besides tinycore. So it is not an Arch specific issue either. Specifying a fixed IP address (retrieved from ipconfig /all in windows) always works until the IP address expires.
    My suspicion is that it has something to do with my unusual setup. I don't use a home router. My ISP is Verizon with Fios. I connect directly from my NIC via a cat6 cable to the optical network terminal on the wall. If there is a router involved it would be at Verizon's end. Windows doesn't seem to mind at all, but it seems to break DHCP in linux or at least any distro that doesn't use udhcpc. Presumably both udhcpc and Windows do something differently from dhcpcd and dhclient. I haven't actually plugged in a router to test whether I could leave "clientid" commented out when I have a router to send requests to the DHCP server. If anyone wants me to try that I will.
    When I boot, dhcpcd text doesn't seem to appear until after the login prompt. This produces a slight annoyance (when dhcpcd is working) in that I have to hit enter before I can get another login prompt. This doesn't happen when clientid is commented out and dhcpcd is unable to retrieve an IP. I wonder if this means my setup produces an unexpected delay even when it works causing some parallelism in the boot sequence to not work as expected.
    [Disclaimer: I am still a linux noob. I only recently figured out how to execute proper chmod and chown commands and read file permissions and ownership. So I may not always fully understand what you are asking or explaining if it is advanced.]
    /etc/dhcpcd.conf (with clientid enabled and noipv6rs because ipv6 doesn't seem to work)
    # Inform the DHCP server of our hostname for DDNS.
    hostname
    # To share the DHCP lease across OSX and Windows a ClientID is needed.
    # Enabling this may get a different lease than the kernel DHCP client.
    # Some upstream DHCP servers may also require a ClientID, such as FRITZ!Box.
    clientid
    # A list of options to request from the DHCP server.
    option domain_name_servers, domain_name, domain_search, host_name
    option classless_static_routes
    # Most distributions have NTP support.
    option ntp_servers
    # Respect the network MTU.
    option interface_mtu
    # A ServerID is required by RFC2131.
    #require dhcp_server_identifier
    # A hook script is provided to lookup the hostname if not set by the DHCP
    # server, but it should not be run by default.
    nohook lookup-hostname
    noipv4ll
    noipv6rs
    output of journalctl --since=yesterday /usr/sbin/dhcpcd with and without clientid option in dhcpcd.conf (scroll to bottom to see most recent testing). The second to last section was the result of an explicit (post boot) dhcpcd -d (debug option) with clientid commented out in dhcpcd.conf.
    -- Logs begin at Sun, 2012-12-23 02:15:33 UTC, end at Fri, 2013-01-11 14:09:08 UTC. --
    Jan 10 10:04:48 localhost dhcpcd[265]: version 5.6.3 starting
    Jan 10 10:04:48 localhost dhcpcd[265]: eth0: waiting for carrier
    Jan 10 10:04:50 localhost dhcpcd[265]: eth0: carrier acquired
    Jan 10 10:04:50 localhost dhcpcd[265]: eth0: sending IPv6 Router Solicitation
    Jan 10 10:04:50 localhost dhcpcd[265]: eth0: sendmsg: Cannot assign requested address
    Jan 10 10:04:50 localhost dhcpcd[265]: eth0: broadcasting for a lease
    Jan 10 10:04:50 localhost dhcpcd[265]: eth0: offered 108.49.200.76 from 108.49.200.1
    Jan 10 10:04:50 localhost dhcpcd[265]: eth0: acknowledged 108.49.200.76 from 108.49.200.1
    Jan 10 10:04:50 localhost dhcpcd[265]: eth0: checking for 108.49.200.76
    Jan 10 10:04:50 localhost dhcpcd[315]: version 5.6.3 starting
    Jan 10 10:04:50 localhost dhcpcd[315]: eth0: sending IPv6 Router Solicitation
    Jan 10 10:04:50 localhost dhcpcd[315]: eth0: sendmsg: Cannot assign requested address
    Jan 10 10:04:50 localhost dhcpcd[315]: eth0: broadcasting for a lease
    Jan 10 10:04:50 localhost dhcpcd[315]: eth0: offered 108.49.200.76 from 108.49.200.1
    Jan 10 10:04:51 localhost dhcpcd[315]: eth0: acknowledged 108.49.200.76 from 108.49.200.1
    Jan 10 10:04:51 localhost dhcpcd[315]: eth0: checking for 108.49.200.76
    Jan 10 10:04:54 localhost dhcpcd[265]: eth0: sending IPv6 Router Solicitation
    Jan 10 10:04:54 localhost dhcpcd[315]: eth0: sending IPv6 Router Solicitation
    Jan 10 10:04:55 localhost dhcpcd[265]: eth0: leased 108.49.200.76 for 7200 seconds
    Jan 10 10:04:56 localhost dhcpcd[315]: eth0: leased 108.49.200.76 for 7200 seconds
    Jan 10 10:04:58 localhost dhcpcd[343]: eth0: sending IPv6 Router Solicitation
    Jan 10 10:04:58 localhost dhcpcd[360]: eth0: sending IPv6 Router Solicitation
    Jan 10 10:05:02 localhost dhcpcd[343]: eth0: sending IPv6 Router Solicitation
    Jan 10 10:05:02 localhost dhcpcd[343]: eth0: no IPv6 Routers available
    Jan 10 10:05:02 localhost dhcpcd[360]: eth0: sending IPv6 Router Solicitation
    Jan 10 10:05:02 localhost dhcpcd[360]: eth0: no IPv6 Routers available
    Jan 10 11:04:55 localhost dhcpcd[343]: eth0: renewing lease of 108.49.200.76
    Jan 10 11:04:55 localhost dhcpcd[343]: eth0: acknowledged 108.49.200.76 from 108.49.200.1
    Jan 10 11:04:55 localhost dhcpcd[343]: eth0: leased 108.49.200.76 for 7200 seconds
    Jan 10 11:04:56 localhost dhcpcd[360]: eth0: renewing lease of 108.49.200.76
    Jan 10 11:04:57 localhost dhcpcd[360]: eth0: acknowledged 108.49.200.76 from 108.49.200.1
    Jan 10 11:04:57 localhost dhcpcd[360]: eth0: leased 108.49.200.76 for 7200 seconds
    Jan 10 12:04:55 localhost dhcpcd[343]: eth0: renewing lease of 108.49.200.76
    Jan 10 12:04:55 localhost dhcpcd[343]: eth0: acknowledged 108.49.200.76 from 108.49.200.1
    Jan 10 12:04:55 localhost dhcpcd[343]: eth0: leased 108.49.200.76 for 7200 seconds
    Jan 10 12:04:57 localhost dhcpcd[360]: eth0: renewing lease of 108.49.200.76
    Jan 10 12:04:57 localhost dhcpcd[360]: eth0: acknowledged 108.49.200.76 from 108.49.200.1
    Jan 10 12:04:57 localhost dhcpcd[360]: eth0: leased 108.49.200.76 for 7200 seconds
    Jan 10 13:04:56 localhost dhcpcd[343]: eth0: renewing lease of 108.49.200.76
    Jan 10 13:04:56 localhost dhcpcd[343]: eth0: acknowledged 108.49.200.76 from 108.49.200.1
    Jan 10 13:04:56 localhost dhcpcd[343]: eth0: leased 108.49.200.76 for 7200 seconds
    Jan 10 13:04:57 localhost dhcpcd[360]: eth0: renewing lease of 108.49.200.76
    Jan 10 13:04:57 localhost dhcpcd[360]: eth0: acknowledged 108.49.200.76 from 108.49.200.1
    Jan 10 13:04:57 localhost dhcpcd[360]: eth0: leased 108.49.200.76 for 7200 seconds
    Jan 10 14:04:56 localhost dhcpcd[343]: eth0: renewing lease of 108.49.200.76
    Jan 10 14:04:56 localhost dhcpcd[343]: eth0: acknowledged 108.49.200.76 from 108.49.200.1
    Jan 10 14:04:56 localhost dhcpcd[343]: eth0: leased 108.49.200.76 for 7200 seconds
    Jan 10 14:04:57 localhost dhcpcd[360]: eth0: renewing lease of 108.49.200.76
    Jan 10 14:04:57 localhost dhcpcd[360]: eth0: acknowledged 108.49.200.76 from 108.49.200.1
    Jan 10 14:04:57 localhost dhcpcd[360]: eth0: leased 108.49.200.76 for 7200 seconds
    Jan 10 15:04:56 localhost dhcpcd[343]: eth0: renewing lease of 108.49.200.76
    Jan 10 15:04:57 localhost dhcpcd[343]: eth0: acknowledged 108.49.200.76 from 108.49.200.1
    Jan 10 15:04:57 localhost dhcpcd[343]: eth0: leased 108.49.200.76 for 7200 seconds
    Jan 10 15:04:57 localhost dhcpcd[360]: eth0: renewing lease of 108.49.200.76
    Jan 10 15:04:58 localhost dhcpcd[360]: eth0: acknowledged 108.49.200.76 from 108.49.200.1
    Jan 10 15:04:58 localhost dhcpcd[360]: eth0: leased 108.49.200.76 for 7200 seconds
    Jan 10 16:04:57 localhost dhcpcd[343]: eth0: renewing lease of 108.49.200.76
    Jan 10 16:04:57 localhost dhcpcd[343]: eth0: acknowledged 108.49.200.76 from 108.49.200.1
    Jan 10 16:04:57 localhost dhcpcd[343]: eth0: leased 108.49.200.76 for 7200 seconds
    Jan 10 16:04:58 localhost dhcpcd[360]: eth0: renewing lease of 108.49.200.76
    Jan 10 16:04:58 localhost dhcpcd[360]: eth0: acknowledged 108.49.200.76 from 108.49.200.1
    Jan 10 16:04:58 localhost dhcpcd[360]: eth0: leased 108.49.200.76 for 7200 seconds
    Jan 10 17:04:57 localhost dhcpcd[343]: eth0: renewing lease of 108.49.200.76
    Jan 10 17:04:57 localhost dhcpcd[343]: eth0: acknowledged 108.49.200.76 from 108.49.200.1
    Jan 10 17:04:57 localhost dhcpcd[343]: eth0: leased 108.49.200.76 for 7200 seconds
    Jan 10 17:04:58 localhost dhcpcd[360]: eth0: renewing lease of 108.49.200.76
    Jan 10 17:04:58 localhost dhcpcd[360]: eth0: acknowledged 108.49.200.76 from 108.49.200.1
    Jan 10 17:04:58 localhost dhcpcd[360]: eth0: leased 108.49.200.76 for 7200 seconds
    Jan 10 17:06:39 localhost dhcpcd[2439]: sending signal 1 to pid 360
    Jan 10 17:06:39 localhost dhcpcd[2439]: waiting for pid 360 to exit
    Jan 10 17:06:39 localhost dhcpcd[360]: received SIGHUP, releasing
    Jan 10 17:06:39 localhost dhcpcd[360]: eth0: releasing lease of 108.49.200.76
    Jan 10 17:06:39 localhost dhcpcd[343]: eth0: removing IP address 108.49.200.76/24
    Jan 10 17:06:39 localhost dhcpcd[360]: eth0: removing interface
    Jan 10 17:06:39 localhost dhcpcd[343]: eth0: carrier lost
    Jan 10 17:07:03 localhost dhcpcd[343]: eth0: carrier acquired
    Jan 10 17:07:03 localhost dhcpcd[343]: eth0: sending IPv6 Router Solicitation
    Jan 10 17:07:03 localhost dhcpcd[343]: eth0: broadcasting for a lease
    Jan 10 17:07:03 localhost dhcpcd[2723]: version 5.6.3 starting
    Jan 10 17:07:03 localhost dhcpcd[2723]: eth0: sending IPv6 Router Solicitation
    Jan 10 17:07:03 localhost dhcpcd[2723]: eth0: broadcasting for a lease
    Jan 10 17:07:03 localhost dhcpcd[343]: eth0: offered 108.49.106.111 from 108.49.106.1
    Jan 10 17:07:03 localhost dhcpcd[343]: eth0: acknowledged 108.49.106.111 from 108.49.106.1
    Jan 10 17:07:03 localhost dhcpcd[343]: eth0: checking for 108.49.106.111
    Jan 10 17:07:06 localhost dhcpcd[2723]: eth0: offered 108.49.106.111 from 108.49.106.1
    Jan 10 17:07:07 localhost dhcpcd[2723]: eth0: acknowledged 108.49.106.111 from 108.49.106.1
    Jan 10 17:07:07 localhost dhcpcd[2723]: eth0: checking for 108.49.106.111
    Jan 10 17:07:07 localhost dhcpcd[343]: eth0: sending IPv6 Router Solicitation
    Jan 10 17:07:07 localhost dhcpcd[2723]: eth0: sending IPv6 Router Solicitation
    Jan 10 17:07:08 localhost dhcpcd[343]: eth0: leased 108.49.106.111 for 7200 seconds
    Jan 10 17:07:11 localhost dhcpcd[343]: eth0: sending IPv6 Router Solicitation
    Jan 10 17:07:11 localhost dhcpcd[2723]: eth0: sending IPv6 Router Solicitation
    Jan 10 17:07:11 localhost dhcpcd[2723]: eth0: leased 108.49.106.111 for 7200 seconds
    Jan 10 17:07:15 localhost dhcpcd[343]: eth0: sending IPv6 Router Solicitation
    Jan 10 17:07:15 localhost dhcpcd[343]: eth0: no IPv6 Routers available
    Jan 10 17:07:15 localhost dhcpcd[2765]: eth0: sending IPv6 Router Solicitation
    Jan 10 17:07:15 localhost dhcpcd[2765]: eth0: no IPv6 Routers available
    Jan 10 18:07:08 localhost dhcpcd[343]: eth0: renewing lease of 108.49.106.111
    Jan 10 18:07:08 localhost dhcpcd[343]: eth0: acknowledged 108.49.106.111 from 108.49.106.1
    Jan 10 18:07:08 localhost dhcpcd[343]: eth0: leased 108.49.106.111 for 7200 seconds
    Jan 10 18:07:11 localhost dhcpcd[2765]: eth0: renewing lease of 108.49.106.111
    Jan 10 18:07:11 localhost dhcpcd[2765]: eth0: acknowledged 108.49.106.111 from 108.49.106.1
    Jan 10 18:07:11 localhost dhcpcd[2765]: eth0: leased 108.49.106.111 for 7200 seconds
    Jan 10 18:48:45 localhost dhcpcd[3162]: sending signal 15 to pid 2765
    Jan 10 18:48:45 localhost dhcpcd[3162]: waiting for pid 2765 to exit
    Jan 10 18:48:45 localhost dhcpcd[343]: eth0: removing IP address 108.49.106.111/24
    Jan 10 18:48:45 localhost dhcpcd[3162]: dhcpcd[3162]: sending signal 15 to pid 2765
    Jan 10 18:48:45 localhost dhcpcd[3162]: dhcpcd[3162]: waiting for pid 2765 to exit
    Jan 10 18:48:45 localhost dhcpcd[343]: received SIGTERM, stopping
    Jan 10 18:48:45 localhost dhcpcd[343]: eth0: removing interface
    [1;39m-- Reboot --[0m
    Jan 10 18:50:42 localhost dhcpcd[276]: version 5.6.3 starting
    Jan 10 18:50:42 localhost dhcpcd[276]: eth0: waiting for carrier
    Jan 10 18:50:44 localhost dhcpcd[276]: eth0: carrier acquired
    Jan 10 18:50:44 localhost dhcpcd[276]: eth0: sending IPv6 Router Solicitation
    Jan 10 18:50:44 localhost dhcpcd[276]: eth0: sendmsg: Cannot assign requested address
    Jan 10 18:50:44 localhost dhcpcd[276]: eth0: rebinding lease of 108.49.106.111
    Jan 10 18:50:44 localhost dhcpcd[276]: eth0: acknowledged 108.49.106.111 from 108.49.106.1
    Jan 10 18:50:44 localhost dhcpcd[276]: eth0: checking for 108.49.106.111
    Jan 10 18:50:44 localhost dhcpcd[326]: version 5.6.3 starting
    Jan 10 18:50:44 localhost dhcpcd[326]: eth0: sending IPv6 Router Solicitation
    Jan 10 18:50:44 localhost dhcpcd[326]: eth0: sendmsg: Cannot assign requested address
    Jan 10 18:50:44 localhost dhcpcd[326]: eth0: rebinding lease of 108.49.106.111
    Jan 10 18:50:45 localhost dhcpcd[326]: eth0: acknowledged 108.49.106.111 from 108.49.106.1
    Jan 10 18:50:45 localhost dhcpcd[326]: eth0: checking for 108.49.106.111
    Jan 10 18:50:48 localhost dhcpcd[276]: eth0: sending IPv6 Router Solicitation
    Jan 10 18:50:48 localhost dhcpcd[326]: eth0: sending IPv6 Router Solicitation
    Jan 10 18:50:49 localhost dhcpcd[276]: eth0: leased 108.49.106.111 for 7200 seconds
    Jan 10 18:50:50 localhost dhcpcd[326]: eth0: leased 108.49.106.111 for 7200 seconds
    Jan 10 18:50:52 localhost dhcpcd[354]: eth0: sending IPv6 Router Solicitation
    Jan 10 18:50:52 localhost dhcpcd[371]: eth0: sending IPv6 Router Solicitation
    Jan 10 18:50:56 localhost dhcpcd[354]: eth0: sending IPv6 Router Solicitation
    Jan 10 18:50:56 localhost dhcpcd[354]: eth0: no IPv6 Routers available
    Jan 10 18:50:56 localhost dhcpcd[371]: eth0: sending IPv6 Router Solicitation
    Jan 10 18:50:56 localhost dhcpcd[371]: eth0: no IPv6 Routers available
    Jan 10 19:50:49 localhost dhcpcd[354]: eth0: renewing lease of 108.49.106.111
    Jan 10 19:50:49 localhost dhcpcd[354]: eth0: acknowledged 108.49.106.111 from 108.49.106.1
    Jan 10 19:50:49 localhost dhcpcd[354]: eth0: leased 108.49.106.111 for 7200 seconds
    Jan 10 19:50:50 localhost dhcpcd[371]: eth0: renewing lease of 108.49.106.111
    Jan 10 19:50:50 localhost dhcpcd[371]: eth0: acknowledged 108.49.106.111 from 108.49.106.1
    Jan 10 19:50:50 localhost dhcpcd[371]: eth0: leased 108.49.106.111 for 7200 seconds
    Jan 10 20:28:35 localhost dhcpcd[1552]: sending signal 15 to pid 371
    Jan 10 20:28:35 localhost dhcpcd[1552]: waiting for pid 371 to exit
    Jan 10 20:28:35 localhost dhcpcd[371]: received SIGTERM, stopping
    Jan 10 20:28:35 localhost dhcpcd[371]: eth0: removing interface
    Jan 10 20:28:35 localhost dhcpcd[354]: eth0: removing IP address 108.49.106.111/24
    Jan 10 20:28:35 localhost dhcpcd[1552]: dhcpcd[1552]: sending signal 15 to pid 371
    Jan 10 20:28:35 localhost dhcpcd[1552]: dhcpcd[1552]: waiting for pid 371 to exit
    Jan 10 20:28:35 localhost dhcpcd[354]: eth0: carrier lost
    Jan 10 20:28:35 localhost dhcpcd[354]: received SIGTERM, stopping
    Jan 10 20:28:35 localhost dhcpcd[354]: eth0: removing interface
    [1;39m-- Reboot --[0m
    Jan 10 21:33:36 localhost dhcpcd[306]: version 5.6.3 starting
    Jan 10 21:33:37 localhost dhcpcd[306]: eth0: waiting for carrier
    Jan 10 21:33:38 localhost dhcpcd[306]: eth0: carrier acquired
    Jan 10 21:33:38 localhost dhcpcd[306]: eth0: sending IPv6 Router Solicitation
    Jan 10 21:33:38 localhost dhcpcd[306]: eth0: sendmsg: Cannot assign requested address
    Jan 10 21:33:38 localhost dhcpcd[306]: eth0: rebinding lease of 108.49.106.111
    Jan 10 21:33:38 localhost dhcpcd[306]: eth0: acknowledged 108.49.106.111 from 108.49.106.1
    Jan 10 21:33:38 localhost dhcpcd[306]: eth0: checking for 108.49.106.111
    Jan 10 21:33:39 localhost dhcpcd[356]: version 5.6.3 starting
    Jan 10 21:33:39 localhost dhcpcd[356]: eth0: sending IPv6 Router Solicitation
    Jan 10 21:33:39 localhost dhcpcd[356]: eth0: sendmsg: Cannot assign requested address
    Jan 10 21:33:39 localhost dhcpcd[356]: eth0: rebinding lease of 108.49.106.111
    Jan 10 21:33:39 localhost dhcpcd[356]: eth0: acknowledged 108.49.106.111 from 108.49.106.1
    Jan 10 21:33:39 localhost dhcpcd[356]: eth0: checking for 108.49.106.111
    Jan 10 21:33:42 localhost dhcpcd[306]: eth0: sending IPv6 Router Solicitation
    Jan 10 21:33:43 localhost dhcpcd[356]: eth0: sending IPv6 Router Solicitation
    Jan 10 21:33:43 localhost dhcpcd[306]: eth0: leased 108.49.106.111 for 7200 seconds
    Jan 10 21:33:44 localhost dhcpcd[356]: eth0: leased 108.49.106.111 for 7200 seconds
    Jan 10 21:33:46 localhost dhcpcd[384]: eth0: sending IPv6 Router Solicitation
    Jan 10 21:33:47 localhost dhcpcd[401]: eth0: sending IPv6 Router Solicitation
    Jan 10 21:33:50 localhost dhcpcd[384]: eth0: sending IPv6 Router Solicitation
    Jan 10 21:33:50 localhost dhcpcd[384]: eth0: no IPv6 Routers available
    Jan 10 21:33:51 localhost dhcpcd[401]: eth0: sending IPv6 Router Solicitation
    Jan 10 21:33:51 localhost dhcpcd[401]: eth0: no IPv6 Routers available
    Jan 10 21:39:32 localhost dhcpcd[431]: sending signal 15 to pid 401
    Jan 10 21:39:32 localhost dhcpcd[431]: waiting for pid 401 to exit
    Jan 10 21:39:32 localhost dhcpcd[384]: eth0: removing IP address 108.49.106.111/24
    Jan 10 21:39:32 localhost dhcpcd[431]: dhcpcd[431]: sending signal 15 to pid 401
    Jan 10 21:39:32 localhost dhcpcd[431]: dhcpcd[431]: waiting for pid 401 to exit
    Jan 10 21:39:32 localhost dhcpcd[384]: eth0: carrier lost
    Jan 10 21:39:32 localhost dhcpcd[384]: received SIGTERM, stopping
    Jan 10 21:39:32 localhost dhcpcd[384]: eth0: removing interface
    [1;39m-- Reboot --[0m
    Jan 10 21:40:43 localhost dhcpcd[298]: version 5.6.3 starting
    Jan 10 21:40:44 localhost dhcpcd[298]: eth0: waiting for carrier
    Jan 10 21:40:45 localhost dhcpcd[298]: eth0: carrier acquired
    Jan 10 21:40:45 localhost dhcpcd[298]: eth0: sending IPv6 Router Solicitation
    Jan 10 21:40:45 localhost dhcpcd[298]: eth0: sendmsg: Cannot assign requested address
    Jan 10 21:40:45 localhost dhcpcd[298]: eth0: rebinding lease of 108.49.106.111
    Jan 10 21:40:46 localhost dhcpcd[348]: version 5.6.3 starting
    Jan 10 21:40:46 localhost dhcpcd[348]: eth0: sending IPv6 Router Solicitation
    Jan 10 21:40:46 localhost dhcpcd[348]: eth0: sendmsg: Cannot assign requested address
    Jan 10 21:40:46 localhost dhcpcd[348]: eth0: rebinding lease of 108.49.106.111
    Jan 10 21:40:49 localhost dhcpcd[298]: eth0: sending IPv6 Router Solicitation
    Jan 10 21:40:50 localhost dhcpcd[348]: eth0: sending IPv6 Router Solicitation
    Jan 10 21:40:50 localhost dhcpcd[298]: eth0: broadcasting for a lease
    Jan 10 21:40:51 localhost dhcpcd[348]: eth0: broadcasting for a lease
    Jan 10 21:40:53 localhost dhcpcd[298]: eth0: sending IPv6 Router Solicitation
    Jan 10 21:40:54 localhost dhcpcd[348]: eth0: sending IPv6 Router Solicitation
    Jan 10 21:40:56 localhost dhcpcd[298]: eth0: carrier lost
    Jan 10 21:40:58 localhost dhcpcd[298]: eth0: carrier acquired
    Jan 10 21:40:58 localhost dhcpcd[298]: eth0: sending IPv6 Router Solicitation
    Jan 10 21:40:58 localhost dhcpcd[298]: eth0: sendmsg: Cannot assign requested address
    Jan 10 21:40:58 localhost dhcpcd[298]: eth0: rebinding lease of 108.49.106.111
    Jan 10 21:40:58 localhost dhcpcd[298]: eth0: carrier lost
    Jan 10 21:40:58 localhost dhcpcd[298]: eth0: carrier acquired
    Jan 10 21:40:58 localhost dhcpcd[298]: eth0: configured as a router, not a host
    Jan 10 21:40:58 localhost dhcpcd[298]: eth0: rebinding lease of 108.49.106.111
    Jan 10 21:40:59 localhost dhcpcd[298]: eth0: carrier lost
    Jan 10 21:41:00 localhost dhcpcd[298]: eth0: carrier acquired
    Jan 10 21:41:00 localhost dhcpcd[298]: eth0: sending IPv6 Router Solicitation
    Jan 10 21:41:00 localhost dhcpcd[298]: eth0: sendmsg: Cannot assign requested address
    Jan 10 21:41:00 localhost dhcpcd[298]: eth0: rebinding lease of 108.49.106.111
    Jan 10 21:41:04 localhost dhcpcd[298]: eth0: sending IPv6 Router Solicitation
    Jan 10 21:41:05 localhost dhcpcd[298]: eth0: broadcasting for a lease
    Jan 10 21:41:08 localhost dhcpcd[298]: eth0: sending IPv6 Router Solicitation
    Jan 10 21:41:12 localhost dhcpcd[298]: eth0: sending IPv6 Router Solicitation
    Jan 10 21:41:12 localhost dhcpcd[298]: eth0: no IPv6 Routers available
    Jan 10 21:42:35 localhost dhcpcd[469]: version 5.6.3 starting
    Jan 10 21:42:35 localhost dhcpcd[469]: eth0: sending IPv6 Router Solicitation
    Jan 10 21:42:35 localhost dhcpcd[469]: eth0: rebinding lease of 108.49.106.111
    Jan 10 21:42:39 localhost dhcpcd[469]: eth0: sending IPv6 Router Solicitation
    Jan 10 21:42:40 localhost dhcpcd[469]: eth0: broadcasting for a lease
    Jan 10 21:42:43 localhost dhcpcd[469]: eth0: sending IPv6 Router Solicitation
    Jan 10 21:42:47 localhost dhcpcd[469]: eth0: sending IPv6 Router Solicitation
    Jan 10 21:42:47 localhost dhcpcd[469]: eth0: no IPv6 Routers available
    Jan 10 21:43:04 localhost dhcpcd[469]: received SIGINT, stopping
    Jan 10 21:43:04 localhost dhcpcd[469]: eth0: removing interface
    Jan 10 21:43:16 localhost dhcpcd[485]: version 5.6.3 starting
    Jan 10 21:43:16 localhost dhcpcd[485]: eth0: using hwaddr 00:07:e9:11:2d:f8
    Jan 10 21:43:16 localhost dhcpcd[485]: eth0: executing `/usr/lib/dhcpcd/dhcpcd-run-hooks', reason PREINIT
    Jan 10 21:43:16 localhost dhcpcd[485]: eth0: executing `/usr/lib/dhcpcd/dhcpcd-run-hooks', reason CARRIER
    Jan 10 21:43:16 localhost dhcpcd[485]: eth0: sending IPv6 Router Solicitation
    Jan 10 21:43:16 localhost dhcpcd[485]: eth0: reading lease `/var/lib/dhcpcd/dhcpcd-eth0.lease'
    Jan 10 21:43:16 localhost dhcpcd[485]: eth0: rebinding lease of 108.49.106.111
    Jan 10 21:43:16 localhost dhcpcd[485]: eth0: sending REQUEST (xid 0x5d312bfa), next in 4.10 seconds
    Jan 10 21:43:20 localhost dhcpcd[485]: eth0: sending IPv6 Router Solicitation
    Jan 10 21:43:20 localhost dhcpcd[485]: eth0: sending REQUEST (xid 0x5d312bfa), next in 7.49 seconds
    Jan 10 21:43:21 localhost dhcpcd[485]: eth0: broadcasting for a lease
    Jan 10 21:43:21 localhost dhcpcd[485]: eth0: sending DISCOVER (xid 0xa58ae467), next in 4.82 seconds
    Jan 10 21:43:24 localhost dhcpcd[485]: eth0: sending IPv6 Router Solicitation
    Jan 10 21:43:26 localhost dhcpcd[485]: eth0: sending DISCOVER (xid 0xa58ae467), next in 7.33 seconds
    Jan 10 21:43:28 localhost dhcpcd[485]: eth0: sending IPv6 Router Solicitation
    Jan 10 21:43:28 localhost dhcpcd[485]: eth0: no IPv6 Routers available
    Jan 10 21:43:33 localhost dhcpcd[485]: eth0: sending DISCOVER (xid 0xa58ae467), next in 16.63 seconds
    Jan 10 21:43:46 localhost dhcpcd[485]: received SIGINT, stopping
    Jan 10 21:43:46 localhost dhcpcd[485]: eth0: removing interface
    Jan 10 21:43:46 localhost dhcpcd[485]: eth0: executing `/usr/lib/dhcpcd/dhcpcd-run-hooks', reason STOP
    Jan 10 21:52:53 localhost dhcpcd[519]: version 5.6.3 starting
    Jan 10 21:52:53 localhost dhcpcd[519]: eth0: using hwaddr 00:07:e9:11:2d:f8
    Jan 10 21:52:53 localhost dhcpcd[519]: eth0: executing `/usr/lib/dhcpcd/dhcpcd-run-hooks', reason PREINIT
    Jan 10 21:52:53 localhost dhcpcd[519]: eth0: executing `/usr/lib/dhcpcd/dhcpcd-run-hooks', reason CARRIER
    Jan 10 21:52:53 localhost dhcpcd[519]: eth0: sending IPv6 Router Solicitation
    Jan 10 21:52:53 localhost dhcpcd[519]: eth0: reading lease `/var/lib/dhcpcd/dhcpcd-eth0.lease'
    Jan 10 21:52:53 localhost dhcpcd[519]: eth0: rebinding lease of 108.49.106.111
    Jan 10 21:52:53 localhost dhcpcd[519]: eth0: sending REQUEST (xid 0x976372c9), next in 4.65 seconds
    Jan 10 21:52:57 localhost dhcpcd[519]: eth0: sending IPv6 Router Solicitation
    Jan 10 21:52:58 localhost dhcpcd[519]: eth0: sending REQUEST (xid 0x976372c9), next in 7.78 seconds
    Jan 10 21:52:58 localhost dhcpcd[519]: eth0: broadcasting for a lease
    Jan 10 21:52:58 localhost dhcpcd[519]: eth0: sending DISCOVER (xid 0xb4e4a50e), next in 4.27 seconds
    Jan 10 21:53:01 localhost dhcpcd[519]: eth0: sending IPv6 Router Solicitation
    Jan 10 21:53:03 localhost dhcpcd[519]: eth0: sending DISCOVER (xid 0xb4e4a50e), next in 7.66 seconds
    Jan 10 21:53:05 localhost dhcpcd[519]: eth0: sending IPv6 Router Solicitation
    Jan 10 21:53:05 localhost dhcpcd[519]: eth0: no IPv6 Routers available
    Jan 10 21:53:10 localhost dhcpcd[519]: eth0: sending DISCOVER (xid 0xb4e4a50e), next in 15.06 seconds
    Jan 10 21:53:23 localhost dhcpcd[519]: timed out
    Jan 10 21:53:25 localhost dhcpcd[531]: eth0: sending DISCOVER (xid 0xb4e4a50e), next in 32.52 seconds
    Jan 10 21:53:58 localhost dhcpcd[531]: eth0: sending DISCOVER (xid 0xb4e4a50e), next in 64.23 seconds
    Jan 10 21:54:57 localhost dhcpcd[531]: received SIGTERM, stopping
    Jan 10 21:54:57 localhost dhcpcd[531]: eth0: removing interface
    Jan 10 21:54:57 localhost dhcpcd[531]: eth0: executing `/usr/lib/dhcpcd/dhcpcd-run-hooks', reason STOP
    Jan 10 21:55:09 localhost dhcpcd[544]: version 5.6.3 starting
    Jan 10 21:55:09 localhost dhcpcd[544]: eth0: using hwaddr 00:07:e9:11:2d:f8
    Jan 10 21:55:09 localhost dhcpcd[544]: eth0: executing `/usr/lib/dhcpcd/dhcpcd-run-hooks', reason PREINIT
    Jan 10 21:55:09 localhost dhcpcd[544]: eth0: executing `/usr/lib/dhcpcd/dhcpcd-run-hooks', reason CARRIER
    Jan 10 21:55:09 localhost dhcpcd[544]: eth0: sending IPv6 Router Solicitation
    Jan 10 21:55:09 localhost dhcpcd[544]: eth0: reading lease `/var/lib/dhcpcd/dhcpcd-eth0.lease'
    Jan 10 21:55:09 localhost dhcpcd[544]: eth0: rebinding lease of 108.49.106.111
    Jan 10 21:55:09 localhost dhcpcd[544]: eth0: sending REQUEST (xid 0x9ed0b1d9), next in 4.00 seconds
    Jan 10 21:55:13 localhost dhcpcd[544]: eth0: sending IPv6 Router Solicitation
    Jan 10 21:55:13 localhost dhcpcd[544]: eth0: sending REQUEST (xid 0x9ed0b1d9), next in 8.64 seconds
    Jan 10 21:55:14 localhost dhcpcd[544]: eth0: broadcasting for a lease
    Jan 10 21:55:14 localhost dhcpcd[544]: eth0: sending DISCOVER (xid 0xce3aa41b), next in 3.21 seconds
    Jan 10 21:55:17 localhost dhcpcd[544]: eth0: sending IPv6 Router Solicitation
    Jan 10 21:55:17 localhost dhcpcd[544]: eth0: sending DISCOVER (xid 0xce3aa41b), next in 8.51 seconds
    Jan 10 21:55:21 localhost dhcpcd[544]: eth0: sending IPv6 Router Solicitation
    Jan 10 21:55:21 localhost dhcpcd[544]: eth0: no IPv6 Routers available
    Jan 10 21:55:26 localhost dhcpcd[544]: eth0: sending DISCOVER (xid 0xce3aa41b), next in 15.57 seconds
    Jan 10 21:55:39 localhost dhcpcd[544]: timed out
    Jan 10 21:55:41 localhost dhcpcd[557]: eth0: sending DISCOVER (xid 0xce3aa41b), next in 31.88 seconds
    Jan 10 21:56:13 localhost dhcpcd[557]: eth0: sending DISCOVER (xid 0xce3aa41b), next in 63.16 seconds
    Jan 10 21:57:16 localhost dhcpcd[557]: eth0: sending DISCOVER (xid 0xce3aa41b), next in 63.03 seconds
    Jan 10 21:58:01 localhost dhcpcd[557]: received SIGTERM, stopping
    Jan 10 21:58:01 localhost dhcpcd[557]: eth0: removing interface
    Jan 10 21:58:01 localhost dhcpcd[557]: eth0: executing `/usr/lib/dhcpcd/dhcpcd-run-hooks', reason STOP
    Jan 10 21:59:21 localhost dhcpcd[593]: version 5.6.3 starting
    Jan 10 21:59:21 localhost dhcpcd[593]: eth0: sending IPv6 Router Solicitation
    Jan 10 21:59:21 localhost dhcpcd[593]: eth0: rebinding lease of 108.49.106.111
    Jan 10 21:59:25 localhost dhcpcd[593]: eth0: sending IPv6 Router Solicitation
    Jan 10 21:59:26 localhost dhcpcd[593]: eth0: broadcasting for a lease
    Jan 10 21:59:29 localhost dhcpcd[593]: eth0: sending IPv6 Router Solicitation
    Jan 10 21:59:33 localhost dhcpcd[593]: eth0: sending IPv6 Router Solicitation
    Jan 10 21:59:33 localhost dhcpcd[593]: eth0: no IPv6 Routers available
    Jan 10 21:59:46 localhost dhcpcd[593]: received SIGINT, stopping
    Jan 10 21:59:46 localhost dhcpcd[593]: eth0: removing interface
    Jan 10 22:01:05 localhost dhcpcd[615]: version 5.6.3 starting
    Jan 10 22:01:05 localhost dhcpcd[615]: eth0: sending IPv6 Router Solicitation
    Jan 10 22:01:05 localhost dhcpcd[615]: eth0: rebinding lease of 108.49.106.111
    Jan 10 22:01:05 localhost dhcpcd[615]: eth0: acknowledged 108.49.106.111 from 108.49.106.1
    Jan 10 22:01:05 localhost dhcpcd[615]: eth0: checking for 108.49.106.111
    Jan 10 22:01:09 localhost dhcpcd[615]: eth0: sending IPv6 Router Solicitation
    Jan 10 22:01:10 localhost dhcpcd[615]: eth0: leased 108.49.106.111 for 7200 seconds
    Jan 10 22:01:13 localhost dhcpcd[641]: eth0: sending IPv6 Router Solicitation
    Jan 10 22:01:17 localhost dhcpcd[641]: eth0: sending IPv6 Router Solicitation
    Jan 10 22:01:17 localhost dhcpcd[641]: eth0: no IPv6 Routers available
    Jan 10 22:04:17 localhost dhcpcd[641]: received SIGTERM, stopping
    Jan 10 22:04:17 localhost dhcpcd[641]: eth0: removing interface
    [1;39m-- Reboot --[0m
    Jan 10 22:05:24 localhost dhcpcd[300]: version 5.6.3 starting
    Jan 10 22:05:25 localhost dhcpcd[300]: eth0: waiting for carrier
    Jan 10 22:05:26 localhost dhcpcd[300]: eth0: carrier acquired
    Jan 10 22:05:26 localhost dhcpcd[300]: eth0: sending IPv6 Router Solicitation
    Jan 10 22:05:26 localhost dhcpcd[300]: eth0: sendmsg: Cannot assign requested address
    Jan 10 22:05:26 localhost dhcpcd[300]: eth0: rebinding lease of 108.49.106.111
    Jan 10 22:05:26 localhost dhcpcd[300]: eth0: acknowledged 108.49.106.111 from 108.49.106.1
    Jan 10 22:05:26 localhost dhcpcd[300]: eth0: checking for 108.49.106.111
    Jan 10 22:05:27 localhost dhcpcd[351]: version 5.6.3 starting
    Jan 10 22:05:27 localhost dhcpcd[351]: eth0: sending IPv6 Router Solicitation
    Jan 10 22:05:27 localhost dhcpcd[351]: eth0: sendmsg: Cannot assign requested address
    Jan 10 22:05:27 localhost dhcpcd[351]: eth0: rebinding lease of 108.49.106.111
    Jan 10 22:05:27 localhost dhcpcd[351]: eth0: acknowledged 108.49.106.111 from 108.49.106.1
    Jan 10 22:05:27 localhost dhcpcd[351]: eth0: checking for 108.49.106.111
    Jan 10 22:05:30 localhost dhcpcd[300]: eth0: sending IPv6 Router Solicitation
    Jan 10 22:05:31 localhost dhcpcd[351]: eth0: sending IPv6 Router Solicitation
    Jan 10 22:05:31 localhost dhcpcd[300]: eth0: leased 108.49.106.111 for 7200 seconds
    Jan 10 22:05:32 localhost dhcpcd[300]: forked to background, child pid 379
    Jan 10 22:05:32 localhost dhcpcd[351]: eth0: leased 108.49.106.111 for 7200 seconds
    Jan 10 22:05:32 localhost dhcpcd[351]: forked to background, child pid 396
    Jan 10 22:05:34 localhost dhcpcd[379]: eth0: sending IPv6 Router Solicitation
    Jan 10 22:05:35 localhost dhcpcd[396]: eth0: sending IPv6 Router Solicitation
    Jan 10 22:05:38 localhost dhcpcd[379]: eth0: sending IPv6 Router Solicitation
    Jan 10 22:05:38 localhost dhcpcd[379]: eth0: no IPv6 Routers available
    Jan 10 22:05:39 localhost dhcpcd[396]: eth0: sending IPv6 Router Solicitation
    Jan 10 22:05:39 localhost dhcpcd[396]: eth0: no IPv6 Routers available
    Jan 10 22:50:14 localhost dhcpcd[646]: sending signal 15 to pid 396
    Jan 10 22:50:14 localhost dhcpcd[646]: waiting for pid 396 to exit
    Jan 10 22:50:14 localhost dhcpcd[396]: received SIGTERM, stopping
    Jan 10 22:50:14 localhost dhcpcd[396]: eth0: removing interface
    Jan 10 22:50:14 localhost dhcpcd[379]: eth0: removing IP address 108.49.106.111/24
    Jan 10 22:50:14 localhost dhcpcd[646]: dhcpcd[646]: sending signal 15 to pid 396
    Jan 10 22:50:14 localhost dhcpcd[646]: dhcpcd[646]: waiting for pid 396 to exit
    Jan 10 22:50:14 localhost dhcpcd[379]: eth0: carrier lost
    Jan 10 22:50:14 localhost dhcpcd[379]: received SIGTERM, stopping
    Jan 10 22:50:14 localhost dhcpcd[379]: eth0: removing interface
    [1;39m-- Reboot --[0m
    Jan 10 22:51:31 localhost dhcpcd[322]: version 5.6.3 starting
    Jan 10 22:51:32 localhost dhcpcd[322]: eth0: waiting for carrier
    Jan 10 22:51:33 localhost dhcpcd[322]: eth0: carrier acquired
    Jan 10 22:51:33 localhost dhcpcd[322]: eth0: rebinding lease of 108.49.106.111
    Jan 10 22:51:33 localhost dhcpcd[322]: eth0: acknowledged 108.49.106.111 from 108.49.106.1
    Jan 10 22:51:33 localhost dhcpcd[322]: eth0: checking for 108.49.106.111
    Jan 10 22:51:34 localhost dhcpcd[373]: version 5.6.3 starting
    Jan 10 22:51:34 localhost dhcpcd[373]: eth0: rebinding lease of 108.49.106.111
    Jan 10 22:51:34 localhost dhcpcd[373]: eth0: acknowledged 108.49.106.111 from 108.49.106.1
    Jan 10 22:51:34 localhost dhcpcd[373]: eth0: checking for 108.49.106.111
    Jan 10 22:51:38 localhost dhcpcd[373]: eth0: leased 108.49.106.111 for 7200 seconds
    Jan 10 22:51:39 localhost dhcpcd[322]: eth0: leased 108.49.106.111 for 7200 seconds
    Jan 10 23:07:07 localhost dhcpcd[557]: sending signal 15 to pid 401
    Jan 10 23:07:07 localhost dhcpcd[557]: waiting for pid 401 to exit
    Jan 10 23:07:07 localhost dhcpcd[401]: received SIGTERM, stopping
    Jan 10 23:07:07 localhost dhcpcd[421]: eth0: removing IP address 108.49.106.111/24
    Jan 10 23:07:07 localhost dhcpcd[557]: dhcpcd[557]: sending signal 15 to pid 401
    Jan 10 23:07:07 localhost dhcpcd[557]: dhcpcd[557]: waiting for pid 401 to exit
    Jan 10 23:07:07 localhost dhcpcd[421]: eth0: carrier lost
    Jan 10 23:07:07 localhost dhcpcd[421]: received SIGTERM, stopping
    Jan 10 23:07:07 localhost dhcpcd[421]: eth0: removing interface
    [1;39m-- Reboot --[0m
    Jan 11 01:52:54 localhost dhcpcd[317]: version 5.6.3 starting
    Jan 11 01:52:54 localhost dhcpcd[317]: eth0: waiting for carrier
    Jan 11 01:52:55 localhost dhcpcd[317]: eth0: carrier acquired
    Jan 11 01:52:55 localhost dhcpcd[317]: eth0: broadcasting for a lease
    Jan 11 01:52:56 localhost dhcpcd[317]: eth0: offered 108.49.106.111 from 108.49.106.1
    Jan 11 01:52:56 localhost dhcpcd[317]: eth0: acknowledged 108.49.106.111 from 108.49.106.1
    Jan 11 01:52:56 localhost dhcpcd[317]: eth0: checking for 108.49.106.111
    Jan 11 01:52:56 localhost dhcpcd[367]: version 5.6.3 starting
    Jan 11 01:52:56 localhost dhcpcd[367]: eth0: broadcasting for a lease
    Jan 11 01:52:56 localhost dhcpcd[367]: eth0: offered 108.49.106.111 from 108.49.106.1
    Jan 11 01:52:56 localhost dhcpcd[367]: eth0: acknowledged 108.49.106.111 from 108.49.106.1
    Jan 11 01:52:56 localhost dhcpcd[367]: eth0: checking for 108.49.106.111
    Jan 11 01:53:00 localhost dhcpcd[317]: eth0: leased 108.49.106.111 for 7200 seconds
    Jan 11 01:53:00 localhost dhcpcd[317]: forked to background, child pid 395
    Jan 11 01:53:01 localhost dhcpcd[367]: eth0: leased 108.49.106.111 for 7200 seconds
    [1;39m-- Reboot --[0m
    Jan 11 12:56:03 localhost dhcpcd[301]: version 5.6.3 starting
    Jan 11 12:56:03 localhost dhcpcd[301]: eth0: waiting for carrier
    Jan 11 12:56:05 localhost dhcpcd[301]: eth0: carrier acquired
    Jan 11 12:56:05 localhost dhcpcd[301]: eth0: broadcasting for a lease
    Jan 11 12:56:05 localhost dhcpcd[301]: eth0: offered 108.49.106.111 from 108.49.106.1
    Jan 11 12:56:05 localhost dhcpcd[301]: eth0: acknowledged 108.49.106.111 from 108.49.106.1
    Jan 11 12:56:05 localhost dhcpcd[301]: eth0: checking for 108.49.106.111
    Jan 11 12:56:05 localhost dhcpcd[353]: version 5.6.3 starting
    Jan 11 12:56:05 localhost dhcpcd[353]: eth0: broadcasting for a lease
    Jan 11 12:56:05 localhost dhcpcd[353]: eth0: offered 108.49.106.111 from 108.49.106.1
    Jan 11 12:56:05 localhost dhcpcd[353]: eth0: acknowledged 108.49.106.111 from 108.49.106.1
    Jan 11 12:56:05 localhost dhcpcd[353]: eth0: checking for 108.49.106.111
    Jan 11 12:56:10 localhost dhcpcd[301]: eth0: leased 108.49.106.111 for 7200 seconds
    Jan 11 12:56:10 localhost dhcpcd[353]: eth0: leased 108.49.106.111 for 7200 seconds
    Jan 11 13:34:08 localhost dhcpcd[559]: sending signal 15 to pid 398
    Jan 11 13:34:08 localhost dhcpcd[559]: waiting for pid 398 to exit
    Jan 11 13:34:08 localhost dhcpcd[398]: received SIGTERM, stopping
    Jan 11 13:34:08 localhost dhcpcd[398]: eth0: removing interface
    Jan 11 13:34:08 localhost dhcpcd[381]: eth0: removing IP address 108.49.106.111/24
    Jan 11 13:34:08 localhost dhcpcd[559]: dhcpcd[559]: sending signal 15 to pid 398
    Jan 11 13:34:08 localhost dhcpcd[559]: dhcpcd[559]: waiting for pid 398 to exit
    Jan 11 13:34:09 localhost dhcpcd[381]: eth0: carrier lost
    Jan 11 13:34:09 localhost dhcpcd[381]: received SIGTERM, stopping
    Jan 11 13:34:09 localhost dhcpcd[381]: eth0: removing interface
    [1;39m-- Reboot --[0m
    Jan 11 13:35:26 localhost dhcpcd[303]: version 5.6.3 starting
    Jan 11 13:35:26 localhost dhcpcd[303]: eth0: waiting for carrier
    Jan 11 13:35:28 localhost dhcpcd[303]: eth0: carrier acquired
    Jan 11 13:35:28 localhost dhcpcd[303]: eth0: rebinding lease of 108.49.106.111
    Jan 11 13:35:28 localhost dhcpcd[303]: eth0: acknowledged 108.49.106.111 from 108.49.106.1
    Jan 11 13:35:28 localhost dhcpcd[303]: eth0: checking for 108.49.106.111
    Jan 11 13:35:28 localhost dhcpcd[354]: version 5.6.3 starting
    Jan 11 13:35:28 localhost dhcpcd[354]: eth0: rebinding lease of 108.49.106.111
    Jan 11 13:35:28 localhost dhcpcd[354]: eth0: acknowledged 108.49.106.111 from 108.49.106.1
    Jan 11 13:35:28 localhost dhcpcd[354]: eth0: checking for 108.49.106.111
    Jan 11 13:35:33 localhost dhcpcd[354]: eth0: leased 108.49.106.111 for 7200 seconds
    Jan 11 13:35:33 localhost dhcpcd[354]: forked to background, child pid 382
    Jan 11 13:35:34 localhost dhcpcd[303]: eth0: leased 108.49.106.111 for 7200 seconds
    Jan 11 13:57:40 localhost dhcpcd[540]: sending signal 15 to pid 382
    Jan 11 13:57:40 localhost dhcpcd[540]: waiting for pid 382 to exit
    Jan 11 13:57:40 localhost dhcpcd[402]: eth0: removing IP address 108.49.106.111/24
    Jan 11 13:57:40 localhost dhcpcd[540]: dhcpcd[540]: sending signal 15 to pid 382
    Jan 11 13:57:40 localhost dhcpcd[540]: dhcpcd[540]: waiting for pid 382 to exit
    Jan 11 13:57:40 localhost dhcpcd[402]: eth0: carrier lost
    Jan 11 13:57:40 localhost dhcpcd[402]: received SIGTERM, stopping
    Jan 11 13:57:40 localhost dhcpcd[402]: eth0: removing interface
    [1;39m-- Reboot --[0m
    Jan 11 13:58:59 localhost dhcpcd[303]: version 5.6.3 starting
    Jan 11 13:58:59 localhost dhcpcd[303]: eth0: waiting for carrier
    Jan 11 13:59:00 localhost dhcpcd[303]: eth0: carrier acquired
    Jan 11 13:59:00 localhost dhcpcd[303]: eth0: rebinding lease of 108.49.106.111
    Jan 11 13:59:01 localhost dhcpcd[354]: version 5.6.3 starting
    Jan 11 13:59:01 localhost dhcpcd[354]: eth0: rebinding lease of 108.49.106.111
    Jan 11 13:59:05 localhost dhcpcd[303]: eth0: broadcasting for a lease
    Jan 11 13:59:06 localhost dhcpcd[354]: eth0: broadcasting for a lease
    Jan 11 13:59:11 localhost dhcpcd[303]: eth0: carrier lost
    Jan 11 13:59:13 localhost dhcpcd[303]: eth0: carrier acquired
    Jan 11 13:59:13 localhost dhcpcd[303]: eth0: rebinding lease of 108.49.106.111
    Jan 11 13:59:13 localhost dhcpcd[303]: eth0: carrier lost
    Jan 11 13:59:13 localhost dhcpcd[303]: eth0: carrier acquired
    Jan 11 13:59:13 localhost dhcpcd[303]: eth0: rebinding lease of 108.49.106.111
    Jan 11 13:59:14 localhost dhcpcd[303]: eth0: carrier lost
    Jan 11 13:59:15 localhost dhcpcd[303]: eth0: carrier acquired
    Jan 11 13:59:15 localhost dhcpcd[303]: eth0: rebinding lease of 108.49.106.111
    Jan 11 13:59:20 localhost dhcpcd[303]: eth0: broadcasting for a lease
    Jan 11 14:05:20 localhost dhcpcd[495]: version 5.6.3 starting
    Jan 11 14:05:20 localhost dhcpcd[495]: eth0: using hwaddr 00:07:e9:11:2d:f8
    Jan 11 14:05:20 localhost dhcpcd[495]: eth0: executing `/usr/lib/dhcpcd/dhcpcd-run-hooks', reason PREINIT
    Jan 11 14:05:20 localhost dhcpcd[495]: eth0: executing `/usr/lib/dhcpcd/dhcpcd-run-hooks', reason CARRIER
    Jan 11 14:05:20 localhost dhcpcd[495]: eth0: reading lease `/var/lib/dhcpcd/dhcpcd-eth0.lease'
    Jan 11 14:05:20 localhost dhcpcd[495]: eth0: rebinding lease of 108.49.106.111
    Jan 11 14:05:20 localhost dhcpcd[495]: eth0: sending REQUEST (xid 0x887d405e), next in 4.71 seconds
    Jan 11 14:05:25 localhost dhcpcd[495]: eth0: sending REQUEST (xid 0x887d405e), next in 7.78 seconds
    Jan 11 14:05:25 localhost dhcpcd[495]: eth0: broadcasting for a lease
    Jan 11 14:05:25 localhost dhcpcd[495]: eth0: sending DISCOVER (xid 0x607828ce), next in 4.98 seconds
    Jan 11 14:05:30 localhost dhcpcd[495]: eth0: sending DISCOVER (xid 0x607828ce), next in 8.95 seconds
    Jan 11 14:05:39 localhost dhcpcd[495]: eth0: sending DISCOVER (xid 0x607828ce), next in 16.31 seconds
    Jan 11 14:05:50 localhost dhcpcd[495]: timed out
    Jan 11 14:05:50 localhost dhcpcd[495]: forking to background
    Jan 11 14:05:56 localhost dhcpcd[506]: eth0: sending DISCOVER (xid 0x607828ce), next in 32.21 seconds
    Jan 11 14:06:28 localhost dhcpcd[506]: eth0: sending DISCOVER (xid 0x607828ce), next in 63.98 seconds
    Jan 11 14:06:50 localhost dhcpcd[506]: received SIGTERM, stopping
    Jan 11 14:06:50 localhost dhcpcd[506]: eth0: removing interface
    Jan 11 14:06:50 localhost dhcpcd[506]: eth0: executing `/usr/lib/dhcpcd/dhcpcd-run-hooks', reason STOP
    [1;39m-- Reboot --[0m
    Jan 11 14:08:03 localhost dhcpcd[307]: version 5.6.3 starting
    Jan 11 14:08:04 localhost dhcpcd[307]: eth0: waiting for carrier
    Jan 11 14:08:05 localhost dhcpcd[307]: eth0: carrier acquired
    Jan 11 14:08:05 localhost dhcpcd[307]: eth0: rebinding lease of 108.49.106.111
    Jan 11 14:08:05 localhost dhcpcd[307]: eth0: acknowledged 108.49.106.111 from 108.49.106.1
    Jan 11 14:08:05 localhost dhcpcd[307]: eth0: checking for 108.49.106.111
    Jan 11 14:08:06 localhost dhcpcd[357]: version 5.6.3 starting
    Jan 11 14:08:06 localhost dhcpcd[357]: eth0: rebinding lease of 108.49.106.111
    Jan 11 14:08:06 localhost dhcpcd[357]: eth0: acknowledged 108.49.106.111 from 108.49.106.1
    Jan 11 14:08:06 localhost dhcpcd[357]: eth0: checking for 108.49.106.111
    Jan 11 14:08:10 localhost dhcpcd[307]: eth0: leased 108.49.106.111 for 7200 seconds
    Jan 11 14:08:11 localhost dhcpcd[357]: eth0: leased 108.49.106.111 for 7200 seconds
    Last edited by pariahdog (2013-01-11 20:45:48)

    pariahdog wrote:Do you have some specific reason for suggesting I disable IPv6 globally? It is already disabled in the dhcpcd.conf file with noipv6rs. So I don't see what that would accomplish. There is a noticeable difference with noipv6rs. When it is added dhcpcd doesn't seem to make IPv6 requests anymore. So it does seem to be working.
    I can't really make sense of your log. For example, in the very bottom, since last reboot, why are there 2 PIDs for dhcpcd? How do you start the daemon?
    Regarding  clientid, it is unnecessary. See https://mail.gnome.org/archives/network … 00119.html for instance. Basically with this option, dhcpcd will send "hostname MAC" instead of "hostname" to the DHCP server. I don't think dhclient/udhcp sends a clientid. Windows, however, does.
    As for the IPv6 you can disable it in the kernel command line via "ipv6.disable=1", or via noipv6rs -- same thing from dhcpcd's perspective. OTOH, allowing IPv6 in dhcpcd shouldn't do any harm at all...
    I would suggest starting dhcpcd manually on the console, like "dhcpcd -d -t 100 eth0" and see if you can get the lease without the clientid option. If you can't this means that Verizon's DHCP servers are broken (which I would indeed expect based on my experience).

  • Comment and uncomment in the new SE38 editor: Doing it the old way

    Prerequisites: Front-end Editor (New)
    The Front-End Editor is available with SAP GUI for Windows 6.40 Patch level 10 or higher.
    Steps:
    1) Open SE38(or SE24,SE37,SE80) and click on the icon below the scroll bar (the last one on the right-bottom) this will open Options dialog. Choose  Keyboard from the tree. <a href="http://farm1.static.flickr.com/154/382643543_5732930f15_o.jpg">See the graphics</a>
    2) From the Listbox under command choose Edit.LineComment
    3) Shortcuts for selected commands will come prefilled as Ctrl + \
    Place your cursor in "New Shortcut" textbox and press the old combination (Ctrl + <)
    it may look as ( Ctrl + , ) instead of (Ctrl + <)
    4) Click Asign
    5) Now your new front-end editor will revert back to your old habit of commenting.
    6) Repeate Step 3 for the command Edit.LineUncomment
        you may want to map it to the old shortcut  (Ctrl + >)
    This changes will be local to your machine and NOT attached to the sap user. Behind the scene all the steps above will edit the file keymap.xml  (keyboard schema file normally kept in C:\Documents and Settings\<username>\ab4_data\) So either copy this file if you move to a new machine or repeate these steps on the new machine.
    While you may have seen features like auto complete, code collapse, key word coloring, but you may learn a thing or two (like something called template to create my own custom report header) in blog <a href="/people/thomas.jung3/blog/2005/08/03/new-abap-editor-too-good-to-wait-for ABAP Editor; too good to wait for.</a> by [url=https://weblogs.sdn.sap.com/pub/u/251694270]Thomas Jung[/url]

    Thanks dear,
    That was very well explained.  Especially the image and ur explanation.
    Looking forward to more answers from you.

  • Large response with uncomment HTML - sourcecode

    Hello,
    I have an application in webdynpro with a performance problem.
    A simple transaction take between browser and SAP 3sec. 1sec on SAP-Side and 2sec for what ever. I checked the response with the tool WD_TRACE_TOOL.
    The size of the reponse is between 130kByte and 230kByte.
    The biggest part of the response is comment out.
    Example
    <span id = "body">
    <span id="sapwdssr..main_span">
    <span id="delete"></span>
    <span id="insert"></span>
    <span id="update">
    <span id="400EEF5FD53D3CA0E10000000A1552AC"><!--  --></span>
    <span id="sapwdssr..main_span">
    <!--<div id="WD01-r" style="width:100%;"><table cellspacing="0" cellpadding="0" class="urGridLayout"
    [...a lot of HTML Sourcecode]
    </div>-->
    </span>
    Why is a lot of source code between <!-- and -->?
    Regards
    Maik Sturm

    hi,
    the response time is depending on various facts(especially on WD4A):
    environment, hardware, overhead etc.
    the large sourcecode (HTML) is for the trace tool to analyze (tracing)
    for exploit the values you have to have deep knowledge of the rendering engine.
    an the webdynpro protocoll.

  • How Open And Print Proc C Genrated Text File Based Report ON Browser

    Dear Sir
    I have my old 6i forms from which i runs some Pro*c programmers with the help of HOST() command ,and then that generates a normal text file as a resultant report like file name "kha10"
    which i can easily open with any text client ,,,
    now what i want is that, to open this file on browser like web Report on my forms 10g like report builder 10g
    can anyone help me as it will be a gr8 help otherwise i would have to develop approx 100 reports.....
    any solution or any technique plzz help me

    bro my work is almost done apart from this virtual directory , how to make a virtual directory so that is dosent comes under
    http://........../form/
    i mean where to put my
    <virtual-directory virtual-path="/procrepo" real-path="c:\" />
    as my original file looks like bellow
    <?xml version="1.0"?>
    <!DOCTYPE orion-web-app PUBLIC "-//ORACLE//DTD OC4J Web Application 9.04//EN" "http://xmlns.oracle.com/ias/dtds/orion-web-9_04.dtd">
    <orion-web-app
         deployment-version="10.1.2.0.2"
         jsp-cache-directory="./persistence"
         temporary-directory="./temp"
         servlet-webdir="/servlet/"
    >
    <context-param-mapping name="configFileName">D:\DevSuiteHome_1/forms/server/formsweb.cfg</context-param-mapping>
         <virtual-directory virtual-path="/html" real-path="D:\DevSuiteHome_1/tools/web/html" />
         <virtual-directory virtual-path="/java" real-path="D:\DevSuiteHome_1/forms/java" />
         <virtual-directory virtual-path="/webutil" real-path="D:\DevSuiteHome_1/forms/webutil" />
         <virtual-directory virtual-path="/jinitiator" real-path="D:\DevSuiteHome_1/jinit" />
         <session-tracking cookies="disabled" />
    <!-- Uncomment this element to control web application class loader behavior.
    <web-app-class-loader search-local-classes-first="true" include-war-manifest-class-path="true" />
    -->
    <security-role-mapping name="administrators">
    </security-role-mapping>
    </orion-web-app>
    plzzzzzzzzzzz help

  • BSI ConnectToDataSet...failed

    Hi
    We have a problem with the BSI, we had been getting a dump "RFC_ERROR_SYSTEM_FAILURE", I followed the SAP Note 1068271 for the debug, and the result is:
    =Thu Jan 22 11:53:37 2009
    =SAP AG, Walldorf - Business API for BSI TaxFactory 8.0
    =RfcAccept called
    =Mapping ABAP RFC_PAYROLL_TAX_CALC_US_80 to C function srv_Payroll_Tax_Calc_US_80
    =Mapping ABAP RFC_HR_TAXLOCATOR_US_80 to C function srv_hr_taxlocator_us_80
    =Waiting for ABAP function calls
    =Running function srv_Payroll_Tax_Calc_US_80
    =Loading import parameters
    =Loading export parameters
    =Loading internal tables
    =Calling Payroll_Tax_Calc_US
    =Running Connect_DB_Payroll_Tax_Calc_US
    BSI dataset                  -> 110
    ConnectToDataSource...Succeeded 
    ConnectToDataSet...failed 
    Error String ->  7777 - [Oracle][ODBC][Ora]ORA-00933: SQL command not properly ended
    =RFC error
    operation/code Connect_DB_Payroll_Tax_Calc_US
    key RFC_ERROR_SYSTEM_FAILURE
    status
    message See RFC trace file or SAP system log for more details
    internal status
    The RFC under sm59 is working fine, the error is on the connection to the Dataset according to the Debug log "ConnectToDataSet...failed".
    I don't know what to check about the Dataset, could you please help me?
    Best Regards

    Yes, it's correct.
    I checked it's 8.0.
    I think is a problem with the parameters under tf80server.bat.
    SET
    TF80_CONNECT_STRING=DSN=;UID=;PW
    D=;
    SET TF80_SCHEMA_NAME=.TF80
    REM for SAP trace debugging, uncomment below & see file
    errors.txt in gateway working directory
    REM C:\BSI\TAXFACTORY\tf80serverdebug.exe %*
    REM else for usual operation
    C:\BSI\TAXFACTORY\tf80server.exe %*
    I don't know what is the "ODBC_DSN_NAME"
    I have the user, password, the database name...
    Best Regards

  • Sy-index / sy-tabix wrong within loop

    Hi friends,
    i do a loop over a a table and am writing out the field contents like this:
    LOOP AT <dyn_table> INTO <dyn_wa>.
            do.
          assign component sy-index
             of structure <dyn_wa> to <dyn_field>.
            if sy-subrc <> 0.
             EXIT.
            else.
    * Here it gets the name of the field based on the sy-index of the component
            READ TABLE l_tab_fields INTO w_tab_fields INDEX sy-index.
          endif.
      ENDLOOP.
    What now doesnt work is, that whenever i have the read statement uncommented the loop doesnt increment so i only get the first row but that n-times.
    any idea where the error is  ?
    thank you! i am awarding points generously

    LOOP AT <dyn_table> INTO <dyn_wa>.
            do.
          assign component sy-index
             of structure <dyn_wa> to <dyn_field>.
            if sy-subrc <> 0.
             EXIT.
            else.
    Here it gets the name of the field based on the sy-index of the component
            READ TABLE l_tab_fields INTO w_tab_fields INDEX sy-index.
          endif.
      ENDLOOP.
    If i gt you rite..i would suggest this
    Data: l_tabix type sy-tabix.
    LOOP AT <dyn_table> INTO <dyn_wa>.
      l_tabix - sy-tabix.
          assign component l_tabix
             of structure <dyn_wa> to <dyn_field>.
            if sy-subrc <> 0.
             EXIT.
            else.
    Here it gets the name of the field based on the sy-index of the component
            READ TABLE l_tab_fields INTO w_tab_fields INDEX l_tabix.
          endif.
      ENDLOOP.
    santhosh

  • Retrieving ALL values from a single restricted user property

    How can I retrieve ALL values of a single restricted user property from within
    a .jpf file?
    I want to display a dropdown list within a form in a JSP which should contain
    all the locations listed in the property 'locations'. I ever get just the default
    value when I access the property via
    ProfileWrapper pw = userprofile.getProfileForUser(user);
    Object prop = pw.getProperty("ClockSetup", "Locations");

    Well, the code you've got will retrieve the single value of the property
    for the current user. You're getting the default value because the
    current user doesn't have Locations property set, so the ProfileWrapper
    returns the default value from the property set.
    I assume you want to get the list of available values that you entered
    into the .usr file in Workshop. If so, I've attached a
    SetColorController.jpf, index.jsp, and GeneralInfo.usr (put in
    META-INF/data/userprofiles) I wrote for an example that does just this.
    It uses the PropertySetManagerControl to retrieve the restricted values
    for a property, and the jsp uses data-binding to create a list from that
    pageflow method.
    For a just-jsps solution, you can also use the
    <ps:getRestrictedPropertyValues/> tag. I've attached a setcolor-tags.jsp
    that does the same thing.
    Greg
    Dirk wrote:
    How can I retrieve ALL values of a single restricted user property from within
    a .jpf file?
    I want to display a dropdown list within a form in a JSP which should contain
    all the locations listed in the property 'locations'. I ever get just the default
    value when I access the property via
    ProfileWrapper pw = userprofile.getProfileForUser(user);
    Object prop = pw.getProperty("ClockSetup", "Locations");
    [att1.html]
    package users.setcolor;
    import com.bea.p13n.controls.exceptions.P13nControlException;
    import com.bea.p13n.property.PropertyDefinition;
    import com.bea.p13n.property.PropertySet;
    import com.bea.p13n.usermgmt.profile.ProfileWrapper;
    import com.bea.wlw.netui.pageflow.FormData;
    import com.bea.wlw.netui.pageflow.Forward;
    import com.bea.wlw.netui.pageflow.PageFlowController;
    import java.util.Collection;
    import java.util.Iterator;
    * @jpf:controller
    * @jpf:view-properties view-properties::
    * <!-- This data is auto-generated. Hand-editing this section is not recommended. -->
    * <view-properties>
    * <pageflow-object id="pageflow:/users/setcolor/SetColorController.jpf"/>
    * <pageflow-object id="action:begin.do">
    * <property value="80" name="x"/>
    * <property value="100" name="y"/>
    * </pageflow-object>
    * <pageflow-object id="action:setColor.do#users.setcolor.SetColorController.ColorFormBean">
    * <property value="240" name="x"/>
    * <property value="220" name="y"/>
    * </pageflow-object>
    * <pageflow-object id="action-call:@page:index.jsp@#@action:setColor.do#users.setcolor.SetColorController.ColorFormBean@">
    * <property value="240,240,240,240" name="elbowsX"/>
    * <property value="144,160,160,176" name="elbowsY"/>
    * <property value="South_1" name="fromPort"/>
    * <property value="North_1" name="toPort"/>
    * </pageflow-object>
    * <pageflow-object id="page:index.jsp">
    * <property value="240" name="x"/>
    * <property value="100" name="y"/>
    * </pageflow-object>
    * <pageflow-object id="forward:path#success#index.jsp#@action:begin.do@">
    * <property value="116,160,160,204" name="elbowsX"/>
    * <property value="92,92,92,92" name="elbowsY"/>
    * <property value="East_1" name="fromPort"/>
    * <property value="West_1" name="toPort"/>
    * <property value="success" name="label"/>
    * </pageflow-object>
    * <pageflow-object id="forward:path#success#begin.do#@action:setColor.do#users.setcolor.SetColorController.ColorFormBean@">
    * <property value="204,160,160,116" name="elbowsX"/>
    * <property value="201,201,103,103" name="elbowsY"/>
    * <property value="West_0" name="fromPort"/>
    * <property value="East_2" name="toPort"/>
    * <property value="success" name="label"/>
    * </pageflow-object>
    * <pageflow-object id="control:com.bea.p13n.controls.ejb.property.PropertySetManager#propSetMgr">
    * <property value="31" name="x"/>
    * <property value="34" name="y"/>
    * </pageflow-object>
    * <pageflow-object id="control:com.bea.p13n.controls.profile.UserProfileControl#profileControl">
    * <property value="37" name="x"/>
    * <property value="34" name="y"/>
    * </pageflow-object>
    * <pageflow-object id="formbeanprop:users.setcolor.SetColorController.ColorFormBean#color#java.lang.String"/>
    * <pageflow-object id="formbean:users.setcolor.SetColorController.ColorFormBean"/>
    * </view-properties>
    public class SetColorController extends PageFlowController
    * @common:control
    private com.bea.p13n.controls.ejb.property.PropertySetManager propSetMgr;
    * @common:control
    private com.bea.p13n.controls.profile.UserProfileControl profileControl;
    /** Cached possible colors from the User Profile Property Set definition.
    private String[] possibleColors = null;
    /** Get the possible colors, based upon the User Profile Property Set.
    public String[] getPossibleColors()
    if (possibleColors != null)
    return possibleColors;
    try
    PropertySet ps = propSetMgr.getPropertySet("USER", "GeneralInfo");
    PropertyDefinition pd = ps.getPropertyDefinition("FavoriteColor");
    Collection l = pd.getRestrictedValues();
    String[] s = new String[l.size()];
    Iterator it = l.iterator();
    for (int i = 0; it.hasNext(); i++)
    s[i] = it.next().toString();
    possibleColors = s;
    catch (P13nControlException ex)
    ex.printStackTrace();
    possibleColors = new String[0];
    return possibleColors;
    /** Get the user's favorite color from their profile.
    public String getUsersColor()
    try
    ProfileWrapper profile = profileControl.getProfileFromRequest(getRequest());
    return profileControl.getProperty(profile, "GeneralInfo", "FavoriteColor").toString();
    catch (P13nControlException ex)
    ex.printStackTrace();
    return null;
    // Uncomment this declaration to access Global.app.
    // protected global.Global globalApp;
    // For an example of page flow exception handling see the example "catch" and "exception-handler"
    // annotations in {project}/WEB-INF/src/global/Global.app
    * This method represents the point of entry into the pageflow
    * @jpf:action
    * @jpf:forward name="success" path="index.jsp"
    protected Forward begin()
    return new Forward("success");
    * @jpf:action
    * @jpf:forward name="success" path="begin.do"
    protected Forward setColor(ColorFormBean form)
    // set the color in the user's profile
    try
    ProfileWrapper profile = profileControl.getProfileFromRequest(getRequest());
    profileControl.setProperty(profile, "GeneralInfo", "FavoriteColor", form.getColor());
    catch (P13nControlException ex)
    ex.printStackTrace();
    return new Forward("success");
    * FormData get and set methods may be overwritten by the Form Bean editor.
    public static class ColorFormBean extends FormData
    private String color;
    public void setColor(String color)
    this.color = color;
    public String getColor()
    return this.color;
    [GeneralInfo.usr]
    [att1.html]

  • Issues with Tor connection

    Hi,
    First here is my network information.
    I'm in university, where there is a direct connection to the internet. But the firewall blocks all outgoing ports except 80 and 443. In addition they seem to be preventing CONNECT calls over HTTP to tunnel other protocols.
    I'm trying to use Tor. In my Torrc i set the following options
    ## CONFIGURED FOR ARCHLINUX
    ## Last updated 22 July 2005 for Tor 0.1.0.13.
    ## (May or may not work for older or newer versions of Tor.)
    ## See the man page, or http://tor.eff.org/tor-manual.html, for more
    ## options you can use in this file.
    # On Unix, Tor will look for this file in someplace like "~/.tor/torrc" or
    # "/etc/torrc"
    # On Windows, Tor will look for the configuration file in someplace like
    # "Application Data\tor\torrc" or "Application Data\<username>\tor\torrc"
    # With the default Mac OS X installer, Tor will look in ~/.tor/torrc or
    # /Library/Tor/torrc
    # Set the Tor Circuit Build time to find faster tor servers, increments of seconds
    CircuitBuildTimeout 2
    # connections while Tor is not in use.
    KeepalivePeriod 60
    # Force Tor to consider whether to build a new circuit every NUM seconds.
    NewCircuitPeriod 15
    # Set How many entry guards we should we keep at a time
    NumEntryGuards 8
    ## Replace this with "SocksPort 0" if you plan to run Tor only as a
    ## server, and not make any local application connections yourself.
    SocksPort 9050 # what port to open for local application connections
    SocksBindAddress 127.0.0.1 # accept connections only from localhost
    #SocksBindAddress 192.168.0.1:9100 # listen on a chosen IP/port too
    ## Entry policies to allow/deny SOCKS requests based on IP address.
    ## First entry that matches wins. If no SocksPolicy is set, we accept
    ## all (and only) requests from SocksBindAddress.
    #SocksPolicy accept 192.168.0.1/16
    #SocksPolicy reject *
    ## Allow no-name routers (ones that the dirserver operators don't
    ## know anything about) in only these positions in your circuits.
    ## Other choices (not advised) are entry,exit,introduction.
    AllowUnverifiedNodes middle,rendezvous
    ## Logs go to stdout at level "notice" unless redirected by something
    ## else, like one of the below lines. You can have as many log lines as
    ## you want.
    ## Send all messages of level 'notice' or higher to /var/log/tor/notices.log
    #Log notice file /var/log/tor/notices.log
    ## Send only debug and info messages to /var/log/tor/debug.log
    #Log debug-info file /var/log/tor/debug.log
    ## Send ONLY debug messages to /var/log/tor/debug.log
    #Log debug-debug file /var/log/tor/debug.log
    ## To use the system log instead of Tor's logfiles, uncomment these lines:
    Log notice syslog
    ## To send all messages to stderr:
    #Log debug stderr
    ## Uncomment this to start the process in the background... or use
    ## --runasdaemon 1 on the command line.
    RunAsDaemon 1
    User tor
    Group tor
    ## Tor only trusts directories signed with one of these keys, and
    ## uses the given addresses to connect to the trusted directory
    ## servers. If no DirServer lines are specified, Tor uses the built-in
    ## defaults (moria1, moria2, tor26), so you can leave this alone unless
    ## you need to change it.
    #DirServer 18.244.0.188:9031 FFCB 46DB 1339 DA84 674C 70D7 CB58 6434 C437 0441
    #DirServer 18.244.0.114:80 719B E45D E224 B607 C537 07D0 E214 3E2D 423E 74CF
    #DirServer 86.59.21.38:80 847B 1F85 0344 D787 6491 A548 92F9 0493 4E4E B85D
    ## The directory for keeping all the keys/etc. By default, we store
    ## things in $HOME/.tor on Unix, and in Application Data\tor on Windows.
    DataDirectory /var/lib/tor
    ## The port on which Tor will listen for local connections from Tor controller
    ## applications, as documented in control-spec.txt. NB: this feature is
    ## currently experimental.
    #ControlPort 9051
    ############### This section is just for location-hidden services ###
    ## Look in .../hidden_service/hostname for the address to tell people.
    ## HiddenServicePort x y:z says to redirect a port x request from the
    ## client to y:z.
    #HiddenServiceDir /var/lib/tor/hidden_service/
    #HiddenServicePort 80 127.0.0.1:80
    #HiddenServiceDir /var/lib/tor/other_hidden_service/
    #HiddenServicePort 80 127.0.0.1:80
    #HiddenServicePort 22 127.0.0.1:22
    #HiddenServiceNodes moria1,moria2
    #HiddenServiceExcludeNodes bad,otherbad
    ################ This section is just for servers #####################
    ## NOTE: If you enable these, you should consider mailing your identity
    ## key fingerprint to the tor-ops, so we can add you to the list of
    ## servers that clients will trust. See
    ## http://tor.eff.org/doc/tor-doc.html#server for details.
    ## Required: A unique handle for this server
    #Nickname ididnteditheconfig
    ## The IP or fqdn for this server. Leave commented out and Tor will guess.
    #Address noname.example.com
    ## Contact info that will be published in the directory, so we can
    ## contact you if you need to upgrade or if something goes wrong.
    ## This is optional but recommended.
    #ContactInfo Random Person <nobody AT example dot com>
    ## You might also include your PGP or GPG fingerprint if you have one:
    #ContactInfo 1234D/FFFFFFFF Random Person <nobody AT example dot com>
    ## Required: what port to advertise for tor connections
    #ORPort 9001
    ## If you want to listen on a port other than the one advertised
    ## in ORPort (e.g. to advertise 443 but bind to 9090), uncomment
    ## the line below. You'll need to do ipchains or other port forwarding
    ## yourself to make this work.
    #ORBindAddress 0.0.0.0:9090
    ## Uncomment this to mirror the directory for others (please do)
    #DirPort 9030 # what port to advertise for directory connections
    ## If you want to listen on a port other than the one advertised
    ## in DirPort (e.g. to advertise 80 but bind 9091), uncomment the line
    ## below. You'll need to do ipchains or other port forwarding yourself
    ## to make this work.
    #DirBindAddress 0.0.0.0:9091
    ## A comma-separated list of exit policies. They're considered first
    ## to last, and the first match wins. If you want to *replace*
    ## the default exit policy, end this with either a reject *:* or an
    ## accept *:*. Otherwise, you're *augmenting* (prepending to) the
    ## default exit policy. Leave commented to just use the default, which is
    ## available in the man page or at http://tor.eff.org/documentation.html
    ## Look at http://tor.eff.org/faq-abuse.html#TypicalAbuses
    ## for issues you might encounter if you use the default exit policy.
    ## If certain IPs and ports are blocked externally, e.g. by your firewall,
    ## you should update your exit policy to reflect this -- otherwise Tor
    ## users will be told that those destinations are down.
    #ExitPolicy accept *:6660-6667,reject *:* # allow irc ports but no more
    #ExitPolicy accept *:119 # accept nntp as well as default exit policy
    #ExitPolicy reject *:* # middleman only -- no exits allowed
    ReachableDirAddresses *:80
    ReachableORAddresses *:443
    But Tor is unable to connect. Here is the log
    Tor[5442]: No current certificate known for authority moria1; launching request.
    Tor[5442]: No current certificate known for authority tor26; launching request.
    Tor[5442]: No current certificate known for authority dizum; launching request.
    Tor[5442]: No current certificate known for authority ides; launching request.
    Tor[5442]: No current certificate known for authority gabelmoo; launching request.
    Tor[5442]: No current certificate known for authority dannenberg; launching request.
    Tor[5442]: Your application (using socks4 to port 80) is giving Tor only an IP address. Applications t
    hat do DNS resolves themselves may leak information. Consider using Socks4A (e.g. via privoxy or socat) instead. For more inf
    ormation, please see http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#SOCKSAndDNS.
    Tor[5442]: Application request when we're believed to be offline. Optimistically trying directory fetc
    hes again.
    I can't find any documentation about this issue.
    Thanks.

    ## Tor only trusts directories signed with one of these keys, and
    ## uses the given addresses to connect to the trusted directory 
    ## servers. If no DirServer lines are specified, Tor uses the built-in
    ## defaults (moria1, moria2, tor26), so you can leave this alone unless
    ## you need to change it.                                             
    #DirServer 18.244.0.188:9031 FFCB 46DB 1339 DA84 674C 70D7 CB58 6434 C437 0441
    #DirServer 18.244.0.114:80 719B E45D E224 B607 C537 07D0 E214 3E2D 423E 74CF 
    #DirServer 86.59.21.38:80 847B 1F85 0344 D787 6491 A548 92F9 0493 4E4E B85D 
    Try uncomment this...
    Maybe tor need this address
    Sorry for my very bad english, i am from Brazil, add me in GTalk if you need more support.
    [email protected]
    Good luck!

  • New to Solaris, Some Samba and NTFS issues.

    Hi Im new to solaris and trying out ZFS which has been great.
    Im haivng some trouble that I cant find up to date info on so here goes:
    First how do you mount an NTFS volume in Solaris 11 Express?
    I need to access the data on an NTFS drive to populate my new ZFS tank.
    Secondly, I have read only access on my samba shares from windows machines but my smb.conf looks right. a copy of my smb.conf will follow
    Any suggestions would be appreciated.
    # This is the main Samba configuration file. You should read the
    # smb.conf(5) manual page in order to understand the options listed
    # here. Samba has a huge number of configurable options (perhaps too
    # many!) most of which are not shown in this example
    # For a step to step guide on installing, configuring and using samba,
    # read the Samba-HOWTO-Collection. This may be obtained from:
    # http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf
    # Many working examples of smb.conf files can be found in the
    # Samba-Guide which is generated daily and can be downloaded from:
    # http://www.samba.org/samba/docs/Samba-Guide.pdf
    # Any line which starts with a ; (semi-colon) or a # (hash)
    # is a comment and is ignored. In this example we will use a #
    # for commentry and a ; for parts of the config file that you
    # may wish to enable
    # NOTE: Whenever you modify this file you should run the command "testparm"
    # to check that you have not made any basic syntactic errors.
    #======================= Global Settings =====================================
    [global]
    # workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH
    workgroup = WORKGROUP
    # server string is the equivalent of the NT Description field
    server string = Samba Server
    # Security mode. Defines in which mode Samba will operate. Possible
    # values are share, user, server, domain and ads. Most people will want
    # user level security. See the Samba-HOWTO-Collection for details.
    security = share
    # This option is important for security. It allows you to restrict
    # connections to machines which are on your local network. The
    # following example restricts access to two C class networks and
    # the "loopback" interface. For more examples of the syntax see
    # the smb.conf man page
    ; hosts allow = 192.168.1. 192.168.2. 127.
    # If you want to automatically load your printer list rather
    # than setting them up individually then you'll need this
    load printers = yes
    # you may wish to override the location of the printcap file
    ; printcap name = /etc/printcap
    # on SystemV system setting printcap name to lpstat should allow
    # you to automatically obtain a printer list from the SystemV spool
    # system
    ; printcap name = lpstat
    # It should not be necessary to specify the print system type unless
    # it is non-standard. Currently supported print systems include:
    # bsd, cups, sysv, plp, lprng, aix, hpux, qnx
    ; printing = cups
    # Uncomment this if you want a guest account, you must add this to /etc/passwd
    # otherwise the user "nobody" is used
    ; guest account = pcguest
    # this tells Samba to use a separate log file for each machine
    # that connects
    log file = /var/samba/log/log.%m
    # Put a capping on the size of the log files (in Kb).
    max log size = 50
    # Use password server option only with security = server
    # The argument list may include:
    # password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
    # or to auto-locate the domain controller/s
    # password server = *
    ; password server = <NT-Server-Name>
    # Use the realm option only with security = ads
    # Specifies the Active Directory realm the host is part of
    ; realm = MY_REALM
    # Backend to store user information in. New installations should
    # use either tdbsam or ldapsam. smbpasswd is available for backwards
    # compatibility. tdbsam requires no further configuration.
    passdb backend = smbpasswd
    # Using the following line enables you to customise your configuration
    # on a per machine basis. The %m gets replaced with the netbios name
    # of the machine that is connecting.
    # Note: Consider carefully the location in the configuration file of
    # this line. The included file is read at that point.
    ; include = /usr/sfw/lib/smb.conf.%m
    # Configure Samba to use multiple interfaces
    # If you have multiple network interfaces then you must list them
    # here. See the man page for details.
    ; interfaces = 192.168.12.2/24 192.168.13.2/24
    # Browser Control Options:
    # set local master to no if you don't want Samba to become a master
    # browser on your network. Otherwise the normal election rules apply
    ; local master = no
    # OS Level determines the precedence of this server in master browser
    # elections. The default value should be reasonable
    ; os level = 33
    # Domain Master specifies Samba to be the Domain Master Browser. This
    # allows Samba to collate browse lists between subnets. Don't use this
    # if you already have a Windows NT domain controller doing this job
    ; domain master = yes
    # Preferred Master causes Samba to force a local browser election on startup
    # and gives it a slightly higher chance of winning the election
    ; preferred master = yes
    # Enable this if you want Samba to be a domain logon server for
    # Windows95 workstations.
    ; domain logons = yes
    # if you enable domain logons then you may want a per-machine or
    # per user logon script
    # run a specific logon batch file per workstation (machine)
    ; logon script = %m.bat
    # run a specific logon batch file per username
    ; logon script = %U.bat
    # Where to store roving profiles (only for Win95 and WinNT)
    # %L substitutes for this servers netbios name, %U is username
    # You must uncomment the [Profiles] share below
    ; logon path = \\%L\Profiles\%U
    # Windows Internet Name Serving Support Section:
    # WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
    ; wins support = yes
    # WINS Server - Tells the NMBD components of Samba to be a WINS Client
    #     Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
    ; wins server = w.x.y.z
    # WINS Proxy - Tells Samba to answer name resolution queries on
    # behalf of a non WINS capable client, for this to work there must be
    # at least one     WINS Server on the network. The default is NO.
    ; wins proxy = yes
    # DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
    # via DNS nslookups. The default is NO.
    dns proxy = no
    # These scripts are used on a domain controller or stand-alone
    # machine to add or delete corresponding unix accounts
    ; add user script = /usr/sbin/useradd %u
    ; add group script = /usr/sbin/groupadd %g
    ; add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u
    ; delete user script = /usr/sbin/userdel %u
    ; delete user from group script = /usr/sbin/deluser %u %g
    ; delete group script = /usr/sbin/groupdel %g
    #============================ Share Definitions ==============================
    [homes]
    comment = Home Directories
    browseable = no
    writable = yes
    # Un-comment the following and create the netlogon directory for Domain Logons
    ; [netlogon]
    ; comment = Network Logon Service
    ; path = /usr/sfw/lib/netlogon
    ; guest ok = yes
    ; writable = no
    ; share modes = no
    # Un-comment the following to provide a specific roving profile share
    # the default is to use the user's home directory
    ;[Profiles]
    ; path = /usr/local/samba/profiles
    ; browseable = no
    ; guest ok = yes
    # NOTE: If you have a BSD-style print system there is no need to
    # specifically define each individual printer
    [printers]
    comment = All Printers
    path = /var/spool/samba
    browseable = no
    # Set public = yes to allow user 'guest account' to print
    guest ok = no
    writable = no
    printable = yes
    # This one is useful for people to share files
    ;[tmp]
    ; comment = Temporary file space
    ; path = /tmp
    ; read only = no
    ; public = yes
    # A publicly accessible directory, but read only, except for people in
    # the "staff" group
    ;[public]
    ; comment = Public Stuff
    ; path = /home/samba
    ; public = yes
    ; writable = no
    ; printable = no
    ; write list = @staff
    # Other examples.
    # A private printer, usable only by fred. Spool data will be placed in fred's
    # home directory. Note that fred must have write access to the spool directory,
    # wherever it is.
    ;[fredsprn]
    ; comment = Fred's Printer
    ; valid users = fred
    ; path = /homes/fred
    ; printer = freds_printer
    ; public = no
    ; writable = no
    ; printable = yes
    # A private directory, usable only by fred. Note that fred requires write
    # access to the directory.
    ;[fredsdir]
    ; comment = Fred's Service
    ; path = /usr/somewhere/private
    ; valid users = fred
    ; public = no
    ; writable = yes
    ; printable = no
    # a service which has a different directory for each machine that connects
    # this allows you to tailor configurations to incoming machines. You could
    # also use the %U option to tailor it by user name.
    # The %m gets replaced with the machine name that is connecting.
    ;[pchome]
    ; comment = PC Directories
    ; path = /usr/pc/%m
    ; public = no
    ; writable = yes
    # A publicly accessible directory, read/write to all users. Note that all files
    # created in the directory by users will be owned by the default user, so
    # any user with access can delete any other user's files. Obviously this
    # directory must be writable by the default user. Another user could of course
    # be specified, in which case all files would be owned by that user instead.
    ;[public]
    ; path = /usr/somewhere/else/public
    ; public = yes
    ; only guest = yes
    ; writable = yes
    ; printable = no
    # The following two entries demonstrate how to share a directory so that two
    # users can place files there that will be owned by the specific users. In this
    # setup, the directory should be writable by both users and should have the
    # sticky bit set on it to prevent abuse. Obviously this could be extended to
    # as many users as required.
    ;[myshare]
    ; comment = Mary's and Fred's stuff
    ; path = /usr/somewhere/shared
    ; valid users = mary fred
    ; public = no
    ; writable = yes
    ; printable = no
    ; create mask = 0765
    [Series]
    comment = TV Series
    path = /home/Kirby/Series
    public = yes
    only guest = yes
    writable = yes
    printable = no

    875739 wrote:
    Hi Im new to solaris and trying out ZFS which has been great.
    Im haivng some trouble that I cant find up to date info on so here goes:
    First how do you mount an NTFS volume in Solaris 11 Express?
    I need to access the data on an NTFS drive to populate my new ZFS tank.I never had a need for it but I think you'll have to compile fuse ntfs-3g manually.
    http://web.archiveorange.com/archive/v/u46DbWSGcIzl7pexf4hQ
    >
    Secondly, I have read only access on my samba shares from windows machines but my smb.conf looks right. a copy of my smb.conf will follow
    Any suggestions would be appreciated.You don't need to use Samba in Solaris 11 Express.
    http://download.oracle.com/docs/cd/E19963-01/html/821-1448/gaynd.html#gayne

  • Create animated GIF using imageio

    How do you create an animated GIF using the J2SE's javax.imageio classes?
    I have been browsing these 3 threads (one of which I participated in) to try and develop an SSCCE of creating an animated GIF.
    [Writing out animated gifs with ImageIO?|http://forums.sun.com/thread.jspa?threadID=5204877]
    [Wirting image metadata to control animated gif delays |http://forums.java.net/jive/thread.jspa?messageID=214284&]
    [Help with GIF writer in imageio|http://www.javakb.com/Uwe/Forum.aspx/java-programmer/32892/Help-with-GIF-writer-in-imageio]
    (pity I did not prompt the OP on that last one, to supply an SSCCE.)
    Unfortunately, my efforts so far have been dismal. Either, without the IIOMetadata object, the GIF has frames with no delay, and it cycles just once, or with the IIOMetadata object I get an error.
    IIOInvalidTreeException: Unknown child of root node!Can anyone point me in the right direction?
    import java.awt.*;
    import java.awt.image.*;
    import javax.swing.*;
    import java.io.*;
    import java.net.URL;
    import java.util.Iterator;
    import javax.imageio.*;
    import javax.imageio.metadata.*;
    import javax.imageio.stream.*;
    import org.w3c.dom.Node;
    class WriteAnimatedGif {
      /** Adapted from code via Brian Burkhalter on
      http://forums.java.net/jive/thread.jspa?messageID=214284& */
      public static Node getRootNode(String delayTime) {
        IIOMetadataNode root =
          new IIOMetadataNode("javax_imageio_gif_stream_1.0");
        IIOMetadataNode gce =
          new IIOMetadataNode("GraphicControlExtension");
        gce.setAttribute("disposalMethod", "none");
        gce.setAttribute("userInputFlag", "FALSE");
        gce.setAttribute("transparentColorFlag", "FALSE");
        gce.setAttribute("delayTime", delayTime);
        gce.setAttribute("transparentColorIndex", "255");
        root.appendChild(gce);
        IIOMetadataNode aes =
          new IIOMetadataNode("ApplicationExtensions");
        IIOMetadataNode ae =
          new IIOMetadataNode("ApplicationExtension");
        ae.setAttribute("applicationID", "NETSCAPE");
        ae.setAttribute("authenticationCode", "2.0");
        byte[] uo = new byte[] {
          (byte)0x21, (byte)0xff, (byte)0x0b,
          (byte)'N', (byte)'E', (byte)'T', (byte)'S',
          (byte)'C', (byte)'A', (byte)'P', (byte)'E',
          (byte)'2', (byte)'.', (byte)'0',
          (byte)0x03, (byte)0x01, (byte)0x00, (byte)0x00,
          (byte)0x00
        ae.setUserObject(uo);
        aes.appendChild(ae);
        root.appendChild(aes);
        return root;
      /** Adapted from code via GeogffTitmus on
      http://forums.sun.com/thread.jspa?messageID=9988198 */
      public static File saveAnimate(
        BufferedImage[] frames,
        String name,
        String delayTime) throws Exception {
        File file = null;
        file = new File(name+".gif");
        Node root = getRootNode(delayTime);
        ImageWriter iw = ImageIO.getImageWritersByFormatName("gif").next();
        ImageOutputStream ios = ImageIO.createImageOutputStream(file);
        iw.setOutput(ios);
        //IIOImage ii = new IIOImage(frames[0], null, null);
        //IIOMetadata im = iw.getDefaultStreamMetadata(null);
        //IIOMetadata im = new AnimatedIIOMetadata();
        //im.setFromTree("gif", root);
        iw.prepareWriteSequence(null);
        for (int i = 0; i < frames.length; i++) {
          BufferedImage src = frames;
    ImageWriteParam iwp = iw.getDefaultWriteParam();
    IIOMetadata metadata = iw.getDefaultStreamMetadata(iwp);
    System.out.println( "IIOMetadata: " + metadata );
    //metadata.mergeTree(metadata.getNativeMetadataFormatName(), root);
    metadata.setFromTree(metadata.getNativeMetadataFormatName(), root);
    //Node root = metadata.getAsTree("javax_imageio_gif_image_1.0");
    IIOImage ii = new IIOImage(src, null, metadata);
    iw.writeToSequence( ii, (ImageWriteParam)null);
    iw.endWriteSequence();
    ios.close();
    return file;
    public static void main(String[] args) throws Exception {
    // uncomment the other two if you like, but we can
    // see it work or fail with just the first and last.
    String[] names = {
    "bronze",
    //"silver",
    //"gold",
    "platinum"
    String pre = "http://forums.sun.com/im/";
    String suff = "-star.gif";
    BufferedImage[] frames = new BufferedImage[names.length];
    for (int ii=0; ii<names.length; ii++) {
    URL url = new URL(pre + names[ii] + suff);
    System.out.println(url);
    frames[ii] = ImageIO.read(url);
    File f = saveAnimate(frames, "animatedstars", "500");
    JOptionPane.showMessageDialog( null, new ImageIcon(f.toURI().toURL()) );
    Desktop.getDesktop().open(f);
    ImageInputStream iis = ImageIO.createImageInputStream(f);
    //System.out.println("ImageReader: " + ir1);
    //System.out.println("IIOMetadata: " + ir1.getStreamMetadata());
    Iterator itReaders = ImageIO.getImageReaders(iis);
    while (itReaders.hasNext() ) {
    ImageReader ir = (ImageReader)itReaders.next();
    System.out.println("ImageReader: " + ir);
    System.out.println("IIOMetadata: " + ir.getStreamMetadata());

    According to imagio's [gif metadata specification|http://java.sun.com/javase/6/docs/api/javax/imageio/metadata/doc-files/gif_metadata.html], the metadata you are specifying is image-specific metadata. The stream metadata is global metadata applicable to all the images.
    So change this,
    IIOMetadataNode root =
        new IIOMetadataNode("javax_imageio_gif_stream_1.0");to this,
    IIOMetadataNode root =
        new IIOMetadataNode("javax_imageio_gif_image_1.0");and this,
    IIOMetadata metadata = iw.getDefaultStreamMetadata(iwp);
    System.out.println( "IIOMetadata: " + metadata );
    //metadata.mergeTree(metadata.getNativeMetadataFormatName(), root);
    metadata.setFromTree(metadata.getNativeMetadataFormatName(), root);
    //Node root = metadata.getAsTree("javax_imageio_gif_image_1.0");to this,
    IIOMetadata metadata = iw.getDefaultImageMetadata(
            new ImageTypeSpecifier(src),null);
    System.out.println("IIOMetadata: " + metadata);
    metadata.mergeTree(metadata.getNativeMetadataFormatName(), root);Here is your program again, but with the above changes.
    import java.awt.*;
    import java.awt.image.*;
    import javax.swing.*;
    import java.io.*;
    import java.net.URL;
    import java.util.Iterator;
    import javax.imageio.*;
    import javax.imageio.metadata.*;
    import javax.imageio.stream.*;
    import org.w3c.dom.Node;
    class WriteAnimatedGif {
        /** Adapted from code via Brian Burkhalter on
        http://forums.java.net/jive/thread.jspa?messageID=214284& */
        public static Node getRootNode(String delayTime) {
            IIOMetadataNode root =
                    new IIOMetadataNode("javax_imageio_gif_image_1.0");
            IIOMetadataNode gce =
                    new IIOMetadataNode("GraphicControlExtension");
            gce.setAttribute("disposalMethod", "none");
            gce.setAttribute("userInputFlag", "FALSE");
            gce.setAttribute("transparentColorFlag", "FALSE");
            gce.setAttribute("delayTime", delayTime);
            gce.setAttribute("transparentColorIndex", "255");
            root.appendChild(gce);
            IIOMetadataNode aes =
                    new IIOMetadataNode("ApplicationExtensions");
            IIOMetadataNode ae =
                    new IIOMetadataNode("ApplicationExtension");
            ae.setAttribute("applicationID", "NETSCAPE");
            ae.setAttribute("authenticationCode", "2.0");
            byte[] uo = new byte[]{
                (byte) 0x21, (byte) 0xff, (byte) 0x0b,
                (byte) 'N', (byte) 'E', (byte) 'T', (byte) 'S',
                (byte) 'C', (byte) 'A', (byte) 'P', (byte) 'E',
                (byte) '2', (byte) '.', (byte) '0',
                (byte) 0x03, (byte) 0x01, (byte) 0x00, (byte) 0x00,
                (byte) 0x00
            ae.setUserObject(uo);
            aes.appendChild(ae);
            root.appendChild(aes);
            return root;
        /** Adapted from code via GeogffTitmus on
        http://forums.sun.com/thread.jspa?messageID=9988198 */
        public static File saveAnimate(
                BufferedImage[] frames,
                String name,
                String delayTime) throws Exception {
            File file = null;
            file = new File(name + ".gif");
            Node root = getRootNode(delayTime);
            ImageWriter iw = ImageIO.getImageWritersByFormatName("gif").next();
            ImageOutputStream ios = ImageIO.createImageOutputStream(file);
            iw.setOutput(ios);
            //IIOImage ii = new IIOImage(frames[0], null, null);
            //IIOMetadata im = iw.getDefaultStreamMetadata(null);
            //IIOMetadata im = new AnimatedIIOMetadata();
            //im.setFromTree("gif", root);
            iw.prepareWriteSequence(null);
            for (int i = 0; i < frames.length; i++) {
                BufferedImage src = frames;
    ImageWriteParam iwp = iw.getDefaultWriteParam();
    IIOMetadata metadata = iw.getDefaultImageMetadata(
    new ImageTypeSpecifier(src), null);
    System.out.println("IIOMetadata: " + metadata);
    metadata.mergeTree(metadata.getNativeMetadataFormatName(), root);
    IIOImage ii = new IIOImage(src, null, metadata);
    iw.writeToSequence(ii, (ImageWriteParam) null);
    iw.endWriteSequence();
    ios.close();
    return file;
    public static void main(String[] args) throws Exception {
    // uncomment the other two if you like, but we can
    // see it work or fail with just the first and last.
    String[] names = {
    "bronze",
    //"silver",
    //"gold",
    "platinum"
    String pre = "http://forums.sun.com/im/";
    String suff = "-star.gif";
    BufferedImage[] frames = new BufferedImage[names.length];
    for (int ii = 0; ii < names.length; ii++) {
    URL url = new URL(pre + names[ii] + suff);
    System.out.println(url);
    frames[ii] = ImageIO.read(url);
    File f = saveAnimate(frames, "animatedstars", "500");
    JOptionPane.showMessageDialog(null, new ImageIcon(f.toURI().toURL()));
    Desktop.getDesktop().open(f);
    ImageInputStream iis = ImageIO.createImageInputStream(f);
    //System.out.println("ImageReader: " + ir1);
    //System.out.println("IIOMetadata: " + ir1.getStreamMetadata());
    Iterator itReaders = ImageIO.getImageReaders(iis);
    while (itReaders.hasNext()) {
    ImageReader ir = (ImageReader) itReaders.next();
    System.out.println("ImageReader: " + ir);
    System.out.println("IIOMetadata: " + ir.getStreamMetadata());

  • File and FileInputStream problem

    Hi all
    I have downloaded from developpez.com a sample code to zip files. I modified it a bit to suit with my needs, and when I launched it, there was an exception. So I commented all the lines except for the first executable one; and when it succeeds then I uncomment the next executable line; and so on. When I arrived at the FileInputStream line , the exception raised. When I looked at the code, it seemed normal. So I want help how to solve it. Here is the code with the last executable line uncommented, and the exception stack :
    // Copyright (c) 2001
    package pack_zip;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import oracle.jdeveloper.layout.*;
    import java.io.*;
    import java.util.*;
    import java.util.zip.*;
    import java.text.*;
    * A Swing-based top level window class.
    * <P>
    * @author a
    public class fzip extends JFrame implements ActionListener{
    JPanel jPanel1 = new JPanel();
    XYLayout xYLayout1 = new XYLayout();
    JTextField szdir = new JTextField();
    JButton btn = new JButton();
    JButton bzip = new JButton();
         * Taille générique du tampon en lecture et écriture
    static final int BUFFER = 2048;
    * Constructs a new instance.
    public fzip() {
    super("Test zip");
    try {
    jbInit();
    catch (Exception e) {
    e.printStackTrace();
    * Initializes the state of this instance.
    private void jbInit() throws Exception {
    this.getContentPane().setLayout(xYLayout1);
         this.setSize(new Dimension(400, 300));
    btn.setText("btn");
    btn.setActionCommand("browse");
    btn.setLabel("Browse ...");
    btn.setFont(new Font("Dialog", 0, 14));
    bzip.setText("bzip");
    bzip.setActionCommand("zipper");
    bzip.setLabel("Zipper");
    bzip.setFont(new Font("Dialog", 0, 14));
    btn.addActionListener(this);
    bzip.addActionListener(this);
    bzip.setEnabled(false);
         this.getContentPane().add(jPanel1, new XYConstraints(0, 0, -1, -1));
    this.getContentPane().add(szdir, new XYConstraints(23, 28, 252, 35));
    this.getContentPane().add(btn, new XYConstraints(279, 28, 103, 38));
    this.getContentPane().add(bzip, new XYConstraints(128, 71, 103, 38));
    public void actionPerformed(ActionEvent e)
    if(e.getActionCommand() == "browse")
    FileDialog fd = new FileDialog(this);
    fd.setVisible(true);
    szdir.setText(fd.getDirectory());
    bzip.setEnabled(true);
    else
              * Compression
         try {
              // création d'un flux d'écriture sur fichier
         FileOutputStream dest = new FileOutputStream("Test_archive.zip");
              // calcul du checksum : Adler32 (plus rapide) ou CRC32
         CheckedOutputStream checksum = new CheckedOutputStream(dest, new Adler32());
              // création d'un buffer d'écriture
         BufferedOutputStream buff = new BufferedOutputStream(checksum);
              // création d'un flux d'écriture Zip
         ZipOutputStream out = new ZipOutputStream(buff);
         // spécification de la méthode de compression
         out.setMethod(ZipOutputStream.DEFLATED);
              // spécifier la qualité de la compression 0..9
         out.setLevel(Deflater.BEST_COMPRESSION);
         // buffer temporaire des données à écriture dans le flux de sortie
         byte data[] = new byte[BUFFER];
              // extraction de la liste des fichiers du répertoire courant
         File f = new File(szdir.getText());
         String files[] = f.list();
              // pour chacun des fichiers de la liste
         for (int i=0; i<files.length; i++) {
                   // en afficher le nom
              System.out.println("Adding: "+files);
    // création d'un flux de lecture
    FileInputStream fi = new FileInputStream(files[i]);
    /* // création d'un tampon de lecture sur ce flux
    BufferedInputStream buffi = new BufferedInputStream(fi, BUFFER);
    // création d'en entrée Zip pour ce fichier
    ZipEntry entry = new ZipEntry(files[i]);
    // ajout de cette entrée dans le flux d'écriture de l'archive Zip
    out.putNextEntry(entry);
    // écriture du fichier par paquet de BUFFER octets
    // dans le flux d'écriture
    int count;
    while((count = buffi.read(data, 0, BUFFER)) != -1) {
              out.write(data, 0, count);
                   // Close the current entry
    out.closeEntry();
    // fermeture du flux de lecture
              buffi.close();*/
    /*     // fermeture du flux d'écriture
         out.close();
         buff.close();
         checksum.close();
         dest.close();
         System.out.println("checksum: " + checksum.getChecksum().getValue());*/
         // traitement de toute exception
    catch(Exception ex) {
              ex.printStackTrace();
    And here is the error stack :
    "D:\jdev32\java1.2\jre\bin\javaw.exe" -mx50m -classpath "D:\jdev32\myclasses;D:\jdev32\lib\jdev-rt.zip;D:\jdev32\jdbc\lib\oracle8.1.7\classes12.zip;D:\jdev32\lib\connectionmanager.zip;D:\jdev32\lib\jbcl2.0.zip;D:\jdev32\lib\jgl3.1.0.jar;D:\jdev32\java1.2\jre\lib\rt.jar" pack_zip.czip
    Adding: accueil188.cfm
    java.io.FileNotFoundException: accueil188.cfm (Le fichier spécifié est introuvable.
         void java.io.FileInputStream.open(java.lang.String)
         void java.io.FileInputStream.<init>(java.lang.String)
         void pack_zip.fzip.actionPerformed(java.awt.event.ActionEvent)
         void javax.swing.AbstractButton.fireActionPerformed(java.awt.event.ActionEvent)
         void javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(java.awt.event.ActionEvent)
         void javax.swing.DefaultButtonModel.fireActionPerformed(java.awt.event.ActionEvent)
         void javax.swing.DefaultButtonModel.setPressed(boolean)
         void javax.swing.plaf.basic.BasicButtonListener.mouseReleased(java.awt.event.MouseEvent)
         void java.awt.Component.processMouseEvent(java.awt.event.MouseEvent)
         void java.awt.Component.processEvent(java.awt.AWTEvent)
         void java.awt.Container.processEvent(java.awt.AWTEvent)
         void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent)
         void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
         void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
         void java.awt.LightweightDispatcher.retargetMouseEvent(java.awt.Component, int, java.awt.event.MouseEvent)
         boolean java.awt.LightweightDispatcher.processMouseEvent(java.awt.event.MouseEvent)
         boolean java.awt.LightweightDispatcher.dispatchEvent(java.awt.AWTEvent)
         void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
         void java.awt.Window.dispatchEventImpl(java.awt.AWTEvent)
         void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
         void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent)
         boolean java.awt.EventDispatchThread.pumpOneEvent()
         void java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional)
         void java.awt.EventDispatchThread.run()
    Thank you very much

    One easy way to send a file through RMI is to read all bytes of a file to a byte array and send this array as a parameter of a remote method. But of course you may have problems with memory when you send large files. The receive is simillary.
    Other way is to split the file and getting slices of the file, sending slices and re-assemble at destination. This assume that the file isn't changed through the full transfering is concluded.
    I hope these could help you.

  • URgent !!!!!!!!! How do i add information to server.xml of tomcat

    Hi ,
    I want to add the conext information to my server.xml of tomcat for my hibernate configuration.....
    the conext information is as follows ....
    <Context path="/quickstart" docBase="quickstart">
    <Resource name="jdbc/quickstart" scope="Shareable" type="javax.sql.DataSource"/>
    <ResourceParams name="jdbc/quickstart">
    <parameter>
    <name>factory</name>
    <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
    </parameter>
    <!-- DBCP database connection settings -->
    <parameter>
    <name>url</name>
    <value>jdbc:postgresql://localhost/quickstart</value>
    </parameter>
    <parameter>
    <name>driverClassName</name><value>org.postgresql.Driver</value>
    </parameter>
    <parameter>
    <name>username</name>
    <value>quickstart</value>
    </parameter>
    <parameter>
    <name>password</name>
    <value>secret</value>
    </parameter>
    <!-- DBCP connection pooling options -->
    <parameter>
    <name>maxWait</name>
    <value>3000</value>
    </parameter>
    <parameter>
    <name>maxIdle</name>
    <value>100</value>
    </parameter>
    <parameter>
    <name>maxActive</name>
    <value>10</value>
    </parameter>
    </ResourceParams>
    </Context>
    Where in my server.xml should i put
    the server.xml looks like this :
    <!-- Example Server Configuration File -->
    <!-- Note that component elements are nested corresponding to their
    parent-child relationships with each other -->
    <!-- A "Server" is a singleton element that represents the entire JVM,
    which may contain one or more "Service" instances. The Server
    listens for a shutdown command on the indicated port.
    Note: A "Server" is not itself a "Container", so you may not
    define subcomponents such as "Valves" or "Loggers" at this level.
    -->
    <Server port="8005" shutdown="SHUTDOWN">
    <!-- Comment these entries out to disable JMX MBeans support used for the
    administration web application -->
    <Listener className="org.apache.catalina.core.AprLifecycleListener" />
    <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
    <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
    <Listener className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/>
    <!-- Global JNDI resources -->
    <GlobalNamingResources>
    <!-- Test entry for demonstration purposes -->
    <Environment name="simpleValue" type="java.lang.Integer" value="30"/>
    <!-- Editable user database that can also be used by
    UserDatabaseRealm to authenticate users -->
    <Resource name="UserDatabase" auth="Container"
    type="org.apache.catalina.UserDatabase"
    description="User database that can be updated and saved"
    factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
    pathname="conf/tomcat-users.xml" />
    </GlobalNamingResources>
    <!-- A "Service" is a collection of one or more "Connectors" that share
    a single "Container" (and therefore the web applications visible
    within that Container). Normally, that Container is an "Engine",
    but this is not required.
    Note: A "Service" is not itself a "Container", so you may not
    define subcomponents such as "Valves" or "Loggers" at this level.
    -->
    <!-- Define the Tomcat Stand-Alone Service -->
    <Service name="Catalina">
    <!-- A "Connector" represents an endpoint by which requests are received
    and responses are returned. Each Connector passes requests on to the
    associated "Container" (normally an Engine) for processing.
    By default, a non-SSL HTTP/1.1 Connector is established on port 8080.
    You can also enable an SSL HTTP/1.1 Connector on port 8443 by
    following the instructions below and uncommenting the second Connector
    entry. SSL support requires the following steps (see the SSL Config
    HOWTO in the Tomcat 5 documentation bundle for more detailed
    instructions):
    * If your JDK version 1.3 or prior, download and install JSSE 1.0.2 or
    later, and put the JAR files into "$JAVA_HOME/jre/lib/ext".
    * Execute:
    %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows)
    $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (Unix)
    with a password value of "changeit" for both the certificate and
    the keystore itself.
    By default, DNS lookups are enabled when a web application calls
    request.getRemoteHost(). This can have an adverse impact on
    performance, so you can disable it by setting the
    "enableLookups" attribute to "false". When DNS lookups are disabled,
    request.getRemoteHost() will return the String version of the
    IP address of the remote client.
    -->
    <!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
    <Connector
    port="8080" maxHttpHeaderSize="8192"
    maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" redirectPort="8443" acceptCount="100"
    connectionTimeout="20000" disableUploadTimeout="true" />
    <!-- Note : To disable connection timeouts, set connectionTimeout value
    to 0 -->
         <!-- Note : To use gzip compression you could set the following properties :
                   compression="on"
                   compressionMinSize="2048"
                   noCompressionUserAgents="gozilla, traviata"
                   compressableMimeType="text/html,text/xml"
         -->
    <!-- Define a SSL HTTP/1.1 Connector on port 8443 -->
    <!--
    <Connector port="8443" maxHttpHeaderSize="8192"
    maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" disableUploadTimeout="true"
    acceptCount="100" scheme="https" secure="true"
    clientAuth="false" sslProtocol="TLS" />
    -->
    <!-- Define an AJP 1.3 Connector on port 8009 -->
    <Connector port="8009"
    enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />
    <!-- Define a Proxied HTTP/1.1 Connector on port 8082 -->
    <!-- See proxy documentation for more information about using this. -->
    <!--
    <Connector port="8082"
    maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" acceptCount="100" connectionTimeout="20000"
    proxyPort="80" disableUploadTimeout="true" />
    -->
    <!-- An Engine represents the entry point (within Catalina) that processes
    every request. The Engine implementation for Tomcat stand alone
    analyzes the HTTP headers included with the request, and passes them
    on to the appropriate Host (virtual host). -->
    <!-- You should set jvmRoute to support load-balancing via AJP ie :
    <Engine name="Standalone" defaultHost="localhost" jvmRoute="jvm1">
    -->
    <!-- Define the top level container in our container hierarchy -->
    <Engine name="Catalina" defaultHost="localhost">
    <!-- The request dumper valve dumps useful debugging information about
    the request headers and cookies that were received, and the response
    headers and cookies that were sent, for all requests received by
    this instance of Tomcat. If you care only about requests to a
    particular virtual host, or a particular application, nest this
    element inside the corresponding <Host> or <Context> entry instead.
    For a similar mechanism that is portable to all Servlet 2.4
    containers, check out the "RequestDumperFilter" Filter in the
    example application (the source for this filter may be found in
    "$CATALINA_HOME/webapps/examples/WEB-INF/classes/filters").
    Request dumping is disabled by default. Uncomment the following
    element to enable it. -->
    <!--
    <Valve className="org.apache.catalina.valves.RequestDumperValve"/>
    -->
    <!-- Because this Realm is here, an instance will be shared globally -->
    <!-- This Realm uses the UserDatabase configured in the global JNDI
    resources under the key "UserDatabase". Any edits
    that are performed against this UserDatabase are immediately
    available for use by the Realm. -->
    <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
    resourceName="UserDatabase"/>
    <!-- Comment out the old realm but leave here for now in case we
    need to go back quickly -->
    <!--
    <Realm className="org.apache.catalina.realm.MemoryRealm" />
    -->
    <!-- Replace the above Realm with one of the following to get a Realm
    stored in a database and accessed via JDBC -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="org.gjt.mm.mysql.Driver"
    connectionURL="jdbc:mysql://localhost/authority"
    connectionName="test" connectionPassword="test"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="oracle.jdbc.driver.OracleDriver"
    connectionURL="jdbc:oracle:thin:@ntserver:1521:ORCL"
    connectionName="scott" connectionPassword="tiger"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="sun.jdbc.odbc.JdbcOdbcDriver"
    connectionURL="jdbc:odbc:CATALINA"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!-- Define the default virtual host
    Note: XML Schema validation will not work with Xerces 2.2.
    -->
    <Host name="localhost" appBase="webapps"
    unpackWARs="true" autoDeploy="true"
    xmlValidation="false" xmlNamespaceAware="false">
    <!-- Defines a cluster for this node,
    By defining this element, means that every manager will be changed.
    So when running a cluster, only make sure that you have webapps in there
    that need to be clustered and remove the other ones.
    A cluster has the following parameters:
    className = the fully qualified name of the cluster class
    name = a descriptive name for your cluster, can be anything
    mcastAddr = the multicast address, has to be the same for all the nodes
    mcastPort = the multicast port, has to be the same for all the nodes
    mcastBindAddr = bind the multicast socket to a specific address
    mcastTTL = the multicast TTL if you want to limit your broadcast
    mcastSoTimeout = the multicast readtimeout
    mcastFrequency = the number of milliseconds in between sending a "I'm alive" heartbeat
    mcastDropTime = the number a milliseconds before a node is considered "dead" if no heartbeat is received
    tcpThreadCount = the number of threads to handle incoming replication requests, optimal would be the same amount of threads as nodes
    tcpListenAddress = the listen address (bind address) for TCP cluster request on this host,
    in case of multiple ethernet cards.
    auto means that address becomes
    InetAddress.getLocalHost().getHostAddress()
    tcpListenPort = the tcp listen port
    tcpSelectorTimeout = the timeout (ms) for the Selector.select() method in case the OS
    has a wakup bug in java.nio. Set to 0 for no timeout
    printToScreen = true means that managers will also print to std.out
    expireSessionsOnShutdown = true means that
    useDirtyFlag = true means that we only replicate a session after setAttribute,removeAttribute has been called.
    false means to replicate the session after each request.
    false means that replication would work for the following piece of code: (only for SimpleTcpReplicationManager)
    <%
    HashMap map = (HashMap)session.getAttribute("map");
    map.put("key","value");
    %>
    replicationMode = can be either 'pooled', 'synchronous' or 'asynchronous'.
    * Pooled means that the replication happens using several sockets in a synchronous way. Ie, the data gets replicated, then the request return. This is the same as the 'synchronous' setting except it uses a pool of sockets, hence it is multithreaded. This is the fastest and safest configuration. To use this, also increase the nr of tcp threads that you have dealing with replication.
    * Synchronous means that the thread that executes the request, is also the
    thread the replicates the data to the other nodes, and will not return until all
    nodes have received the information.
    * Asynchronous means that there is a specific 'sender' thread for each cluster node,
    so the request thread will queue the replication request into a "smart" queue,
    and then return to the client.
    The "smart" queue is a queue where when a session is added to the queue, and the same session
    already exists in the queue from a previous request, that session will be replaced
    in the queue instead of replicating two requests. This almost never happens, unless there is a
    large network delay.
    -->
    <!--
    When configuring for clustering, you also add in a valve to catch all the requests
    coming in, at the end of the request, the session may or may not be replicated.
    A session is replicated if and only if all the conditions are met:
    1. useDirtyFlag is true or setAttribute or removeAttribute has been called AND
    2. a session exists (has been created)
    3. the request is not trapped by the "filter" attribute
    The filter attribute is to filter out requests that could not modify the session,
    hence we don't replicate the session after the end of this request.
    The filter is negative, ie, anything you put in the filter, you mean to filter out,
    ie, no replication will be done on requests that match one of the filters.
    The filter attribute is delimited by ;, so you can't escape out ; even if you wanted to.
    filter=".*\.gif;.*\.js;" means that we will not replicate the session after requests with the URI
    ending with .gif and .js are intercepted.
    The deployer element can be used to deploy apps cluster wide.
    Currently the deployment only deploys/undeploys to working members in the cluster
    so no WARs are copied upons startup of a broken node.
    The deployer watches a directory (watchDir) for WAR files when watchEnabled="true"
    When a new war file is added the war gets deployed to the local instance,
    and then deployed to the other instances in the cluster.
    When a war file is deleted from the watchDir the war is undeployed locally
    and cluster wide
    -->
    <!--
    <Cluster className="org.apache.catalina.cluster.tcp.SimpleTcpCluster"
    managerClassName="org.apache.catalina.cluster.session.DeltaManager"
    expireSessionsOnShutdown="false"
    useDirtyFlag="true"
    notifyListenersOnReplication="true">
    <Membership
    className="org.apache.catalina.cluster.mcast.McastService"
    mcastAddr="228.0.0.4"
    mcastPort="45564"
    mcastFrequency="500"
    mcastDropTime="3000"/>
    <Receiver
    className="org.apache.catalina.cluster.tcp.ReplicationListener"
    tcpListenAddress="auto"
    tcpListenPort="4001"
    tcpSelectorTimeout="100"
    tcpThreadCount="6"/>
    <Sender
    className="org.apache.catalina.cluster.tcp.ReplicationTransmitter"
    replicationMode="pooled"
    ackTimeout="15000"/>
    <Valve className="org.apache.catalina.cluster.tcp.ReplicationValve"
    filter=".*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;"/>
    <Deployer className="org.apache.catalina.cluster.deploy.FarmWarDeployer"
    tempDir="/tmp/war-temp/"
    deployDir="/tmp/war-deploy/"
    watchDir="/tmp/war-listen/"
    watchEnabled="false"/>
    </Cluster>
    -->
    <!-- Normally, users must authenticate themselves to each web app
    individually. Uncomment the following entry if you would like
    a user to be authenticated the first time they encounter a
    resource protected by a security constraint, and then have that
    user identity maintained across all web applications contained
    in this virtual host. -->
    <!--
    <Valve className="org.apache.catalina.authenticator.SingleSignOn" />
    -->
    <!-- Access log processes all requests for this virtual host. By
    default, log files are created in the "logs" directory relative to
    $CATALINA_HOME. If you wish, you can specify a different
    directory with the "directory" attribute. Specify either a relative
    (to $CATALINA_HOME) or absolute path to the desired directory.
    -->
    <!--
    <Valve className="org.apache.catalina.valves.AccessLogValve"
    directory="logs" prefix="localhost_access_log." suffix=".txt"
    pattern="common" resolveHosts="false"/>
    -->
    <!-- Access log processes all requests for this virtual host. By
    default, log files are created in the "logs" directory relative to
    $CATALINA_HOME. If you wish, you can specify a different
    directory with the "directory" attribute. Specify either a relative
    (to $CATALINA_HOME) or absolute path to the desired directory.
    This access log implementation is optimized for maximum performance,
    but is hardcoded to support only the "common" and "combined" patterns.
    -->
    <!--
    <Valve className="org.apache.catalina.valves.FastCommonAccessLogValve"
    directory="logs" prefix="localhost_access_log." suffix=".txt"
    pattern="common" resolveHosts="false"/>
    -->
    </Host>
    </Engine>
    </Service>
    </Server>
    Can Some one Help me pleaseeeeee

    Please don't cross-post in multiple forums. I have answered
    this in your other thread.

Maybe you are looking for

  • Questions on SAP Biller Direct Java Customization

    Hi, I am working on SAP Biller Direct java customizations. Can anyone help me find answers to these questions. --  I have created local DC from the Biller direct track in NWDI. I would like to change the User registration page in Biller Direct. Can a

  • Why does notes keep crashing after upgrading to Yosemite?

    MacPro (Early 2009) OS X 10.10 2x2.93 Quad-Core Intel Xeon 16GB RAM NVIDIA Quadro 4000 2048MB When launching Notes, it crashes every time. Here's what the Mac OS/Notes exec file reads:   11  Foundation                          0x00007fff9beea1a3 __NS

  • Foreign currency debit, credit problem

    Hi Expert, My co they migrated newly new gl . FAGL_FC_VAL forex valuation, Instead debited the balance of the account its crediting, and some account instead of crediting the balance its debiting. I checked oba1, ftxp everthing perfectly its there. C

  • Query - What is used in my Query - maybe 100 colums

    I have a Query with about 100 colums. ( very big ) There are restricted key figures, calculated key figures and formulas inside. Many of them are grayed out, but most of them are needed for calculation. Is there a possibility to find out which of the

  • What's the best way to create basic scrolling up end credits

    What's the best way to create basic scrolling up end credits with FCE. I want create normal look after the film that has a gap between the working title and the name (center-aligned, two-column scrolls) In the FCE Manual there was a good way to to do