cancel
Showing results for 
Search instead for 
Did you mean: 

Error on starting Alfresco in Windows

matt_thomas
Champ in-the-making
Champ in-the-making
I get the following errors on restarting Alfresco on my Windows machine

I have
-dropped and created the alfresco database
-removed all the folders under alf_data
-stopped all running instances
-run alf_start.bat

Some digging around has only so far suggested the server might already be running, but I stopped the server as mentioned above.
Many thanks

Matt


11:46:43,261 ERROR [alfresco.smb.protocol] Error accessing Win32 NetBIOS, check
DLL is on the path
11:46:43,277 ERROR [alfresco.ftp.protocol] FTP Socket error
java.net.BindException: Address already in use: JVM_Bind
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
        at java.net.ServerSocket.bind(ServerSocket.java:319)
        at java.net.ServerSocket.<init>(ServerSocket.java:185)
        at java.net.ServerSocket.<init>(ServerSocket.java:141)
        at org.alfresco.filesys.ftp.FTPNetworkServer.run(FTPNetworkServer.java:4
07)




11:46:42,355 INFO  [repo.module.ModuleServiceImpl] Found 1 module(s).
11:46:42,495 INFO  [repo.module.ModuleServiceImpl] Starting module 'org.zaizi.al
fresco.abs' version 1.0.
java.lang.UnsatisfiedLinkError: Native Library C:\devsrc\Alfresco-tomcat\bin\Win
32NetBIOS.dll already loaded in another classloader
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1716)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
        at java.lang.Runtime.loadLibrary0(Runtime.java:822)
        at java.lang.System.loadLibrary(System.java:992)
        at org.alfresco.filesys.netbios.win32.Win32NetBIOS.<clinit>(Win32NetBIOS
.java:719)
        at org.alfresco.filesys.server.config.ServerConfiguration.getLocalServer
Name(ServerConfiguration.java:3176)
        at org.alfresco.filesys.server.config.ServerConfiguration.processCIFSSer
verConfig(ServerConfiguration.java:820)
        at org.alfresco.filesys.server.config.ServerConfiguration.init(ServerCon
figuration.java:636)
        at org.alfresco.filesys.server.config.ServerConfiguration.onBootstrap(Se
rverConfiguration.java:4122)
        at org.alfresco.util.AbstractLifecycleBean.onApplicationEvent(AbstractLi
fecycleBean.java:62)
        at org.springframework.context.event.SimpleApplicationEventMulticaster$1
.run(SimpleApplicationEventMulticaster.java:77)
        at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecut
or.java:49)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.m
2 REPLIES 2

rliu
Champ in-the-making
Champ in-the-making
Inside the alfresco-labs-war-3Stable.zip download, there are files specific for a Windows deployment.

The files are in alfresco-labs-war-3Stable.zip/commands/bin.
Copy (Win32Utils.dll & Win32NetBIOS.dll) or (Win32Utilsx64.dll & Win32NetBIOSx64.dll) depending on the version of Windows to your Jboss or Tomcat bin folder.

Restart after copying.

bashmaq
Champ in-the-making
Champ in-the-making
Some digging around has only so far suggested the server might already be running, but I stopped the server as mentioned above.
Sometimes it happend to me too when I used tomcat bundle. Try to look for hanging Java process and  kill it.