File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Stop specific web application in vFabric using java code

 
Robert Jack
Ranch Hand
Posts: 49
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I am using "vfabric-tc-server-standard-2.8.1".
I created instance "project" in vFabric. Like

I have create two web application "Demo1" and "Demo2".
I deployed both "Demo1.war" & "Demo2.war" into that 'project'

In my Demo2 project have simple jsp page. That page contains 2 buttons "Stop Demo1 Apps" and "Start Demo1 Apps".
I need to Stop Demo1 application, when i click "Stop Demo1 Apps". Then
I need to Start Demo1 application, when i click "Start Demo1 Apps"
I am new one for vFabric.
Is possible to start and stop the specific application in vFabric using java code.

Help me. Thanks in advance.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17633
39
Android Eclipse IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think this has anything to do with JSF.

vFabric is Spring-based, so maybe someone in the Spring forum can help. I'll move this thread over there.
 
Mark Spritzler
ranger
Sheriff
Posts: 17276
6
IntelliJ IDE Mac Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
vFabric is actually a VMWare product. VMWare does own SpringSource. So in some ways it is related to Spring. But you can use vFabric products and not have anything Spring in it.

Personally, I think you will be better supported asking this question to the vFabric team at www.vmware.com

As far as your question, I am not sure what you mean.

vFabric has Hyperic, where you can deploy and undeploy apps that Hyperic is managing and monitoring.
With it they have a package that has scripts to run tcServer stuff through Hyperic, like writing code that will deploy and undeploy applications. I personally have written a Groovy script that deploys apps to tcServer instances, but you have to have Hyperic to use it, because you create a Group of servers in Hyperic and the code uses the group name and the Hyperic database to lookup the servers then it can deploy.

So, yes it is possible, but you have to have Hyperic, as far as I know.

Mark
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic