cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco installation on Jboss server

prateekgoyal
Champ in-the-making
Champ in-the-making
Hello everybody,
I want to install Alfresco community 3.3 edition on Jboss application server.
Please help me with the installation steps.

Thanks,
22 REPLIES 22

prateekgoyal
Champ in-the-making
Champ in-the-making
As given in the "JBoss 4 Application Server Guide" to change the default settings for JBOSS 4.0.1 and above for default configuration.
Do i need to make the same changes in case of deploying the alfresco.war file

savic_prvoslav
Champ on-the-rise
Champ on-the-rise
Yes, you need to make dir alfresco.war where you will have unziped version of alfresco.
so you do not have FILE alfresco.war insead you have DIRECORY alfresco.war

prateekgoyal
Champ in-the-making
Champ in-the-making
I made the required changes and made alfresco as war directory and setup goes right and jboss server loads the alfresco-global.properties file.
Bt after that the server halts with an error msg on the console
2010-07-19 17:55:56,243 INFO  [STDOUT] 17:55:56,243  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/repository.properties]
2010-07-19 17:55:56,243 INFO  [STDOUT] 17:55:56,243  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/domain/transaction.properties]
2010-07-19 17:55:56,243 INFO  [STDOUT] 17:55:56,243  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from URL [file:/C:/jboss-4.2.2.GA/server/default/conf/alfresco-global.properties]
2010-07-19 17:55:56,524 INFO  [STDOUT] 17:55:56,524  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
2010-07-19 17:56:24,931 INFO  [STDOUT] 17:56:24,931  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered template processor Repository Template Processor for extension ftl
2010-07-19 17:56:24,931 INFO  [STDOUT] 17:56:24,931  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered script processor Repository Script Processor for extension js
2010-07-19 18:00:44,033 ERROR [STDERR] Exception in thread "RMI RenewClean-[127.0.0.1:4444]"
2010-07-19 18:01:24,738 ERROR [STDERR] Exception in thread "RMI RenewClean-[127.0.0.1:50502]"
2010-07-19 18:01:24,738 ERROR [STDERR] Exception in thread "RMI RenewClean-[127.0.0.1:50503]"
2010-07-19 18:01:24,738 ERROR [STDERR] Exception in thread "RMI RenewClean-[127.0.0.1:50506]"
2010-07-19 18:01:25,941 ERROR [STDERR] Exception in thread "RMI RenewClean-[127.0.0.1:50505]"
2010-07-19 18:01:28,363 ERROR [STDERR] Exception in thread "RMI RenewClean-[127.0.0.1:50504]"
2010-07-19 18:10:53,272 ERROR [STDERR] Exception in thread "RMI LeaseChecker"

savic_prvoslav
Champ on-the-rise
Champ on-the-rise
Hi, i do now know of this error.
this are ports that alfresco takes for him serlf, maybe it is server configuration problem. look it up on google, because this I believe is not alfresco problem.

