AnsweredAssumed Answered

some problems with tomcat, alfresco and mysql

Question asked by greg on Dec 30, 2005
Latest reply on Feb 5, 2006 by greg
I usually use postgres and I wonder if there is a host file I need to update to allow localhost access to mysql?

I get the following errors in tomcat:

http://localhost:8080/alfresco/
HTTP Status 404 - /alfresco/

type Status report

message /alfresco/

description The requested resource (/alfresco/) is not available.
Apache Tomcat/5.5.9

http://localhost:8080/manager/status
HTTP Status 403 - Access to the requested resource has been denied

type Status report

message Access to the requested resource has been denied

description Access to the specified resource (Access to the requested
resource has been denied) has been forbidden.
Apache Tomcat/5.5.9

some of my system info and a fuller tomcat catalina.out is at the bottom of the post:

java related command line:
$ sudo update-alternatives –config
java
Password:
There is only 1 program which provides java
(/usr/lib/j2sdk1.5-sun/bin/java). Nothing to configure.
greg@mystech:/opt/alfresco/tomcat/logs$ /usr/lib/j2sdk1.5-sun/bin/java
-version

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)

mysql related info
$ mysql -u alfresco -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 8 to server version: 4.1.12-Debian_1ubuntu3-log

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> use alfresco
Database changed
mysql> show tables
    -> ;
Empty set (0.00 sec)

mysql>

tomcat catalina.out file error:
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create
PoolableConnectionFactory (null,  message from server: "#HY000Host
'localhost.localdomain' is not allowed to connect to this MySQL server")
        at
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:855)
        at
org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
        at
org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:79)
        at
org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:303)
        … 59 more
Caused by: java.sql.SQLException: null,  message from server: "#HY000Host
'localhost.localdomain' is not allowed to connect to this MySQL server"



the tomcat catalina.out:

12:26:19,220 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 'descriptorComponent' defined in class path resource
[alfresco/application-context.xml]: Can't resolve reference to bean
'systemBootstrap' while setting property 'systemBootstrap'; nested exception
is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'systemBootstrap' defined in class path resource
[alfresco/application-context.xml]: Initialization of bean failed; nested
exception is
org.springframework.transaction.CannotCreateTransactionException: Could not
open Hibernate session for transaction; nested exception is
org.hibernate.exception.GenericJDBCException: Cannot open connection
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'systemBootstrap' defined in class path resource
[alfresco/application-context.xml]: Initialization of bean failed; nested
exception is
org.springframework.transaction.CannotCreateTransactionException: Could not
open Hibernate session for transaction; nested exception is
org.hibernate.exception.GenericJDBCException: Cannot open connection
org.springframework.transaction.CannotCreateTransactionException: Could not
open Hibernate session for transaction; nested exception is
org.hibernate.exception.GenericJDBCException: Cannot open connection
org.hibernate.exception.GenericJDBCException: Cannot open connection
        at
org.hibernate.exception.ErrorCodeConverter.handledNonSpecificException(ErrorCodeConverter.java:92)
        at
org.hibernate.exception.ErrorCodeConverter.convert(ErrorCodeConverter.java:80)
        at
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
        at
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)
        at
org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:306)
        at
org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:114)
        at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:117)
        at org.hibernate.impl.SessionImpl.connection(SessionImpl.java:365)
        at
org.springframework.orm.hibernate3.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:405)
        at
org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:289)
        at
org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:219)
        at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:50)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
        at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174)
        at $Proxy15.getSystemUserName(Unknown Source)
        at
org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:266)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:971)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:941)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:334)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:222)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:146)
        at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:176)
        at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:105)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:891)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:707)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:316)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:222)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:146)
        at
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:205)
        at
org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:583)
        at
org.springframework.context.support.AbstractApplicationContext.registerListeners(AbstractApplicationContext.java:466)
        at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:307)
        at
org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:133)
        at
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:230)
        at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:156)
        at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:48)
        at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3669)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4104)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
        at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:788)
        at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:677)
        at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:473)
        at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1102)
        at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
        at
