Problem
- Product Name: Borland AppServer
- Product Version: 6.6
- Platform/OS Version: Solaris
In order to get my BAS partition to use the 64-bit JVM I added the following property:
vmparam -d64
But now I get the error: "Unrecognized option: -d64" "Unable to create JVM"
Resolution
BAS 6.6 for Solaris (64bit) is shipped with Sun JDK 1.5.0 (64bit).
By default, every process / service of BAS 6.6 should start using the 64-bit JDK; there is no need to add the -d64 property for the Partition's JVM. In your Partition"s log, you can see "Java HotSpot(TM) 64-Bit Server VM", if the installation is a 64bit installation.
e.g.,
006-06-28 02:12:43,945 INFO - EJB Container
2006-06-28 02:12:43,946 INFO - =============
2006-06-28 02:12:43,946 INFO - server version : 6.6
2006-06-28 02:12:43,946 INFO - server build date : April 12, 2006
2006-06-28 02:12:43,946 INFO - java version : 1.5.0_06
2006-06-28 02:12:43,946 INFO - java vendor : Sun Microsystems Inc.
2006-06-28 02:12:43,946 INFO - java VM name : Java HotSpot(TM) 64-Bit Server VM
2006-06-28 02:12:43,947 INFO - java VM info : mixed mode
2006-06-28 02:12:43,947 INFO - heap size : 65 Mb
...
...
However if a customer does need to use the -dnn flag (-d64/-d32) then the property should be passed using "vmprop" rather than "vmparam":
vmprop -d64
#vmparam
#Security
#vmprop
#AppServer
#d32
#VisiBroker
#jdk
#d64




