An HotSpot Virtual Machine Error !

Well I tried to instanciate a very simple Context :

All parameter are OK.

public boolean authenticate(String user, String password) {

Hashtable env2 = new Hashtable();

env2.put(Context.INITIAL_CONTEXT_FACTORY, INITCTX);

env2.put(Context.PROVIDER_URL, MY_HOST);

env2.put(Context.SECURITY_AUTHENTICATION, "simple");

env2.put(Context.SECURITY_PRINCIPAL,user+","+MY_SEARCHBASE);

env2.put(Context.SECURITY_CREDENTIALS,password);

try

{

DirContext initialdircontext = new InitialDirContext(env2);

initialdircontext.close();

} catch(AuthenticationException e){

errorAuthenticate = "username or password is invalid";

return false;

} catch(Exception e) {

e.printStackTrace();

return false;

}

errorAuthenticate = "authenticate successfull";

return true;

}

In JBUILDER there's no problem, all is working correctly, but when I try on my server (I call this method in a jsp) the system wait a long time and I got this message :

#

# Java version:

# HotSpot VM (mixed mode)

#

# HotSpot Virtual Machine Error, Internal Error

#

# Fatal: exception happened outside interpreter, nmethods and vtable stubs (1)

# Error ID: /CLO/Components/JAVA_HOTSPOT/Src/build/hp-ux/../../src/share/vm/runtime/sharedRuntime.cpp, 267

#

It's not the first time I create an InitialDirContext with this VM.

Help me please.

What's happened ?

[1527 byte] By [jdaguet] at [2007-9-26 12:02:24]
# 1

If you think you have found a bug in HotSpot, submit bug to BugParade in Java Developer Connection. Other suggestions are:

- Try run program on another computer (I found that hardware problems affect sometimes);

- Try reinstall JDK;

- Try using another compiler to compile files (old JBuilder 2 sometimes produced bad classfiles).

If problem is reproducible, feel free submitting a bug. Otherwise, your bug will be closed as not reproducible.

When submitting, please specify:

- specific FULL java version;

- place in a code (URL to the library would be good, too).

- Environment (hardware, OS, settings...)

Also narrow offending code.

wwk_killer at 2007-7-2 2:26:47 > top of Java-index,Java HotSpot Virtual Machine,Specifications...