cancel
Showing results for 
Search instead for 
Did you mean: 

Error: on startup

cws1
Champ in-the-making
Champ in-the-making
Hi
I am installing the Liferay + Alfresco bundle.
When I started the server I found the flowing:

28-Sep-2006 11:34:53 net.sf.joott.uno.UnoConnection connect
INFO: connecting using "socket,host=localhost,port=8100,tcpNoDelay=1"…
28-Sep-2006 11:34:54 net.sf.joott.uno.UnoConnection connect
SEVERE: connection failed: com.sun.star.connection.NoConnectException: java.net.
ConnectException: Connection refused: connect

AND

[org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - WARNING - maximum heap size 63.563MB is less than recommended 512MB

(1.) Is the cause of the first message the JSR jar version?
I cannot find any thing else using the port. If not, any pointers.

(2.) How do you set the heap size for Alfresco, I cannot locate where it is called.
1 REPLY 1

rivetlogic
Champ on-the-rise
Champ on-the-rise
Hi,

The first error is thrown because you're not running OpenOffice in headless mode as it is intended. If you do you will notice that by default it is listening on port 8100.

Regarding the heap size, are you using Tomcat or JBoss/Tomcat for your liferay deployment?

For Tomcat, the JVM heap size can be set using the following options:
-Xms<size>     set initial Java heap size (e.g. -Xms128m)
-Xmx<size>     set maximum Java heap size (e.g. -Xmx512m)
Set the environment variable JAVA_OPTS with these values.

For Jboss the same thing can be done or you can directly edit run.bat if using Windows or run.conf if using Linux

Hope this helps,

–Aladdin