06-29-2008 04:13 PM
sudo ./alfresco.sh start from /opt/alfresco. But when I try and access alfresco from my browser at "http:\\<serverIpAddress>:8080\alfresco" the browser times out.INFO: Deploying web application archive alfresco.war
13:33:48,498 User:System WARN [remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one
13:33:55,923 User:System ERROR [web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'usageQuotaProtector' defined in
class path resource [alfresco/usage-services-context.xml]: Invocation of init method 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
Caused by: org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for
transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
. . .
… 57 more
13:33:55,950 User:System 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 'usageQuotaProtector' defined in
class path resource [alfresco/usage-services-context.xml]: Invocation of init method 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
Caused by: org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for
transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
. . .
… 57 more
13:33:55,959 User:System 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 'usageQuotaProtector' defined in
class path resource [alfresco/usage-services-context.xml]: Invocation of init method 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
Caused by: org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for
transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
. . .
… 57 more
29-Jun-2008 13:33:55 org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
29-Jun-2008 13:33:55 org.apache.catalina.core.StandardContext start
SEVERE: Context [/alfresco] startup failed due to previous errors
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.
29-Jun-2008 13:34:01 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
29-Jun-2008 13:34:02 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
29-Jun-2008 13:34:02 org.apache.catalina.startup.Catalina start
INFO: Server startup in 63292 ms
I'd be very grateful if anyone could suggest a solution to get alfresco working on my system.08-13-2008 12:34 PM
netstat -ln | grep 3306I get tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTENIs that good, or bad?08-13-2008 01:03 PM
Trying 127.0.0.1…
Connected to localhost.
Escape character is '^]'.
@
5.0.51a-3ubuntu5.1 JiR>}|xe, p&h\rHQ@,XZ9Connection closed by foreign host.
08-14-2008 05:00 AM
Right now, I'm installing some of the other applications that are needed with alfresco - so I've installed hibernate, log4j, lucene, and imagemagick but trying right now to find out if the Bouncy Castle Cryptography Extension can be substituted for the Sun version since there's no package for Ubuntu hardy
08-17-2008 10:56 AM
08-18-2008 04:40 AM
telnet localhost 3306 I (eventually) get Trying 127.0.0.1…
Connected to localhost.
Escape character is '^]'.
@
5.0.51a-3ubuntu5.1GD`70-.@,88QkJnlUA'>CConnection closed by foreign host.
[2] I found README_mysql.txt and README.txt (operator error 08-18-2008 04:05 PM
apt-get install mysql-javaln -s /usr/share/java/mysql-connector-java.jar /opt/alfresco/tomcat/common/endorsed.08-18-2008 06:08 PM
sudo apt-get install libmysql-java08-19-2008 04:22 AM
sudo apt-get install libmysql-java
sudo ln -s /usr/share/java/mysql-connector-java.jar /opt/alfresco/tomcat/common/endorsedbut Alfresco still doesn't work, and I don't get any response from TomCat on localhost:8080.08-19-2008 10:10 AM
<%@page import="java.sql.*" %>
<%
Connection connection =
DriverManager.getConnection("jdbc:mysql://localhost:3306/alfresco", "alfresco", "alfresco");
Statement statement = connection.createStatement();
ResultSet rs = statement.executeQuery("select 'Mike' from dual");
rs.next();
String name = rs.getString(1);
statement.close();
connection.close();
%>
<HTML>
<BODY>
Hello <%=name%>!
</BODY>
</HTML>
08-19-2008 10:17 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.