org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
        at
org.apache.catalina.core.StandardService.start(StandardService.java:450)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create
PoolableConnectionFactory (null,  message from server: "Host
'localhost.localdomain' is not allowed to connect to this MySQL server")
        at
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:855)
        at
org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
        at
org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:79)
        at
org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:303)
        … 59 more
Caused by: java.sql.SQLException: null,  message from server: "Host
'localhost.localdomain' is not allowed to connect to this MySQL server"
        at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:990)
        at com.mysql.jdbc.Connection.createNewIO(Connection.java:2544)
        at com.mysql.jdbc.Connection.<init>(Connection.java:1474)
        at
com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:264)
        at
org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:37)
        at
org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)
        at
org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:877)
        at
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:851)
        … 62 more
30-Dec-2005 12:26:19 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
30-Dec-2005 12:26:19 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/alfresco] startup failed due to previous errors
12:26:19,253 ERROR [[Catalina].[localhost].[/alfresco]] Exception sending
context destroyed event to listener instance of class
org.alfresco.web.app.ContextListener
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'descriptorComponent' defined in class path resource
[alfresco/application-context.xml]: Can't resolve reference to bean
'systemBootstrap' while setting property 'systemBootstrap'; nested exception
is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'systemBootstrap' defined in class path resource
[alfresco/application-context.xml]: Initialization of bean failed; nested
exception is
org.springframework.transaction.CannotCreateTransactionException: Could not
open Hibernate session for transaction; nested exception is
org.hibernate.exception.GenericJDBCException: Cannot open connection
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'systemBootstrap' defined in class path resource
[alfresco/application-context.xml]: Initialization of bean failed; nested
exception is
org.springframework.transaction.CannotCreateTransactionException: Could not
open Hibernate session for transaction; nested exception is
org.hibernate.exception.GenericJDBCException: Cannot open connection
org.springframework.transaction.CannotCreateTransactionException: Could not
open Hibernate session for transaction; nested exception is
org.hibernate.exception.GenericJDBCException: Cannot open connection
org.hibernate.exception.GenericJDBCException: Cannot open connection
        at
org.hibernate.exception.ErrorCodeConverter.handledNonSpecificException(ErrorCodeConverter.java:92)
        at
org.hibernate.exception.ErrorCodeConverter.convert(ErrorCodeConverter.java:80)
        at
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
        at
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)
        at
org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:306)
        at
org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:114)
        at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:117)
        at org.hibernate.impl.SessionImpl.connection(SessionImpl.java:365)
        at
org.springframework.orm.hibernate3.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:405)
        at
org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:289)
        at
org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:219)
        at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:50)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
        at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174)
        at $Proxy15.getSystemUserName(Unknown Source)
        at
org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:266)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:971)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:941)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:334)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:222)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:146)
        at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:176)
        at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:105)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:891)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:707)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:316)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:222)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:146)
        at
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:205)
        at
org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:583)
        at
org.springframework.context.support.AbstractApplicationContext.registerListeners(AbstractApplicationContext.java:466)
        at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:307)
        at
org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:133)
        at
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:230)
        at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:156)
        at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:48)
        at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3669)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4104)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
        at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:788)
        at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:677)
        at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:473)
        at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1102)
        at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
        at
org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
        at
org.apache.catalina.core.StandardService.start(StandardService.java:450)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create
PoolableConnectionFactory (null,  message from server: "Host
'localhost.localdomain' is not allowed to connect to this MySQL server")
        at
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:855)
        at
org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
        at
org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:79)
        at
org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:303)
        … 59 more
Caused by: java.sql.SQLException: null,  message from server: "Host
'localhost.localdomain' is not allowed to connect to this MySQL server"
        at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:990)
        at com.mysql.jdbc.Connection.createNewIO(Connection.java:2544)
        at com.mysql.jdbc.Connection.<init>(Connection.java:1474)
        at
com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:264)
        at
org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:37)
        at
org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)
        at
