aspose file tools*
The moose likes Servlets and the fly likes Deploying web application in 64 bit OS. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Deploying web application in 64 bit OS." Watch "Deploying web application in 64 bit OS." New topic
Author

Deploying web application in 64 bit OS.

Jigar Naik
Ranch Hand

Joined: Dec 12, 2006
Posts: 757
I have a web application war which contains the class file compiled and created in 32 bit OS and processor environment.

and now i will be deploying the war file in 64 bit OS and Processor environment.

Will it work without taking any extra steps ?
I have also downloaded the JDK for 64 bit OS.

Do i need to recompile the source using 64 bit JDK/JVM ? and need to create a new war file ?

is there different tomcat for 64 bit os ?

please let me know..

Thanks & Regards,


Jigar Naik


Steve Luke
Bartender

Joined: Jan 28, 2003
Posts: 4181
    
  21

Will you need to re-compile the code? No. That's the beauty of Java's portability.

Does tomcat have a 64-bit version? The have a .exe that allows you to run Tomcat as a 64-bit service, which, if you tell it to use your 64-bit JRE and JDK should suffice. You download it from here: Tomcat 6 SVN. Since it isn't part of the normal Tomcat distributable I am not sure if it is supported and tested or not. I don't use it so I have no experience with it.


Steve
Amit Ghorpade
Bartender

Joined: Jun 06, 2007
Posts: 2716
    
    6

Another reason for not recompiling the code is that the environment information is not available in the code. All the memory management and execution is done by the underlying VM and the container.
So as Steve says, try out the Tomcat 64 bit version.


Hope this helps


SCJP, SCWCD.
|Asking Good Questions|
Jigar Naik
Ranch Hand

Joined: Dec 12, 2006
Posts: 757
Thanks a lot,

The information is really helpful to me.


Thanks & Regards,
Jigar Naik

[ August 28, 2008: Message edited by: Jigar Naik ]
[ August 28, 2008: Message edited by: Jigar Naik ]
Amit Ghorpade
Bartender

Joined: Jun 06, 2007
Posts: 2716
    
    6

You are welcome
 
Consider Paul's rocket mass heater.
 
subject: Deploying web application in 64 bit OS.