cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco source code building

gaurav0918
Champ on-the-rise
Champ on-the-rise

Hi,

I have successfully buit source codes of community-edition-master and alfresco 5.0.a.

 

I have got two war files: alfresco-5.0.a.war and share-5.0.a.war. I have deployedboth files in tomcat. The link: http://localhost:8080/share-5.0.a/page/  displays a page to login but the link: http://localhost:8080/alfresco-5.0.a does not display anything.

 

Please tell what is wrong with alfresco-5.0.a.war. Why does it not display any page ? Please help what I should do now.

Error:

HTTP Status 404 - /alfresco-5.0.a/


type Status report

message /alfresco-5.0.a/

description The requested resource is not available.


Apache Tomcat/7.0.73

______________________________________________________________________________________________

My Alfresco log entries:

______________________________________________________________________________________________


  1 12:17:02,511 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered templa    te processor freemarker for extension ftl
  2 12:17:02,524 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script p    rocessor javascript for extension js
  3 12:17:02,524 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered templa    te processor freemarker for extension ftl
  4 12:17:02,526 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script p    rocessor javascript for extension js
  5 12:17:06,564 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 373 Web Scri    pts (+0 failed), 387 URLs
  6 12:17:06,565 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 8 Package De    scription Documents (+0 failed)
  7 12:17:06,565 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 0 Schema Des    cription Documents (+0 failed)
  8 12:17:06,885 INFO  [org.springframework.extensions.webscripts.AbstractRuntimeContainer] [localhost-startStop-1] Initialised Spring     Surf Container Web Script Container (in 4346.076ms)
  9 12:17:06,894 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered templa    te processor freemarker for extension ftl
 10 12:17:06,900 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script p    rocessor javascript for extension js
 11 12:17:20,941 WARN  [org.alfresco.util.RuntimeSystemPropertiesSetter] [localhost-startStop-1] Could not find alfresco-jmxrmi.passwo    rd on classpath
 12 12:17:21,658 INFO  [org.alfresco.repo.admin] [localhost-startStop-1] Using database URL 'jdbcSmiley Tongueostgresql://localhost:5432/alfresco    ' with user 'alfresco'.
 13 12:17:21,778 INFO  [org.alfresco.repo.admin] [localhost-startStop-1] Connected to database PostgreSQL version 9.3.15
 14 12:17:30,638 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'sysA    dmin' subsystem, ID: [sysAdmin, default]
 15 12:17:30,658 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'sy    sAdmin' subsystem, ID: [sysAdmin, default] complete
 16 12:17:30,688 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Ignoring script patch (post-Hibernate    😞 patch.db-V4.2-metadata-query-indexes
 17 12:17:40,328 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered templa    te processor Repository Template Processor for extension ftl
 18 12:17:40,330 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script p    rocessor Repository Script Processor for extension js
 19 12:17:49,354 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Connecting to database: jdbcSmiley Tongueostgres    ql://localhost:5432/alfresco, UserName=alfresco, PostgreSQL Native Driver
 20 12:17:49,354 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Schema managed by database dialect or    g.hibernate.dialect.PostgreSQLDialect.
 21 12:17:50,977 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] No changes were made to the schema.
 22 12:17:51,367 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'Auth    entication' subsystem, ID: [Authentication, managed, alfrescoNtlm1]
 23 12:17:51,459 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'Au    thentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1] complete
 24 12:17:52,370 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'thir    dparty' subsystem, ID: [thirdparty, default]
 25 12:17:52,766 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'th    irdparty' subsystem, ID: [thirdparty, default] complete
 26 12:17:52,766 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'OOoD    irect' subsystem, ID: [OOoDirect, default]
 27 12:17:53,076 WARN  [org.alfresco.util.OpenOfficeConnectionTester] [localhost-startStop-1] An initial OpenOffice connection could n    ot be established.
 28 12:17:53,079 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'OO    oDirect' subsystem, ID: [OOoDirect, default] complete
 29 12:17:53,081 INFO  [org.alfresco.repo.admin.ConfigurationChecker] [localhost-startStop-1] The Alfresco root data directory ('dir.r    oot') is: /opt/alfresco/alf_data
 30 12:17:53,082 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'Sear    ch' subsystem, ID: [Search, managed, lucene]
 31 12:17:54,454 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'Se    arch' subsystem, ID: [Search, managed, lucene] complete
 32 12:17:54,490 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] [localhost-startStop-1] Checking for patches to apply ...
 33 12:17:55,391 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] [localhost-startStop-1] No patches were required.
 34 12:17:55,401 INFO  [org.alfresco.repo.module.ModuleServiceImpl] [localhost-startStop-1] Found 0 module(s).
 35 12:17:55,409 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'file    Servers' subsystem, ID: [fileServers, default]
 36 12:17:56,053 WARN  [org.alfresco.fileserver] [localhost-startStop-1] CIFS, Unable to get local domain/workgroup name, using defaul    t of WORKGROUP. This may be due to firewall settings or incorrect <broadcast> setting)
 37 12:17:56,076 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'fi    leServers' subsystem, ID: [fileServers, default] complete
 38 12:17:56,076 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'imap    ' subsystem, ID: [imap, default]
 39 12:17:56,076 ERROR [org.alfresco.fileserver] [CIFS Server] [SMB] Server error : org.alfresco.jlan.server.config.InvalidConfigurati    onException: Error initializing TCP-IP SMB session handler, Permission denied
 40 12:17:56,079 ERROR [org.alfresco.fileserver] [FTP Server] [FTP] FTP Socket error : java.net.BindException: Permission denied
 41 12:17:56,089 ERROR [org.alfresco.fileserver] [CIFS Server] Error from JLAN
 42 org.alfresco.jlan.server.config.InvalidConfigurationException: Error initializing TCP-IP SMB session handler, Permission denied
 43         at org.alfresco.jlan.smb.server.nio.NIOCifsConnectionsHandler.initializeHandler(NIOCifsConnectionsHandler.java:259)
 44         at org.alfresco.jlan.smb.server.SMBServer.run(SMBServer.java:479)
 45         at java.lang.Thread.run(Thread.java:745)
 46 12:17:56,089 ERROR [org.alfresco.fileserver] [FTP Server] Error from JLAN
 47 java.net.BindException: Permission denied
 48         at java.net.PlainSocketImpl.socketBind(Native Method)
 49         at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376)
 50         at java.net.ServerSocket.bind(ServerSocket.java:376)
 51         at java.net.ServerSocket.<init>(ServerSocket.java:237)
 52         at java.net.ServerSocket.<init>(ServerSocket.java:181)
 53         at org.alfresco.jlan.ftp.FTPServer.run(FTPServer.java:554)
 54         at java.lang.Thread.run(Thread.java:745)
 55 12:17:56,151 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'im    ap' subsystem, ID: [imap, default] complete
 56 12:17:56,151 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'emai    l' subsystem, ID: [email, outbound]
 57 12:17:56,222 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'em    ail' subsystem, ID: [email, outbound] complete
 58 12:17:56,222 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'emai    l' subsystem, ID: [email, inbound]
 59 12:17:56,276 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'em    ail' subsystem, ID: [email, inbound] complete
 60 12:17:56,276 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'Subs    criptions' subsystem, ID: [Subscriptions, default]
 61 12:17:56,290 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'Su    bscriptions' subsystem, ID: [Subscriptions, default] complete
 62 12:17:56,330 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'Sync    hronization' subsystem, ID: [Synchronization, default]
 63 12:17:56,530 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'Sy    nchronization' subsystem, ID: [Synchronization, default] complete
 64 12:17:56,607 INFO  [org.alfresco.service.descriptor.DescriptorService] [localhost-startStop-1] Alfresco JVM - v1.7.0_67-b01; maxim    um heap size 683.000MB
 65 12:17:56,607 INFO  [org.alfresco.service.descriptor.DescriptorService] [localhost-startStop-1] Server Mode :UNKNOWN
 66 12:17:56,608 INFO  [org.alfresco.service.descriptor.DescriptorService] [localhost-startStop-1] Alfresco started (Community). Curre    nt version: 5.0.0 (r75118-b23) schema 8,001. Originally installed version: 5.0.0 (r75118-b23) schema 8,001.
 67 12:17:56,640 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'Acti    vitiesFeed' subsystem, ID: [ActivitiesFeed, default]
 68 12:17:56,732 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'Ac    tivitiesFeed' subsystem, ID: [ActivitiesFeed, default] complete
 69 12:17:56,733 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'Repl    ication' subsystem, ID: [Replication, default]
 70 12:17:56,745 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'Re    plication' subsystem, ID: [Replication, default] complete
 71 12:18:06,137 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Regis    tered 505 Web Scripts (+0 failed), 789 URLs
 72 12:18:06,138 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Regis    tered 2 Package Description Documents (+0 failed)
 73 12:18:06,138 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Regis    tered 1 Schema Description Documents (+0 failed)
 74 12:18:08,887 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 505 Web Scri    pts (+0 failed), 789 URLs
 75 12:18:08,887 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 2 Package De    scription Documents (+0 failed)
 76 12:18:08,887 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 1 Schema Des    cription Documents (+0 failed)
 77 12:18:08,890 INFO  [org.springframework.extensions.webscripts.AbstractRuntimeContainer] [localhost-startStop-1] Initialised Reposi    tory Web Script Container (in 9231.401ms)
 78 12:18:08,903 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered templa    te processor freemarker for extension ftl
 79 12:18:08,905 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script p    rocessor javascript for extension js
 80 12:18:11,507 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Regis    tered 505 Web Scripts (+0 failed), 789 URLs
 81 12:18:11,508 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Regis    tered 2 Package Description Documents (+0 failed)
 82 12:18:11,508 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Regis    tered 1 Schema Description Documents (+0 failed)
 83 12:18:11,721 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Regis    tered 11 Web Scripts (+0 failed), 82 URLs
 84 12:18:11,721 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Regis    tered 0 Package Description Documents (+0 failed)
 85 12:18:11,721 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Regis    tered 0 Schema Description Documents (+0 failed)
 86 12:18:11,771 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 11 Web Scrip    ts (+0 failed), 82 URLs
 87 12:18:11,771 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 0 Package De    scription Documents (+0 failed)
 88 12:18:11,771 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 0 Schema Des    cription Documents (+0 failed)
 89 12:18:11,772 INFO  [org.springframework.extensions.webscripts.AbstractRuntimeContainer] [localhost-startStop-1] Initialised Public     Api Web Script Container (in 123.92042ms)
 90 12:18:11,807 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Regis    tered 11 Web Scripts (+0 failed), 82 URLs
 91 12:18:11,807 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Regis    tered 0 Package Description Documents (+0 failed)
 92 12:18:11,807 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Regis    tered 0 Schema Description Documents (+0 failed)
 93 12:18:24,914 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered templa    te processor freemarker for extension ftl
 94 12:18:24,918 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script p    rocessor javascript for extension js
 95 12:18:24,919 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered templa    te processor freemarker for extension ftl
 96 12:18:24,921 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script p    rocessor javascript for extension js
 97 12:18:26,253 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 373 Web Scri    pts (+0 failed), 387 URLs
 98 12:18:26,253 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 8 Package De    scription Documents (+0 failed)
 99 12:18:26,253 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 0 Schema Des    cription Documents (+0 failed)
