cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco 1.2 Installation Problem

razali
Champ in-the-making
Champ in-the-making
Hi …

I have installed Alfresco 1.2 + tomcat + MySql  on Window XP and done some configuration to suit to the network system I have (changed broadcast mask, disable   NetBIOS/SMB on linux in File-server.xlm. And the system seem work fine.

But, I'm still receiving the following error :

INFO: Deploying web application archive Alfresco.war
Mar 6, 2006 2:11:00 PM net.sf.joott.uno.UnoConnection connect
INFO: connecting using "socket,host=localhost,port=8100,tcpNoDelay=1"…
Mar 6, 2006 2:11:02 PM net.sf.joott.uno.UnoConnection connect
INFO: connected
Mar 6, 2006 2:11:02 PM net.sf.joott.uno.UnoConnection connect
INFO: connecting using "socket,host=localhost,port=8100,tcpNoDelay=1"…
Mar 6, 2006 2:11:02 PM net.sf.joott.uno.UnoConnection connect
INFO: connected
14:11:07,045 INFO  [admin.patch.PatchExecuter] Checking for patches to apply …

14:11:07,154 INFO  [admin.patch.PatchExecuter] No patches were required.
14:11:08,467 INFO  [service.descriptor.DescriptorService] Alfresco JVM - v1.5.0_
06-b05; maximum heap size 506.313MB
14:11:08,467 INFO  [service.descriptor.DescriptorService] Alfresco started (Comm
unity Network): Current version 1.2.0 schema 6 - Installed version 1.2.0 schema
6
Mar 6, 2006 2:11:14 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Mar 6, 2006 2:11:15 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Mar 6, 2006 2:11:15 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/282  config=null
Mar 6, 2006 2:11:16 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Mar 6, 2006 2:11:16 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 78953 ms
14:11:21,639 ERROR [smb.protocol.mailslot] HostAnnouncer error
org.alfresco.filesys.netbios.win32.WinsockNetBIOSException: 10051Smiley FrustratedendSocketData
gram - Network is unreachable
        at org.alfresco.filesys.netbios.win32.Win32NetBIOS.SendSocketDatagram(Na
tive Method)
        at org.alfresco.filesys.netbios.win32.NetBIOSSocket.sendDatagram(NetBIOS
Socket.java:299)
        at org.alfresco.filesys.smb.mailslot.WinsockNetBIOSHostAnnouncer.sendAnn
ouncement(WinsockNetBIOSHostAnnouncer.java:119)
        at org.alfresco.filesys.smb.mailslot.HostAnnouncer.run(HostAnnouncer.jav
a:291)
14:28:44,998 ERROR [alfresco.smb.protocol] Closing session due to exception
net.sf.acegisecurity.AuthenticationCredentialsNotFoundException: A valid SecureC
ontext was not provided in the RequestContext
        at net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.credential
sNotFound(AbstractSecurityInterceptor.java:477)
        at net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.beforeInvo
cation(AbstractSecurityInterceptor.java:355)
        at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInter
ceptor.invoke(MethodSecurityInterceptor.java:77)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:170)
        at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethod
Interceptor.invoke(ExceptionTranslatorMethodInterceptor.java:37)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:170)
        at org.springframework.transaction.interceptor.TransactionInterceptor.in
voke(TransactionInterceptor.java:96)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:170)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:176)
        at $Proxy15.getProperties(Unknown Source)
        at org.alfresco.repo.model.filefolder.FileFolderServiceImpl.toFileInfo(F
ileFolderServiceImpl.java:186)
        at org.alfresco.repo.model.filefolder.FileFolderServiceImpl.getFileInfo(
FileFolderServiceImpl.java:775)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
on(AopUtils.java:335)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo
inpoint(ReflectiveMethodInvocation.java:181)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:148)
        at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethod
Interceptor.invoke(ExceptionTranslatorMethodInterceptor.java:37)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:170)
        at org.springframework.transaction.interceptor.TransactionInterceptor.in
voke(TransactionInterceptor.java:96)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:170)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:176)
        at $Proxy28.getFileInfo(Unknown Source)
        at org.alfresco.filesys.smb.server.repo.CifsHelper.getFileInformation(Ci
fsHelper.java:180)
        at org.alfresco.filesys.smb.server.repo.ContentDiskDriver.getFileInforma