prateekgoyal
Champ in-the-making
Champ in-the-making
Hi,
I tried all the steps again with fresh jboss and alfresco war file.
No it is giving me some "java.lang.OutOfMemoryError: PermGen space".
Here is my server.log file
2010-07-20 14:00:57,302 INFO  [STDOUT] 14:00:57,287  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
2010-07-20 14:01:25,652 INFO  [STDOUT] 14:01:25,652  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered template processor Repository Template Processor for extension ftl
2010-07-20 14:01:25,652 INFO  [STDOUT] 14:01:25,652  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered script processor Repository Script Processor for extension js
2010-07-20 14:01:46,594 ERROR [org.apache.tomcat.util.modeler.BaseModelMBean] Exception invoking method addChild
java.lang.OutOfMemoryError: PermGen space
2010-07-20 14:01:50,314 ERROR [org.apache.tomcat.util.modeler.BaseModelMBean] Exception invoking method init
java.lang.OutOfMemoryError: PermGen space
2010-07-20 14:01:51,533 WARN  [org.jboss.system.ServiceController] Problem starting service jboss.web.deployment:war=alfresco.war,id=-1189113779
java.lang.OutOfMemoryError: PermGen space
2010-07-20 14:01:56,252 ERROR [org.jboss.deployment.MainDeployer] Could not start deployment: file:/C:/jboss-4.2.2.GA/server/default/deploy/alfresco.war/
java.lang.OutOfMemoryError: PermGen space
2010-07-20 14:01:57,503 WARN  [org.jboss.system.ServiceController] Problem starting service jboss.deployment:type=DeploymentScanner,flavor=URL
java.lang.OutOfMemoryError: PermGen space
2010-07-20 14:02:02,269 ERROR [org.jboss.deployment.MainDeployer] Could not start deployment: file:/C:/jboss-4.2.2.GA/server/default/conf/jboss-service.xml
java.lang.OutOfMemoryError: PermGen space
2010-07-20 14:05:44,935 ERROR [STDERR] Exception in thread "RMI RenewClean-[127.0.0.1:4444]"
2010-07-20 14:05:44,935 ERROR [STDERR] java.lang.OutOfMemoryError: PermGen space
2010-07-20 14:06:24,986 ERROR [STDERR] Exception in thread "RMI RenewClean-[127.0.0.1:50505]"
2010-07-20 14:06:24,986 ERROR [STDERR] Exception in thread "RMI RenewClean-[127.0.0.1:50506]"
2010-07-20 14:06:24,986 ERROR [STDERR] Exception in thread "RMI RenewClean-[127.0.0.1:50502]"
2010-07-20 14:06:25,002 ERROR [STDERR] java.lang.OutOfMemoryError: PermGen space
2010-07-20 14:06:25,002 ERROR [STDERR] Exception in thread "RMI RenewClean-[127.0.0.1:50504]"
2010-07-20 14:06:25,002 ERROR [STDERR] java.lang.OutOfMemoryError: PermGen space
2010-07-20 14:06:25,002 ERROR [STDERR] Exception in thread "RMI RenewClean-[127.0.0.1:50503]"
2010-07-20 14:06:26,174 ERROR [STDERR] java.lang.OutOfMemoryError: PermGen space
2010-07-20 14:06:26,174 ERROR [STDERR] java.lang.OutOfMemoryError: PermGen space
2010-07-20 14:06:26,174 ERROR [STDERR] java.lang.OutOfMemoryError: PermGen space

and this is my alfresco.log file
14:00:57,037 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/repository.properties]
14:00:57,052 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/domain/transaction.properties]
14:00:57,052 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from URL [file:/C:/jboss-4.2.2.GA/server/default/conf/alfresco-global.properties]
14:00:57,287 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
14:01:25,652 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor Repository Template Processor for extension ftl
14:01:25,652 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor Repository Script Processor for extension js

savic_prvoslav
Champ on-the-rise
Champ on-the-rise
JAVA_OPTS="-Xms64m -Xmx384m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Xincgc"

permsize is to low for you, make it larger Smiley Happy

prateekgoyal
Champ in-the-making
Champ in-the-making
i have already made this change in "run.conf" file

savic_prvoslav
Champ on-the-rise
Champ on-the-rise
I am sure to tell you that this is not alfrescos problem, it is in cofig. so allow java to use more memory and you will be fine.

http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=java.lang.OutOfMemoryError:+PermGen+spac after clicking hire you will see how to change.

so increase permgen value.

rhoefer
Champ in-the-making
Champ in-the-making
Did you try changing your JAVA_OPTS values? I'm using this for testing on a VM. It's not fine tuned but everything runs.  

JAVA_OPTS="-Xms512m -Xmx1024m -XX:MaxPermSize=256m"

prateekgoyal
Champ in-the-making
Champ in-the-making
yes, i changed the value of Java_opts.