File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Spring and the fly likes Stop specific web application in vFabric using java code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Stop specific web application in vFabric using java code" Watch "Stop specific web application in vFabric using java code" New topic
Author

Stop specific web application in vFabric using java code

Robert Jack
Ranch Hand

Joined: Apr 13, 2010
Posts: 46
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

Joined: Jun 25, 2001
Posts: 16065
    
  21

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

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


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Stop specific web application in vFabric using java code