Enterprise Level Logging Hey guys, I work on a medium-to-large scale distributed web application. Often issues come up that need trouble shooting. Currently, sys-admins have to grep logs on as many as 100 machines to find useful information. Of course this can be done via bash, but that is slow and error prone. I would like to implement a... 1 Apr 2010 12:21
Conditional SQL in Java I just looked at hibernate... but have never used it. Can it or any other main stream java tools query databases with an optional WHERE clause? What I mean is I have a number of cases where people fill in forms with quite a few criteria and then I need to build a query. I've been concatenating strings recentl... 1 Apr 2010 06:48
bundling efficiency, too good to be true? Everyone has seen that sending one big file works much more efficiently than many small files. The effect quite astounding, many orders of magnitude. It just occurred to me that I don't think I can account for that huge difference. Where is all the time going? It then occurred to me, that any sort of technique ... 1 Apr 2010 11:14
using java to create a key-value database using java to create a key-value database for high-performance computing, is it a stupid idea? thanks from Peter (cmk128(a)hotmail.com) ... 2 Apr 2010 01:43
How to specify the main() class in "jar -cfe ..." ? Assume I want to create a jar archive with a command jar -cfe myjar.jar <MainApp> *.class for some classes. The entrypoint should be the main() method in class "MyTestclass123". What do I have to specify for <MainApp> in the command above? Do I have to write: jar -cfe myjar.jar main *.class or jar ... 31 Mar 2010 04:21
String passing question I have a script. When excecuting the script from commandline, a line will be print out to prompt for password. For example: myscript please input your password: Then a user can type in the password. In my java programe, I will use Runtime.getRuntime() to run the script as; Runtime.getRuntime().exec("my... 2 Apr 2010 07:05
duplicate java on windows I am trying to include a separate java executable in my program, from the java installed in windows OS. Would it be allowed or generate error ? Detecting which version of java each windows generates its own problem and wanna see which options I have. Any help would be helpful. Thanks Kyle ... 31 Mar 2010 21:02
Splash screen Hi everybody, I'm developing a java Swing app on which I need to have a splash screen. The application should be launched normally and with java web start. I'd like to have a splash screen with a progress bar indicating loading progress. I tried to set a splash screen on the jnpl file, in this way: <icon href="... 30 Mar 2010 22:56
Jetty 5.1 Multiple Contexts with 1 war Hi, We are using jetty 5.1 and need to run multiple contexts off 1 war. What is the best 1 to do this. We want to be able to use a ServletContextListener to load an ini file and connect to the appropriate database, and do client specific initialization. Thanks in advance ... 6 Apr 2010 19:50
trustAnchors parameter must be non-empty Hi, "out of the blue" we are getting tons of "java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty" Exceptions thrown on our webserver (https). The error occurrs (at least) in two situations: a) We have a scropt that periodically calls an url on our webserver b) When... 16 Apr 2010 08:20 |