cancel
Showing results for 
Search instead for 
Did you mean: 

Closing session due to exception

johan1974
Champ in-the-making
Champ in-the-making
Hello,

When i am connected to my local Alfresco repository with windows file share, after a while i get kicked out and get the following error:

11:28:31,812 INFO  [org.alfresco.mbeans.VirtServerRegistry] Creating VirtServerRegistry MBean
11:28:32,906 WARN  [org.springframework.remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one
11:28:33,343 INFO  [org.alfresco.mbeans.VirtServerRegistry] Created JMX serverConnector
11:28:39,515 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.HSQLDialect.
11:28:39,546 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Alfresco is using the HSQL default database. Please only use this while evaluating Alfresco, it is NOT recommended for production or deployment!
11:28:40,000 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.
11:28:44,406 WARN  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco 'dir.root' property is set to a relative path './alf_data'.  'dir.root' should be overridden to point to a specific folder.
11:28:44,406 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: .\alf_data
11:28:44,531 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
11:28:44,718 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 0 module(s).
11:28:46,390 WARN  [org.alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
11:28:46,421 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_06-b02; maximum heap size 506,313MB
11:28:46,593 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco license: Enterprise Network granted to Trial User limited to 30 days expiring Tue May 20 00:00:00 CEST 2008 (19 days remaining)
11:28:46,593 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Enterprise Network): Current version 2.2.0 (159) schema 89 - Installed version 2.2.0 (159) schema 89
11:54:13,812 ERROR [org.alfresco.smb.protocol] Closing session due to exception
org.alfresco.filesys.netbios.win32.WinsockNetBIOSException: 0:ReceiveSocket - Unknown Winsock error 0x0
   at org.alfresco.filesys.netbios.win32.Win32NetBIOS.ReceiveSocket(Native Method)
   at org.alfresco.filesys.netbios.win32.NetBIOSSocket.read(NetBIOSSocket.java:286)
   at org.alfresco.filesys.smb.server.win32.WinsockNetBIOSPacketHandler.readPacket(WinsockNetBIOSPacketHandler.java:111)
   at org.alfresco.filesys.smb.server.SMBSrvSession.run(SMBSrvSession.java:1309)
   at java.lang.Thread.run(Thread.java:619)
11:56:36,093 ERROR [org.alfresco.smb.protocol] Closing session due to exception
org.alfresco.filesys.netbios.win32.WinsockNetBIOSException: 10054Smiley FrustratedendSocket - Connection reset by peer
   at org.alfresco.filesys.netbios.win32.Win32NetBIOS.SendSocket(Native Method)
   at org.alfresco.filesys.netbios.win32.NetBIOSSocket.write(NetBIOSSocket.java:266)
   at org.alfresco.filesys.smb.server.win32.WinsockNetBIOSPacketHandler.writePacket(WinsockNetBIOSPacketHandler.java:187)
   at org.alfresco.filesys.smb.server.SMBSrvSession.sendResponseSMB(SMBSrvSession.java:1555)
   at org.alfresco.filesys.smb.server.SMBSrvSession.sendResponseSMB(SMBSrvSession.java:1524)
   at org.alfresco.filesys.smb.server.NTProtocolHandler.procReadAndX(NTProtocolHandler.java:2651)
   at org.alfresco.filesys.smb.server.NTProtocolHandler.runProtocol(NTProtocolHandler.java:269)
   at org.alfresco.filesys.smb.server.SMBSrvSession.runHandler(SMBSrvSession.java:1489)
   at org.alfresco.filesys.smb.server.SMBSrvSession.run(SMBSrvSession.java:1390)
   at java.lang.Thread.run(Thread.java:619)
11:58:07,156 ERROR [org.alfresco.smb.protocol] Closing session due to exception
org.alfresco.filesys.netbios.win32.WinsockNetBIOSException: 10054Smiley FrustratedendSocket - Connection reset by peer
   at org.alfresco.filesys.netbios.win32.Win32NetBIOS.SendSocket(Native Method)
   at org.alfresco.filesys.netbios.win32.NetBIOSSocket.write(NetBIOSSocket.java:266)
   at org.alfresco.filesys.smb.server.win32.WinsockNetBIOSPacketHandler.writePacket(WinsockNetBIOSPacketHandler.java:187)
   at org.alfresco.filesys.smb.server.SMBSrvSession.sendResponseSMB(SMBSrvSession.java:1555)
   at org.alfresco.filesys.smb.server.SMBSrvSession.sendResponseSMB(SMBSrvSession.java:1524)
   at org.alfresco.filesys.smb.server.NTProtocolHandler.procReadAndX(NTProtocolHandler.java:2651)
   at org.alfresco.filesys.smb.server.NTProtocolHandler.runProtocol(NTProtocolHandler.java:269)
   at org.alfresco.filesys.smb.server.SMBSrvSession.runHandler(SMBSrvSession.java:1489)
   at org.alfresco.filesys.smb.server.SMBSrvSession.run(SMBSrvSession.java:1390)
   at java.lang.Thread.run(Thread.java:619)
12:01:39,718 ERROR [org.alfresco.smb.protocol] Closing session due to exception
org.alfresco.filesys.netbios.win32.WinsockNetBIOSException: 10054Smiley FrustratedendSocket - Connection reset by peer
   at org.alfresco.filesys.netbios.win32.Win32NetBIOS.SendSocket(Native Method)
   at org.alfresco.filesys.netbios.win32.NetBIOSSocket.write(NetBIOSSocket.java:266)
   at org.alfresco.filesys.smb.server.win32.WinsockNetBIOSPacketHandler.writePacket(WinsockNetBIOSPacketHandler.java:187)
   at org.alfresco.filesys.smb.server.SMBSrvSession.sendResponseSMB(SMBSrvSession.java:1555)
   at org.alfresco.filesys.smb.server.SMBSrvSession.sendResponseSMB(SMBSrvSession.java:1524)
   at org.alfresco.filesys.smb.server.NTProtocolHandler.procReadAndX(NTProtocolHandler.java:2651)
   at org.alfresco.filesys.smb.server.NTProtocolHandler.runProtocol(NTProtocolHandler.java:269)
   at org.alfresco.filesys.smb.server.SMBSrvSession.runHandler(SMBSrvSession.java:1489)
   at org.alfresco.filesys.smb.server.SMBSrvSession.run(SMBSrvSession.java:1390)
   at java.lang.Thread.run(Thread.java:619)
12:20:24,250 ERROR [org.alfresco.smb.protocol] Closing session due to exception
org.alfresco.filesys.netbios.win32.WinsockNetBIOSException: 10054Smiley FrustratedendSocket - Connection reset by peer
   at org.alfresco.filesys.netbios.win32.Win32NetBIOS.SendSocket(Native Method)
   at org.alfresco.filesys.netbios.win32.NetBIOSSocket.write(NetBIOSSocket.java:266)
   at org.alfresco.filesys.smb.server.win32.WinsockNetBIOSPacketHandler.writePacket(WinsockNetBIOSPacketHandler.java:187)
   at org.alfresco.filesys.smb.server.SMBSrvSession.sendResponseSMB(SMBSrvSession.java:1555)
   at org.alfresco.filesys.smb.server.SMBSrvSession.sendResponseSMB(SMBSrvSession.java:1524)
   at org.alfresco.filesys.smb.server.NTProtocolHandler.procReadAndX(NTProtocolHandler.java:2651)
   at org.alfresco.filesys.smb.server.NTProtocolHandler.runProtocol(NTProtocolHandler.java:269)
   at org.alfresco.filesys.smb.server.SMBSrvSession.runHandler(SMBSrvSession.java:1489)
   at org.alfresco.filesys.smb.server.SMBSrvSession.run(SMBSrvSession.java:1390)
   at java.lang.Thread.run(Thread.java:619)
12:33:34,500 ERROR [org.alfresco.smb.protocol] Closing session due to exception
org.alfresco.filesys.netbios.win32.WinsockNetBIOSException: 10054Smiley FrustratedendSocket - Connection reset by peer
   at org.alfresco.filesys.netbios.win32.Win32NetBIOS.SendSocket(Native Method)
   at org.alfresco.filesys.netbios.win32.NetBIOSSocket.write(NetBIOSSocket.java:266)
   at org.alfresco.filesys.smb.server.win32.WinsockNetBIOSPacketHandler.writePacket(WinsockNetBIOSPacketHandler.java:187)
   at org.alfresco.filesys.smb.server.SMBSrvSession.sendResponseSMB(SMBSrvSession.java:1555)
   at org.alfresco.filesys.smb.server.SMBSrvSession.sendResponseSMB(SMBSrvSession.java:1524)
   at org.alfresco.filesys.smb.server.NTProtocolHandler.procReadAndX(NTProtocolHandler.java:2651)
   at org.alfresco.filesys.smb.server.NTProtocolHandler.runProtocol(NTProtocolHandler.java:269)
   at org.alfresco.filesys.smb.server.SMBSrvSession.runHandler(SMBSrvSession.java:1489)
   at org.alfresco.filesys.smb.server.SMBSrvSession.run(SMBSrvSession.java:1390)
   at java.lang.Thread.run(Thread.java:619)
12:49:16,640 ERROR [org.alfresco.smb.protocol] Closing session due to exception
org.alfresco.filesys.netbios.win32.WinsockNetBIOSException: 10054Smiley FrustratedendSocket - Connection reset by peer
   at org.alfresco.filesys.netbios.win32.Win32NetBIOS.SendSocket(Native Method)
   at org.alfresco.filesys.netbios.win32.NetBIOSSocket.write(NetBIOSSocket.java:266)
   at org.alfresco.filesys.smb.server.win32.WinsockNetBIOSPacketHandler.writePacket(WinsockNetBIOSPacketHandler.java:187)
   at org.alfresco.filesys.smb.server.SMBSrvSession.sendResponseSMB(SMBSrvSession.java:1555)
   at org.alfresco.filesys.smb.server.SMBSrvSession.sendResponseSMB(SMBSrvSession.java:1524)
   at org.alfresco.filesys.smb.server.NTProtocolHandler.procReadAndX(NTProtocolHandler.java:2651)
   at org.alfresco.filesys.smb.server.NTProtocolHandler.runProtocol(NTProtocolHandler.java:269)
   at org.alfresco.filesys.smb.server.SMBSrvSession.runHandler(SMBSrvSession.java:1489)
   at org.alfresco.filesys.smb.server.SMBSrvSession.run(SMBSrvSession.java:1390)
   at java.lang.Thread.run(Thread.java:619)

How can i solve this and use the windows file system to configure the alfresco repository?

Thnx!
9 REPLIES 9

g_rathod
Star Contributor
Star Contributor
Hi,

Can you tell me currently you are using which OS ?   I m expecting Windows.
Since you want CIFS with Alfresco repository.

Mostly NetBIOS prompts come due to it is not getting any TCP compatible network or internet.
Just see you have TCP works. Since this can not occure while u connected with internet.
Here it is not necessary to have internet but n/w TCP should be configured before.

for CIFS just map your drive like :

\\pcName_a\alfresco\FolderToShare

Hope this helps…

johan1974
Champ in-the-making
Champ in-the-making
I mapped my drive like you said and it does connect perfectly , but after som minutes it gets disconnected.

johan1974
Champ in-the-making
Champ in-the-making
12:22:56,718 INFO  [org.alfresco.mbeans.VirtServerRegistry] Creating VirtServerRegistry MBean
12:22:58,015 WARN  [org.springframework.remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one
12:22:58,609 INFO  [org.alfresco.mbeans.VirtServerRegistry] Created JMX serverConnector
12:23:04,265 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.HSQLDialect.
12:23:04,296 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Alfresco is using the HSQL default database. Please only use this while evaluating Alfresco, it is NOT recommended for production or deployment!
12:23:04,703 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.
12:23:11,750 WARN  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco 'dir.root' property is set to a relative path './alf_data'.  'dir.root' should be overridden to point to a specific folder.
12:23:11,750 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: .\alf_data
12:23:11,796 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
12:23:12,000 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 0 module(s).
12:23:15,312 WARN  [org.alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
12:23:15,531 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_06-b02; maximum heap size 506,313MB
12:23:16,640 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco license: Enterprise Network granted to Trial User limited to 30 days expiring Sat May 31 00:00:00 CEST 2008 (28 days remaining)
12:23:16,640 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Enterprise Network): Current version 2.2.0 (159) schema 89 - Installed version 2.2.0 (159) schema 89
12:26:48,968 ERROR [org.alfresco.smb.protocol] Closing session due to exception
org.alfresco.filesys.netbios.win32.WinsockNetBIOSException: 10054Smiley FrustratedendSocket - Connection reset by peer
   at org.alfresco.filesys.netbios.win32.Win32NetBIOS.SendSocket(Native Method)
   at org.alfresco.filesys.netbios.win32.NetBIOSSocket.write(NetBIOSSocket.java:266)
   at org.alfresco.filesys.smb.server.win32.WinsockNetBIOSPacketHandler.writePacket(WinsockNetBIOSPacketHandler.java:187)
   at org.alfresco.filesys.smb.server.SMBSrvSession.sendResponseSMB(SMBSrvSession.java:1555)
   at org.alfresco.filesys.smb.server.SMBSrvSession.sendResponseSMB(SMBSrvSession.java:1524)
   at org.alfresco.filesys.smb.server.NTProtocolHandler.procReadAndX(NTProtocolHandler.java:2651)
   at org.alfresco.filesys.smb.server.NTProtocolHandler.runProtocol(NTProtocolHandler.java:269)
   at org.alfresco.filesys.smb.server.SMBSrvSession.runHandler(SMBSrvSession.java:1489)
   at org.alfresco.filesys.smb.server.SMBSrvSession.run(SMBSrvSession.java:1390)
   at java.lang.Thread.run(Thread.java:619)

Anybody any ideas ?

libman
Champ in-the-making
Champ in-the-making
I have the same error. Did you found how to resolve? I have Windows Xp with the latest SP (3).

Thanks.

libman
Champ in-the-making
Champ in-the-making
When working with HSQLD, the mapping works. But MySQL doesn't, the webclient works without any problem.
Thanks by advance.

libman
Champ in-the-making
Champ in-the-making
This is my log:

13:51:24,508 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Community Network): Current version 2.0.0 (build-185) schema 38 - Installed version 2.0.0 (build-185) schema 38
13:54:45,076 ERROR [org.alfresco.smb.protocol] Closing session due to exception
org.alfresco.filesys.netbios.win32.WinsockNetBIOSException: 10054:SendSocket - Connection reset by peer
   at org.alfresco.filesys.netbios.win32.Win32NetBIOS.SendSocket(Native Method)
   at org.alfresco.filesys.netbios.win32.NetBIOSSocket.write(NetBIOSSocket.java:266)
   at org.alfresco.filesys.smb.server.win32.WinsockNetBIOSPacketHandler.writePacket(WinsockNetBIOSPacketHandler.java:187)
   at org.alfresco.filesys.smb.server.SMBSrvSession.sendResponseSMB(SMBSrvSession.java:1516)
   at org.alfresco.filesys.smb.server.SMBSrvSession.sendResponseSMB(SMBSrvSession.java:1485)
   at org.alfresco.filesys.smb.server.NTProtocolHandler.procCloseFile(NTProtocolHandler.java:1500)
   at org.alfresco.filesys.smb.server.NTProtocolHandler.runProtocol(NTProtocolHandler.java:259)
   at org.alfresco.filesys.smb.server.SMBSrvSession.runHandler(SMBSrvSession.java:1450)
   at org.alfresco.filesys.smb.server.SMBSrvSession.run(SMBSrvSession.java:1351)
   at java.lang.Thread.run(Thread.java:595)
13:55:53,246 ERROR [org.alfresco.smb.protocol] Closing session due to exception
org.alfresco.filesys.netbios.win32.WinsockNetBIOSException: 10054:SendSocket - Connection reset by peer
   at org.alfresco.filesys.netbios.win32.Win32NetBIOS.SendSocket(Native Method)
   at org.alfresco.filesys.netbios.win32.NetBIOSSocket.write(NetBIOSSocket.java:266)
   at org.alfresco.filesys.smb.server.win32.WinsockNetBIOSPacketHandler.writePacket(WinsockNetBIOSPacketHandler.java:187)
   at org.alfresco.filesys.smb.server.SMBSrvSession.sendResponseSMB(SMBSrvSession.java:1516)
   at org.alfresco.filesys.smb.server.SMBSrvSession.sendResponseSMB(SMBSrvSession.java:1485)
   at org.alfresco.filesys.smb.server.NTProtocolHandler.procCloseFile(NTProtocolHandler.java:1500)
   at org.alfresco.filesys.smb.server.NTProtocolHandler.runProtocol(NTProtocolHandler.java:259)
   at org.alfresco.filesys.smb.server.SMBSrvSession.runHandler(SMBSrvSession.java:1450)
   at org.alfresco.filesys.smb.server.SMBSrvSession.run(SMBSrvSession.java:1351)
   at java.lang.Thread.run(Thread.java:595)

libman
Champ in-the-making
Champ in-the-making
It sometimes works or I have the same problems I wrote here before. I think, it is the same subject spoken here:
http://forums.alfresco.com/en/viewtopic.php?f=9&t=12229&p=49158#p49158

dmatejka
Champ in-the-making
Champ in-the-making
Hi,
we have the same problem. Did you manage to solve this issue somehow?

lfrerot
Champ in-the-making
Champ in-the-making
Hi all,

I got the same problem between a Linux server running alfresco and a connected share under windows XP sp3.

Regards,

Ludovic