100 12:18:26,518 INFO  [org.springframework.extensions.webscripts.AbstractRuntimeContainer] [localhost-startStop-1] Initialised Spring     Surf Container Web Script Container (in 1593.625ms)
101 12:18:26,525 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered templa    te processor freemarker for extension ftl
102 12:18:26,530 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script p    rocessor javascript for extension js
103 12:18:37,085 WARN  [org.alfresco.util.RuntimeSystemPropertiesSetter] [localhost-startStop-1] Could not find alfresco-jmxrmi.passwo    rd on classpath
104 12:18:37,604 INFO  [org.alfresco.repo.admin] [localhost-startStop-1] Using database URL 'jdbcSmiley Tongueostgresql://localhost:5432/alfresco    ' with user 'alfresco'.
105 12:18:37,655 INFO  [org.alfresco.repo.admin] [localhost-startStop-1] Connected to database PostgreSQL version 9.3.15
106 12:18:43,555 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'sysA    dmin' subsystem, ID: [sysAdmin, default]
107 12:18:43,572 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'sy    sAdmin' subsystem, ID: [sysAdmin, default] complete
108 12:18:43,615 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Ignoring script patch (post-Hibernate    😞 patch.db-V4.2-metadata-query-indexes
109 12:18:48,656 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Stopping 'sysA    dmin' subsystem, ID: [sysAdmin, default]
110 12:18:48,656 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Stopped 'sysAd    min' subsystem, ID: [sysAdmin, default]
111 12:18:48,671 ERROR [org.springframework.web.context.ContextLoader] [localhost-startStop-1] Context initialization failed
112 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'avmRemoteService' defined in class path re    source [alfresco/remote-services-context.xml]: Invocation of init method failed; nested exception is java.rmi.server.ExportExcepti    on: Port already in use: 50501; nested exception is:
113         java.net.BindException: Address already in use
114         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBean    Factory.java:1420)
115         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFa    ctory.java:519)
116         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFact    ory.java:456)
117         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
118         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:2    22)
119         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
120         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
121         at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactor    y.java:580)
122         at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationConte    xt.java:895)
123         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
124         at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
125         at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
126         at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
127         at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:63)
128         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5118)
129         at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5634)
130         at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
131         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
132         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
133         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
134         at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1092)
135         at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1984)
136         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
137         at java.util.concurrent.FutureTask.run(FutureTask.java:262)
138         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
139         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
140         at java.lang.Thread.run(Thread.java:745)
141 Caused by: java.rmi.server.ExportException: Port already in use: 50501; nested exception is:
142         java.net.BindException: Address already in use
143         at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:329)
144         at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:237)
145         at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:411)
146         at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:147)
147         at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:207)
148         at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:310)
149         at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:273)
150         at org.springframework.remoting.rmi.RmiServiceExporter.prepare(RmiServiceExporter.java:281)
151         at org.alfresco.util.remote.server.AlfrescoRMIServiceExporter.prepare(AlfrescoRMIServiceExporter.java:25)
152         at org.springframework.remoting.rmi.RmiServiceExporter.afterPropertiesSet(RmiServiceExporter.java:229)
153         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableB    eanFactory.java:1477)
154         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBean    Factory.java:1417)
155         ... 26 more
156 Caused by: java.net.BindException: Address already in use
157         at java.net.PlainSocketImpl.socketBind(Native Method)
158         at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376)
159         at java.net.ServerSocket.bind(ServerSocket.java:376)
160         at java.net.ServerSocket.<init>(ServerSocket.java:237)
161         at org.alfresco.util.remote.server.socket.HostConfigurableSocketFactory.createServerSocket(HostConfigurableSocketFactory.j    ava:111)
162         at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:666)
163         at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:318)
164         ... 37 more
165 12:19:00,105 WARN  [org.alfresco.util.OpenOfficeConnectionTester] [DefaultScheduler_Worker-4] Error trying to query Open Office ve    rsion information. OpenOffice.org's ConfigurationRegistry not implemented in this version of OOo. This should not affect the opera    tion of OOo.
166 12:19:00,105 INFO  [org.alfresco.util.OpenOfficeConnectionTester] [DefaultScheduler_Worker-4] The OpenOffice connection was re-est    ablished.

1 ACCEPTED ANSWER

gaurav0918
Champ on-the-rise
Champ on-the-rise

Resolved above issue just by renaming alfresco-5.0.a.war to alfresco.war.

View answer in original post

2 REPLIES 2

gaurav0918
Champ on-the-rise
Champ on-the-rise

Resolved above issue just by renaming alfresco-5.0.a.war to alfresco.war.

janv
Employee
Employee

Hi,

See also Error creating bean with name 'avmRemoteService' 

112 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'avmRemoteService' defined in class path re    source [alfresco/remote-services-context.xml]: Invocation of init method failed; nested exception is java.rmi.server.ExportExcepti    on: Port already in use: 50501; nested exception is:
113         java.net.BindException: Address already in use

IIRC, AVM was removed in 5.0.c, however I recommend you consider plan to upgrade to latest 5.2 release (or otherwise 5.1).

Regards,

Jan