cancel
Showing results for 
Search instead for 
Did you mean: 

[SOLVED]Win32NetBios error with starting alfresco as service

mmynsberghe
Champ on-the-rise
Champ on-the-rise
Hi,

I started tomcat as a service and got this error:
12:46:33,426 User:System ERROR [org.alfresco.fileserver] Error accessing Win32 NetBIOS, check DLL is on the path
I do not get this error running alfresco as a console application.

I tried copying a more recent dll to the path, but that didn' t help

Anybody got any idea on what might cause this?

Kind regards
Mieke
2 REPLIES 2

jserrano
Champ in-the-making
Champ in-the-making
Hi, I dont work with Tomcat but I had the same problem when run JBoss as a service.

One solution is modified the alfresco.bat or any bat to run as a service and append  in JAVA_OPTS environtment:

-Djava.library.path=C:\path\to\dlls

You must place the dll's files that has the JNI Java classes in the {CATALINA_HOME}\shared\lib folder.
If the folder doesn't exist then create it.
The JNI DLL must be located somewhere visible from either the java.library.path java system property or the Path windows system (or user) property.

mmynsberghe
Champ on-the-rise
Champ on-the-rise
thanks for your very fast and helpfull reply jserrano!

The error has gone, but unfortunately CIFS isn't working yet.

EDIT: After completely blocking port 445 in the firewall settings, CIFS is working again!