A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Apr 20, 2010
Feb 22, 2011 14:38:49
I have a webservice war file deployed in the
i have made a change in a particular class file and tried to redeploy it using the below steps in the wiki .
Start the JMXConsole
Find the MainDeployer MBean (jboss.system:service=MainDeployer)
Invoke the listDeployedAsString() operation
Find your deployment and copy the URL, e.g.: file:/path/to/jboss-x.x.x/server/default/deploy/http-invoker.sar/invoker.war/
Find MBean operation redeploy() with param url of type
, paste the URL as param value and invoke
I checked the server log - there was a message stating undeployin my war and then
deploying the war
in the temp folder and the work directory the tmp folder for war got deleted and new folders got created
But when i do a webservice invokation . i dont see my changes getting reflected .I added few loggers for debugging
They are missing in logs and i downloaded the class file and decompiled it and checked .
My changes are there in the class file
Please let me know how to fix this .
Is there any steps which i am missing .I cannot restart the jboss .It is a shared instance, other applications will be impacted by the down time
Joined: Feb 22, 2011
Feb 23, 2011 04:50:27
The changes done by the JMX Console are not permanent and hence I believe the application is not available for access.
Probably you can use the Admin Console to deploy the application, so that it becomes available for the client access.
1. Login into the Admin Console, navigate to the Applications --> Type of applications that needs to be deployed.
2. Deploy the application.
NOTE: When deployed , it copies over the deployment into the jbossAs/server/server-profile/deploy folder
Follow us on facebook:
I agree. Here's the link:
not getting jmx console
how to configure HSQLDB Datasource name in JBoss
Error while redeploying application to JBoss
xpetstore deployment in JBoss 3.2.3
How to reload an application.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014