I'm running : IBM WebSphere Application Server, 5.1.0, Build Date: 11/4/03 on windows 2000 server with sp4.

I have developed a DLL in c++ to use a component that allow me to calculate something. I put it on my WebSphere\lib\ext dir.

This is the POJO i use to call the dll:

public class Valoriza{
static {
System.loadLibrary("ValorizadorDCV");
}

public static synchronized native String valorizar(String cNemotecnico, float nNominal, float nTir, float nPvp,float nTasaEstimada, float nMonto);


public DataVO valorizar(DataVO datos) throws DataVOException {
.....
String respuesta = valorizar(
datos.getNemotecnico(),
datos.getNominales().floatValue(),
datos.getTasaInternaRetorno().floatValue(),
datos.getVariacion().floatValue(),
datos.getTasa().floatValue(),
datos.getMonto().floatValue());
.....
}


Everytime when i use the Aplication, and then i shutdown the server, the next time i try to startup the server it falls (i mean the server starts, write some logs an then crashes), and i have to restart the computer.

How can i fix this problem?