cancel
Showing results for 
Search instead for 
Did you mean: 

Installing Community 3.4a on openSUSE 11.3

tmisilo
Champ in-the-making
Champ in-the-making
Hello,

I was wondering if someone had any tips for installing Alfresco Community 3.4a on openSUSE 11.3, with an existing MySQL database and can be an existing tomcat server (currently there is not one installed). It says it install fine but Tomcat will not start for some reason. I cannot find anything in the logs that would be causing them.

Thanks for any help or suggestions!

Tom
6 REPLIES 6

aleris
Champ in-the-making
Champ in-the-making
Hi,

I am having a similar, even more basic problem. Installed a fresh SUSE 11.3 x86 64 and then ran the  Alfresco Linux installer (3.4.a), no other changes or other steps in-between. At the end of the installation the server is not running (http://localhost:8080/share not working). Couldn't find any information that can help me with the problem (but, on the other side I am new to Linux, so maybe I do not know where to look). Any help would be greatly appreciated.

Some other info:

I got OpenSuse image from the official site http://software.opensuse.org
I donwloaded Alfresco installer from: http://wiki.alfresco.com/wiki/Download_and_Install_Alfresco,  alfresco-community-3.4.a-installer-linux-x64.bin (64-bit Linux Installer)

Didn't install any additional package (there are some needed? - for example apache or jdk?)

It seems is related to tomcat not working.

Any idea?

Adi

aleris
Champ in-the-making
Champ in-the-making
After some more digging and tries, found that in the catalina.out log (from alfresco/tomcat/logs) there is an error related to java memory:

java.lang.OutOfMemoryError: requested NNN bytes for Chunk::new. Out of swap space?

Any idea?

sebek72
Champ in-the-making
Champ in-the-making
Same problem here (64bit system)

Error creating bean with name 'sessionFactory' defined in class path resource [alfresco/hibernate-context.xml]: Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: (class: org/jbpm/taskmgmt/exe/PooledActor)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1305)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1067)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)

sebek72
Champ in-the-making
Champ in-the-making
Found the problem.

I had to set hostname in /etc/hosts

jamo88
Champ in-the-making
Champ in-the-making
@sebek72

Could you be so kind to provide your /etc/hosts? I think I'm having similar problems. Or at least explain what you changed in it.

thanks,

J.M.

digihorse
Champ in-the-making
Champ in-the-making
A couple of things. First, make sure that you uninstall the OpenJDK that is the default Java on OpenSuSE and install the Sun versions of ALL instead. Also must install the mysql JDBC connector from the packages. 

Unless you have an overwhelming need to run the default Tomcat6, don't.  Use the tomcat that comes with. It makes running the start/stop scripts much easier.  On a simple server you are only going to want to run the one tomcat instance any way.  More can create other admin headaches besides port conflicts.