Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Win2000 SP4 : getnameinfo not available in WS2_32.dll

843790Sep 30 2007
Hello,

I'm using JBoss 4.2.1 and I have an error from the JVM on Win2000 SP4 server on startup :
"The procedure entry point getnameinfo could not be located in the dynamic link library WS2_32.dll"
The error appears 4 times as a message box, I confirm "OK" and after that no problem with my app on JBoss.

I know that this is because this entry point was added on WinXP and Win2003.
I have already add this option to the JVM on the startup of JBoss :
-Djava.net.preferIPv4Stack=true
but the error message is still there on startup...

I have already post this problem to the JBoss forum but... no solution...

So, how can I avoid this message appearing because it's blocking the startup (messagebox and I must press OK...) :
- another option to the JVM to avoiding using IPV6 ?
- another option to JBoss startup to ignoring this error ?
- to disable some things on JBoss config ?

Thanks.

Olv
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 28 2007
Added on Sep 30 2007
0 comments
274 views