org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:877)
        at
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:851)
        … 62 more
30-Dec-2005 12:26:20 PM org.apache.coyote.http11.Http11Protocol start
SEVERE: Error starting endpoint
java.net.BindException: Address already in use:8080
        at
org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:297)
        at
org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.java:312)
        at
org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:182)
        at
org.apache.catalina.connector.Connector.start(Connector.java:1001)
        at
org.apache.catalina.core.StandardService.start(StandardService.java:459)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
30-Dec-2005 12:26:20 PM org.apache.catalina.startup.Catalina start
SEVERE: Catalina.start:
LifecycleException:  Protocol handler start failed: java.net.BindException:
Address already in use:8080
        at
org.apache.catalina.connector.Connector.start(Connector.java:1003)
        at
org.apache.catalina.core.StandardService.start(StandardService.java:459)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
30-Dec-2005 12:26:20 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 44142 ms
30-Dec-2005 12:26:20 PM org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[8005]:
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
org.apache.catalina.core.StandardServer.await(StandardServer.java:346)
        at org.apache.catalina.startup.Catalina.await(Catalina.java:600)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:560)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
30-Dec-2005 12:26:20 PM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
30-Dec-2005 12:26:20 PM org.apache.catalina.connector.Connector pause
SEVERE: Protocol handler pause failed
java.lang.NullPointerException
        at org.apache.jk.server.JkMain.pause(JkMain.java:675)
        at
org.apache.jk.server.JkCoyoteHandler.pause(JkCoyoteHandler.java:209)
        at org.apache.catalina.connector.Connector.pause(Connector.java:943)
        at
org.apache.catalina.core.StandardService.stop(StandardService.java:491)
        at
org.apache.catalina.core.StandardServer.stop(StandardServer.java:717)
        at org.apache.catalina.startup.Catalina.stop(Catalina.java:586)
        at
org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:629)
30-Dec-2005 12:26:21 PM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
30-Dec-2005 12:26:21 PM org.apache.catalina.connector.MapperListener destroy
WARNING: Error unregistering MBeanServerDelegate
java.lang.NullPointerException
        at
org.apache.catalina.connector.MapperListener.destroy(MapperListener.java:161)
        at org.apache.catalina.connector.Connector.stop(Connector.java:1044)
        at
org.apache.catalina.core.StandardService.stop(StandardService.java:521)
        at
org.apache.catalina.core.StandardServer.stop(StandardServer.java:717)
        at org.apache.catalina.startup.Catalina.stop(Catalina.java:586)
        at
org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:629)
30-Dec-2005 12:26:21 PM org.apache.coyote.http11.Http11Protocol destroy

INFO: Stopping Coyote HTTP/1.1 on http-8080
30-Dec-2005 12:26:21 PM org.apache.catalina.connector.Connector stop
SEVERE: Coyote connector has not been started
30-Dec-2005 12:28:50 PM org.apache.coyote.http11.Http11Protocol init
SEVERE: Error initializing endpoint
java.net.BindException: Address already in use:8080
        at
org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:297)
        at
org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:142)
        at
org.apache.catalina.connector.Connector.initialize(Connector.java:928)
        at
org.apache.catalina.core.StandardService.initialize(StandardService.java:580)
        at
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:764)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:490)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:509)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:243)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:408)
30-Dec-2005 12:28:50 PM org.apache.catalina.startup.Catalina load
SEVERE: Catalina.start
LifecycleException:  Protocol handler initialization failed:
java.net.BindException: Address already in use:8080
        at
org.apache.catalina.connector.Connector.initialize(Connector.java:930)
        at
org.apache.catalina.core.StandardService.initialize(StandardService.java:580)
        at
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:764)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:490)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:509)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:243)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:408)
30-Dec-2005 12:28:50 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 3720 ms
30-Dec-2005 12:28:51 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
30-Dec-2005 12:28:51 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.9
30-Dec-2005 12:28:51 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
30-Dec-2005 12:28:53 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive alfresco.war

<!– end file –>

Outcomes