Oracle Connection Pooling
I am trying to implement Oracle connection pooling for the following code,
which was written by someone else. Here is my main question -- this java
file creates code that is executed every hour, but once per week, the oracle
server is brought down for backup. At that time, I get an error that looks
like I have the wrong credentials for the database. For every subsequent
attempt to run the hourly process, I am getting a broken pipe error, untl
the app server (Web Sphere) gets a restart.
My thinking is that, if I implement connection pooling, I can essentially
"trap" this ...[ace-users] Many reactor connections
RedHat Linux 7.3
Using Select Reactor (defaults)
The reactor.size() is 1024.
I'm seeing the following problem:
After about 130 client connections, I start getting odd behavior.
Namely, when I dequeue_head from my ACE_Svc_Handler's queue, I get a
message block that satisfies the following (no such message block has
been added to the queue:)
rd_ptr = 0
length = -1
I think this has something to do with having too many file descriptors
open per process. It only happens when I have many (~130 - I'm guessing
greater than 128) clients. And the mmore clien...How to enumerate all raw socket connections of the system without NtQuerySystemInformation?
I want to enumerate all active raw socket connections of the system.
First, i know using NtQuerySystemInformation to enumerate all the
handles of the system can do it, but i don't want to use it. Because,
for TCP and UDP connections, there are GetTcpTable and GetUdpTable can
help me to do that work, but there is no GetRawTable for raw socket
connections. So, how to get all raw socket connections like tcp and udp?
I have a wireless network comprising 3 desktops and a laptop connected and
sharing an internet connection via a Netgear wireless router
I've just tried connecting a new laptop to the router and although it
recognises the router and gets a signal, it says the connection is missing
It's a long time since I set the other machines on the network up, and I
have a feeling I may have missed something
The procedure I used was:
1. Open the router's browser based control panel
2. Add the laptop's network mac address to the list of allowed PCs
but it doesn't work at all.
Line 30 and on is where the last attempt to get the code to work is.
Anyone able to help me with this?
Torbj=F8rn Pettersen wrote:
> but it doesn't work at all.
> Line 30 and on is where the last attempt to get the code to work is.
> Anyone able to help me with this?
>...Re: collect-max for structs
"Eric Lavigne" wrote:
> >> (loop for i in *applelist*
> >> maximizing (apple-radius i) into max
> >> finally (return max))
> >This can be written simpler:
> > (loop for i in *applelist* maximizing (apple-radius i))
> > (reduce #'max *applelist* :key #'apple-radius)
> >Unfortunately I don't think there's really any elegant way to solve
> >your problem. It boils down to something like
> > (loop with biggest-apple = (first *applelist*)
> > for i in (res...http connection problem???
Hi, I recently installed Mandrake 9.2 (yes, I know 10 is out, I
already had the CDs for 9.2)
When I got into X I set up my internet connection (I have 2 PCs, one
runs Win XP all the time, and has Wingate installed with NAT and ENS
ennabled. I get my internet on the client through the NAT) so I set
the gateway PC to 192.168.0.1 and everything else as normal. I access
the internet perfectly in WinXP with these settings, but in Mandrake I
can only access websites for a certain ammount of time, usually less
than 5 minutes... Then I can suddenly no-longer get to them (Firefox
just says "resolv...linux usb-drivers: Cable connection failed.
I'm trying to connect my virtex-4 ML403 board with the DLC9 cable
(USB) under Linux (Fedora).
Installed the linux usb-driver from http://www.rmdir.de/~michael/xilinx/
and preloaded it (LD_PRELOAD). Also put the .hex files and the .rules
files to the correct dir.
I 've chosen output->cable setup -> usb cable.
The output of impact is this:
INFO:iMPACT:501 - '1': Added Device xc4vfx12 successfully.
Connecting to cable (Usb Port - USB22).
Checking cable driver.
File version of /vlsi_soft/xilinx_ise9.1i/bin/lin/xusbdfwu.hex =
File version of /usr...Daemon: setgid Operation not permitted
I'm confused by the way my daemon is behaving, and how permissions
relating to the groups are working. There are 2 points which don't make
1. When I try to setgid() to a group (thedaemon) of which I am a
member, I get an error that the operation is not permitted.
2. When I try to fopen() a file for writing in a directory who's group
I am a member of (thedaemon), it fails with a "no such file or
directory" error. The directory has group rw permission. Only if I set
global rw permission on the directory can the daemon successfully write
I'm running Suse 1...Connection Sharing on demand
I have a network in my office with about 20 desktops running XP Pro and
some of them running Win98, they all have internet connection through
ICS on an old PC running Win98.
Now, I need a way to restrict the internet connection without restring
LAN access, so I'm thinking in using that old PC to run a DHCP server
on Linux/BSD/etc to provide basic LAN connectivity, AND providing some
sort of dial-up-like connection to internet. So any user who have a
logon to connect on the internet can sit in any of the terminals and
just dial-in to get connected.
I think that can be done with some so...How Munich rejected Steve Ballmer and kicked Microsoft out of the city
Liberty don't work as good in practice as it does in speeches.
-- The Best of Will Rogers
Melzzzzz wrote this copyrighted missive and expects royalties:
"If you are only doing a migration because you think it saves you money
there's always somebody who tells you afterwards that you didn't
calculate it properly," he sa...i2c bus connection to pc
**** Post for FREE via your newsreader at post.usenet.com ****
Has anybody tried to use I2CBridge from Dimax. I have bought one at:
They have supplied their board with ControlPanel application with lot of
buttons. Most of them are well understood, like I2cRead, I2cWrite, Start,
But there are also several buttons: ReleaseSCL, DropSCL, ReadSCL. Same
buttons are with SDA at the end.
When I press on the Release and Drop buttons, only the messages that the
command succeeded appear.
May be somebody knows what do this buttons do?
-=-=-=-=-=-=...Rejecting @ RCPT TO:
I have been noticing some talk on the list over the last few days about
rejecting mail to invalid users at the rcpt to. I would like to configure
this on my servers, however my users are not local. We are using the
mailertable to route mail to it's final destination. How can i configure
sendmail to do this? What I am trying to avoid is having a countless number
of bounce-backs sitting in my mailqueue that are addressed to bogus users
on Internet mailservers. This is really annoying and costly in terms of
bandwidth usage for our company. Can anyone help me please? I am runni...how to connect the ISP to the ATmega48
OK, largely based on advice received in this group, I'm now trying to
use a naked ATmega48 (28-pin DIP) as my controller rather than buying
some fancy controller board. :)
I received the chip yesterday, along with a shiney new AVR-ISP mkII
programmer. Now... how do I get these together?
I thought there would be documentation included showing which pins of
the microcontroller should be connected to which of the six pins of the
female connector on the ISP. But, to make a long story short, I can't
find any such documentation. Can someone spare a clue?
- J...Strange LAN connectivity
My university LAN connection to my laptop dies after the first initial
few minutes. If I want to go online for five more minutes, I have to
restart my computer. I don't like this.
Even though my browser and my e-mail can't connect after the first
minutes, a download in progress somehow stays connected. This goes for
AIM too. I am sure it's my computer that's at fault. I've swapped
cables with my roommate and, while my line works perfectly for him, I
still suffer the same problems with his line.
I've scanned for viruses and other nasties; I'm clean. I don...OT: "Connections" ...
James Burke has made his 1970s "Connections" TV series available for
free on YouTube. Just go there and Google for "Connections Episode 1"
and you can watch the full series.
YouTube quality ... but what the heck. Interesting to see how a
technology show that's pushing forty has held up.
"Obama managed to stake a brave stand on a principle no one seriously
contests - the legal right to build the mosque - while voting "present"
on the question that matters: whether they *should* or not. This is
high-toned dodginess, i...laptop Stereo connection
I have a Compaq Armada M300, I want to link the laptop to my stereo
set. To play Classical music.
I do not think my laptop has a digital (audio) out line. But it has an
USB 1.1 port and a LAN connection and a slot for cards.
Can anybody help me - please.
I would also like to have a remote controll to be able to change
Your notebook probably has a headphone jack. You could get a wire which has
a 3.5mm male connector on 1 end and 2 rca connectors on the other and
connect them to your stereo (obviously if you stereo has 2 rca inputs). Or,
you could get a usb external so...Help with failing connection
I'm posting the logs of both ppp and wvdial, hoping that somebody can help.
Thanks in advance,
$ pon motorola
abort on (BUSY)
abort on (NO CARRIER)
abort on (VOICE)
abort on (NO DIALTONE)
abort on (NO DIAL TONE)
abort on (NO ANSWER)
abort on (DELAYED)
-- got it
-- got it
-- got it
does anyone know the error. connection fails? prompted by the
i have a hp49G+. which is very new since my old hp49g+ broke down for
it is not possible to establish a connection between my pc and the
calculator. i downloaded the newest version and also the rom is up to
the usb drivers are installed. i also reinstalled the kit and i tried
it on two computers but everytime the same error.
any ideas what i can try next?
thanks in advance
Max Kuffs wrote:
> does anyone know the error. connection fails? prompted by the
> connection kit?...Rejecting a connection
I've been wondering how to reject a connection? Instead of accept() I
would like to "decline()" a connection. The only way of rejecting
connections I've thought about is to accept() and then close()
immediatelly. But would the other end actually receive the accept and
then the connection would be dropped?
email@example.com wrote On 05/30/06 10:58,:
> Hi all,
> I've been wondering how to reject a connection? Instead of accept() I
> would like to "decline()" a connection. The only way of rejecting
> connections...yet another internet connection problem
I have read in this ng of problem related to internet connection, but
none of them helped me since now. So I ask you just an advice on how
to resolve this (maybe) stupid problem.
Here some info:
* Linux Distro: Mandrake 9.2
* Modem: US Robotics (External Modem - it is not a win modem - it is
connected to COM2 that is ttyS1)
* /dev/modem point correctly to ttyS1
* Mandrake COntrol Center is not able to detectd the mnodem
HardDrake is not able to detect the modem
* kppp until yesterday told me that modem does not respond but now is
simply unable to give me any info since just tell ...Persistent connections not limited to one Apache-process?
I've set up a PHP web application where users can log in and open a
connection to a NNTP-server. There is a *one-to-one* relationship
between sessions and NNTP-connections (i.e. exactly one NNTP-connection
per session, and exactly one session per NNTP-connection).
Now, I'd like to have these connections be persistent. So I started
using "pfsockopen" instead of "fsockopen" and set Apache's
KeepAliveTimeout to a very high value. However, this doesn't work all
that great: Often browser-connections are closed prematurely and some
browsers have trouble with K...[News] Raising Children on GNU/Linux; IBM Foresees Bright Future
How to get your kids started young on Linux
,----[ Quote ]
| Being the responsible parent that I am, it is essential that I raise my
| children with the ability to think for themselves and make the right
| decision. This means making sure that they are raised using Linux.
IBM's Forecasts Strong Earnings
,----[ Quote ]
| Stellar performance overseas prompted IBM Corp. to upgrade its outlook for
| 2008 despite economic uncertainty at home, raising the question of whether an
| increasingly diverse IBM still should be considered a bellwether for o...Another Unison bug
This happened in 1.5.1 and 1.5.2. When opening a group, I'll more
often than not get a message box stating that the connection has been
closed or reset, so I have to close the window and re-open the group,
and it works that second time. I did not have this issue with version
1 at any time. I'm using Giganews as my Usenet provider.
On 2004-09-11 23:20:58 -0400, None <firstname.lastname@example.org> said:
> This happened in 1.5.1 and 1.5.2. When opening a group, I'll more
> often than not get a message box stating that the connection has been
> closed or reset, so I have to cl...How to Determine TCP Connection State?
I'm working on what is essentially a proxy in C on Linux, so in order
to have a connection between client C and server S, what I actually
have is two connections, C-P and P-S (where P is the proxy), with the
proxy shuttling packets back and forth as needed. This all works fine
in normal cases, but if, say, the server becomes unresponsive, I need
to have the connection time out so that the client isn't kept "on the
hook" forever. Right now I'm just using a fixed duration timer (a
select(2) call) in the proxy before each network read/write, but what