tion(ContentDiskDriver.java:531)
        at org.alfresco.filesys.smb.server.NTProtocolHandler.procTrans2QueryPath
(NTProtocolHandler.java:4214)
        at org.alfresco.filesys.smb.server.NTProtocolHandler.processTransactionB
uffer(NTProtocolHandler.java:2009)
        at org.alfresco.filesys.smb.server.NTProtocolHandler.procTransact2(NTPro
tocolHandler.java:1828)
        at org.alfresco.filesys.smb.server.NTProtocolHandler.runProtocol(NTProto
colHandler.java:229)
        at org.alfresco.filesys.smb.server.SMBSrvSession.runHandler(SMBSrvSessio
n.java:1667)
        at org.alfresco.filesys.smb.server.SMBSrvSession.run(SMBSrvSession.java:
1568)
        at java.lang.Thread.run(Thread.java:595)
14:44:30,717 ERROR [alfresco.smb.protocol] Closing session due to exception
net.sf.acegisecurity.AuthenticationCredentialsNotFoundException: A valid SecureC
ontext was not provided in the RequestContext
        at net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.credential
sNotFound(AbstractSecurityInterceptor.java:477)
        at net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.beforeInvo
cation(AbstractSecurityInterceptor.java:355)
        at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInter
ceptor.invoke(MethodSecurityInterceptor.java:77)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:170)
        at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethod
Interceptor.invoke(ExceptionTranslatorMethodInterceptor.java:37)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:170)
        at org.springframework.transaction.interceptor.TransactionInterceptor.in
voke(TransactionInterceptor.java:96)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:170)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:176)
        at $Proxy15.getProperties(Unknown Source)
        at org.alfresco.repo.model.filefolder.FileFolderServiceImpl.toFileInfo(F
ileFolderServiceImpl.java:186)
        at org.alfresco.repo.model.filefolder.FileFolderServiceImpl.getFileInfo(
FileFolderServiceImpl.java:775)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
on(AopUtils.java:335)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo
inpoint(ReflectiveMethodInvocation.java:181)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:148)
        at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethod
Interceptor.invoke(ExceptionTranslatorMethodInterceptor.java:37)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:170)
        at org.springframework.transaction.interceptor.TransactionInterceptor.in
voke(TransactionInterceptor.java:96)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:170)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:176)
        at $Proxy28.getFileInfo(Unknown Source)
        at org.alfresco.filesys.smb.server.repo.CifsHelper.getFileInformation(Ci
fsHelper.java:180)
        at org.alfresco.filesys.smb.server.repo.ContentDiskDriver.getFileInforma
tion(ContentDiskDriver.java:531)
        at org.alfresco.filesys.smb.server.NTProtocolHandler.procTrans2QueryPath
(NTProtocolHandler.java:4214)
        at org.alfresco.filesys.smb.server.NTProtocolHandler.processTransactionB
uffer(NTProtocolHandler.java:2009)
        at org.alfresco.filesys.smb.server.NTProtocolHandler.procTransact2(NTPro
tocolHandler.java:1828)
        at org.alfresco.filesys.smb.server.NTProtocolHandler.runProtocol(NTProto
colHandler.java:229)
        at org.alfresco.filesys.smb.server.SMBSrvSession.runHandler(SMBSrvSessio
n.java:1667)
        at org.alfresco.filesys.smb.server.SMBSrvSession.run(SMBSrvSession.java:
1568)
        at java.lang.Thread.run(Thread.java:595)
14:49:16,279 ERROR [alfresco.smb.protocol] Closing session due to exception
net.sf.acegisecurity.AuthenticationCredentialsNotFoundException: A valid SecureC
ontext was not provided in the RequestContext
        at net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.credential
sNotFound(AbstractSecurityInterceptor.java:477)
        at net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.beforeInvo
cation(AbstractSecurityInterceptor.java:355)
        at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInter
ceptor.invoke(MethodSecurityInterceptor.java:77)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:170)
        at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethod
Interceptor.invoke(ExceptionTranslatorMethodInterceptor.java:37)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:170)
        at org.springframework.transaction.interceptor.TransactionInterceptor.in
