Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question
0

Deploying WAR with CLI

I have an web application that I'd like to deploy to XAP. The structure of the web app is an exploded WAR directory.

I'd like to use the CLI to do this deployment.

I know how to deploy a normal PU with the CLI.

So is it done like this?

gs.sh deploy -properties my.props /some/dir/deploy/MyWebApp.war

"MyWebApp.war" is a directory containing the exploded web app. So WEB-INF dir would reside in /some/dir/deploy/MyWebApp.war/WEB-INF as would be expected.

Does that look correct or do I have to do this using the UI ? I prefer not to use a a UI for web deployment.

Thanks.

asked 2014-07-30 12:33:26 -0600

Steve McCarthy gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

That looks correct. I have an example at http://gigaspacesinanger.wordpress.co... that deploys a war file, if you'd like additional details.

answered 2014-07-30 13:01:24 -0600

Patrick gravatar image
edit flag offensive delete link more

Comments

Ok thanks. It wasn't clear from the official XAP documentation that this could be done.

Steve McCarthy gravatar imageSteve McCarthy ( 2014-07-30 13:08:47 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-07-30 12:33:26 -0600

Seen: 45 times

Last updated: Jul 30 '14