I'm running Vista x64 SP2 with 8GB RAM, 4 hard drives & an SSD (non-RAID). Vista is on the SSD.
About once or twice a week, when I boot up it sits at a black screen for a few minutes and the HDD light on my case stays on instead of flashing; then it finally gets to the login screen. After I...
Hi,
I have a Java application that works fine when using a JDBC URL like this:
jdbc:db2://host:port/database
but when I change it to use this format:
jdbc:db2:database
I get the following error:
WARNING: Failed to execute: select distinct tabschema from syscat.tables because: Execution failed...
Hi,
I've noticed that when I create a Unique Constraint, MySQL will automatically create an Index with the same name.
When I query for a list of Indexes, what I need to do is find out which ones were system-generated and which were actually defined by me.
I took a look at...
In previous versions of Windows, if I right-click a folder in Windows Explorer and click Properties, it would calculate how much space is being used by all the files & sub-directories in a folder. In Vista, it doesn't.
Why? And how can I see how much space is being used by a folder now?
Hi,
I'm wondering if there's a way to force the garbage collector to run on a running java process (like Eclipse)?
I know how to run System.gc() in my own code, but I want to run it on a process that's already running, because programs like Eclipse start eating up a lot of memory if you leave...
Hi,
I can't figure out why this target isn't working.
<target name="clear.oldcorefiles.nightly">
<!-- Determine the earliest timestamp for removal as an offset from the
current date and time -->
<property name="clear.timestamp.pattern" value="MM/dd/yyyy" />
<tstamp>
<format...
If I add a user or try to change a password with passwd I get this error:
passwd: Module is unknown
passwd: password unchanged
I don't understand. I see this:
# which passwd
/usr/bin/passwd
The user gets added to /etc/passwd, but they can't login since their password was never set.
Are there...
Hi,
I'm wondering if there is any kind of switch to disable regex in grep? I couldn't see anything obvious in the man page.
I'm writing a script that greps for a certain string in a file and if it's not there, it adds it; but the string contains asterisks which grep considers wild cards. So...
The man page for the -f option of pgrep says:
But I'm not sure what that means.
What I thought it means is that the pattern you pass has to match the entire line in the CMD column of the ps command (including arguments), but that's not what I'm seeing.
When I run: 'ps -ef' here's part of...
Hi,
I have some perl code that calls functions on a Java server over XML-RPC. I enabled remote debugging in Eclipse and set a breakpoint in the function I'm debugging, and when I run my Perl script, Eclipse hits the breakpoint and lets me step through, but the Perl script doesn't wait until I...
Hi,
I noticed that my disk is always being accessed, even when I'm not running anything and I have no Page File enabled.
I'm guessing it's because of all those "Info" Events that are being logged all the time. I'm wondering if there's a way to make the Event Log only write Errors & Warnings?
I...
Hi,
I'm not sure if this is the best place for this question, but the RAID forums hardly have any activity...
I'm running Vista x64 on an ASUS P5K3 Deluxe motherboard and I have 3 Seagate Barracuda SATA drives in a RAID 5 array.
It's been running fine for the last 1.5 years I've had it (except...
I was wondering if there's such a thing as a single line Javadoc comment, similar to this which works in Doxygen?
class Shape
{
int m_Length; /**< The length of the shape. */
int m_Width; /**< The width of the shape. */
...
which would use the comment to the right of the variable in the...
Hi,
I have another problem now.
I have a Perl function that calls a Java function over XMLRPC which returns a Map, but in this test, it should return an empty Map (and does in the Java version of this test); but in Perl Dumper reports it's returning the following:
$VAR1 = {
'' => undef...
Another problem I'm seeing is when passing a null value to a Java function over XMLRPC from Perl. I tried this:
$api->setExternalData( $ticketID, $key, undef );
and if I pass a null in Java to that same function, an exception is thrown, but in Perl it's not throwing an exception. Is undef...
Hi,
I've got a perl script that uses XMLRPC to talk to a Java app and it calls a Java function which returns an array of strings as Object[] but when I print out the first element I just see something like:
ARRAY(0x8b4d78)
I'm doing this:
my @keys;
my $key;
eval {
@keys =...
I'm using Eclipse 3.4.1 on Linux and every once in a while it stops highlighting errors. I guess that means the "Build Automatically" option isn't working anymore, even though it's still checked.
Why does it do that, and how can I fix it?
Hi,
I just thought of something kind of scary, so I was wondering if anyone knows the answer.
I know in C++, if you're in a destructor because an exception was thrown and then you throw another exception, the program immediately calls the std::terminate() function and ends.
I'm wondering if the...
Hi,
I've got a servlet on Tomcat on Solaris and I'm using the H2 database (http://www.h2database.com).
It currently works without using DBCP, but to improve performance, I need to use connection pooling. I tried following the instructions I found here...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.