aspose file tools*
The moose likes JBoss/WildFly and the fly likes Jboss auto hot deployment issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Jboss auto hot deployment issue" Watch "Jboss auto hot deployment issue" New topic
Author

Jboss auto hot deployment issue

Sunny Ratra
Greenhorn

Joined: Mar 24, 2011
Posts: 5
Hi All,

We are using Red Hat Enterprise Linux Server release 5.4 (Tikanga) environment and Jboss Application server 4.x
We are facing one problem of auto hot deployment in JBoss application server.
The war and xml present in deploy folder are automatically getting deployed in temp folder by Jboss HDScanner

Can any one please help me out to figure out this problem? if you have any idea related to JBoss HDScanner and auto hot deployment conditions please provide you comments.


Thanks in advance.

Sunny Ratra
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5836
    
    7

That is the way that it works. The app server cannot run the app from packaged files, so it explodes them into the temp directory and runs them from there. You can, alternately, deploy exploded applications. See http://community.jboss.org/wiki/ExplodedDeployment


JBoss In Action
Sunny Ratra
Greenhorn

Joined: Mar 24, 2011
Posts: 5
Hi Peter,

Thanks for your reply.

The problem we are facing on deployed application which is running fine on application server, some times any of the file(*.war, *.xml) present in deploy folder, Is automatically getting deployed again in temp folder (change in timestamp in temp/deploy folder for that file, which is not changing in main deploy directory ) and we are getting the redeployment logs in log file.

Now as per our observation it seems there is some thing that is triggering the redeployment of files(*.war, *.xml) in temp folder automatically in running and deployed application.

What is causing HD Scanner to do that redeployment in temp folder automatically?

Have any one observed this kind of problem?

Please share, your comments are appreciable.

Thanks in advance

Regards
Sunny Ratra
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10210
    
166

Sunny Ratra wrote:

Thanks for your reply.

The problem we are facing on deployed application which is running fine on application server, some times any of the file(*.war, *.xml) present in deploy folder, Is automatically getting deployed again in temp folder (change in timestamp in temp/deploy folder for that file, which is not changing in main deploy directory ) and we are getting the redeployment logs in log file.


Are you sure it's an application redeployment and not just some file being added to the tmp folder?


[My Blog] [JavaRanch Journal]
Sunny Ratra
Greenhorn

Joined: Mar 24, 2011
Posts: 5
Jaikiran Pai wrote:
Sunny Ratra wrote:

Thanks for your reply.

The problem we are facing on deployed application which is running fine on application server, some times any of the file(*.war, *.xml) present in deploy folder, Is automatically getting deployed again in temp folder (change in timestamp in temp/deploy folder for that file, which is not changing in main deploy directory ) and we are getting the redeployment logs in log file.


Are you sure it's an application redeployment and not just some file being added to the tmp folder?


Well I can see the same file which is present in main deploy folder is coming in tmp/deploy folder with new time stamp.

For example: oracle-ds.xml is getting redeployed in temp folder again and again.
 
 
subject: Jboss auto hot deployment issue