Iris Hoekstra

Greenhorn
+ Follow
since Aug 10, 2005
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Iris Hoekstra

I have a hard time believing in love that is 100% unconditional. I think most people can think of some (far-fetched) condition which would destroy their love. My husband is the most inportant person in the world to me. Just seeing his face lights up my day. But I don't think I could still love him if he killed my mother so we could get her inheritance. And I could think of two or three other examples. So, theoretically my love is conditional. But knowing my husband, the chance of him doing any of the things that would end my love for him is so extremely remote that in practice my love is unconditional.

It seems to me that truly unconditional love isn't a very healthy thing. But that's just my opinion, of course.
[ February 15, 2007: Message edited by: Iris Hoekstra ]
14 years ago
Sorry if I sound clueless but I'm a complete newbie when it comes to Weblogic. We are going to deploy two instances of our application, each on a separate node within a Weblogic cluster. There are some values we want to keep synchronized across both nodes. Both nodes use the same database, but instead of storing the values there (which will put pressure on performance) we thought we could use a j2ee context variable.

Does this sound like a good idea? Is it even possible? (I can't try it out as the weblogic server is not available yet.)
14 years ago
Hi Jeanne,

We're using CA Datacom. We are approaching the database through FireXML, a piece of middleware which enables you to speak SQL to Datacom.

But I'll tell you what: 'for fetch only' seems to be supported! That brings the solution Srikanth offered back into the realm of possibilities. Thanks, both of you!
Thanks, but unfortunately 'FOR UPDATE' is not supported either.
We're writing an application that needs to be able to insert records into a database with a unique id.

The DBMS we have to use is ancient and doesn't support auto-increment or any such nifty features. So far, we query the database for the maximum value, add 1 to that and insert the new record with the new number. This approach has to change, however, because theoretically two users could get the same max value and then we're in trouble. I should also add that the application will run on two servers simultaneously in the future.

I have been reading something about sequence generators but I am not sure I get the idea. I would rather not write a separate sequence generator (i.e. one that is not part of the application). From what I understand, I don't have to do that if I create a database table that holds... some value. That's where I get lost. Could someone provide some pointers?
I can't see the video here (it's filtered) but from what I can gather here there's some kind of a contraption for giving your cat a shower?

As an experienced cat keeper, I have to agree with Jim. If your cat doesn't want to go into that thing, it'll try to rip you to shreds. And while he or she won't succeed (I don't think anyone's ever been killed by a cat), a lot of damage can be done.
14 years ago
Don't get me started on those ceramic things! When I moved in with my husband, he had one of those. Impossible to cook on, as has been pointed out above. The fact that it's easy to clean is indeed an advantage, but you have to wait an hour for it to cool down first, unless you want to fry your sponge.
14 years ago
I recently went to a job interview that went very badly. I couldn't say anything sensible about any of the topics they asked me about and wondered why they'd invited me in the first place. I wish someone would have asked me about my favourite pizza (which is marinara, by the way).
I'm sure I still would not have gotten the job, but it would at least have given me something to laugh about while I was feeling badly. I'm not denying that the interviewer has a lot of power but that doesn't mean he can't lighten up the mood to cheer up the interviewee.
14 years ago
I think Spring does exactly what you're describing.

http://www.springframework.org/
14 years ago
I think Spring does exactly what you're describing.

http://www.springframework.org/
It seems that both baldness and the growth of body hair are caused by the same hormone.
15 years ago

Originally posted by Dave Lenton:
It's more then a quarter of a year away for goodness sake.




15 years ago
I suppose theoretically it's entirely possible for a woman to sound like a growling bear if she has some kind of problem with her vocal cords but I'd have to see and hear it to believe it.
15 years ago
Come to think of it, I believe you're right. I haven't been to the cinema in a while but I think the trained bear thing has been a trend for some time now.

It is not only strange that they all seem to be the same bear-like guy, I also wonder why they're always men? I can (sort of) understand why they'd pick a man to do an advert for a Vin Diesel type of action movie. But when advertising a romantic comedy or a Harry Potter movie, wouldn't a female voice make a nice change?
15 years ago
We have built a small application based on Apache Httpclient to test the speed of our database connection. The problem is that we get 'Connection refused' errors at completely unpredictable moments.

We're creating 50 threads that each wait for a random number of miliseconds and then do this:



The 'executeQuery' method eventually does this:



The PostMethod is created like this:



Please let me know if this doesn't make sense. I find it hard to decide what to post and what to leave out.

Sometimes it starts throwing exceptions that look like this:

29-sep-2006 9:53:19 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused: connect

If this happens we make it go through three more retries (of necessary). Sometimes that isn't enough and we get:
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364)
at java.net.Socket.connect(Socket.java:507)
at java.net.Socket.connect(Socket.java:457)
at java.net.Socket.<init>(Socket.java:365)
at java.net.Socket.<init>(Socket.java:238)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:79)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:121)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:709)
at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1321)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:393)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
etc.

I have been trying to figure this one out for more than a week but I still don't understand
what *really* causes a 'connection refused'. I guess that is because there may be many different causes.

Any clues pointing me in the right direction will be much appreciated.
[ September 29, 2006: Message edited by: Iris Hoekstra ]