Java remote debugging options

Comments Off

To activate socket debugging in java, add the following to java_opts:

-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n

Then connect to port 8787 using your favorite debugging tool..

Weblogic: Setting startup username and password

Comments Off

To set username and password on weblogic, add the following to JAVA_OPTS:

-Dweblogic.management.username=system -Dweblogic.management.password=weblogic

(or whatever the new passwords are)..

MySQL: Create/Drop DB and user

Comments Off

This tip contains a couple of MySQL scripts that allow me to create and drop a database and a user that will "own" said database. More

Tomcat 5.5: DB Datasource with context.xml

Comments Off

Explains how to define a datasource connection for your web application using context.xml More

Log4j configuration file

Comments Off

A log4j configuration file sample. More

Non-leaky query reads

Comments Off

Doing a select statement without leaking connections.
More

Obtaining a connection through JNDI

Comments Off

How to obtain a connection through JNDI. More

XSL Skeleton

No Comments

A basic XSL skeleton. So I don't have to remember it.

More

Fast Web Services Client with C++Builder Pro

Comments Off

So here's the lowdown on how to get a web services client extremely quickly with C++ Builder Pro. More

Newer Entries