AnsweredAssumed Answered

Error after installation

Question asked by justinhamilton on Feb 10, 2010
Latest reply on Feb 10, 2010 by mrogers
Hello,

I recently install Alfresco Labs 3 on my Ubuntu 9.10 server, and am currently having some difficulties getting it to run. When I try going to http://localhost:8080/alfresco I just recieve a 404.

Here is the first error in the log that I am recieving:

  6 11:03:53,292 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
  7 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'avmRemoteService' defined in class path resource [alfresco/remote-services-context.xm    l]: Invocation of init method failed; nested exception is java.rmi.server.ExportException: Port already in use: 50501; nested exception is:
  8     java.net.BindException: Address already in use
  9 Caused by: java.rmi.server.ExportException: Port already in use: 50501; nested exception is:
10     java.net.BindException: Address already in use
11     at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:310)
12     at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:218)
13     at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:393)
14     at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:129)
15     at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:190)
16     at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:293)
17     at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:235)
18     at org.springframework.remoting.rmi.RmiServiceExporter.prepare(RmiServiceExporter.java:280)
19     at org.springframework.remoting.rmi.RmiServiceExporter.afterPropertiesSet(RmiServiceExporter.java:227)
20     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1203)
21     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1172)
22     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:427)
23     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
24     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)
25     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
26     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
27     at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:291)
28     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
29     at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
30     at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:189)
31     at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
32     at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:69)
33     at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
34     at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
35     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
36     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
37     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
38     at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:627)
39     at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
40     at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
41     at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
42     at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
43     at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
44     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
45     at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
46     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
47     at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
48     at org.apache.catalina.core.StandardService.start(StandardService.java:516)
49     at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
50     at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
51     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
52     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
53     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
54     at java.lang.reflect.Method.invoke(Method.java:597)
55     at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
56     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
57 Caused by: java.net.BindException: Address already in use
58     at java.net.PlainSocketImpl.socketBind(Native Method)
59     at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
60     at java.net.ServerSocket.bind(ServerSocket.java:319)
61     at java.net.ServerSocket.<init>(ServerSocket.java:185)
62     at java.net.ServerSocket.<init>(ServerSocket.java:97)
63     at sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMIDirectSocketFactory.java:27)
64     at sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMIMasterSocketFactory.java:333)
65     at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:649)
66     at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:299)
67     … 45 more

When I googled the error I came upon a site saying that I need to move Tomcat's commons-el.jar to another directory, as that could cause a conflict, but even after restarting this does not seem to solve anything.

Any suggestions on going about this?  Thank you in advance!

Outcomes