PDA

View Full Version : How to deploy a .war file from Eclipse



Mitch1234
06-20-2009, 03:04 AM
Hi all,

I created a dynamic web site. I was wondering does anyone know how to deploy or extract .war file on the servers here. I got the file to my public folder.

Thanks

anonymous
06-21-2009, 06:19 AM
Hi all,

I created a dynamic web site. I was wondering does anyone know how to deploy or extract .war file on the servers here. I got the file to my public folder.

Thanks

There are no java containers (websphere etc).

You can try to install Tomcat or whatever, but you'll need to access port 80 or some other number. I'm going to try this afternoon.

Once the container (Tomcat) is installed, you can either:
1. build your war/ear locally or somewhere else and just ftp the thing to HM.
or
2. build the war/ear on HM (the industry way). just point the build script to the folder where you're running from.

If you get this far, then you need to change the apache settings and tell it about the .jps/.do etc extensions.

A lot of trouble isn't it? java (not javascript!) is not for hacks. stick with PHP.