AnsweredAssumed Answered

Problem installing Preview 2

Question asked by decentrix on Feb 8, 2007
Latest reply on Feb 9, 2007 by decentrix
Trying to install the war version of Preview 2 (first time installing Alfresco) and ran into the Tomcat errors listed below. Haven't customized anything, it's all clean.
Any help is appreciated!

Thanx,

-Tony


OPERATING SYSTEM
         CentOS 4.4 / kernel 2.6.9-42.0.3.ELsmp

JAVA
         java version "1.5.0_06"
         Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
         Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)

TOMCAT
         5.5.20

MYSQL
         mysql  Ver 14.12 Distrib 5.0.20a, for pc-linux-gnu (i686) using readline 5.0

INSTALLATION STEPS
         copied mysql-connector-java-5.0.4-bin.jar to /usr/local/tomcat/common/lib/
         ran mysql -u root -p < extras/databases/mysql/db_setup.sql
         copied alfresco.war to /usr/local/tomcat/webapps/
         copied endorsed/* to /usr/local/tomcat/common/endorsed/
         copied extensions/extension to /usr/local/tomcat/shared/classes/alfresco/

TOMCAT LOGS (removed "at …" lines)

12:18:38 INFO [main] org.apache.catalina.core.AprLifecycleListener: The Apache Tomcat Native library which allows
optimal performance in production environments was not found on the java.library.path: /usr/java/jdk1.5.0_06/jre/lib/i386/server:
/usr/java/jdk1.5.0_06/jre/lib/i386:/usr/java/jdk1.5.0_06/jre/../lib/i386:/uDOit/lib
12:18:38 INFO [main] org.apache.coyote.http11.Http11BaseProtocol: Initializing Coyote HTTP/1.1 on http-8080
12:18:38 INFO [main] org.apache.catalina.startup.Catalina: Initialization processed in 3191 ms
12:18:39 INFO [main] org.apache.catalina.core.StandardService: Starting service Catalina
12:18:39 INFO [main] org.apache.catalina.core.StandardEngine: Starting Servlet Engine: Apache Tomcat/5.5.20
12:18:39 INFO [main] org.apache.catalina.core.StandardHost: XML validation disabled
12:18:46 INFO [main] org.rcfaces.core.internal.Constants: RCFaces Core version: 1.0.0.2073
12:18:46 INFO [main] org.rcfaces.core.internal.Constants: READ_ONLY_COLLECTION_LOCK_ENABLED=true
12:18:46 INFO [main] org.rcfaces.core.internal.Constants: LOCKED_CLIENT_ATTRIBUTES_DEFAULT_VALUE=false
12:18:46 INFO [main] org.rcfaces.core.internal.Constants: TEMPLATE_ENGINE_SUPPORT=true
12:18:46 INFO [main] org.rcfaces.core.internal.Constants: RESOURCE_CONTENT_VERSION_SUPPORT=true
12:18:46 INFO [main] org.rcfaces.core.internal.Constants: STATED_COMPONENT_CHILDREN_LIST=true
12:18:46 INFO [main] org.rcfaces.core.internal.Constants: CACHED_COMPONENT_ITERATOR=true
12:18:46 INFO [main] org.rcfaces.core.internal.Constants: CACHED_LOCALE_FORMATS=true
12:18:46 INFO [main] org.rcfaces.core.internal.Constants: COMPACTED_PROPERTY_NAME=true
12:18:46 INFO [main] org.rcfaces.core.internal.Constants: ETAG_SUPPORT=true (algorith: SHA-1)
12:18:46 INFO [main] org.rcfaces.core.internal.Constants: HASH_SUPPORT=true (algorith: MD5)
12:18:46 INFO [main] org.rcfaces.core.internal.Constants: GZIP_SUPPORT_DEFAULT_VALUE=true
12:18:46 INFO [main] org.rcfaces.core.internal.Constants: DEFAULT_EXPIRATION_DELAY=604800000 (1 week)
12:18:46 INFO [main] org.rcfaces.core.internal.Constants: DEFAULT_VERSIONED_EXPIRATION_DELAY=31536000000 (1 year)
12:18:46 INFO [main] org.rcfaces.core.internal.Constants: CLIENT_LOCALE_SUPPORT_DEFAULT_VALUE=true
12:18:46 INFO [main] org.rcfaces.core.internal.Constants: VERSIONED_URI_HASHCODE_MAX_SIZE=16
12:18:46 INFO [main] org.rcfaces.core.internal.Constants: FACELETS_SUPPORT=true
12:18:46 INFO [main] org.rcfaces.core.internal.Constants: DEFAULT_ASYNC_MODE=none
12:18:46 INFO [main] org.rcfaces.core.internal.Constants: ENABLE_ASYNC_MODE_VALUE=buffer
12:18:46 INFO [main] org.rcfaces.core.internal.Constants: Default components factory: Camelia basic components factory
12:18:49 INFO [main] org.apache.catalina.startup.HostConfig: Deploying web application archive alfresco.war
12:19:03,589 ERROR [myfaces.webapp.StartupServletContextListener] Error initializing ServletContext
java.lang.IllegalArgumentException: Class org.rcfaces.core.util.ViewSessionPatchStateManager is no javax.faces.application.StateManager
java.lang.IllegalArgumentException: Class org.rcfaces.core.util.ViewSessionPatchStateManager is no javax.faces.application.StateManager
12:19:07 WARN [main] com.sun.faces.config.ConfigureListener: Can't parse configuration file:WEB-INF/faces-config-custom.xml
java.net.MalformedURLException: Path WEB-INF/faces-config-custom.xml does not start with a "/" character
12:19:07,959 ERROR [[Catalina].[localhost].[/alfresco]] Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
javax.faces.FacesException: Can't parse configuration file:WEB-INF/faces-config-custom.xml
Caused by: java.net.MalformedURLException: Path WEB-INF/faces-config-custom.xml does not start with a "/" character
12:19:52,306 ERROR [web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serverConnector' defined in class path resource [alfresco/core-services-context.xml]: Initialization of bean failed; nested exceptio
n is java.io.IOException: Cannot bind to URL [rmi://localhost:50500/alfresco/jmxrmi]: javax.naming.NameAlreadyBoundException: alfresco/jmxrmi [Root exception is java.rmi.AlreadyBoundException: alfresco/jmxrmi]
java.io.IOException: Cannot bind to URL [rmi://localhost:50500/alfresco/jmxrmi]: javax.naming.NameAlreadyBoundException: alfresco/jmxrmi [Root exception is java.rmi.AlreadyBoundException: alfresco/jmxrmi]
Caused by: javax.naming.NameAlreadyBoundException: alfresco/jmxrmi [Root exception is java.rmi.AlreadyBoundException: alfresco/jmxrmi]
Caused by: java.rmi.AlreadyBoundException: alfresco/jmxrmi
12:19:52,311 ERROR [[Catalina].[localhost].[/alfresco]] Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serverConnector' defined in class path resource [alfresco/core-services-context.xml]: Initialization of bean failed; nested exceptio
n is java.io.IOException: Cannot bind to URL [rmi://localhost:50500/alfresco/jmxrmi]: javax.naming.NameAlreadyBoundException: alfresco/jmxrmi [Root exception is java.rmi.AlreadyBoundException: alfresco/jmxrmi]
java.io.IOException: Cannot bind to URL [rmi://localhost:50500/alfresco/jmxrmi]: javax.naming.NameAlreadyBoundException: alfresco/jmxrmi [Root exception is java.rmi.AlreadyBoundException: alfresco/jmxrmi]
Caused by: javax.naming.NameAlreadyBoundException: alfresco/jmxrmi [Root exception is java.rmi.AlreadyBoundException: alfresco/jmxrmi]
Caused by: java.rmi.AlreadyBoundException: alfresco/jmxrmi
12:19:52,318 ERROR [[Catalina].[localhost].[/alfresco]] Exception sending context initialized event to listener instance of class org.alfresco.web.app.ContextListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serverConnector' defined in class path resource [alfresco/core-services-context.xml]: Initialization of bean failed; nested exceptio
n is java.io.IOException: Cannot bind to URL [rmi://localhost:50500/alfresco/jmxrmi]: javax.naming.NameAlreadyBoundException: alfresco/jmxrmi [Root exception is java.rmi.AlreadyBoundException: alfresco/jmxrmi]
java.io.IOException: Cannot bind to URL [rmi://localhost:50500/alfresco/jmxrmi]: javax.naming.NameAlreadyBoundException: alfresco/jmxrmi [Root exception is java.rmi.AlreadyBoundException: alfresco/jmxrmi]
Caused by: javax.naming.NameAlreadyBoundException: alfresco/jmxrmi [Root exception is java.rmi.AlreadyBoundException: alfresco/jmxrmi]
Caused by: java.rmi.AlreadyBoundException: alfresco/jmxrmi
12:19:52 ERROR [main] org.apache.catalina.core.StandardContext: Error listenerStart
12:19:52 ERROR [main] org.apache.catalina.core.StandardContext: Context [/alfresco] startup failed due to previous errors

Outcomes