• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Stop specific web application in vFabric using java code

 
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
He's giving us the slip! Quick! Grab this tiny ad!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic