Hi all,
I'd like install multiple instances of alfresco in a single server.
I have installed alfresco community 2.0 in my system.
I've copied two alfresco war files in the webapp directory of Tomcat, alfresco1.war and alfresco2.war.
I also have modified Alfresco repository.properties files writing the correct location for data directories and databases.
So, i restarted Alfresco.
But, when Alfresco starts these exceptions occur:
—
18:36:54,317 ERROR [smb.protocol.netbios] NetBIOSNameServer setup error:
java.net.BindException: Address already in use
at java.net.PlainDatagramSocketImpl.bind0(Native Method)
at java.net.PlainDatagramSocketImpl.bind(PlainDatagramSocketImpl.java:82)
at java.net.DatagramSocket.bind(DatagramSocket.java:368)
at java.net.DatagramSocket.<init>(DatagramSocket.java:210)
at java.net.DatagramSocket.<init>(DatagramSocket.java:261)
at java.net.DatagramSocket.<init>(DatagramSocket.java:234)
at org.alfresco.filesys.netbios.server.NetBIOSNameServer.openSocket(NetBIOSNameServer.java:1085)
at org.alfresco.filesys.netbios.server.NetBIOSNameServer.run(NetBIOSNameServer.java:1611)
at java.lang.Thread.run(Thread.java:619)
18:36:54,344 INFO [service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_11-b03; maximum heap size 493,063MB
18:36:54,361 WARN [service.descriptor.DescriptorService] Alfresco JVM - WARNING - maximum heap size 493,063MB is less than recommended 512MB
18:36:54,344 ERROR [alfresco.ftp.protocol] FTP Socket error
java.net.BindException: Address already in use
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:407)
at java.lang.Thread.run(Thread.java:619)
18:36:54,361 INFO [service.descriptor.DescriptorService] Alfresco started (Community Network): Current version 2.1.0 (482) schema 64 - Installed version 2.1.0 (484) schema 64
18:36:54,368 ERROR [alfresco.smb.protocol] Server error :
java.net.BindException: Address already in use
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.smb.server.SessionSocketHandler.initialize(SessionSocketHandler.java:257)
at org.alfresco.filesys.smb.server.NetBIOSSessionSocketHandler.createSessionHandlers(NetBIOSSessionSocketHandler.java:165)
at org.alfresco.filesys.smb.server.SMBServer.run(SMBServer.java:495)
at java.lang.Thread.run(Thread.java:619)
—
I think the cause is about numbers of ports….is it right?
How can i solve this problem?
Please, help me! :cry:
ps
I also installed Alfresco 3 Labs and I tried the Multi-tencancy option. This is a cool option but the tenants share the same db (i'd like a db for each tenants or Alfresco instance)
I could have multiple Tomcat instances but I haven't many resources in my system