AnsweredAssumed Answered

Error Deploying Alfresco to JBoss AS + Portal [SOLVED]

Question asked by trupoet on Aug 25, 2006
Latest reply on Sep 15, 2006 by kevinr
So I'm trying to install Alfresco on an already installed and working JBoss AS 4.0.3 SP1 + JBoss Portal 2.2 SP3 on Centos 4.

I follow directions and setup the database like so:

mysql < db_setup.sql
mysqladmin flush-tables
mysqladmin flush-privileges

then I drop the war from the community-war-1.3 into the $JBOSS_HOME/server/default/deploy directory (tried it hot or cold) and it starts loading up.

For some reason it hangs after loading SQLErrorCodes. Just to see what happened, I left it like that last night and came back this morning and found that 3 HOURS later it had finally moved on and loaded the rest of the server.

Any ideas? Also shows that it was trying to connect to port 8100 for some reason and failed before this, not sure if thats related.

EDIT: Also, while it hangs here, I see java taking up 99% cpu usage in top.

The last few lines of the jboss_console.out are as follows:

11:17:02,361 INFO  [STDOUT] Aug 25, 2006 11:17:02 AM net.sf.joott.uno.UnoConnection connect
INFO: connecting using "socket,host=localhost,port=8100,tcpNoDelay=1"…
11:17:02,487 INFO  [STDOUT] Aug 25, 2006 11:17:02 AM net.sf.joott.uno.UnoConnection connect
SEVERE: connection failed: com.sun.star.connection.NoConnectException: java.net.ConnectException: Connection refused
11:17:02,608 INFO  [STDOUT] Aug 25, 2006 11:17:02 AM net.sf.joott.uno.UnoConnection connect
INFO: connecting using "socket,host=localhost,port=8100,tcpNoDelay=1"…
11:17:02,611 INFO  [STDOUT] Aug 25, 2006 11:17:02 AM net.sf.joott.uno.UnoConnection connect
SEVERE: connection failed: com.sun.star.connection.NoConnectException: java.net.ConnectException: Connection refused
11:17:02,656 INFO  [DictionaryDAO] Loading model from alfresco/model/jcrModel.xml
11:17:02,668 INFO  [DictionaryDAO] Registered model jcr:jcrmodel
11:17:02,668 INFO  [DictionaryDAO] Registered namespace 'http://www.jcp.org/jcr/1.0' (prefix 'jcr')
11:17:02,668 INFO  [DictionaryDAO] Registered namespace 'http://www.jcp.org/jcr/nt/1.0' (prefix 'nt')
11:17:02,668 INFO  [DictionaryDAO] Registered namespace 'http://www.jcp.org/jcr/mix/1.0' (prefix 'mix')
11:17:02,668 INFO  [DictionaryDAO] Registered namespace 'http://www.jcp.org/jcr/sv/1.0' (prefix 'sv')
11:17:02,668 INFO  [DictionaryDAO] Registered namespace 'http://www.w3.org/XML/1998/namespace' (prefix 'xml')
11:17:03,727 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml]
11:17:03,754 INFO  [SQLErrorCodesFactory] SQLErrorCodes loaded: [DB2, HSQL, MS-SQL, MySQL, Oracle, Informix, PostgreSQL, Sybase]

Outcomes