voke(TransactionInterceptor.java:96)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:170)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:176)
        at $Proxy15.getProperties(Unknown Source)
        at org.alfresco.repo.model.filefolder.FileFolderServiceImpl.toFileInfo(F
ileFolderServiceImpl.java:186)
        at org.alfresco.repo.model.filefolder.FileFolderServiceImpl.getFileInfo(
FileFolderServiceImpl.java:775)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
on(AopUtils.java:335)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo
inpoint(ReflectiveMethodInvocation.java:181)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:148)
        at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethod
Interceptor.invoke(ExceptionTranslatorMethodInterceptor.java:37)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:170)
        at org.springframework.transaction.interceptor.TransactionInterceptor.in
voke(TransactionInterceptor.java:96)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:170)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:176)
        at $Proxy28.getFileInfo(Unknown Source)
        at org.alfresco.filesys.smb.server.repo.CifsHelper.getFileInformation(Ci
fsHelper.java:180)
        at org.alfresco.filesys.smb.server.repo.ContentDiskDriver.getFileInforma
tion(ContentDiskDriver.java:531)
        at org.alfresco.filesys.smb.server.NTProtocolHandler.procTrans2QueryPath
(NTProtocolHandler.java:4214)
        at org.alfresco.filesys.smb.server.NTProtocolHandler.processTransactionB
uffer(NTProtocolHandler.java:2009)
        at org.alfresco.filesys.smb.server.NTProtocolHandler.procTransact2(NTPro
tocolHandler.java:1828)
        at org.alfresco.filesys.smb.server.NTProtocolHandler.runProtocol(NTProto
colHandler.java:229)
        at org.alfresco.filesys.smb.server.SMBSrvSession.runHandler(SMBSrvSessio
n.java:1667)
        at org.alfresco.filesys.smb.server.SMBSrvSession.run(SMBSrvSession.java:
1568)
        at java.lang.Thread.run(Thread.java:595)


Please help me solve the problem …..

Thank you.
7 REPLIES 7

razali
Champ in-the-making
Champ in-the-making
More info ….

I also have changed windows registry of …..  SMBDeviceEnabled=00000000 

But, I am still receiving the following ERROR :

ERROR [smb.protocol.mailslot] HostAnnouncer error org.alfresco.filesys.netbios.win32.WinsockNetBIOSException: 10051Smiley FrustratedendSocketDatagram - Network is unreachable
ERROR [alfresco.smb.protocol] Closing session due to exception
net.sf.acegisecurity.AuthenticationCredentialsNotFoundException: A valid SecureC ontext was not provided in the RequestContext

The system itself look work fine. But, Why the error still arise out when I start the Alfresco.

Is there something else I need to check or change ?

Please help me. Smiley Happy

Thank you.

Razali

gary_spencer
Champ in-the-making
Champ in-the-making
Hi Razali,

How many network adapters do you have in this system ?. Are there any wireless connections or connections which may not be active all of the time ?.

Cheers

Gary

razali
Champ in-the-making
Champ in-the-making
Dear Gary,

I am so glad receiving your reply.  Smiley Very Happy

Yes. There is one Bluetooth Network which is not active all of the time.

Now I have removed (uninstalled) it from my computer. To make sure that this cause is totally eliminated, I also have installed alfresco in other computer (running on Windows OS) I have which is equipped with Only one network adapter. Regarding the network configuration needed by Alfresco I have done the followings :
(a) Change windows registry of … to be : SMBDeviceEnabled=00000000
(b) Comment out (disable) Java socket based NetBIOS over TCP/IP and native SMB on Linux :
     <!– Use Java socket based NetBIOS over TCP/IP and native SMB on linux
      <tcpipSMB platforms="linux,solaris,macosx"/>
      <netBIOSSMB platforms="linux,solaris,macosx"/>
      <hostAnnounce interval="5"/> –>

© Set the broadcast mask for the subnet – to suit to the network I have:
     <broadcast>255.255.252.0</broadcast>


After Alfresco started, I got the following results :
- The system looks working fine, the web client can access the alfresco server. And  the alfresco network drive also can be mapped successfully by any client computer.
- In about half hour later the Alfresco Server start generating the ERROR related to alfresco.smb.protocol. The two (PCs) alfresco server I have generate the same problem/ERROR.  The ERROR detail is shown bellow
- While the ERROR are there in the server, the alfresco client can still access the server.  But, the ERROR should not be there.

Gary…. am I missing something? Please help me investigate the problem and solve it. 

Here are the ERROR details for your further investigation :

Mar 20, 2006 8:38:53 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 65484 ms
09:07:55,078 ERROR [alfresco.smb.protocol] Closing session due to exception org.alfresco.filesys.netbios.win32.WinsockNetBIOSException: 10101:ReceiveSocket - Graceful shutdown in progress
        at org.alfresco.filesys.netbios.win32.Win32NetBIOS.ReceiveSocket(Native Method)
        at org.alfresco.filesys.netbios.win32.NetBIOSSocket.read(NetBIOSSocket.java:278)
        at org.alfresco.filesys.smb.server.win32.WinsockNetBIOSPacketHandler.rea
dPacket(WinsockNetBIOSPacketHandler.java:103)
        at org.alfresco.filesys.smb.server.SMBSrvSession.run(SMBSrvSession.java:
1516)
        at java.lang.Thread.run(Thread.java:595)
09:19:37,812 ERROR [alfresco.smb.protocol] Closing session due to exception
org.alfresco.filesys.netbios.win32.WinsockNetBIOSException: 10101:ReceiveSocket
- Graceful shutdown in progress
        at org.alfresco.filesys.netbios.win32.Win32NetBIOS.ReceiveSocket(Native
Method)
        at org.alfresco.filesys.netbios.win32.NetBIOSSocket.read(NetBIOSSocket.j
ava:278)
        at org.alfresco.filesys.smb.server.win32.WinsockNetBIOSPacketHandler.rea
dPacket(WinsockNetBIOSPacketHandler.java:103)
        at org.alfresco.filesys.smb.server.SMBSrvSession.run(SMBSrvSession.java:
1516)
        at java.lang.Thread.run(Thread.java:595)
09:24:56,062 ERROR [alfresco.smb.protocol] Closing session due to exception
org.alfresco.filesys.netbios.win32.WinsockNetBIOSException: 10101:ReceiveSocket
- Graceful shutdown in progress
        at org.alfresco.filesys.netbios.win32.Win32NetBIOS.ReceiveSocket(Native
Method)
        at org.alfresco.filesys.netbios.win32.NetBIOSSocket.read(NetBIOSSocket.j
ava:278)
        at org.alfresco.filesys.smb.server.win32.WinsockNetBIOSPacketHandler.rea
dPacket(WinsockNetBIOSPacketHandler.java:103)
        at org.alfresco.filesys.smb.server.SMBSrvSession.run(SMBSrvSession.java:
1516)
        at java.lang.Thread.run(Thread.java:595)
09:27:04,703 ERROR [alfresco.smb.protocol] Closing session due to exception
org.alfresco.filesys.netbios.win32.WinsockNetBIOSException: 10101:ReceiveSocket
- Graceful shutdown in progress
        at org.alfresco.filesys.netbios.win32.Win32NetBIOS.ReceiveSocket(Native
Method)
        at org.alfresco.filesys.netbios.win32.NetBIOSSocket.read(NetBIOSSocket.j
ava:278)
        at org.alfresco.filesys.smb.server.win32.WinsockNetBIOSPacketHandler.rea
dPacket(WinsockNetBIOSPacketHandler.java:103)
        at org.alfresco.filesys.smb.server.SMBSrvSession.run(SMBSrvSession.java:
1516)
        at java.lang.Thread.run(Thread.java:59

Thank you for your kind help

Best regards,

Razali

gary_spencer
Champ in-the-making
Champ in-the-making
Hi,

This might not be a problem as the Windows CIFS client often just closes the socket causing the receive on the server side to give an error. This is usually trapped though so that the error does not get displayed.

I'll have a look into why the error is being reported.

Cheers

Gary

razali
Champ in-the-making
Champ in-the-making
Hi,

Thank you for your comments.  Smiley Happy
I'll apprecite if you could find the causes on why the ERROR is being reported.  Do you need more info..? or do you want me to do something?

Best regards,

Razali

gary_spencer
Champ in-the-making
Champ in-the-making
Hi,

Windows clients will usually drop the connection to the server after it has been idle for a few minutes. They usually do this by just closing the socket which causes the receive error on the server side.

If you could email me a packet trace I could check that it is the session close that is causing it. Ethereal is a free packet trace tool (http://www.ethereal.com).

Cheers

Gary

razali
Champ in-the-making
Champ in-the-making
Hi,

I have emailed  you a packet trace file along with the alfresco start-up status file during the network capture process.

Please investigate on why it causes the receive error on the server side.

Thank you,

Razali