• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Stopping a Webservice deployed on JBOSS

 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have deployed a webservice on JBOSS AS.
It is deployed as an ear.

I need to stop (and start) this service just like I would start and stop any application on any other Application Servers.
I have opened up the JMX Console. I get my ear name popping up in a lot of sections :
jboss.j2ee
jboss.management.local
etc .

The only link that lets me invoke a stop on the MBean is the one under
jboss.j2ee
service=EARDeployment,url='MyEAR.ear'
Clicking on the stop doesnt do anything to my webservice :-(
What am I doing wrong?
 
Ranch Hand
Posts: 775
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hunt around in the jmx-console for where the war/servlet deployments are shown. If there is war/servet component used for the actual web service handling, I suspect that is where you'll find the component you need to stop. Don't know why stopping the ear doesn't do the same thing, but c'est la vie.
 
Janis Lee
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks!
Stopping this worked -

Under
jboss.web
J2EEApplication=none,J2EEServer=none,j2eeType=WebModule,name=//localhost/MyWebservice
 
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new to JBoss and I've been asked to write alittle batch script to deploy application on Jboss server( assume all enviroment variables, classpaths etc are correct). Please tell me how can I remotely deploy my ear on JBoss server from command line. I know weblogic where I can use the foll command:
java weblogic.Admin -url http://CO-Bank:8000 -username weblogic -password weblogic FORCESHUTDOWN COBANKManagedServer.
Thanks in anticipation
 
Ranch Hand
Posts: 8934
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by robbie keane:
I am new to JBoss and I've been asked to write alittle batch script to deploy application on Jboss server( assume all enviroment variables, classpaths etc are correct). Please tell me how can I remotely deploy my ear on JBoss server from command line. I know weblogic where I can use the foll command:
java weblogic.Admin -url http://CO-Bank:8000 -username weblogic -password weblogic FORCESHUTDOWN COBANKManagedServer.
Thanks in anticipation



You may have to FTP the file. I dont see any other way.
 
Janis Lee
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The answer to my original Quetion is available here
http://wiki.jboss.org/wiki/Wiki.jsp?page=RedeployFromTheJMXConsole.
Nothing else worked :-(

I am not sure if starting and stopping means th same thing as redeploying but it is close enough to what I wanted done.

Thanks!
 
Pradeep bhatt
Ranch Hand
Posts: 8934
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Janis Lee:
The answer to my original Quetion is available here
http://wiki.jboss.org/wiki/Wiki.jsp?page=RedeployFromTheJMXConsole.
Nothing else worked :-(

I am not sure if starting and stopping means th same thing as redeploying but it is close enough to what I wanted done.

Thanks!



Janis,
I dont see anything on the page pointed by the link.
 
Janis Lee
Greenhorn
Posts: 27
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!