cancel
Showing results for 
Search instead for 
Did you mean: 

What version of Alfresco Community

pslgroup
Champ in-the-making
Champ in-the-making
Hi,
I know this may sound like a newbie question but here it goes.
I have been given the task to upgrade our running version of Alfresco Community 3.2r2 to 4.2c.
It's currently running on RedHat 64-bit with 64-bit java.

[root@xxxxxxx bin]# java -d64 -version
java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) 64-Bit Server VM (build 14.2-b01, mixed mode)

Is it possible that I could be running the 32bit version of Alfresco Community?
How can I find out if the version of Alfreso I'm running is 32bit or 64bit?

I've already checked the About but it just displays the version and not the architecture.
Regards.
3 REPLIES 3

mrogers
Star Contributor
Star Contributor
Its a bit of nonsense really…  Java Applications and therefore Alfresco do not have the 32/64 bit dependency.   So if you are using a 64 bit JVM then you are running 64 bit.

Just make sure exactly which JVM you are using for Alfresco since it may not be the one on your command line path.  The JVM details should be displayed in your alfresco.log files on startup.

Anyway if you are using 4.2 on Red Hat 64 its likely to be a 64 bit JVM.

pslgroup
Champ in-the-making
Champ in-the-making
Hi mrogers,

Thanks for the reply.  So if I understand correctly, I list my running Alfresco process and I get the following:

<strong>
root      9473     1  1 Oct06 ?        01:21:16 /usr/bin/java -Xms128m -Xmx768m -XX:MaxPermSize=256m -server -Dalfresco.home=/opt/Alfresco -Dcom.sun.management.jmxremote -DshutdownIdentifier=alfresco -XX:CompileCommand=exclude,org/apache/lucene/index/IndexReader$1,doBody -XX:CompileCommand=exclude,org/alfresco/repo/search/impl/lucene/index/IndexInfo$Merger,mergeIndexes -XX:CompileCommand=exclude,org/alfresco/repo/search/impl/lucene/index/IndexInfo$Merger,mergeDeletions -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/opt/Alfresco/tomcat/conf/logging.properties -Djava.endorsed.dirs=/opt/Alfresco/tomcat/endorsed -classpath :/opt/Alfresco/tomcat/bin/bootstrap.jar -Dcatalina.base=/opt/Alfresco/tomcat -Dcatalina.home=/opt/Alfresco/tomcat -Djava.io.tmpdir=/opt/Alfresco/tomcat/temp org.apache.catalina.startup.Bootstrap start
</strong>

I then check the version of Java it's using and I get the following:

<strong>
[root@xxxxxxxx ~]# /usr/bin/java -version
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01, mixed mode)
</strong>

I also look in the 'alfresco.log' and this is what I see:

<strong>
00:04:48,486 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_17-b04; maximum heap size 682.688MB
00:04:48,487 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Community): Current version 3.2.0 (r2 2440) schema 3300 - Originally installed version 3.2.0 (r2 2440) schema 3300
</strong>

So if I put all these pieces together I will assume I'm running JVM 64-bit and therefore Alfresco 3.2r2 64-bit correct?

Regards,

mrogers
Star Contributor
Star Contributor
Yes.   That's 64 bit.

You can also see the JVM used in the "System Information" page of Alfresco Explorer's Administration Console.    Log in as admin, open the administration console and open "System Information".