-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Swapnil,
Swapnil.Kale wrote: > I tried installing tomcat 32 bit on a 64 bit JVM but it didnt work. What OS? Sounds like Windows. It's possible that you lack the 32-bit support libraries required by the 32-bit JVM. Is there a 32-bit support package that needs to be installed? > I tried following on the mini how to install tomcat on 64 bit OS but didnt > succeed. Get the JVM working, first. > What i found on internet is we need 64 bit executable for tomcat to run to > 64 bit jvm and 64 bit OS <offcourse> If you are using tcnative, yes, you will need to match your architecture. Tomcat itself is 100% Java, so if the JVM runs, Tomcat will run. Other connectors and stuff may need tweaking, such as tcnative, APR module, isapi redirector, or tomcat.exe -- the MS Windows service binary. All of these are optional. > Few Questions : > 1) Can i host 32 bit compiled war file on 64 bit Tomcat / JVM ? <If my > tomcat installation succeeds> Absolutely. Your WAR is not architecture-specific. Remember "write once, run anywhere?" This is what that means. > 2) What if i recompile the war on 64 bit jvm and host it on 64 bit Tomcat? Again, the WAR is architecture-neutral, as is Tomcat. Only the OS and JVM have 32-bit and 64-bit versions. > I've read that the size of the primitive datatypes in 64 bit is different, You have read incorrectly. Java's primitive types are defined to have specific sizes, regardless of the architecture of the machine on which it is running. The JVM may choose to use differently-sized data under the covers, but your Java code will be unaware of any such issues. Hope that clears a few things up, - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHFnGX9CaO5/Lv0PARAvDgAJ4mYnQiC0tGUNYwSwBC9hvr0JkISACgsdKH M8aJEnVv0AXVAaC7pSZei5s= =ToKc -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]