File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes JBoss deployment without restarting server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBoss deployment without restarting server" Watch "JBoss deployment without restarting server" New topic

JBoss deployment without restarting server

venkatesh goud

Joined: Nov 23, 2010
Posts: 11

Hi guys,

I have a problem regarding to the software deployment. We're using JBoss 4.2.3.

Please let me explain a typical manual deployment process I'm doing now:

1. Copy EARs, WARs and JARs to server.
2. Stop server.
3. Copy EARs, WARs and JARs to deploy folder.
4. Run database update script.
5. Start server.

I was looking for a way to avoid the server restart. Because it caused a lot of problem and a lot of inconvenience. For example, I had to send emails to a big list in order to schedule a server down time.

The other problem is, we have 2 servers which communicate with each other remotely via SOAP, if one server goes down, it will likely cause some data synchronization problems.

The hot deployment didn't really work for me. Sometimes I got class loaders exceptions, and sometimes cache issues.

I was considering clustering but not quite sure if it would work or not.

Does anyone have any similar experience? Any solutions or suggestions?

Many thanks in advance.

I agree. Here's the link:
subject: JBoss deployment without restarting server
It's not a secret anymore!