Solved

WebSphere 6.0 on AIX 32/64 bit

Posted on 2006-11-08
5
891 Views
Last Modified: 2013-12-10
HI,

We just learned that WAS 6.0.2 on AIX can be 32 bit or 64 bit.

Question-> for a given WAS, how do we know if it is 32 bit or 64 bit?

Thanks
0
Comment
Question by:Edy1988
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 41

Expert Comment

by:HonorGod
ID: 17951133
at a command prompt:

# cd /opt/WebSphere/AppServer/bin                       << Your directory may not match exactly
# . ./setupCmdLine.sh                                            << This line starts "period space period slash"
# echo $JAVA_HOME                                              << Verify that JAVA_HOME is now in WebSphere directory structure
# $JAVA_HOME/bin/java -version                             << Should display information about the java version
 ...                                                                         << The result should contain -32 or -64 to show the word size
0
 

Author Comment

by:Edy1988
ID: 17953697
Can't a Java 32 bit work with WebSphere 64 bits, and the opposite?
0
 
LVL 41

Accepted Solution

by:
HonorGod earned 100 total points
ID: 18605063
Sorry, I don't understand the question.

If you are asking if an application compiled by a 32 Java compiler can successfully execute on a 64 bit JRE, then the answer is yes.  The reverse, however, may not be true.

Consider the reason behind the larger word size.  This allows larger objects, and address spacing.  So, a 64 bit JRE allows more objects, and larger objects to be used.

It is possible for an application to be developed using a 64 bit environment that would define objects that would be too large to be executed in a 32 bit JRE.

Hopefully this answers your question.

If I have misunderstood, please forgive me.
0

Featured Post

Get MySQL database support online, now!

At Percona’s web store you can order your MySQL database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

-Xmx and -Xms are the two JVM options often used to tune JVM heap size.   Here are some common mistakes made when using them:   Assume BigApp is a java class file for the below examples. 1.         Missing m, M, g or G at the end …
Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection.  So the default connection pool using DBCP (or any other framework) is made available and the life go…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

632 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question